Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 07-02-2006, 02:21
Kyrios Kyrios is offline
Friend
 
Join Date: Feb 2003
Posts: 48
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 0
Thanks Rcvd at 1 Time in 1 Post
Kyrios Reputation: 0
Question Rockey4

Hi,

Anyone has experinces with rockey4? I have a program (17MB) with rockey4 protection. I also have the dongle right now. But i want to use it without the dongle.
Before the call to Rockey, the flag is set to ax.

Mov ax, some word
Call Rockey
mov eax, dword ptr (esp)

The result always static value. It could be token left, dongleID, expiration date, etc. And always depend of the value of AX. For example if AX=1, always return token left. If AX=2, always return dongle ID. IF AX=3, always return expiration date. I have no problem with this kind of routine. It's done. I could modify the return value to anything i want coz it's static value.

But i have trouble with this kind of routine.
Mov ax, some dword
Push [ebp]
push [ebp+4]
Call Rockey4
mov ecx, [ebp]
mov edx, [ebp+4]

The final result depend on the push [ebp] and push [ebp+4]. And the initial value (before call to rockey) is always differ, depend on the library (music) file i load. The library music file came from the author of the program. And the amount is huge, about 10k files (3 DVDs). And the whole files are encrypted. In the beginning of each file there's 2 dword which are ALWAYS differ from each other. These values are used for initial push before call to Rockey. And the result values (which are moved to ecx and edx) are used the decrypt the music library file currently load. So you already know my currently situation.
So my question is how do i know what rockey doing with the inital values being pushed to stack? So i can ripped the code and inject it to the exe?

If someone interested with the target, i have upload it to yahoo mail i created for this purpose. Also my current progess which it can run without the dongle but can't decrypt the music libraries from the DVDs (came from author, package from purchase). Just PM me, i'll send the ID and the passw to you.

BR,
kyrios
Reply With Quote
  #2  
Old 07-02-2006, 14:08
toro toro is offline
VIP
 
Join Date: Aug 2004
Posts: 190
Rept. Given: 4
Rept. Rcvd 97 Times in 34 Posts
Thanks Given: 29
Thanks Rcvd at 161 Times in 52 Posts
toro Reputation: 97
hi
you can see rockey manual for function descripion. rocekys dongle protection logic are different with other traditional dongles. the developer can insert some portions (functions) of his code to dongle in design time , and in run time send parameters to dongle and recieve result of function from dongle. acctually dongle can execute some functions by itself. so patch method can not work for it.
however rockey 4 is very simple and you can guess functions which is in it by some effort. or somtimes even you can do a full search on all possible values as input parametes and create a table for output valuse.
and there are other approach...

i think you are lucky becasue you have rockey4 not rockey5.

regards
Reply With Quote
  #3  
Old 07-03-2006, 00:52
FoxB FoxB is offline
VIP
 
Join Date: Jan 2002
Location: Earth...
Posts: 1,064
Rept. Given: 15
Rept. Rcvd 139 Times in 95 Posts
Thanks Given: 23
Thanks Rcvd at 882 Times in 346 Posts
FoxB Reputation: 100-199 FoxB Reputation: 100-199
hi,

your rockey4 use the function named "Generate Seed Code".
for static dword value the dongle received four seed (word) based on dongle passwords.

wbr
Reply With Quote
  #4  
Old 07-17-2006, 04:10
.:hack3r2k:.'s Avatar
.:hack3r2k:. .:hack3r2k:. is offline
Friend
 
Join Date: Mar 2002
Location: Inside the c0de ...
Posts: 66
Rept. Given: 1
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 0
Thanks Rcvd at 3 Times in 3 Posts
.:hack3r2k:. Reputation: 0
Rockey 4 is far more advanced then u think and Rockey 5 and 6 used well leave no option for hacking. Rockey 4 dongle can include beisides data u can store in dongle a user algo zone where u can store small algos. That zone is write only so is little chances fix that if author used it. Anyway if u like i could take a look at to see how it works. Anyway before start such thing i suggest good understanting of their sdk.

Br
Reply With Quote
  #5  
Old 07-18-2006, 01:32
toro toro is offline
VIP
 
Join Date: Aug 2004
Posts: 190
Rept. Given: 4
Rept. Rcvd 97 Times in 34 Posts
Thanks Given: 29
Thanks Rcvd at 161 Times in 52 Posts
toro Reputation: 97
Quote:
Rockey 5 and 6 used well leave no option for hacking
are you sure?
Reply With Quote
  #6  
Old 07-18-2006, 03:27
JMI JMI is offline
Leader
 
Join Date: Jan 2002
Posts: 1,627
Rept. Given: 5
Rept. Rcvd 199 Times in 99 Posts
Thanks Given: 0
Thanks Rcvd at 98 Times in 96 Posts
JMI Reputation: 100-199 JMI Reputation: 100-199
Documentation is available here:

http://www.rockey.nl/en/support/rockey-download.html

They even have developer's guides and (gasp) sample code.



Regards,
__________________
JMI
Reply With Quote
  #7  
Old 07-18-2006, 06:52
Shub-Nigurrath's Avatar
Shub-Nigurrath Shub-Nigurrath is offline
VIP
 
Join Date: Mar 2004
Location: Obscure Kadath
Posts: 971
Rept. Given: 70
Rept. Rcvd 431 Times in 101 Posts
Thanks Given: 83
Thanks Rcvd at 405 Times in 127 Posts
Shub-Nigurrath Reputation: 400-499 Shub-Nigurrath Reputation: 400-499 Shub-Nigurrath Reputation: 400-499 Shub-Nigurrath Reputation: 400-499 Shub-Nigurrath Reputation: 400-499
have you seen here?
http://bbs.pediy.com/showthread.php?&threadid=29075

here's too attached.
Attached Files
File Type: zip rockey4.zip (369.7 KB, 163 views)
__________________
Ŝħůb-Ňìĝùŕřaŧħ ₪)
There are only 10 types of people in the world: Those who understand binary, and those who don't
http://www.accessroot.com

Last edited by Shub-Nigurrath; 07-18-2006 at 15:24.
Reply With Quote
  #8  
Old 07-18-2006, 22:50
.:hack3r2k:.'s Avatar
.:hack3r2k:. .:hack3r2k:. is offline
Friend
 
Join Date: Mar 2002
Location: Inside the c0de ...
Posts: 66
Rept. Given: 1
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 0
Thanks Rcvd at 3 Times in 3 Posts
.:hack3r2k:. Reputation: 0
Talking

Quote:
Originally Posted by toro
are you sure?
I told if used properly buddy. Rockey 5 and Rockey 6 act like smartcards this mean u can write applets with algos and store inside dongle without possibility to read. So explain how u plan to remove the dongle when 1000 lines algo is stored inside for example

Br
Reply With Quote
  #9  
Old 07-18-2006, 23:09
.:hack3r2k:.'s Avatar
.:hack3r2k:. .:hack3r2k:. is offline
Friend
 
Join Date: Mar 2002
Location: Inside the c0de ...
Posts: 66
Rept. Given: 1
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 0
Thanks Rcvd at 3 Times in 3 Posts
.:hack3r2k:. Reputation: 0
Quote:
Originally Posted by JMI
Documentation is available here:

http://www.rockey.nl/en/support/rockey-download.html

They even have developer's guides and (gasp) sample code.



Regards,

www.ftsafe.com aswell and pass is rockey.

@Shub:
Pretty useless unless dongle used bad and allways static data. Also note that rockey 4 is both lpt/usb and also have several variants. Arround 3 if i remember well.

@kyrio: I'm dl now thx.

Br

Br

Last edited by .:hack3r2k:.; 07-18-2006 at 23:12.
Reply With Quote
  #10  
Old 07-19-2006, 20:51
toro toro is offline
VIP
 
Join Date: Aug 2004
Posts: 190
Rept. Given: 4
Rept. Rcvd 97 Times in 34 Posts
Thanks Given: 29
Thanks Rcvd at 161 Times in 52 Posts
toro Reputation: 97
Quote:
So explain how u plan to remove the dongle when 1000 lines algo is stored inside for example
extarction of that 1000 line algo from dongle.
Reply With Quote
  #11  
Old 07-20-2006, 00:45
JMI JMI is offline
Leader
 
Join Date: Jan 2002
Posts: 1,627
Rept. Given: 5
Rept. Rcvd 199 Times in 99 Posts
Thanks Given: 0
Thanks Rcvd at 98 Times in 96 Posts
JMI Reputation: 100-199 JMI Reputation: 100-199
A journey of 1000 miles begins with a single step.

Regards,
__________________
JMI
Reply With Quote
  #12  
Old 07-20-2006, 01:28
etienne
 
Posts: n/a
well, if you think dongle cracking has anything except direct relation to software reversing, I can come with some ideas
but it would be nice to have some snippets of the code you have. basically you only have to record queries and store them in a table, do this twice by executing the program and compare the tables.
if the tables match with no or slight difference you grabbed the d**k of God
Reply With Quote
  #13  
Old 07-23-2006, 09:36
.:hack3r2k:.'s Avatar
.:hack3r2k:. .:hack3r2k:. is offline
Friend
 
Join Date: Mar 2002
Location: Inside the c0de ...
Posts: 66
Rept. Given: 1
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 0
Thanks Rcvd at 3 Times in 3 Posts
.:hack3r2k:. Reputation: 0
Unless queries change using params that maybe are not given by soft.

Br
Reply With Quote
  #14  
Old 07-23-2006, 09:38
.:hack3r2k:.'s Avatar
.:hack3r2k:. .:hack3r2k:. is offline
Friend
 
Join Date: Mar 2002
Location: Inside the c0de ...
Posts: 66
Rept. Given: 1
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 0
Thanks Rcvd at 3 Times in 3 Posts
.:hack3r2k:. Reputation: 0
Quote:
Originally Posted by toro
extarction of that 1000 line algo from dongle.
Easy to talk Lets take for example smartcards ... i have some persons happy to pay 5000$ if u can extract algo from them Best is to speak on facts then on supositions.

Br
Reply With Quote
  #15  
Old 07-23-2006, 14:36
toro toro is offline
VIP
 
Join Date: Aug 2004
Posts: 190
Rept. Given: 4
Rept. Rcvd 97 Times in 34 Posts
Thanks Given: 29
Thanks Rcvd at 161 Times in 52 Posts
toro Reputation: 97
Quote:
Best is to speak on facts then on supositions
i didnt talked about smart card generally, i talked about rockey and specially rockey5. extraction of code is possible, exactly becuase they let developer to add some code to card. and code can be a trojan, and ....
i think you can underestand what i am saying about. . you can ensure that this is done before.
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



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


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