Skip to content
PWN-REVERSING

Binary Exploitation & Reversing

Reading, debugging and exploiting compiled programs: from x86-64 assembly and system protections to stack and heap memory corruption, and the techniques to analyze binaries without source code.

START HERE

CARDS (14 cards)

pwn-reversing/

  • Introduction to Binary Exploitationbasic · 7 min

    Introduction to binary exploitation: memory corruption in C/C++, protections (NX, ASLR, canary, PIE) and the working environment.

  • x86-64 Assemblybasic · 6 min

    x86-64 assembly for exploitation and reversing: registers, instructions, the stack, calling conventions and how to read disassembly.

  • Stack Buffer Overflowintermediate · 6 min

    Stack buffer overflow: how overflowing a stack buffer overwrites the return address, from the classic case to ret2libc and ROP.

  • Format Stringadvanced · 6 min

    Format string vulnerabilities in C: how printf with user input lets you read and write memory, and how they are exploited.

  • Return-Oriented Programming (ROP)expert · 6 min

    When the stack isn't executable (NX/DEP enabled), you can't put shellcode and jump to it.

  • Heap Exploitationexpert · 6 min

    glibc heap exploitation: how malloc and free manage memory, use-after-free, double free and attacks on tcache bins.

  • Shellcodeintermediate · 6 min

    Shellcode: what it is, how to write it in assembly, how to avoid null bytes and how to generate and test it to spawn a shell.

  • Introduction to Reversingbasic · 5 min

    Reverse engineering (reversing) is the art of understanding how a program works without its source code, starting only from the compiled binary.

  • Debugging with GDBintermediate · 5 min

    Debugging with GDB and extensions like pwndbg or GEF: breakpoints, stepping, and inspecting memory and registers.

  • GOT/PLT Overwriteadvanced · 6 min

    GOT and PLT: how shared library functions are resolved and how overwriting the GOT hijacks execution. Mitigation with RELRO.

  • Integer Overflow and Integer Bugsintermediate · 6 min

    Integer overflows and integer bugs in C: wraparound, truncation and signedness confusion, and how they lead to memory corruption.

  • Static Analysisintermediate · 5 min

    Static binary analysis: disassemble and decompile with Ghidra, IDA or radare2, and read strings, imports and structure without running it.

  • Dynamic Analysisintermediate · 6 min

    Dynamic binary analysis: run in a controlled environment and watch files, network and system calls with strace, ltrace and more.

  • Anti-debugging and Anti-analysisadvanced · 5 min

    Anti-debugging and anti-analysis techniques in malware and software protections: how they detect the analyst and how to bypass them.

SEE ALSO