|
|||||||
| Pentesting Specific topics related to legal penetration testing |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Quote:
I could not redirect the output of that command to a file so I built a program(just gets input without any filters) in order to analise the memory after input. In fact, the problem is indeed on my script, since \xeb could not be found in the memory with the rest of the test string I sent... Can someone think about other methods of sending the attack string in this case? Thanks lupin for the help so far =) |
|
||||
|
Quote:
e.g. File "badbuffer" contains your data in binary format (use perl or python or a hex editor or your other tool of choice to create the file with binary data in it.) Then run awbo2.exe like so: Code:
awbo2.exe <badbuffer
__________________
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. |
|
|||
|
ok, I've created the binary file with a python script and checked it with an hex editor, everything was as I expected it to be, but when I ran the command the program crashed...
Can I use this method with awbo2.exe attached to the debugger? I've also searched for some immunity script that could insert the string into stdin but no success there... |
|
||||
|
Quote:
Haven't had a chance to try it yet, but something like this may work.
__________________
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. |
|
|||
|
I've used the plugin you sugested and it worked like a charm!
I've tested the exploit with the windows/exec payload and booom, calculator! Steps to a calculator =) : 1- Insert attack string into program's stdin (awbo2.exe < bin) 2- Catch execution with olly's plugin (Catcha!) 3- Overflow and jump to a pop pop ret 4- Return execution to jump short 5- Run jump backwards assembly code 6- Jump to NOPs 7- Decode and execute payload Seems very simple now... Thank you very much for the help provided! |
|
||||
|
Happy to help. I appreciate it when I can respond to a thread like this without having to spoonfeed, it makes a nice change from what usually happens when I respond to threads in the Newbie forum...
__________________
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. |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|