- Write shellcode first in high-level.
- Compile high-level code and disassemble it.
- Analyse Assembly code.
- Clean up Assembly, smaller and injectable.
- Extract opcodes to use as final shellcode
Learning Resources:
- Rootkits - Subverting the Windows Kernel by Greg Hoglund and Jamie Butler
- The Shellcoder's Handbook by Chris Ansley, John Heasman, Felix Linder and Gerardo Richarte
Cheers, Cyd