The Owl
December 17th, 2000, 07:33
Quote:
I am trying to figure out how this features work.For example I have tried tracex
on upxed exe file and after 2-3 minutes program run but softice didnt popup.However when I try with trw2k pnewsec it stopped after unpacking.I have problems with hydra too.Could someone document how yo use this features(tracex and hydra -unbox.dll ) with I am so dumb to understand without example
|
it would have helped if you had told us at least what you exactly tried to do - i'm
trying to guess for now.
1. tracex/upx (or anything else):
1. loader32/iceload your target
2. when winice pops up, you're ready to start tracing with
/tracex <low> <high>
where <low> and <high> define the area you think the OEP will be. if your app
starts up without winice popping up at all then it means that either the tracer
was somehow defeated or you made the wrong guess regarding that range. for
upx it will be the latter ;-). a good guess is (usually) the first section (map32 or
a PE editor can tell you where it is), eg. the command will be something
like /tracex 401000 456000. i suggest you try to experiment with it on simple apps
like notepad, then go look up all the other features/options of the tracer engine
(although the default settings rarely need to be changed).
2. hydra
to tell /pedump to use a specific hydra plugin during imports rebuilding you simply use
/hydra unvbox.dll
before you invoke /pedump. note that you need to use /hydra only once, not
each time you /pedump as the .dll will stay in memory until you explicitly unload it
or load another one. for /hydra to work you have to copy all the hydra .dll files
into %windir%\system\hydra\ (this means kernel.dll and at least unvbox.dll in your case).