Grundlagen der Cybersicherheit 1 Michael Backes, Ben Stock


NOP Slide for Shellcode

Written: 09.01.2018 14:04 Written By: Ben Stock

Since there was bit of confusion and some errors, let me give you a hint for the exercise: The shellcode which we provided contains several pushes. That means that if you add a NOP sled (not necessary in this case due to the exact address being known) *before* the shellcode, the pushes in the shellcode may overwrite some of the instructions of the shellcode itself.

Hence, either add padding *after* the shellcode and before the return address or place the whole shellcode *after* the return address (accounting for the change in address to jump to).

Privacy Policy | Legal Notice
If you encounter technical problems, please contact the administrators