Program Security
In the realm of cybersecurity, your journey mirrors that of a martial artist mastering the art of defense and attack. The “Program Security” module is where you will train in the ancient techniques of shellcoding and memory corruption. Like a skilled martial artist wielding precise strikes, you will learn to craft shellcode that slips past defenses with the agility of a shadow. You will also study memory corruption vulnerabilities, discovering how to exploit pinpoint weaknesses with the precision of a pressure point strike.
Shellcoding Resources
Shellcode Injection: Introduction
Shellcode Injection: Common Challenges
Shellcode Injection: Data Execution Prevention
Shellcoding Tips and Tricks
Further Reading
Lots of external resources are referred to in the module videos. Additionally, the following reading material is useful:
Shellcoding challenges
Ello Ackers
Syscall Smuggler
Syscall Shenanigans
Byte Budget
Clobbercode
Diverse Delivery
Pocket Payload
Micro Menace
Memory Corruption Resources
Memory Errors: Introduction
Memory Errors: High-level Problems
Memory Errors: Smashing the Stack
Memory Errors: Causes of Corruption 1
Memory Errors: Causes of Corruption 2
Memory Errors: Stack Canaries
Memory Errors: ASLR
Memory Errors: Causes of Disclosure
Memory Errors: Tips and Tricks
Memory Errors: The Global Offset Table
Further Reading
- OpenSecurityTraining2 has courses covering security vulnerabilities: Vulnerabilities 1001 and Vulnerabilities 1002.
Memory Corruption Challenges
Login Leakage Easy
Login Leakage Hard
Bounds Breaker Easy
Bounds Breaker Hard
Casting Catastrophy Easy
Casting Catastrophy Hard
Pointer Problems Easy
Pointer Problems Hard
Anomalous Array Easy
Anomalous Array Hard
Now You Got It Easy
Now You Got It Hard
Loop Lunacy Easy
Loop Lunacy Hard
Nosy Neighbor Easy
Nosy Neighbor Hard
Recursive Ruin Easy
Recursive Ruin Hard
Lingering Leftover Easy
Lingering Leftover Hard
Latent Leak Easy
Latent Leak Hard
Fork Foolery Easy
Fork Foolery Hard
Complex Corruption
Complex Corruption
Exploitation begins at the intersection of two core ideas: corrupting program memory and gaining control-flow. Memory corruption provides the foothold, allowing control over a program’s execution by overwriting critical data such as return addresses or other valuable pointers. Shellcode provides the payload, a carefully crafted sequence of instructions designed to carry out specific actions once execution is redirected. When combined, these concepts illustrate the foundation of software exploitation: not just crashing a program, but deliberately shaping its behavior to execute attacker-controlled code.
Complex Corruption Class Stream
Memory Corruption Class Streams
Follow along with a live class with the same demo the instructor used.