![]() |
1 Attachment(s)
Update... I fixed the small but troublesome bug that Flagmax pointed out below (Thanks) I also updated the patch with the fix
here is my version... What do you think??? Code:
JumpGate hex+asm |
1 Attachment(s)
Ok did more testing. The modified patch is still not working as it should. If you make a large message in OutputDebugString(), then the Readmemory will fail once again. So I search in Olly some more and found a better place to insert a jump to Check_Bad_Message routine. I made small changes to routine.
First here is code from Olly with comments: Code:
0043131E BA 00010000 MOV EDX,100 ; Set EDX to 256dCode:
00431347 /E9 0AE30700 JMP OLLYDBG_.004AF656 ; Jump to Check_Bad_Message routineCode:
004AF656 E8 B11CFBFF CALL OLLYDBG_._Readmemory ; Read the Message from Debugging ProcessIn this Final version, Readmemory reads the correct number of bytes. Then I search for 25 in Message. If found, I make the messages say "Debug string: Exploit" You can actually see this Message in Olly status bar at the buttom. Well, I think this is safest patch so far. I learned a lot here that will help me in future :) Attached is the final patch thats in this post. |
Wow our patches are so alike its scary hehe. I believe there is a small bug here
Code:
004AF659 74 07 JE SHORT OllyDbg.004AF662I really like that you replacing all % with a space. Congrats! Quote:
|
well so you are utilising its original ReadMemory() and using its own output and just scanning the output it produces for the format specifier that makes sense
and makes the patch a little more smaller :) so my little contribution had infact helped a little to make it better against weakness of ollydbg i am happy :) |
RE-Pair 0.2
Added your guys patch to my program RE-Pair (I used goggles99 actual code, so many thanks to him). It also patches all occurences of 'ollydbg' (case insesitive) in the .exe to a random string. So this will defeat the FindWindow method of detecting Olly. Im planning on adding an option that will rename Olly (simple), and its name in all of its plugins (needed to allow them to keep working). This will defeat the CreateToolHelp method of detection. Also, any other suggestions or comments are appreciated.
Crudd [RET] [EDIT] http://exetools.com/forum/showthread.php?t=6589 [\EDIT] |
| All times are GMT +8. The time now is 13:59. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX