Vulnerability Development mailing list archives
Re: shellcoding on gentoo
From: nonexistent () fake com
Date: 7 Feb 2006 18:27:53 -0000
Try initializing the upper 3 MSB's of the eax register before trapping. This seems like a really common error amongst new shellcode writers. It's probably that eax has already been initalized with a value and you're only setting the LSB. Then when you trap the wrong (or completely invalid) systemcall is being called, fails, and since you don't exit() after the trap it crashes. If you use something like strace, you'll be able to confirm what systemcall (if any) is actually being called on the trap.
Current thread:
- Re: shellcoding on gentoo apriori (Feb 01)
- <Possible follow-ups>
- Re: shellcoding on gentoo nonexistent (Feb 07)
- Re: shellcoding on gentoo Borja (Feb 21)
- Re: shellcoding on gentoo Mike Davis (Feb 21)
- Re: shellcoding on gentoo DJ Ether (Feb 21)
- Re: shellcoding on gentoo Mike Davis (Feb 21)
- Re: shellcoding on gentoo security (Feb 22)