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
  #1  
Old 01-12-2009, 03:27 AM
.netter .netter is offline
Member
 
Join Date: Jan 2009
Posts: 19
Default emulate hardware USB dongle

Hi,

how can I write a software emulated USB dongle? I have the source which data will be read from dongle, bt I am to stupid to write a emulator.

Can anyone help me, please?

I tried iladasm/ilasm but some fnctions in the program after recompiling don't work correctly.

I also tried Spices.Decompiler but the source wasn't compileable, too.

Last edited by .netter : 01-13-2009 at 06:13 PM.
Reply With Quote
  #2  
Old 01-12-2009, 10:03 AM
Git Git is offline
Super Moderator
 
Join Date: Oct 2007
Location: Torino
Posts: 1,797
Default

1) If it uses a DLL for interface between the dongle driver and the app, then write a replacement DLL or a filter DLL.

2) Write a Filter Driver in which you write your own procedures for dongle security calls and pass other calls through to the driver.

3) Write a replacement Device Driver.

4) Write a Virtual USB Bus Driver. This method uses a driver to plug-in a virtual replacement dongle and is probably most peoples preferred method. A processed dongle dump is held in the registry, 1 for each dongle to be emulated. Binaries for the MultiKey vusb driver can be downloaded here for Hasp, Hardlock, SuperPro. Full source code for a Hasp vusb can be downloaded here too and is a good starting point to emulate your own dongle. Only a handfull of functions need rewriting, but it's more work than it sounds. You will also need something like USB Trace to trace USB packets to/from your dongle so you can work out what it is doing.

5) Buy a Matrix Dongle Emulator from one of the many suppliers.

Git
Reply With Quote
  #3  
Old 01-12-2009, 10:46 AM
BfoX BfoX is offline
Senior Member
 
Join Date: Aug 2007
Posts: 2,254
Send a message via ICQ to BfoX Send a message via MSN to BfoX Send a message via Yahoo to BfoX
Default

you have Matrix USB dongle?
__________________
... Either you work well or you work much ....
Reply With Quote
  #4  
Old 01-12-2009, 11:10 AM
.netter .netter is offline
Member
 
Join Date: Jan 2009
Posts: 19
Default

yes, it's a Matrix USB Dongle.

Where can I bux a Matrix Dongle Emulator? Everywhere I read that it's a very secure system.

Last edited by .netter : 01-12-2009 at 11:39 AM.
Reply With Quote
  #5  
Old 01-12-2009, 07:44 PM
Git Git is offline
Super Moderator
 
Join Date: Oct 2007
Location: Torino
Posts: 1,797
Default

Google.

Git
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 - 2022, Jelsoft Enterprises Ltd.