Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 05-26-2004, 14:47
TQN TQN is offline
VIP
 
Join Date: Apr 2003
Location: Vietnam
Posts: 343
Rept. Given: 142
Rept. Rcvd 20 Times in 12 Posts
Thanks Given: 169
Thanks Rcvd at 130 Times in 43 Posts
TQN Reputation: 20
Smile Some my experiences with OllyDbg

- OllyDbg can not find and stop at the entry point of a EXE which did not have IAT (did not contain any import functions). The exception will throw in NTDLL.DLL and the exe will terminate. IDA debugger, WinDbg are same. They can not debug this exe, and seem that the OS can not run this kind of EXE.
- If we have installed Visual Studio 6, we will have the MFC42.pdb file in System32 directory. When OllyDbg load a exe which uses MFC42.dll, OllyDbg will load and read debug information from the MFC42.pdb and it will take a long time (seem to hang). So I must move the MFC42.pdb to my symbols directory.
- If we rename OllyDbg.exe to another name (to anti anti-OllyDbg), almost plugins will not run. So I think we need modify plugin.h to dynamic load OllyDbg export functions by GetModuleHandle(NULL) and GetProcAddress(xxx).
- We can develop OllyDbg plugin with Delphi. I know we have many Delphi Coder in this forum here, so why we can not use Delphi to write plugin ?. I am porting plugin.h to plugin.pas for Delphi 6 and 7. I am finished 50%. Wait for few days. I attached a simple plugin with source, written with Delphi 7. Hope you will enjoy, test and reuse it for your plugins written in Delphi.
Regards
Attached Files
File Type: rar DPlugin.rar (21.7 KB, 31 views)
File Type: rar Test.rar (1.9 KB, 21 views)
Reply With Quote
  #2  
Old 05-26-2004, 14:59
Jay Jay is offline
VIP
 
Join Date: Feb 2002
Posts: 249
Rept. Given: 31
Rept. Rcvd 3 Times in 3 Posts
Thanks Given: 15
Thanks Rcvd at 13 Times in 5 Posts
Jay Reputation: 3
Quote:
- If we rename OllyDbg.exe to another name (to anti anti-OllyDbg), almost plugins will not run.
I've renamed it, also renaming every internal reference and no probs at all as long as length of newname is same as original.
Reply With Quote
  #3  
Old 05-27-2004, 08:05
archphase
 
Posts: n/a
Thanks for those tips, i've had some weird issues in Olly sometimes too, like on Sunday when i was working I had code like:

Code:
cmp dword ptr [dwBreak], 1
jnz NoBreak
int 3
NoBreak:
jmp dword ptr [dwFullOEP]
and when I hit my breakpoint it seemed olly couldn't recognize the jnz and int 3 and innterperted it as sub esp, 4 so had too pad with nops.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Best ollydbg 2 mod Zeocrack General Discussion 7 10-08-2023 17:57
64-bit OllyDbg v2.01 giv General Discussion 37 06-29-2014 16:38
Where's OllyDbg imagin General Discussion 5 06-11-2005 20:07


All times are GMT +8. The time now is 19:42.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( 1998 - 2024 )