OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Whitepaper - Writing small shellcode

From: Dafydd Stuttard (dafngssoftware.com)
Date: Mon Sep 19 2005 - 08:06:20 CDT


I have written a short whitepaper describing techniques for writing small
shellcode. This can be downloaded from:

http://www.ngssoftware.com/papers/WritingSmallShellcode.pdf

Abstract
This paper describes an attempt to write Win32 shellcode that is as small as
possible, to perform a common task subject to reasonable constraints. The
solution presented implements a bindshell in 191 bytes of null-free code,
and outlines some general ideas for writing small shellcode.

Cheers,

Dafydd Stuttard
Principal Security Consultant
NGS Software Ltd