offensive-basic-exploitation · git:20260913.e13b6b8 · 2026-09-13 · sha256 9b64b614c187f065
offensive-basic-exploitation git:20260913.e13b6b8A
Immutable. This exact content is served forever at /api/v1/blob/9b64b614c187f065.
--- name: offensive-basic-exploitation description: "Week 5 exploit development curriculum. Foundational exploitation techniques: controlling EIP/RIP, ROP chain construction, ret2libc, shellcode injection, heap spraying, bypass techniques for ASLR/NX/stack canaries. Use when building initial PoCs or understanding classic exploitation primitives." category: security triggers: - "basic exploitation" - "offensive basic exploitation" - "exploit dev" - "exploit dev attack" - "exploit dev exploitation" - "basic exploitation methodology" tools: - file_read - file_glob - file_grep - file_write - file_edit - dir_list - shell_execute - web_fetch - web_search - delegate --- # SKILL: Week 5: Basic Exploitation (Linux with Mitigations Disabled) ## Metadata - **Skill Name**: basic-exploitation - **Folder**: offensive-basic-exploitation - **Source**: https://github.com/SnailSploit/offensive-checklist/blob/main/5-basic-exploitation.md ## Description Week 5 exploit development curriculum. Foundational exploitation techniques: controlling EIP/RIP, ROP chain construction, ret2libc, shellcode injection, heap spraying, bypass techniques for ASLR/NX/stack canaries. Use when building initial PoCs or understanding classic exploitation primitives. ## Trigger Phrases Use this skill when the conversation involves any of: `basic exploitation, EIP control, RIP control, ROP chain, ret2libc, shellcode injection, heap spray, ASLR bypass, NX bypass, stack canary bypass, week 5` ## Full Methodology # Week 5: Basic Exploitation (Linux with Mitigations Disabled) ## Overview _created by AnotherOne from @Pwn3rzs Telegram channel_. Now that you can find and analyze vulnerabilities (Week 2 & 4), it's time to learn exploitation. This week focuses on fundamental exploitation techniques in a simplified Linux environment with modern mitigations (DEP, ASLR, stack canaries) disabled. Mastering these basics is essential before tackling mitigation bypasses in Week 7. Next week (Week 6) we'll focus on understanding mitigations in both Linux and Windows. Week 7 will cover bypassing them. **Learning Environment**: - **CPU arch (default)**: amd64 (x86-64) - **OS**: Ubuntu 24.04 LTS (Linux) - **Compiler Flags**: Disable protections (`-fno-stack-protector`, `-no-pie`, `-z execstack` for ret2shellcode labs, `/GS-`) - **ASLR**: Keep enabled system-wide; disable per-process (`setarch -R`) or in GDB (`set disable-randomization on`) for deterministic labs - **Focus**: Pure exploitation techniques without bypass complexity --- ## Extended reference This skill's full detail is split: read `references/detail.md` with file_read when you need the deep payload tables, tool matrices, or per-technique checklists that did not fit the skill body.