Listen to this Post

Introduction
The Offensive Security Exploitation Expert (OSEE) certification is one of the most advanced cybersecurity credentials, focusing on advanced Windows exploitation, reverse engineering, and custom exploit development. Milton V. (wetw0rk) recently shared his AWE-PREP repository, a compilation of training materials and tutorials he used to pass the OSEE exam. This article breaks down key technical takeaways, verified commands, and step-by-step guides to help aspiring OSEE candidates.
Learning Objectives
- Understand critical exploit development techniques for Windows environments.
- Learn reverse engineering and debugging methodologies.
- Master advanced shellcode and ROP chain development.
You Should Know
1. Setting Up Your Exploit Development Lab
Before diving into OSEE preparation, a proper lab environment is essential.
Verified Commands:
Install dependencies for exploit development sudo apt-get install -y gdb gdb-multiarch nasm mingw-w64 wine
Step-by-Step Guide:
- Install Kali Linux or a Debian-based distro for exploit development tools.
- Set up Windows VMs (Windows 7/10) for target testing.
- Configure Immunity Debugger & WinDbg for debugging exploits.
- Reverse Engineering with Ghidra & IDA Pro
Reverse engineering is a core OSEE skill.
Verified Commands:
Install Ghidra sudo apt install ghidra
Step-by-Step Guide:
- Load a binary into Ghidra and analyze its functions.
2. Identify vulnerable functions (e.g., `strcpy`, `gets`).
- Decompile and patch code to understand exploitation paths.
3. Writing Custom Shellcode for Windows
OSEE requires crafting shellcode that bypasses modern mitigations.
Verified Assembly Snippet (x86):
; Windows MessageBox shellcode xor eax, eax push eax push 0x20202020 push 0x20202020 push eax mov eax, 0x77D507EA ; MessageBoxA address call eax
Step-by-Step Guide:
1. Assemble with NASM:
nasm -f elf32 shellcode.asm -o shellcode.o ld -m elf_i386 shellcode.o -o shellcode
2. Extract raw bytes using `objdump`.
- Test in a debugger to ensure execution flow.
- Bypassing DEP & ASLR with ROP Chains
Modern Windows systems use Data Execution Prevention (DEP) and ASLR.
- Bypassing DEP & ASLR with ROP Chains
Verified ROP Gadget Search (ROPGadget):
ROPgadget --binary vuln.exe --ropchain
Step-by-Step Guide:
1. Find gadgets (`pop`, `ret`, `jmp esp`).
2. Chain gadgets to execute shellcode.
- Use `mona.py` in Immunity Debugger to automate ROP chain generation.
5. Exploiting Custom Protocols & Network Services
OSEE includes attacking proprietary protocols.
Verified Python Exploit Skeleton:
import socket
target = ("192.168.1.100", 9999)
payload = b"A" 5000 Buffer overflow
s = socket.socket()
s.connect(target)
s.send(payload)
Step-by-Step Guide:
1. Fuzz the service to find crash offsets.
2. Identify EIP overwrite using cyclic patterns.
- Develop a working PoC with controlled execution flow.
6. Advanced Debugging with WinDbg
WinDbg is crucial for kernel and user-mode debugging.
Verified WinDbg Commands:
!analyze -v Analyze crash dump bp kernel32!CreateFileW Set breakpoint g Continue execution
Step-by-Step Guide:
1. Attach WinDbg to a crashing process.
2. Analyze registers (`!exchain`, `!teb`).
3. Patch memory to test exploit fixes.
7. Post-Exploitation & Privilege Escalation
After exploitation, maintaining access is key.
Verified Windows Command:
whoami /priv Check current privileges
Step-by-Step Guide:
1. Enumerate misconfigured services (`sc query`).
2. Abuse weak permissions (`icacls`).
3. Dump credentials with Mimikatz.
What Undercode Say
- Key Takeaway 1: OSEE is not just about exploits—it’s about deep system understanding.
- Key Takeaway 2: Reverse engineering and debugging are non-negotiable skills.
Analysis:
The OSEE certification separates intermediate pentesters from true exploitation experts. Milton’s AWE-PREP repository provides a structured approach, but success demands hands-on practice. Expect more focus on proprietary software exploits in future exams as enterprises rely on custom applications.
Prediction
As AI-driven security tools evolve, OSEE-level exploits will shift toward bypassing machine learning detection. Future cybersecurity professionals must master both manual exploitation and AI-augmented attacks.
For Milton’s full AWE-PREP repository, visit:
🔗 https://github.com/wetw0rk/AWE-PREP
🎯Let’s Practice For Free:
IT/Security Reporter URL:
Reported By: Milton Wetw0rk – Hackers Feeds
Extra Hub: Undercode MoN
Basic Verification: Pass ✅


