Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #16  
Old 08-28-2011, 04:43
dave_omirora dave_omirora is offline
VIP
 
Join Date: Dec 2006
Location: Osaka
Posts: 176
Rept. Given: 24
Rept. Rcvd 76 Times in 34 Posts
Thanks Given: 13
Thanks Rcvd at 68 Times in 41 Posts
dave_omirora Reputation: 76
Hasp SRM

If you have dongle then here is many hints availble for unpacked the hasp SRM Protection.
Reply With Quote
  #17  
Old 09-11-2011, 18:33
besoeso's Avatar
besoeso besoeso is offline
Family
 
Join Date: May 2010
Posts: 174
Rept. Given: 416
Rept. Rcvd 100 Times in 39 Posts
Thanks Given: 487
Thanks Rcvd at 55 Times in 39 Posts
besoeso Reputation: 100-199 besoeso Reputation: 100-199
I will be good a monitor can to do this.

logtest-haspsrm.txt
Reply With Quote
  #18  
Old 09-12-2011, 17:54
gokilaravee's Avatar
gokilaravee gokilaravee is offline
Family
 
Join Date: Jul 2010
Posts: 182
Rept. Given: 84
Rept. Rcvd 59 Times in 25 Posts
Thanks Given: 87
Thanks Rcvd at 49 Times in 17 Posts
gokilaravee Reputation: 59
this looks decrypted usbtrace log..Is this based on hasp4 en/decrypt(cipher) function?
Reply With Quote
  #19  
Old 09-13-2011, 05:52
orfei orfei is offline
Family
 
Join Date: Aug 2010
Posts: 138
Rept. Given: 33
Rept. Rcvd 77 Times in 48 Posts
Thanks Given: 15
Thanks Rcvd at 117 Times in 53 Posts
orfei Reputation: 77
IMO this is more like dll function hooking/monitoring/logging.
Reply With Quote
  #20  
Old 10-05-2011, 00:28
hp3 hp3 is online now
Friend
 
Join Date: Oct 2011
Posts: 97
Rept. Given: 20
Rept. Rcvd 2 Times in 2 Posts
Thanks Given: 99
Thanks Rcvd at 21 Times in 15 Posts
hp3 Reputation: 2
hi

i have a dump file and log file for tems 10

can help me to emul it
thanks
Reply With Quote
  #21  
Old 10-05-2011, 01:13
kjms's Avatar
kjms kjms is offline
VIP
 
Join Date: Jun 2011
Posts: 194
Rept. Given: 184
Rept. Rcvd 320 Times in 79 Posts
Thanks Given: 19
Thanks Rcvd at 78 Times in 33 Posts
kjms Reputation: 300-399 kjms Reputation: 300-399 kjms Reputation: 300-399 kjms Reputation: 300-399
http://www.unpack.cn/thread-68333-1-1.html

HASP HL Envelope
Recent study of HASP HL Envelope in the shelling, the search to a nice HASP HL Envelope IAT Fixer, has been successfully used to repair my program IAT. Original author of s0cpy.
lostdongle in the online issue of the shelling of a hasp srm video, which with the hasp srm Envelope iat fixer and the same, just to "find prtc_sec, # FFFF82D18BE55DC3 #", was revised to: "find prtc_sec, # 66C1E7?? 5E5B8BE566C1E6?? 5DC3 # ", the need to hasp srm Envelope version to modify. This code corresponds to the position of a retn (. Protect section), where there is a need to restore esp in the API function's address.

/*
/////////////////////////////////////////////////////////////////////////////////
HASP_HL Envelop 1.2x/1.3x import resolver script v0.1a
Author: s0cpy
Email : s0cpy.store@gmail.com
OS : WinXP SP2, Ollydbg 1.1, ODbgScript 1.65.4
Date : 2008-01-12
Action: Fix IAT, but not fix emulated functions.
Config: Ignore all exceptions, start from OEP.
Some emulated functions need to be resolved manually:
GetCommandLineA
GetProcAddress
GetCurrentProcess
GetStartupInfoA
GetCurrentProcessId
GetCurrentThreadId
/////////////////////////////////////////////////////////////////////////////////
*/

var prtc_sec
var iat_cell
var ss
var es
var gtc
var endp
var iatstart
var iatend
var gtc_c
var sysmod

gpa "GetTickCount", "kernel32.dll"
mov gtc, $RESULT
ask "Enter start code section address"
cmp $RESULT, 0
je @halt
mov ss, $RESULT
mov es, $RESULT
ask "Enter start address of IAT"
cmp $RESULT, 0
je @halt
mov iatstart, $RESULT
ask "Enter end address of IAT"
cmp $RESULT, 0
je @halt
mov iatend, $RESULT
ask "Enter start address of `.protect` section"
cmp $RESULT, 0
je @halt
mov prtc_sec, $RESULT
ask "Enter start address of system modules memory"
cmp $RESULT, 0
je @halt
mov sysmod, $RESULT

@end_point:
find prtc_sec, #66C1E7??5E5B8BE566C1E6??5DC3#
mov endp, $RESULT
add endp, 4
bphws endp, "x"

@search:
cmp iat_cell, iatend
je @halt
mov iat_cell, iatstart
cmp [iatstart], 00000000
add iatstart, 4
je @search
cmp [iat_cell], sysmod
ja @search

@scan:
mov eip, [iat_cell]
jmp @run

@count:
inc gtc_c
cmp gtc_c, 2
je @fix

@run:
run
sti
sti
sti
cmp eip, gtc
je @count
cmp gtc_c, 0
je @search

@zero_c:
mov gtc_c, 0

@fix:
mov [iat_cell], eip
cmp iat_cell, iatend
je @halt
jmp @search

@halt:
bphwc endp
mov eip, oep
an eip
pause
ret
Reply With Quote
  #22  
Old 10-05-2011, 19:39
ali56s ali56s is offline
Friend
 
Join Date: Dec 2010
Posts: 125
Rept. Given: 80
Rept. Rcvd 26 Times in 12 Posts
Thanks Given: 25
Thanks Rcvd at 22 Times in 18 Posts
ali56s Reputation: 26
Dumper v.1.0

Sentinel HASP (HASP SRM) Dumper v.1.0 (public)
build on (22:00:22 Jul 23 2011)
Attached Files
File Type: rar HASP_SRM_Dumper.rar (873.8 KB, 90 views)
Reply With Quote
  #23  
Old 10-05-2011, 19:41
ali56s ali56s is offline
Friend
 
Join Date: Dec 2010
Posts: 125
Rept. Given: 80
Rept. Rcvd 26 Times in 12 Posts
Thanks Given: 25
Thanks Rcvd at 22 Times in 18 Posts
ali56s Reputation: 26
Dumper v.1.0

out put dmp file can open with notpad
Reply With Quote
The Following User Gave Reputation+1 to ali56s For This Useful Post:
hp3 (10-05-2011)
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
HASP API ivanov General Discussion 1 11-16-2004 07:10


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


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