Exetools

Exetools (https://forum.exetools.com/index.php)
-   General Discussion (https://forum.exetools.com/forumdisplay.php?f=2)
-   -   nice olly plugin (https://forum.exetools.com/showthread.php?t=3242)

FEUERRADER 02-12-2004 10:53

SHaG
You can publish on your website my scripts (if u want).
p.s. check your e-mail.

FEUERRADER 02-12-2004 20:28

My scripts
 
1 Attachment(s)
Look attachment. There my:

Updated scripts:
- FSG 1.33 OEP Finder v0.1 !maybe unstable!
- PECompact 1.84 OEP Finder v0.1 !unstable edition!
- UPX 1.xx and UPX Protector 1.0 OEP Finder v0.1

New scripts:
- PeX 0.99 OEP Finder
IMPORTANT NOTE: before using this script, CHECK following option - Menu -> Options -> Debugging options -> Exceptions -> INT3 breaks. Script willnot work if u do not do that!
- PE Diminisher 0.1 OEP Finder

britedream 02-14-2004 22:54

1 Attachment(s)
this script finds Svkp Oep:

FEUERRADER 02-24-2004 19:58

1 Attachment(s)
OEP Finder for EXEStealth 2.7

R@dier 02-24-2004 20:20

1 Attachment(s)
OEP Finder for petite2.2

britedream 02-25-2004 04:19

1 Attachment(s)
this script find oep for protection plus, it is only tested on one target. (I couldn't find more targets to test). (windows xp).

FEUERRADER 02-25-2004 13:06

1 Attachment(s)
Y0da Crypter 1.2 OEP Finder!
yeah...it's really works!

SHaG, put my scripts on your page.

SHaG 02-25-2004 16:40

Scripts added to site. Great work guys!

I suppose you know that OS v0.6 is out?

R@dier 02-25-2004 21:03

1 Attachment(s)
OEP Finder for PKLITE32 1.1

SHaG 03-03-2004 17:06

1 Attachment(s)
Heh, just wanted to post this one here... It really makes use of all the capabilities of OllyScript. Requires OllyScript v0.6.

R@dier 03-03-2004 19:26

Awesome script,



Many thanks

R@dier

SHaG 03-05-2004 00:15

OllyScript v0.62 posted.

* Breakpoint bug fixed (again).
* EFLAGS can be changed.

Harding 03-28-2004 04:50

Didn't really know where to post this, but here seems to be the best place.
I have written a PEShield v0.25 OEP finder.
Enjoy!


EDIT: The upload didn't seems to work? I'll post the whole script then:
---------COPY FROM HERE-----------------------------
/*
This script finds OEP for programs packed with PEShield v0.25 (I havn't tested for other versions)
IMPORTANT!
You have to hide OllyDbg from IsDebuggerPresent manually BEFORE you run this script (There is plugins that do that.)
You have to let OllyDbg handle all exceptions (options --> Debugging Options --> Exceptions --> Uncheck all except KERNEL32)
When the script is finished, dump and rebuild IAT for unpacked program.

If you find any bugs in my script, please let me know. You can reach me on Efnet (IRC) with nickname Harding

Have fun!
*/

msg "Have you read the IMPORTANT part in peshield.osc? If not, do so BEFORE you run peshield.osc. -Harding"

//Variables
var codeSize
var codeBase
var codeBaseAddCodeSize
var tempEIP
var i

//Execute on breakpoint (and exception)
eob breakHandler
eoe breakHandler

//Gets information about a module to which the specified address belongs.
//"info" can be MODULEBASE, MODULESIZE, CODEBASE or CODESIZE (if you want other info in the future versions plz tell me).
//Sets the reserved $RESULT variable (0 if data not found).
GMI eip, CODEBASE
mov codeBase, $RESULT

//Gets information about a module to which the specified address belongs.
//"info" can be MODULEBASE, MODULESIZE, CODEBASE or CODESIZE (if you want other info in the future versions plz tell me).
//Sets the reserved $RESULT variable (0 if data not found).
GMI eip, CODESIZE
mov codeSize, $RESULT

//Fix codeBaseAddCodeSize
mov codeBaseAddCodeSize, codeBase
add codeBaseAddCodeSize, codeSize

//Shift F9
esto

first:
//Shift F9
esto

second:
//Set memory breakpoint on write. Size is size of memory in bytes.
bpwm codeBase, codeSize
//Shift F9
esto

third:
//Shift F9
esto

fourth:
//Clear memory breakpoint.
bpmc
//Save current EIP
mov tempEIP,eip
//Set breakpoint on address addr with condition cond.
bpcnd eip,"ECX==1"
//Shift F9
esto

fifth:
//Clear unconditional breakpoint at addr. (And conditional)
bc tempEIP
//Set memory breakpoint on read. Size is size of memory in bytes.
bprm codeBase, codeSize

lastBreakHandler:
//Are we in CODE section? If yes, then we're at OEP, if not then Shift F9
cmp eip,codeBaseAddCodeSize
jb finish
esto

breakHandler:
add i,1
cmp i,1
je first

cmp i,2
je second

cmp i,3
je third

cmp i,4
je fourth

cmp i,5
je fifth

jmp lastBreakHandler

finish:
//Clear memory breakpoint.
bpmc

//Exit script
ret

//Written by Harding
---------STOP COPY HERE-----------------------------


All times are GMT +8. The time now is 01:02.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX