Advanced evasion of IDS buffer overflow detection
summary
Detailed techniques for getting buffer overflow payloads past signature IDS are demonstrated including working exploits that evade Snort rules by changing instruction order, swapping registers, replacing long NOP sleds with one‑byte harmless ops, and using tiny encrypt/decrypt loops or self-modifying decryption headers that unpack payloads then jump into them. Live demos include x86 and partial SPARC examples, source code accompanies the talk, paper and sample code are posted at http://www.newhackcity.net and NASM is recommended over GCC gas.
AI-written summary · about
chapters (13)
- 0:00Introduction and setup
- 1:14Talk overview and background
- 2:18Buffer overflow basics refresher
- 3:03Shellcode execution mechanics
- 6:13IDS signature detection methods
- 7:19Evasion techniques introduction
- 8:46Register and instruction manipulation
- 9:28Alternative padding instructions
- 10:09Simple payload encryption
- 11:10Self-modifying code approach
- 12:37Code implementation challenges
- 13:59Assembler recommendations
- 14:20Q&A session
