|
|||||||
| Pentesting Specific topics related to legal penetration testing |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
Here is an easy to read pdf from muts about SEH: http://www.remote-exploit.org/adviso...lobalscape.pdf
__________________
Homer: You don't like your job, you don't strike. You go in every day and do it really half-assed. That's the American way. |
|
|||
|
Thanks, that's just what I needed. Uh, just a little question, it seems like the 0x00 might be a bad character, but since the other POP POP RET I found that started with 0x77 was in ntdll, so of course...ASLR. Is there anyway to bypass ASLR? If not..uh do I just keep trying to exploit it over and over until it works lol?
Last edited by oib111; 10-17-2009 at 06:33 AM. |
|
||||
|
If you can manage to overwrite it you can use it to help make your exploit more stable (if the EIP overwrite crashes the program instead of redirecting execution for example), but no, you dont HAVE to worry about it if the EIP overwrite works.
I havent had to deal with ASLR myself as yet, so I can't really advise on that. Are you sure you cant find a POP POP RET anywhere else? And you cant try this on Windows XP instead? You probably want to keep things as simple as you can for your first overwrite...
__________________
Nancy Astor: If I were your wife I would put poison in your coffee! Winston Churchill: Madam, if I were your husband I would drink it. |
|
|||
|
Well it seems that the POP POP RETs that don't start with 0x00 are in DLLs so ASLR will always be a problem there. I might do some googling on ASLR bypass, but if not I will just do this on XP.
EDIT: Trying this on XP but I'm having some problems. ![]() I think I'm overwriting the pointer to next SEH record or the SEH handler or something and so it jumps to a random place in the program and can't fix the exception, hence the "Debugged program was unable to process exception." Last edited by oib111; 10-17-2009 at 06:35 PM. |
|
||||
|
Quote:
__________________
Nancy Astor: If I were your wife I would put poison in your coffee! Winston Churchill: Madam, if I were your husband I would drink it. |
|
||||
|
Can you overwrite EIP with a value you can control? If you can control EIP, then the value of SEH doesn't matter.
What particular piece of 3COM software are you using for this and how are you triggering the overflow? Download link? I may try and reproduce myself if I have a spare moment, because Ive been keen to do another buffer overflow for a while but haven't found a good candidate...
__________________
Nancy Astor: If I were your wife I would put poison in your coffee! Winston Churchill: Madam, if I were your husband I would drink it. |
|
|||
|
Here's a download link: https://www.securinfos.info/old_soft...aemon_2r10.exe
Also, if I overwrite EIP with a valid return address that happens (what's in the picture). |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|