Reverse Engineering RET Homepage RET Members Reverse Engineering Projects Reverse Engineering Papers Reversing Challenges Reverser Tools RET Re-Search Engine Reverse Engineering Forum Reverse Engineering Links

Go Back   Reverse Engineering Team Board > Reverse Engineering Board > Reverse Code Engineering
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
  #411  
Old 01-16-2011, 03:37 PM
dad57 dad57 is offline
Member
 
Join Date: Jan 2011
Posts: 9
Default

ok thanks but why does 1 soft work fine and the other one that use the same dongle does not work "error 1031..."
Reply With Quote
  #412  
Old 01-16-2011, 03:41 PM
sparpacillon sparpacillon is offline
Senior Member
 
Join Date: Aug 2007
Posts: 210
Default

probably the first one is not enveloped it is a developer choice..
Reply With Quote
  #413  
Old 01-18-2011, 05:11 PM
dad57 dad57 is offline
Member
 
Join Date: Jan 2011
Posts: 9
Default

I'd like to thank all of you, especially kjms nodongle and sparpacillon, for your precious help.
I'm able now to run my softwares (except on x64 OS)

Thanks
Reply With Quote
  #414  
Old 02-03-2011, 11:54 AM
wolk wolk is offline
Junior Member
 
Join Date: Jan 2011
Posts: 4
Default

Hello
to understand
HASPHL Max, green HASP USB dongle win xp Pack3
Dump the key h5dmp
Hasploger
11/01/26 18:45:19.271 <== Application: W.exe

2011/01/26 18:45:19.271 ==> HaspStatus: Status = 0x00

2011/01/26 18:45:19.321 ==> HaspStatus: P1 = 0x04, P2 = 0x01, P3 = 0x01

2011/01/26 18:45:19.321 ==> HaspStatus - HASP HL Max

2011/01/26 18:45:19.321 ==> HaspStatus - HASP HL Time

2011/01/26 18:45:19.321 ==> HaspStatus: Status = 0x00

2011/01/26 18:45:19.321 ==> ReadBlock: Data =

2011/01/26 18:45:19.331 ==> ReadBlock: Status = 0x00

================================================== ================
2011/01/26 18:45:19.471 <== HaspHL_decrypt: Length = 0x10

2011/01/26 18:45:19.471 <== HaspHL_decrypt: Input Data =

2011/01/26 18:45:19.471

87 BB 57 EA | 29 09 B0 EC | EE 71 C0 9A | EB C6 31 CE [..W.)....q....1.]



2011/01/26 18:45:19.521 ==> HaspHL_decrypt: Output Data =

2011/01/26 18:45:19.521

32 DB E7 13 | 9B C8 C4 B6 | EA AE A0 E3 | CD 18 35 1F [2.............5.]



2011/01/26 18:45:19.521 ==> HaspHL_decrypt: Status = 0x00

Convert hasp_multikey


REGEDIT4
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Multik ey\Dumps\********]ok
"Name"=""
"Copyright"="Copyright (C) 2010 l"
"DongleType"=dword:00000001
"Created"="01/01/2011 19:17:21"
"SN"=dword:********
"Type"=dword:000000EA
"Memory"=dword:00000020
"SecTable"=hex:42,D3,2D,BD,6E,FF,2D,BD
"NetMemory"=hex:00,00,00,00,00,00,00,00,00,00,FF,F E
"Option"=hex:00,01,02,4A,1F,01,01,01,0B,01,12,11,1 D,00
"Data"=hex:\
32,30,32,32,31,30,00,00,00,00,41,54,1C,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
51,27,66,63,65,73,73,6F,18,43,58,49,61,6D,00,00,\
FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,\
FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,\
..................................
FF,FF,FF,FF,FF,FF,FF,FF,01,FF,FF,FF,01,FF,FF,FF,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
08,01,FF,13,21,00,00,00,00,00,00,00,00,00,00,00,\
................................
00,00,00,00,00,00,00,00,00,00,00,00,00,E0,E1,1E,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"ColumnMask"=dword:000000DB
"CryptInitVect"=dword:00000010
"AesKey"=hex:00,00,00,00,00,00,00,00,00,00,00,00,0 0,00,00,00
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\MultiK ey\Dumps\********\DTable]
................
"10:00C8E43CB2BDB8BFBCC44DB578719EFC"=hex:C8,D8,5F ,20,97,A8,F4,1F,57,BB,7D,CC,9E,E7,57,70
"10:0243DCE64BEA41B3748463C6C374169A"=hex:74,A6,C7 ,9C,9E,77,5D,09,87,C2,69,88,9D,1C,39,2A
........
"20:026F22B36DD0EFCE99A14F163229733F75F7D91B41DBCB 55D61620F1579E02C9"=hex:F4,A1,31,96,95,50,79,E1,31 ,4D,A3,B7,76,FB,0A,59
"20:047CB0233747D4913FFFCCEF81DBA22ECA52B07B2A4DF5 FEEDF607F44FAAC4A4"=hex:7E,CA,5A,6D,75,81,52,35,0A ,CB,E0,A6,72,43,F3,ED
..................
"30:026F22B36DD0EFCE99A14F163229733F75F7D91B41DBCB 55D61620F1579E02C9"=hex:F0,5E,BD,25,22,C9,64,7E,08 ,8B,45,FC,E8,DF,FD,FF
"30:047CB0233747D4913FFFCCEF81DBA22ECA52B07B2A4DF5 FEEDF607F44FAAC4A4"=hex:9F,12,34,6C,F7,FF,5F,FA,4D ,F4,BB,01,00,00,00,EB
........................
Add the reg file and merge to the registry.
mk installed 18.0.3
error 1031
Who can help me to understand where mistake
if you give me in pm ok send files.
sorry my english

Last edited by wolk : 04-13-2011 at 09:12 PM.
Reply With Quote
  #415  
Old 05-09-2011, 03:51 AM
raed248 raed248 is offline
Junior Member
 
Join Date: May 2011
Posts: 4
Default

Hi,
@dad57
Can you please post the resulting reg and dump ?
How did you to resolve 1031 error ?
Reply With Quote
  #416  
Old 05-09-2011, 08:50 AM
kjms kjms is offline
Senior Member
 
Join Date: Aug 2009
Posts: 337
Default

@raed248
WHAT YOU TRY, SHOW HERE
Reply With Quote
  #417  
Old 05-09-2011, 10:00 AM
raed248 raed248 is offline
Junior Member
 
Join Date: May 2011
Posts: 4
Default

I'm using dad57's results to emulate that HASP HL dongle;
all goes ok, until i get that "envelope error 1031";

dad57's post : http://www.reteam.org/board/showpost...&postcount=408
Can anyone help solving this prob ?
Reply With Quote
  #418  
Old 05-09-2011, 12:38 PM
kjms kjms is offline
Senior Member
 
Join Date: Aug 2009
Posts: 337
Default

[quote=sparpacillon;25021]
Lastest haspdriver does not start the app even in xp32 bit, giving encryption algorithm not supported,etc..)

I HAVE SAME OTHER PROBLEM WHEN I RUN EMULATOR WITH OLD VERSION XXXX.EXE WORKING FINE(EVEN NEW DRIVER HASP SRM), WHEN I RUN THE NEW VERSION XXXX.EXE (EVEN OLD DRIVER HASP)UNKNOWN ENVELOPE ERROR E0031

ANY ONE HAVE IDEA, SUGGESTIONS PLEASE.......

NOTE: WITH ORIGINAL DONGLE BOTH VERSION WORKING FINE.
Attached Images
File Type: jpg E0031.jpg (16.1 KB, 59 views)
Reply With Quote
  #419  
Old 05-09-2011, 04:39 PM
raed248 raed248 is offline
Junior Member
 
Join Date: May 2011
Posts: 4
Default

none knows how to deal with it ?
Reply With Quote
  #420  
Old 05-14-2011, 06:40 AM
nodongle nodongle is offline
Senior Member
 
Join Date: Oct 2007
Posts: 300
Default

kjms
E0031 it is envelope error.
You need extract new tables from the protected file.
And new data from logs is required also.

raed248
I know since 2008
__________________
nodongle.biz

Last edited by nodongle : 05-14-2011 at 07:51 AM.
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump





Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.