Quantcast
Channel: fscked.org - BlackMagic
Viewing all articles
Browse latest Browse all 4

Autocode

$
0
0

The point of this project was to write platform independent stack overflow shellcode using only a C compiler and no asm. I succeeded, almost. The compiled autocode.c file disassembles itself, and outputs working shellcode. However, the major drawback is that on x86 it doesn't seem possible to eliminate the 0's from the resulting instructions. I attempted to fix this by adding an XOR encoder, but the problem is even that contained 0's when it attempted to obtain EIP through the usual call mechanism. The offset to the relative call instruction contained 0s.. Oh well. It was a fun exercise.

read more


Viewing all articles
Browse latest Browse all 4

Trending Articles