| ISSN for CodeBreakers Journal |
|
Side Story
A Whirlwind Tutorial on Creating Really Teensy ELF Executables for Linux
If you're a programmer who's become fed up with software bloat, then may you find herein the perfect antidote. This document explores methods for squeezing excess bytes out of simple programs. (Of course, the more practical purpose of this document is to describe a few of the inner workings of the ELF file format and the Linux operating system. But hopefully you can also learn something about how to make really teensy ELF executables in the process.) Please note that the information and examples given here are, for the most part, specific to ELF executables on a Linux platform running under an Intel-386 architecture. I imagine that a good bit of the information is applicable to other ELF-based Unices, but my experiences with such are too limited for me to say with certainty. The assembly code that appears in this document is written for use with Nasm. (Besides being more appropriate for our needs, Nasm's syntax beats the hell out of AT&T syntax for anyone who learned x86 assembly language before learning to use Gas.) Nasm is freely available and extremely portable; see http://nasm.sourceforge.net/. Please also note that if you aren't a little bit familiar with assembly code, you may find parts of this document sort of hard to follow. Read More >> CodeBreakers Journal ISSN 1864-7049. IT Security Training/Auditing Journal by IITAC! |
Journal Issues
StatisticsMembers: 1927News: 293 Web Links: 1 Visitors: 3932137 Who's Online |
Home
Articles - Black Hat Methods Assembly Write an 11-byte program that displays its command line.
|
|||||||||||||||||

