PDA

View Full Version : emulate hardware USB dongle


.netter
01-12-2009, 02:27 AM
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. :(

Git
01-12-2009, 09:03 AM
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

BfoX
01-12-2009, 09:46 AM
you have Matrix USB dongle?

.netter
01-12-2009, 10:10 AM
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. :(

Git
01-12-2009, 06:44 PM
Google.

Git