Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Exploit Research and Development Megaprimer: Eliminating the Bad Characters in Shellcode

1,143 views

Published on

Exploit Research and Development Megaprimer
http://opensecurity.in/exploit-research-and-development-megaprimer/

http://www.youtube.com/playlist?list=PLX3EwmWe0cS_5oy86fnqFRfHpxJHjtuyf

Published in: Education
  • Be the first to comment

Exploit Research and Development Megaprimer: Eliminating the Bad Characters in Shellcode

  1. 1. EXPLOIT RESEARCH ELIMINATING BAD CHARACTERS KERALA CYBER FORCE WWW.KERALACYBERFORCE.IN AJIN ABRAHAM @ajinabraham
  2. 2. @ajinabraham ELIMINATING BAD CHARACTERS • Bad characters are those unwanted characters that can break your shellcode. • We can use !mona bytearray to generate bytes from 0x00 – 0xFF. • Insert the pattern into the buffer and find out which one is breaking the shellcode • Mark it as a bad character and re-insert pattern excluding that bad character till all the bad characters are eliminated. • Create your shellcode excluding the bad characters. • That’s It.
  3. 3. @ajinabraham SOME COMMON BAD CHARACTERS • 00 – NULL • 0A – Line feed n • 0D –Carriage return r • FF – Form Feed f Thanks @ajinabraham

×