PDA

View Full Version : Keylok Emulator


dinoo31
February 17th, 2018, 11:21
Hi all,

I want to emulate my keylok dongle because of hardware faillure (it stops to work sometimes).
The dongle is used to start a windows service that allows my software to communicate to plc.
I searched on internet with no success, I made a dump and usbtrace
Could anyone help me to emulate it?

Thank's in advance
Dino

Woodmann
February 17th, 2018, 23:01
You need to search more. There is plenty info on how to do what you want.
I will tell you that you dont need someone elses emulator. Write your own.
Else search deep for old emulators.

Woodmann

dinoo31
February 18th, 2018, 06:08
Quote:
[Originally Posted by Woodmann;97505]You need to search more. There is plenty info on how to do what you want.
I will tell you that you dont need someone elses emulator. Write your own.
Else search deep for old emulators.

Woodmann


I searched for days before I post this thread, I found about sentinel, hasp but for keylok I didn't understand.
I have a usbtrace, a dump of my keylok.
If anyone can just give me an information to how to start to make my own emulator.

Thank's
Dino

FoxB
February 19th, 2018, 10:51
first - try to understand the communications api-dll and dongle driver, second - put the keylock2 dongle driver to IDA. if head is work - you can see very interest data in the 'keyloc.dat' file after disassemble in IDA the dongle driver. final - you understand the dongle data and can back to the api-dll emulator.

dinoo31
February 19th, 2018, 11:09
I patched my software and bypassed my dongle....it's better than emulator

Woodmann
February 19th, 2018, 20:01
Somehow I doubt it but i will play along.