The ELF Virus Writing HOWTO

sparc-debian-linux

Alexander Bartolich

alexander.bartolich@gmx.at

This is a platform specific volume of TEVWH. See the global part for introduction, copyright, licensing and other legal issues.

I worked with an installation of "Debian GNU/Linux 3.0". [1] The freely downloadable CDs [2] contain all used tools:

bash-2.05a-11bc-1.06-8binutils-2.12.90.0.1-4bsdmainutils-5.20020211-4.99file-3.37-3.1
findutils-4.1.7-2g++-2:2.95.4-14gcc-2:2.95.4-14gdb-5.2.cvs20020401-6libc6-2.2.5-6
make-3.79.1-14manpages-1.39-1.1manpages-dev-1.39-1.1perl-5.6.1-7 


Table of Contents
1. The magic of the Elf
1.1. In the language of mortals
1.2. How it works
1.3. Strings and dumps
1.4. The address of main
1.5. Other roads to ELF
2. The language of evil
2.1. In doubt use force
2.2. In the language of evil
2.3. Enter evil
2.4. Evil magic revealed
2.5. Dressing up binary code

Notes

[1]

http://www.debian.org/

[2]

http://cdimage.debian.org/