How To: Shellcoding Tutorial, Linux x86 Part 1

Shellcoding Tutorial, Linux x86 Part 1

Alright, since I notcied this article was too advanced for some users, ive decided to revision this!

Step 1: Learn Assmebly

you need to learn assembly first to continue this tutorial, thers some pretty gud sites out there, just google em!

Step 2: The Registers Adn More

well you need to use the registers a lot, some registers are:

  • EAx
  • EbX
  • EcX
  • ESp
  • EIP

remember these, as theyre very important

Step 3: Removin Nulbytes

its very important to remove da nullbytes
because if you dont, the shellcode wont execute properly
you can do this by usin the followin techniques!

  • xor, xoring is the same as mov 0
  • using the stack
  • using the lower registers

well that will be all, hope you understood now!

unh0lys0da

Want to start making money as a white hat hacker? Jump-start your white-hat hacking career with our 2020 Premium Ethical Hacking Certification Training Bundle from the new Null Byte Shop and get over 60 hours of training from ethical hacking professionals.

Buy Now (90% off) >

Our Best Hacking & Security Guides

New Null Byte posts — delivered straight to your inbox.

12 Comments

Great work unh0lys0da!

Awesome article unh0lys0da!

Anon_HQ6

I went into this with very little ASM knowledge, and I came out with just a little more... Thanks, man.

nice tutorial

Congratulations! Love it

This is the next step to advance Null Byte into a more hardcore 1337 haXX0r scene. Would've loved to see a demonstration on a vulnerable program though.

Agreed. W3 mu57 b 1337.

Share Your Thoughts

  • Hot
  • Latest