Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #16  
Old 01-22-2004, 21:42
R@dier
 
Posts: n/a
@ britedream

Thanks for the updated script,
I have tested it on 5 aspr progs and it works a treat.

Thanks for sharing

R@dier
Reply With Quote
  #17  
Old 01-22-2004, 21:57
lownoise
 
Posts: n/a
BriteDream,

Have a application according to peid packed with a earlier version of ASProtect 1.2 / 1.2c-> Alexey Solodovnikov where your modified script doesn't work
But this version doesn't have stolen bytes so the trick with the stack point did the job
Reply With Quote
  #18  
Old 01-22-2004, 22:14
britedream britedream is offline
Friend
 
Join Date: Jun 2002
Posts: 436
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 0
Thanks Rcvd at 7 Times in 7 Posts
britedream Reputation: 0
the script should work unless the program is expired(in some). may I have the program name please.
Reply With Quote
  #19  
Old 01-22-2004, 22:24
lownoise
 
Posts: n/a
PM

Pm send to you
Reply With Quote
  #20  
Old 01-22-2004, 22:32
britedream britedream is offline
Friend
 
Join Date: Jun 2002
Posts: 436
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 0
Thanks Rcvd at 7 Times in 7 Posts
britedream Reputation: 0
thanks R@dier for the testing you are always helpful.

thanks lownoise, I will take a look at it.
Reply With Quote
  #21  
Old 01-22-2004, 22:41
britedream britedream is offline
Friend
 
Join Date: Jun 2002
Posts: 436
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 0
Thanks Rcvd at 7 Times in 7 Posts
britedream Reputation: 0
thank you again,it is just a matter of using signature, I left it for simplicity, but now I will write another one base on signature which should works for all.

Last edited by britedream; 01-23-2004 at 01:09.
Reply With Quote
  #22  
Old 01-23-2004, 00:01
britedream britedream is offline
Friend
 
Join Date: Jun 2002
Posts: 436
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 0
Thanks Rcvd at 7 Times in 7 Posts
britedream Reputation: 0
the script set the breakpoint correctly, but
the problem with this is that even if I try
using shift+7 or shift+8 or shift+9 or run , it willn't stop on the breakpoint , so for the one doesn't have stolen bytes,we have to use the first script for the last exception.

my assumption that it will work with signature is wrong.

it is very nice of you lownoise to bring this to my attention.

regards.

Last edited by britedream; 01-23-2004 at 00:04.
Reply With Quote
  #23  
Old 01-23-2004, 00:15
britedream britedream is offline
Friend
 
Join Date: Jun 2002
Posts: 436
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 0
Thanks Rcvd at 7 Times in 7 Posts
britedream Reputation: 0
To lownoise:

for the one doesn't have stolen bytes it
is easy, you don't need to use stack bps , just use the first script to get to the last
exception, set memory breakpoint on code section, shift+9 twice will be at the oep.
Reply With Quote
  #24  
Old 01-23-2004, 09:30
SHaG SHaG is offline
Friend
 
Join Date: Jan 2004
Posts: 51
Rept. Given: 1
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 0
Thanks Rcvd at 0 Times in 0 Posts
SHaG Reputation: 0
Next version of OllyScript will support both hardware breakpoints
and memory breakpoints. Also assembly will be supported, as
well as searching for instructions/opcodes. Stack BP == mem BP, right?

Also, if any more features are wanted, please msg me on EFnet (nick SHaG) or mail to ollyscript at apsvans dot com.

BTW, if you want to modify the plugin, please send me the
modifications and they will be incorporated in the next release.
Don't want 100 different versions floating around.... =)
Reply With Quote
  #25  
Old 01-23-2004, 13:12
britedream britedream is offline
Friend
 
Join Date: Jun 2002
Posts: 436
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 0
Thanks Rcvd at 7 Times in 7 Posts
britedream Reputation: 0
We greatly appreciate your effort, and looking forward to the next version.

Regards.
britedream
Reply With Quote
  #26  
Old 01-23-2004, 17:30
lownoise
 
Posts: n/a
aspack

Here a quick and dirty script to stop on the oep of aspack compressed programs

Start Programmer comments
First it walks threw the program and search for the oep bytes 7561 and 7503 (when breakpoint has been set in a earlier run) if it's found we will set a breakpoint on that eip, then it runs the program and when the breakpoint occurs it does a singlestep to OEP. This script has only been tested on 2 programs so please test it and report the results back.
End Programmer comments


var x
var y

mov x, eip


lab1:
mov y, [eip]
and y, 0000ffff
cmp y,7561
je lab2
cmp y,75cc
je lab3
add eip,1
jmp lab1

lab2:
ubp eip

lab3:
mov eip,x

eob lab4
eoe lab4

lab4:
sto
sto
sto
sto
log eip
ret
Reply With Quote
  #27  
Old 01-23-2004, 19:26
lownoise
 
Posts: n/a
neolite 2.0

OEP Script for neolite 2.0
Script will found OEP jump and set there a breakpoint
Program will run and stops on breakpoint (jmp eax)
this script has been tested on R@dier unpack neolite 2.0.exe

var x
var y

mov x, eip


lab1:
mov y, [eip]
and y, 0000ffff
cmp y,e0ff
je lab2
cmp y,e0cc
je lab3
add eip,1
jmp lab1

lab2:
ubp eip
lab3:
mov eip,x
run
ret
Reply With Quote
  #28  
Old 01-23-2004, 20:00
britedream britedream is offline
Friend
 
Join Date: Jun 2002
Posts: 436
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 0
Thanks Rcvd at 7 Times in 7 Posts
britedream Reputation: 0
way to go lownoise, it is nice to see people start playing with script, this way we all benefit.
keep up the good work!.
britedream

Last edited by britedream; 01-23-2004 at 20:07.
Reply With Quote
  #29  
Old 01-25-2004, 20:42
arz
 
Posts: n/a
Attached is a small script for asprotect(only tested on 1.23RC4).

It is basically a small extension of britedreams latex. With the addition of killing all the debugger checks. Also enclosed in the
.zip are a few of my notes, which may explain what the script is doing/killing a little.

One small problem, I added a SUB func to the .dll and recompiled
the source (details also enclosed) but I'm sure there's probably another easier way around the SUB.

Hope it's usefull....

arz
Attached Files
File Type: zip anti-debug+lastex.zip (11.0 KB, 223 views)
Reply With Quote
  #30  
Old 01-26-2004, 08:58
SHaG SHaG is offline
Friend
 
Join Date: Jan 2004
Posts: 51
Rept. Given: 1
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 0
Thanks Rcvd at 0 Times in 0 Posts
SHaG Reputation: 0
Arrow

SUB is included in 0.4 which is now available for download at hxxp://ollyscript.apsvans.com =)

[Edit by JMI: The NO CLICKABLE LINKS rule applies to tool sites, even your own, because noobies can stop themselves from posting clickable links to software vendors. ALWAYS uncheck the "Automatically parse URLs" button.]

Last edited by SHaG; 01-26-2004 at 10:11.
Reply With Quote
Reply

Thread Tools
Display Modes

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



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


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