Jump to content
NO-MERCY

How to write a (Linux x86) shellcode

Recommended Posts

Posted

Hello Rst:

How to write a (Linux x86) shellcode

2012070522573358.jpg

1- Introduction to Linux shellcode writing (Part 1)

2- Introduction to Linux shellcode writing (Part 2)

3- How to write a (Linux x86) port-biding shellcode

4- How to write a (Linux x86) reverse connection shellcode

5- How to write a (Linux x86) egg hunter shellcode

This is very brief and basic list of steps to follow if you want to write a shellcode under Linux operating system.

Introduction to Linux shellcode writing (Part 1) | Adventures in the programming jungle

In the previous ticket we created a dummy shellcode firstly in C language and then in the assembler language; we tested the dummy shellcode but we’ve seen that the execution was failing. In this ticket we will try to fix the dummy shellcode problems and hopefully we will be able to execute it successfully.

Introduction to Linux shellcode writing (Part 2) | Adventures in the programming jungle

The goal of this ticket is to write a shellcode that will open a socket on a specific port and executes a shell when someone connects to the specific port.

How to write a (Linux x86) port-biding shellcode | Adventures in the programming jungle

The goal of this ticket is to write a shellcode that makes a connection from the hacked system to a different system where it can be cached by different network tools like net cat

How to write a (Linux x86) reverse connection shellcode | Adventures in the programming jungle

The goal of this ticket is to write an egg hunter shellcode. An egg hunter is a piece of code that when is executed is looking for another piece of code (usually bigger) called the egg and it passes the execution to the egg. This technique is usually used when the space of executing shellcode is limited (the available space is less than the egg size) and it is possible to inject the egg in another memory location. Because the egg is injected in a non static memory location the egg must start with an egg tag in order to be recognized by the egg hunter.

How to write a (Linux x86) egg hunter shellcode | Adventures in the programming jungle

Regards

NO-MERCY

Source:

http://itblog.adrian.citu.name/category/it-security/shellcode/

  • Upvote 1

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...