Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 09-03-2011, 18:33
demos
 
Posts: n/a
Is it technically possible?

I'm working on a software that expects (Serial, CompanyName, Key) combination to be fully functional + a dongle.

Is it technically possible to crack this without having access to any registered dongle to know what keys/queries are expected to be exchanged?
Reply With Quote
  #2  
Old 09-03-2011, 18:50
mm10121991 mm10121991 is offline
VIP
 
Join Date: Feb 2011
Posts: 136
Rept. Given: 29
Rept. Rcvd 56 Times in 34 Posts
Thanks Given: 7
Thanks Rcvd at 24 Times in 13 Posts
mm10121991 Reputation: 58
Yes, by understanding the program flow and guessing what it is expecting as a answer from the dongle then patching the dongle API to return the right answers.
see as examples Crackz tuts or shub nigurrath tut on sentinel.
Only one case where a dongle is needed when the program is encrypted using a strong Crypto
algorithm and the decryption key is in the dongle.

Last edited by mm10121991; 09-03-2011 at 18:56.
Reply With Quote
The Following User Gave Reputation+1 to mm10121991 For This Useful Post:
  #3  
Old 09-04-2011, 00:34
Kerlingen Kerlingen is offline
VIP
 
Join Date: Feb 2011
Posts: 338
Rept. Given: 0
Rept. Rcvd 278 Times in 100 Posts
Thanks Given: 0
Thanks Rcvd at 358 Times in 110 Posts
Kerlingen Reputation: 200-299 Kerlingen Reputation: 200-299 Kerlingen Reputation: 200-299
This depends on the dongle and the way it was implemented.

Modern smartcard dongles can't be cracked/cloned/emulated, even if you have access to an unlimited number of registered dongles. Your only chance is that some weak code is used to check if the correct dongle is attached, like:
Code:
  flag = IsDonglePresent();
  if (flag = false) then
  {
    MessageBox("Dongle not found", "Dear cracker, please BPX on MessageBox");
    ExitProgram();
  }
Or you might have luck and the program uses an old (cheap) dongle type (10+ years available on the open market) which doesn't support any enhanced security features like todays dongles do.

If the program's author knows what he is doing he might as well store important program parts in the dongle and run them inside the dongle. You will never have access to these parts, even with a registered dongle.

Or he might use simple symetric cryptography to decrypt program parts (like many software-only protectors do today). If you don't have access to a valid dongle it's also impossible to crack.
Reply With Quote
The Following 2 Users Gave Reputation+1 to Kerlingen For This Useful Post:
dila (09-10-2011)
  #4  
Old 09-04-2011, 02:49
demos
 
Posts: n/a
Thanks for all the answers
This software has a folder in C:\Program Files\Common Files\Aladdin so I assumed it's Aladdin, but inside that folder there's a hasplm.exe and looking inside some code I read 'Sentinel Hasp', can it be both? Or is there something I'm missing?

This hasplm.exe is running as client with something else running as local server. A unique fingerprint host ID file has been created also.
I thought I was done when figuring out the serial/name/key combo....I was wrong.
Reply With Quote
  #5  
Old 09-04-2011, 04:17
mm10121991 mm10121991 is offline
VIP
 
Join Date: Feb 2011
Posts: 136
Rept. Given: 29
Rept. Rcvd 56 Times in 34 Posts
Thanks Given: 7
Thanks Rcvd at 24 Times in 13 Posts
mm10121991 Reputation: 58
Yes, the sentinel hasp is the newest brand of hasp as i know
The exe you are talking about i think is hasplms.exe and is for licensing and not for dongle comunication.
not sure on this info.
Reply With Quote
  #6  
Old 09-04-2011, 12:05
demos
 
Posts: n/a
Yeah but how can it have both Aladdin and Sentinel? Did one company buy the other or something (like HP and Compaq)? Or is there a Sentinel version of Aladdin?

After the software got the expected 'serial,name,key' combo it still says 'Demo' so if I understood u correctly: this is due to the hasplms.exe. So sentinel hasp is looking for Licensing Info inside the Aladdin dongle ?

The logic flow is what I'm missing. Can you shed some light?
Reply With Quote
  #7  
Old 09-04-2011, 18:43
copyleft copyleft is offline
VIP
 
Join Date: Apr 2010
Posts: 174
Rept. Given: 181
Rept. Rcvd 43 Times in 39 Posts
Thanks Given: 156
Thanks Rcvd at 60 Times in 36 Posts
copyleft Reputation: 43
Yes, SafeNet has purchased Aladdin, and 'Sentinel Hasp' is the same 'HaspSRM' from Aladdin.
Hasplms.exe is responsible with communication between dongle and software.
Reply With Quote
The Following User Gave Reputation+1 to copyleft For This Useful Post:
  #8  
Old 09-04-2011, 19:30
mm10121991 mm10121991 is offline
VIP
 
Join Date: Feb 2011
Posts: 136
Rept. Given: 29
Rept. Rcvd 56 Times in 34 Posts
Thanks Given: 7
Thanks Rcvd at 24 Times in 13 Posts
mm10121991 Reputation: 58
the combo you entered + the the host id file are used to generate the license which could be in your case in the dongle
Reply With Quote
The Following User Gave Reputation+1 to mm10121991 For This Useful Post:
  #9  
Old 09-07-2011, 14:02
demos
 
Posts: n/a
Guys thanks alot for putting some pieces of the puzzle together. The picture is getting clearer now and starting to make sense.

I'm now trying to find which .exe or dll (most probably will be a dll) is querying the Hasplms.exe to see what it's expecting (if it's possible) as I'm hoping to figure this out without having a valid dongle.

The problem is always TIME, as my holiday's over and I'm currently back to work. It seems almost impossible to balance between work, family, and a hobby like this (20 years ago it was possible, and even fun!).
Will keep posting, just a bit slower THANKS!!
Reply With Quote
  #10  
Old 09-08-2011, 10:29
copyleft copyleft is offline
VIP
 
Join Date: Apr 2010
Posts: 174
Rept. Given: 181
Rept. Rcvd 43 Times in 39 Posts
Thanks Given: 156
Thanks Rcvd at 60 Times in 36 Posts
copyleft Reputation: 43
The easiest way is using ProtectionID... either if envelope or API.
or search for 'FEnteDev' in all dll/exe files if there is no envelope.

There could be many other methods too. not difficult...
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 19:09.


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