Jump to content
Nytro

Writing shellcode for Linux and *BSD

Recommended Posts

Posted

Writing shellcode for Linux and *BSD

Author: Daniele Mazzocchio

Last update: Apr 26, 2005

Latest version: Writing shellcode for Linux and *BSD - Table of contents

Table of Contents
1. Introduction...................................................................................................................................... 2
2. Linux system calls............................................................................................................................ 3
2.1 int 0x80...................................................................................................................................... 3
2.2 libc............................................................................................................................................. 4
3. *BSD system calls............................................................................................................................6
4. Writing the shellcode........................................................................................................................7
4.1 In assembler............................................................................................................................... 7
4.2 In C............................................................................................................................................ 9
5. Spawning a shell.............................................................................................................................11
6. Shellcode analysis.......................................................................................................................... 15
6.1 Trust is good............................................................................................................................ 15
6.2 ...but control is better............................................................................................................... 15
7. Appendix........................................................................................................................................ 19
7.1 References................................................................................................................................19
7.2 Bibliography............................................................................................................................ 19

Download:

http://www.shell-storm.org/papers/files/442.pdf

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...