Do Hackers Need To Know Algorithms and Data Structures?

LiveOverflow · Beginner ·⚡ Algorithms & Data Structures ·2y ago

Key Takeaways

The video discusses the importance of algorithms and data structures in hacking, covering topics such as problem-solving and computational complexity, with a focus on cybersecurity and beginner-level hacking concepts.

Full Transcript

I got this question on Twitter Hey live overflow how good should I be at data structures and algorithms for reverse engineering low level hacking and all that stuff that's a really good question so let me tell you my opinion [Music] this video is sponsored by hackstreet.io if you want to learn hacking web security reverse engineering and exploitation and all this kind of stuff check out our Discord and our courses on hex3.io alright so first of all I have to say what does it even mean to be good like how do you measure good usually in terms of algorithm and data structures you're obviously in a university or School environment and good that means good grades but it's very difficult to say you need this great and this is exactly what you need for reverse engineering that doesn't really make sense also school grades are often about memorization and in the real world you can usually look it up however generally there's one principle I love to say and that is the more you know the more you know I also give an example of that if you are able to understand French language that can help when you are reversing some French malware because there are some maybe some French words and those French words have a certain meaning and that helps you better understand what the malware maybe is doing so you never know like what what kind of knowledge is really useful and you can kind of imagine if you would know everything on the world then of course you would be a very skilled hacker because you know everything so having heard of different algorithms and data structures can of course be helpful to recognize them in code and especially in assembly if you know about linked lists and the concept how that is implemented in memory then it's probably easier to recognize that in assembly and it turns out I actually have a practical example of that also in one of my videos a while ago I made this pseudo Series where from start to beginning we basically discover and then exploit a vulnerability in pseudo the pseudo-edit vulnerability and in episode 10 where we were developing a tool to find function pointers on the Heap we were looking at the stack Trace in GDB and there was something I recognized it's something small it's not necessarily important but it helped me to better kind of understand like what what even are we looking at here and it's here I'll be fine and it says here it's a struct rb3 so this is probably a red black tree which is like something you learn about maybe in University so I feel like that made it a bit easier for me it was not necessary and obviously you don't need to be an expert or anything like this but the more you know the more you know also stack smashing was chiming in and sharing his opinion as well and he said in his opinion algorithms are not that important but data structures is very important for reverse engineering but then also that are two color answered that some familiarity with most common algorithms like searching and sorting algorithms can be very useful you know if you find a function that does some crazy stuff and you realize oh it's just sorting these array of strings or something like this then that also helps a lot so it can help you save time recognizing common data structures and various trees and graphs but yeah it's difficult to say like how good do you then know algorithms and data structures is difficult to you know rank this hopefully this motivates you to pay attention in data structures and algorithms these were one of the more you know boring classes I guess in University they feel very dry and theoretical but I mean you don't have to go for the best grade or anything like this but having heard of all the different algorithms and data structures it definitely helps maybe you recognize them like I recognized rb3 red black tree in the code and then you can again read up on it how it works and so having generally a good understanding and knowing what you don't know like knowing what exists out there that already will help you a lot if you're looking for more videos about hacking and I.T security and computer science yeah check out some of these videos here and of course check out hexfree.io if you are interested in some online courses on web security reverse engineering and all that kind of stuff we also have a great Discord community so go check out hex3.io

Original Description

Learn Hacking (ad): https://hextree.io/ Buy my font (ad): https://shop.liveoverflow.com/ Original Tweet: https://twitter.com/notSam443/status/1698730584741454144 =[ 📄 Info. ]= Main Channel: https://youtube.com/@LiveOverflow Support LiveOverflow: → per Video: https://www.patreon.com/join/liveoverflow → per Month: https://www.youtube.com/channel/UClcE-kVhqyiHCcjYwcpfj9w/join =[ 🐕 Social ]= → Twitter: https://twitter.com/LiveOverflow/ → Instagram: https://instagram.com/LiveOverflow/ → TikTok: https://www.tiktok.com/@liveoverflow_ → Twitch: https://twitch.tv/LiveOverflow → Website: https://liveoverflow.com/ → Subreddit: https://www.reddit.com/r/LiveOverflow/ → Facebook: https://www.facebook.com/LiveOverflow/ =[ 📄 P.S. ]= Hack the Planet!
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from LiveUnderflow · LiveUnderflow · 34 of 42

1 BUILDING AN 8-BIT COMPUTER FROM SCRATCH #2 (Full Stream)
BUILDING AN 8-BIT COMPUTER FROM SCRATCH #2 (Full Stream)
LiveUnderflow
2 LiveOverflow's Makeup Tutorial #1
LiveOverflow's Makeup Tutorial #1
LiveUnderflow
3 MakeUp Tutorial for Streaming and YouTube
MakeUp Tutorial for Streaming and YouTube
LiveUnderflow
4 MurmusCTF, SSD CTF Challenge, Google CTF writeups - PwnNews 27/06/19
MurmusCTF, SSD CTF Challenge, Google CTF writeups - PwnNews 27/06/19
LiveUnderflow
5 Google CTF 2019 Chat - Looking at Writeups
Google CTF 2019 Chat - Looking at Writeups
LiveUnderflow
6 Discussing Hacking Videos - Community Guidelines YouTube
Discussing Hacking Videos - Community Guidelines YouTube
LiveUnderflow
7 Hacking Skills Perspective
Hacking Skills Perspective
LiveUnderflow
8 Chatting about Cryptography and Exploit Regulations
Chatting about Cryptography and Exploit Regulations
LiveUnderflow
9 BUILDING AN 8-BIT COMPUTER FROM SCRATCH #1 (Full Stream)
BUILDING AN 8-BIT COMPUTER FROM SCRATCH #1 (Full Stream)
LiveUnderflow
10 BUILDING AN 8-BIT COMPUTER FROM SCRATCH #3 (Full Stream)
BUILDING AN 8-BIT COMPUTER FROM SCRATCH #3 (Full Stream)
LiveUnderflow
11 BUILDING AN 8-BIT COMPUTER FROM SCRATCH #4 (Full Stream)
BUILDING AN 8-BIT COMPUTER FROM SCRATCH #4 (Full Stream)
LiveUnderflow
12 Studying Cybersecurity in USA vs. Germany | ReHacked
Studying Cybersecurity in USA vs. Germany | ReHacked
LiveUnderflow
13 Examining JavaScript Inter-Process Communication in Firefox | Watch Together & Q&A
Examining JavaScript Inter-Process Communication in Firefox | Watch Together & Q&A
LiveUnderflow
14 Reading SECRET U.S. Air Force HACKING Document!!
Reading SECRET U.S. Air Force HACKING Document!!
LiveUnderflow
15 Why Don't Use alert(1) for XSS? | Watch Together + Q&A
Why Don't Use alert(1) for XSS? | Watch Together + Q&A
LiveUnderflow
16 Escaping from JavaScript Sandbox (AngularJS)
Escaping from JavaScript Sandbox (AngularJS)
LiveUnderflow
17 Why proofing impact for every XSS is "dumb" - Bug Bounty Reports
Why proofing impact for every XSS is "dumb" - Bug Bounty Reports
LiveUnderflow
18 Password Cracking Explained | ReHacked
Password Cracking Explained | ReHacked
LiveUnderflow
19 HTTP Desync Attack Explained With Paper
HTTP Desync Attack Explained With Paper
LiveUnderflow
20 Better than Stack Overflow for Development
Better than Stack Overflow for Development
LiveUnderflow
21 Thumbnail A/B Test Experiment for CTR
Thumbnail A/B Test Experiment for CTR
LiveUnderflow
22 How To Exploit a Heap Overflow
How To Exploit a Heap Overflow
LiveUnderflow
23 Log4Shell | Bug Bounty Public Service Announcement #shorts
Log4Shell | Bug Bounty Public Service Announcement #shorts
LiveUnderflow
24 New Details on Commercial Spyware Vendor Variston - Revisiting Firefox Sandbox Escape
New Details on Commercial Spyware Vendor Variston - Revisiting Firefox Sandbox Escape
LiveUnderflow
25 Can AI Hack Websites with XSS? #ChatGPT
Can AI Hack Websites with XSS? #ChatGPT
LiveUnderflow
26 ping Vulnerability Patch Analysis (with #ChatGPT) - CVE-2022-23093
ping Vulnerability Patch Analysis (with #ChatGPT) - CVE-2022-23093
LiveUnderflow
27 Using CodeQL to Investigate GraphQL Resolvers
Using CodeQL to Investigate GraphQL Resolvers
LiveUnderflow
28 Security Issue Found in US Gov CISA Tool?
Security Issue Found in US Gov CISA Tool?
LiveUnderflow
29 Using joern to Find GraphQL Authorization Issue
Using joern to Find GraphQL Authorization Issue
LiveUnderflow
30 Analytics from 7 Years on YouTube...
Analytics from 7 Years on YouTube...
LiveUnderflow
31 3D Printer Researching Igus Bearings - Prusa i3 MK3S+ (part 3)
3D Printer Researching Igus Bearings - Prusa i3 MK3S+ (part 3)
LiveOverflow
32 Attacking VSCode Extension from Browser? - Live Security Research
Attacking VSCode Extension from Browser? - Live Security Research
LiveOverflow
33 I Don't Trust Websites! - The Everything API with ChatGPT
I Don't Trust Websites! - The Everything API with ChatGPT
LiveOverflow
Do Hackers Need To Know Algorithms and Data Structures?
Do Hackers Need To Know Algorithms and Data Structures?
LiveOverflow
35 "Remove the video as soon as possible"
"Remove the video as soon as possible"
LiveOverflow
36 Arm®-based Video
Arm®-based Video
LiveOverflow
37 How to make good HACKING videos
How to make good HACKING videos
LiveOverflow
38 LEEROY fällt auf HACKER rein?
LEEROY fällt auf HACKER rein?
LiveOverflow
39 Hacking for an Intelligence Agency
Hacking for an Intelligence Agency
LiveOverflow
40 Tier List of My Worst Tweets
Tier List of My Worst Tweets
LiveOverflow
41 Step by Step Phishing Setup Tutorials are Unethical!
Step by Step Phishing Setup Tutorials are Unethical!
LiveOverflow
42 Hacker Reacts to 23andme Data Leak
Hacker Reacts to 23andme Data Leak
LiveOverflow

The video explores the relationship between algorithms, data structures, and hacking, providing insights into the importance of computational complexity and problem-solving in cybersecurity. Viewers can learn how to apply algorithmic concepts to hacking problems and analyze computational complexity. The video is suitable for beginners in hacking and cybersecurity.

Key Takeaways
  1. Learn basic algorithms and data structures
  2. Apply algorithmic concepts to hacking problems
  3. Analyze computational complexity in hacking scenarios
  4. Identify security vulnerabilities using algorithmic concepts
💡 Algorithms and data structures are fundamental to hacking and cybersecurity, enabling hackers to efficiently solve complex problems and identify security vulnerabilities.

Related Reads

📰
Bloom Filters, Explained Properly
Learn how Bloom filters work and their benefits, including tiny memory and blazing speed, in exchange for potential false positives.
Dev.to · Daksh Gargas
📰
Prefix Sums: The Preprocessing Trick That Makes Range Queries Instant
Learn how prefix sums enable instant range queries in arrays, boosting performance in various applications
Medium · Programming
📰
I Thought I Was Ready for the Interview — Then One Simple Math Question Destroyed Me
A simple math question can destroy a developer's interview, highlighting the importance of being prepared for unexpected questions
Medium · Programming
📰
Week 2(Day 10): LeetCode Two Pointers(slow & fast): Remove Duplicates from Sorted Array (Brute…
Learn to remove duplicates from a sorted array using the two pointers technique, improving from brute force to optimized solutions
Medium · Python
Up next
Stump Grinder Carbide Wheel Grinds Hardwood To Chips
Innoforge Studio
Watch →