[Code-Crunchers] Pinky (297 bytes)

Izik xorninja at gmail.com
Sat Oct 21 09:02:27 CDT 2006


Hello,

I have decided to play with a slightly different rules.

Pinky is designed as a shellcode, thus the following rules are applied:

* No libc calls, only syscalls.
* No straight forward NULL's
* No assumption toward initial registers value
* One section (.text) to rule 'em all.

Tested on Debian (etch) w/ 2.6.8-3

megatron:~/pinky# as -o pinky.o pinky.s
megatron:~/pinky# ld -o pinky pinky.o
megatron:~/pinky# ./pinky
Hello World!
megatron:~/pinky#

I have yet started my ELF-crunching quest. For this release I've used the
'sstrip' tool from
the ELFkickers pkg, available @
http://www.muppetlabs.com/~breadbox/software/elfkickers.html

Pinky currently weights 297 bytes.

You can find both source and binary of Pinky within the attached tarball.

Itzik.

-- 
Thank you, your honor. With God's help I'll conquer this terrible
affliction.
     -- Mark 'Rentboy' Renton / Trainspotting
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://whitestar.linuxbox.org/pipermail/code-crunchers/attachments/20061021/99bba0f2/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pinky.tar.gz
Type: application/x-gzip
Size: 1292 bytes
Desc: not available
Url : http://whitestar.linuxbox.org/pipermail/code-crunchers/attachments/20061021/99bba0f2/attachment.bin 


More information about the Code-Crunchers mailing list