Flag: Tornado! Hurricane!

 Forums >>  Debuggers  >>  Reverse a WinRAR packed exe

Topic created on: May 13, 2012 07:23 CDT by talss .

Hello, I have a crackme exercise which is a console application packed with winrar.

I have unpacked the exe and when i try using it by just executing it, everything is fine.

But when i try reversing it using ollydbg(the same file), it still says that the entry point is outside the PE, and at some part while debugging it has an access violation.

What may be the problem?

Thank you very much.

  DriEm   May 15, 2012 13:07.49 CDT
As the EXE file runs well after you have unpacked it, the problem should not be related to WinRAR.
Maybe, the EXE contains TLS callback functions, these are executed before the EXE's entry point is reached. Have a look at waliedassar's blog post on TLS callbacks:

http://waleedassar.blogspot.de/2010/10/quick-look-at-tls-callbacks.html

  NirIzr     May 17, 2012 11:57.22 CDT
it doesn't have to be tls, but there's probably some kind of anti-debugging that detects the executable is being debugged and terminates.
you should analyze the code leading to the access violation to determine why exactly the crush happens...
if you could give us more info as to what happens before the crush we might recognize the anti debugging tricks.

Note: Registration is required to post to the forums.

There are 29,886 total registered users.


Recently Created Topics
Decompiling raw bina...
May/22
Incorrect bitness wh...
May/20
PaiMei stalker modul...
May/19
Attach to program us...
May/13
IDA PRO how to make ...
May/12
FACT: OpenRCE is dead.
May/08
Int 3 anti debug?
May/05
help needed - Beginn...
May/03
Attaching IDA Pro to...
Apr/27
File type
Apr/21


Recent Forum Posts
Debugging iphone app...
staree2010
Ollydbg 2.0 - Plugin...
openrce...
IDA PRO how to make ...
codeinject
FACT: OpenRCE is dead.
codeinject
IDA Resource Viewer ...
r2x64
FACT: OpenRCE is dead.
djnemo
FACT: OpenRCE is dead.
codeinject
FACT: OpenRCE is dead.
pedram
help needed - Beginn...
araujo
Attaching IDA Pro to...
codeinject


Recent Blog Entries
sweetyss
May/18
Adam Wainwright continues t...

lowpriority
Apr/13
OllyMigrate Plugin for Olly...

everdox
Mar/08
2 anti-trace mechanisms spe...

everdox
Mar/07
Advanced debugging techniques

everdox
Mar/06
Branch tracing and LBR acce...

More ...


Recent Blog Comments
clarisonic on:
Apr/03
New version of Ollydbg!

clarisonic on:
Apr/03
New version of Ollydbg!

trackerx90 on:
Mar/04
SuppressDebugMsg As Anti-De...

coachfactory on:
Feb/25
Portable Executable Format ...

coachfactory on:
Feb/25
A new Anti-Olly trick.

More ...


Imagery
SoySauce Blueprint
Jun 6, 2008

[+] expand

View Gallery (11) / Submit