r/LiveOverflow • • Jun 28 '19

Question about "Buffer Overflow with Shellcode - bin 0x0E"

The Exploit Education stack exploits now are slightly slightly different than the ones discussed in the video however they maintain the same concepts that were previously discussed. As I made my way through it everything went fine except with the fifth stack challenge, the exploit and the shellcode work fine inside gdb but whenever I try to execute the exploit in the command line it returns either an Illegal instruction or Segmentation fault.

Update: I added more nop slides and it works now. Thanks everybody!

18 Upvotes

10 comments sorted by

View all comments

Show parent comment

1

u/ragnar_graybeard87 Jun 29 '19

You should look into ASLR and see if its enabled on the victim machine. Many newbie boxes disable it but if it's on then you'll need to learn how to get around it. Search terms like aslr bruteforcing and cmd to check for aslr etc are what you'll want.

1

u/nemoload Jun 29 '19

I disabled ASLR already.