r/ExploitDev • u/Sad-Shopping-2661 • Jul 31 '26
I am beginner and i have interest in exploit development path :)
I am total confused to where to start learning the exploit development stuff, because i have read the "Hacking : The art of exploitation" but it seems old and i want to learn stuff that really modern not old stuff, but i know it is essential to learn basic first, but i don't want to learn it from book it is nightmare and such a long way.
Anyone please share resource that is actually focus on real world learning way, and total real world stuff, and please make share in structured way it is possible ::
I appreciate if you help me, in advance, thank you :)
11
u/Diamond303 Jul 31 '26
I trust when you say exploit development you are talking majorly about the memory corruption issues/ binary exploitation.
From where can you learn ?
there are plenty of trainings out there on this subject such as
OSED by offsec
INE also offered exploit dev for linux and windows
SANS offers the same
Mobile Hacking Lab offers this in different flavor which is more around fuzzing.
Blackhat often host dedicated 2-3 days training around this subject as well.
and there are other 10+ vendors and colleges who are offering education/ training in the same space.
Now w.r.t ""please share resource that is actually focus on real world learning way, and total real world stuff""
there is no training out there which is ""real world learning way"".
everyone is going to teach you the methodology, it is you who is expected to go above and beyond exploring afterwards to find a real world exploit.
All the trainings lie in between, they start with certain assumptions that a learner has to know all the pre req. and they end far too early from real word exploitations.
Hence you have to decide for your self when you are ready for a training or not.
The best way to approach this subject is to may be have peer to peer learning/ study buddy or get yourself a mentor.
Now getting yourself a mentor who is having 2 decades of experience is too much big of a hope. so forget it thats not gonna happen until you are extremely rich to afford that guy.
What you can do is you can get someone who is just 1 or 2 steps ahead of you and learn from him whatever he knows with a pinch of salt that his learning is also limited but on the same time be humble enough cause he is mentoring you.
Also there is no easier way out of this. You are required to learn a lot by reading, watching, asking, doing.
Exploit Development is a very broad and umbrella term.
The foundations remains the same but more specialized and niche knowledge is required depending upon your interest/ goals.
For example you can do exploit dev for
much more ....
See there is going to be a lot of underlying overlap in all of these niches but you would be required to learn specific things w.r.t your desired niche and target architecture.
Understanding OS internals is the least that you can do.
You are lucky and unlucky to be living in the AI era. It is making stuff easier and difficult at the same time.
The big tech and experienced researchers are being able to identify bugs a lot quicker as compared to 10 years ago; which decreases the attack surface for anyone who has less skills.
For new people it has also reduced the learning curve as you can prompt and prompt and prompt and have guided learning as if you have a personal mentor with you.
From my experience this is the general roadmap that everyone should follow before they dive into specializations.
you have to learn 3 programming languages
you dont have to master these languages but you are expected to have code reading and writing capabilities in all 3. proficiency required (above beginner below intermediate).
Learn memory corruption issues - the theory of them - what are they / why do they occur / when do they occur / how to mitigate / how to find. - atleast at this stage your nomenclature and vocabulary should be in place to delve further.
Start with Exploitation Hands on now
Learn basic vanilla stack buffer overflow. - hands on exploitation - for example Brainpan box, gatekeeper on thm
do not limit yourself with the attacker side of the stuff. build your own binary which is vulnerable to buffer overflow and test it. this will give you holistic understanding
now learn the mitigation of this and then one by one start exploiting them, writing vuln code, fixing them.
Start learning shellcoding at this stage- challenges with shellcode writing - shellcode optimizations.
after you have covered aslr bypass, stack canary bypass, dep bypass etc.
you move towards heap overflows and exploitation repeat the above steps here as well.
learn fuzzing (AFL++, libfuzzer etc. ) decent enough understanding of fuzzing is required - what it is ? how to do it ? how to build harness around the same, how to fuzz protocols, binaries, libraries etc.)
Now you are ahead of 80% of learners who tried learning exploit dev.
Now you have to lock in your specialization field.
For example let's say you decided to go with Windows as a target platform.
Start learning Windows Internals, patching, specific arch on which the os runs such as x86 and x86-64 and rarely we see ARM images of windows.
Start looking into traditional exploits, previously found exploit for windows.
lot's of reading here because there are no videos to be found from here on.
learning past exploits is crucial as it gives you an understanding of the real world landscape.
do not over estimate yourself right now and start findings real bugs instead try to re run / re build the same exploits that were previously discovered in your local env.
setup everything and practice duplicating the same exploit as previously shared publicly.
Learn patch diffing.
You have to understand what was fixed in the patch which was released to fix a xyz issue.
After repeating this stage for sufficient number of time you would be able to start attacking read world targets.
[Note: please see while moving towards the end of the answer my motivation to write more started declining hence a lot of verbosity was not there in my answer]
26
u/Glad_Situation_6466 Jul 31 '26
pwn.college, picoctf binary exploitation. Books like "The Shellcoder Handbook" is good to start foundation. I agree - books are annoying. But they are useful in laying out the foundation before moving to modern exploitation. (I have a friend who jump to heap exploitation but cant code a shellcode. Diving deep fast while foundation is shaky isnt great)
4
u/TheyCallMeLeonardo3 Jul 31 '26
Start from basics like what is beacon, listener & jitter and methods or communication channels an agent can use to send data over your server like https or TCP etc. Learn about mutex acquiring methods to make malware / shell / exploit persistence in OS, learn about obfuscation, learn about libraries which can interact with Windows API e.g. win32dll in python then learn about in-memory exploits and BOF and techniques to fk windows like AMSI registration, PowerShell to add Exclusion Path. Once you learn all of this you level up to Intermediate. Then start learning how to splash UEFI SPI using CH341A chip programmer and inject malicious code in DXE for maximum persistence and then learn about micro controllers like RP2040 and attiny85 and implanting those in hardware like keyboard and mouse and cables and on motherboard or soldering it to extra USB port if any port. Once you all learn this you'll level up to Advance level
1
u/Competitive_Paint730 Jul 31 '26
Pwn.college
1
u/VirusLarge1805 Jul 31 '26
I like to understand what I do before I try to break it. Go for windows internals 7th edition, it gives you the foundation of how stuff works. Also learning c programming its useful. For each exploit, I try to develop a program that is vulnerable to it, exploit it, then fix it. That's the best way to learn for me. Also pico ctf or pwn college for labs. Osed certification for structure... there are lots of things out there :)
1
u/dolby360 Jul 31 '26
pico ctf
0
u/[deleted] Jul 31 '26
[deleted] — view deleted comment