Getting illegal access fault with error The address 0xffdeb9f0 could not be accessed.

I am trying to execute a shellcode in buffer overflow vulnerability. I am able to put the shell code at the right place in the memory but it's not getting executed.

enter image description here

enter image description here

  • Are you making it jump to the buffer, or read a scripting language from it? Generally the stack isn't directly executable by the processor.
    – wizzwizz4
    Sep 12, 2019 at 16:44
  • I am trying to jump to a buffer using jmp esp which contains my opcodes 83 c0 0c ff e0 to execute to jump to the shellcode.
    – Mukesh
    Sep 12, 2019 at 17:28

1 Answer 1


Stack and heap memory is not executable if DEP (data execution prevention) is enabled (default behavior on most recent OSes). You would need to disable it explicitly, remap memory as executable, or use ROP (return-oriented programming) to avoid executing data.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.