DEV Community

Cover image for How to Learn InfoSec and Hacking through Structured Levels
Jocelyn (she/her)
Jocelyn (she/her)

Posted on • Edited on • Originally published at noodulz.me

How to Learn InfoSec and Hacking through Structured Levels

Lately I've spent this past summer aimlessly flipping through PDFs of guides on programming and exploitation as well as diving into (what is probably my 5th time) CS50 to revisit the basics and learn the foundation needed to break into this mysterious field. After watching countless videos and reading hundreds of articles every night, though, I find myself getting distracted and off track jumping from resource to resource and book to article, barely getting anywhere.

So after all that time spent, here I'll lay out a structured guide of resources and websites to keep me on track to where I need to be to get to a point of understanding CTFs and overall application security better. Hopefully it may reach some of you guys who may also be bitterly prone to distractions and hopping from guide to guide.

Level 1

  • Even if you're a seasoned hacker or expert in CS, or whether you're a fledgling beginner, there's no better way to start off learning the basics than with Harvard's CS50. Alt TextFor the 2020 version at least, it'll get you deep into C programming, data structures and algorithms, concepts of memory and pointers (which is also great for understanding buffer overflows later on), Python, SQL, and application development. Basically the foundation of almost everything you'd learn in a 4-year Computer Science program.
  • Hacking: The Art of Exploitation, which is also a great guide in exploring C, Assembly, networking concepts, exploitation and more for a beginner. An excellent book providing the foundation of hacking and its origins.
  • OverTheWire, especially Bandit and Natas through Krypton challenges down the list are useful ongoing wargames to learn more about Linux and web security and exploitation through hands-on experience and useful hints should you get stuck. Alt Text
  • HackSplaining, a visual look at common vulnerabilities in web applications.
  • Optional reading, but Code by Charles Petzold is also another good intro to how computers work and why to understand internals better for absolute beginners.
  • MIT's The Missing Semester teaches you the tools needed to approach programming, hacking, and overall development (i.e. Github, Docker, Vim, IDEs, BASH scripting etc).
  • FreeCodeCamp for learning HTML, CSS, JS, and web development through projects and certifications to go for (so you know how to break them ;)) Alt Text

Level 2

  • TryHackMe's Zero to Hero Boxes Guide. There's a map for free members who can't or won't get the subscription, and a map for subscribed members.Alt TextPersonally I find this a much easier and similar alternative to HackTheBox, due to the numerous threads and hints and explanations in each of the boxes to help you understand concepts better. Though, it's best to keep practicing the concepts and exercises taught in the boxes as it can be so simple and easy to forget once you've finished a box.
  • Heath Adam's Ethical Hacking Course (aka TheCyberMentor). Assumes you're a beginner to ethical hacking and teaches you everything you need to know about penetration testing for web and other applications. Especially useful if you're interested in pursuing the OSCP in the future.
  • The Nightmare course by my good friend guyinatuxedo. It is a comprehensive online book on getting into binary exploitation through exploring CTF challenges and various other real life examples. And one of the more beginner friendly guides for those interested in malware analysis and reverse engineering in the future.

Level 3

Level 4 (Or more for deeper understanding of computer and systems internals as well as other specific fields)

  • Nand2Tetris teaches you how to build a computer and OS from the ground up. A deep dive into operating systems
  • Hasherezade's Malware Analysis/Reverse Engineering Guide
  • For a hands-on and lecture based approach to going through The Web Application Hacker's Handbook (if you're interested in web), look no further than Sam Bowne's Securing Web Applications. I personally couldn't get through the book at first but having a video and exercises to follow along with through reading the book helped immensely in understanding the concepts better.
  • Awesome Gameboy Dev for learning emulation, reverse engineering, and assembly and C for building and reversing all things Gameboys.
  • Cryptohack, a relatively new and very astounding website which teaches you cryptography through programming exercises (highly recommend the use of Python for this). Starts off easy but gets exponentially harder as you progress. Alt Text
  • Trail of Bit's Guide on Forensics. There's not much friendly guides on learning computer forensics out there for those who are interested, but this guide is about the only one I found that provides a comprehensive overview of how to approach forensics challenges for if you encounter one in CTFs.
  • Systems Programming and Tools taught by Sanjiv Bhatia, lectures and walkthroughs on programming in the Linux/Unix environment.

Some other fun sites to practice on

Realistically, you could approach any of these resources in any order you prefer depending on your level of experience. This, though, provides to me at least a more structured and streamlined way of learning security concepts in a progressing manner. I hope this also helps future readers interested in also breaking into the field. This list may be edited in the future as needed.

Top comments (3)

Collapse
 
lukeswitz profile image
Luke Switzer

Thanks, well thought out with quality links; a great roadmap. Many start off with new, checkbox solutions & get frustrated. Follow this, you won’t lose your mind. Those pre-metasploit days were quite fun though.

Collapse
 
king11 profile image
Lakshya Singh • Edited

Thanks i really needed to start from basics in ctf rather than jumping straight into contest this will help :)

Collapse
 
z0ey777 profile image
zoey

the list is really resourceful. Thanks!