Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 04-19-2005, 13:42
ketan ketan is offline
Friend
 
Join Date: Mar 2005
Posts: 157
Rept. Given: 0
Rept. Rcvd 19 Times in 10 Posts
Thanks Given: 8
Thanks Rcvd at 150 Times in 75 Posts
ketan Reputation: 19
hasp/sentinel envelope(s) infos

as a tradition, hasp envelope util ( sdk v11.0 and below ) hook following functions from importe table...

KERNEL32.DLL!GetProcAddress
KERNEL32.DLL!ExitProcess

in order to increse level of obfuscation, hasp envelope util ( sdk v12.0 and onwards ) started to hook many more functions from important system dlls,

KERNEL32.DLL
USER32.DLL
ADVAPI32.DLL
SHELL32.DLL

and more...

internally, each iat function is assigned unique # and it is mapped into a bit table indicating it is hooked or not ( ie. 1 bit per iat function )

so in order to successfully recover full iat with valid functions,
one must find a code location in .protect section of hasp envelope where this test is performed, and if we patch it in manner that no function is hooked,
we can easy recover needed information.

note: with such trick, still above mentioned two functions need to be corrected!

on the rainbow sentinel part, the envelope is pretty simple and straight
it contains no obfuscation as such except very well developed big switch/case kinda structure and pcode format ( documented on CrackZ pages w/o proper respect given to it's author ie. me! )

Thanks...
Reply With Quote
The Following User Says Thank You to ketan For This Useful Post:
Tomy73 (05-23-2021)
  #2  
Old 04-20-2005, 21:09
CrackZ CrackZ is offline
VIP
 
Join Date: Sep 2004
Posts: 51
Rept. Given: 2
Rept. Rcvd 66 Times in 8 Posts
Thanks Given: 0
Thanks Rcvd at 21 Times in 9 Posts
CrackZ Reputation: 67
Hiya ketan,

I don't remember who sent me the Sentinel envelope structure definitions when I posted them, in fact I don't recall actually getting them from you directly else I would have given you the credits/

However, since I know you of old, I've updated the page to reflect your contribution.

Regards, and keep up the good work.

CrackZ.
Reply With Quote
  #3  
Old 04-21-2005, 13:19
sope2001
 
Posts: n/a
Greetings CrackZ & Ketan,

Well it was me to sent to you if i remember correctly I got it from my russian friends & i send it to you.

Ketan:
Quote:
internally, each iat function is assigned unique # and it is mapped into a bit table indicating it is hooked or not ( ie. 1 bit per iat function )
Just wanted to know can you show the code snippet of what u r saying. It's not that I can't manage it, i need to learn your technique.

Regards, Sope.
Reply With Quote
  #4  
Old 04-21-2005, 14:11
infern0 infern0 is offline
Friend
 
Join Date: Dec 2004
Posts: 72
Rept. Given: 4
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 0
Thanks Rcvd at 2 Times in 2 Posts
infern0 Reputation: 0
btw - there are some small idc script to decompile sentinel envelope p-code int readable format. I will post it here today
Reply With Quote
  #5  
Old 04-24-2005, 05:01
infern0 infern0 is offline
Friend
 
Join Date: Dec 2004
Posts: 72
Rept. Given: 4
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 0
Thanks Rcvd at 2 Times in 2 Posts
infern0 Reputation: 0
here it is.
Attached Files
File Type: rar de_vm.rar (1.0 KB, 76 views)
Reply With Quote
  #6  
Old 04-29-2005, 01:41
s0cpy s0cpy is offline
Friend
 
Join Date: Jul 2004
Posts: 30
Rept. Given: 10
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 0
Thanks Rcvd at 2 Times in 2 Posts
s0cpy Reputation: 0
little hint how to find VendorCode (736 bytes) in protected application:
run proggy without key & when you take a message that key not found, dump protected app & search in dump with any hex editor "==" (3d3d in HEX). It is usual at the end of VendorCode, scroll up a little & if you see similar like the contents of demoma.hvc from HASP_HL SDK - it is it....
Sorry for my poor english...
Reply With Quote
Reply


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 Dos envelope AVLab General Discussion 0 10-08-2003 03:37
hasp envelope v7 VirtualM General Discussion 1 08-22-2003 16:58


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


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