PDA

View Full Version : Does emulation work with this dongle ?


trentatre
05-08-2008, 09:20 AM
Hello to everybody,
I'm a newbie for dongle emulation but I have assumed a lot of experience with computers in general and operating systems since I owned my first VC-20 a long time ago.
So reading your very good forum it seemed not too much difficult for me to make an emulation for my Hardlock Dongle.
I'm the owner of the Software xxxxx xxxx and it works fine with dongle on my Dektop
and Notebook, naturally I must change dongle each time I change PC.
Unfortunately my Notebook has only 2 USB Ports which I like to use for mouse and Pen Tablett, so that there is no space for dongle.
So I tried with HASPHL2007 and also Savekeys HL-Emulator regarding to the detailed instructions in your forum.
I found MODAD with Toros Monitor as 0x5D5C.
HL-Dump makes 5D5C.dat and 5D5C.reg file and
reports Dongle Type Luna asic new revision.
HL-Solver found Seeds 1=0x9E4C, 2=0xA867 and 3=0x97E0.
I created mylock.fst with builder and copied it to windows\system32\drivers
Then run install.bat from HL-Emulator and seems to work, original hardlock.sys was stopped, new hardlock.sys was copied and started.
But the software application don't start and reports no dongle present.
Is it because hardlock.sys 24k is too old or what else went wrong, what to do with 5D5C.reg file ?
Just tried to add it to the registry but no success.
Alternativly i tried with HASPHL2007 and the Edge Tool.
Dump with HASPHL2007 works and created 5d5c.bin file, then solved with Edge HASP HL Tab to
hl5d5c.dng file.
When loaded to HASPHL2007 and service startet reports full licence, but software don't runs.
Is the keygen Tab of the Edge Tool necessary and what means lock license in HASPHL2007?
Maybe the dongle is not Hardlock or have I missed some important step?
If someone could take a look at my dumps on
rapidshare.de/files/xxxxxxxx/Dumps.rar.html,
I would be very happy.
The most boring thing is the doubt, if emulation for this dongle is possible or not, or if I'm just not clever enough to handle it.

Thanks a lot for your help

- trentatre -

BfoX
05-08-2008, 10:04 AM
You need use vusb based hardlock emulator. imho.

trentatre
05-08-2008, 10:32 AM
@BfoX

Thanks for your fast reply.

Do you mean vusb for hardlock or is my dongle sentinel, but I don't think so.

Greetings

- trentatre -

BfoX
05-08-2008, 10:39 AM
vusb based emule maked for many dongle, like sentinel, hasp3/4/hl, keylok, rockey4, eutron, hardlock.

@trentatre: you is hardlock dongle.

trentatre
05-09-2008, 04:10 AM
@ BfoX

It works !!!

Your hint with vusb emulator was just right.

First I made a new dump with hl-dump, and created 5d5c.dat and 5d5c.reg.

This reg file is not for vusb emulator, instead made new 00005d5c.reg with unidump2reg.

Then I compared and modified 00005d5c.reg to the syntax of example 000075E4_400500.reg that came with vusb emulator.

Added reg file to registry and started emulator, but not works.

After a lot of new tries, new start, de- and reinstalling software I was nearly at the point to give up, but I would believe to you that this dongle is hardlock and must run with vusb emulator.

Then suddenly I noticed (Why didn't I see it first ?) that seed 3 in 00005d5c.reg created by unidump2reg was different to seed 3 reported by hl_solver during my experiments with HL-emulator (0xF186 instead of 0x97E0), and the dongle ID was just 00000000 instead of xxxxxxxx (edited, thanks at Klopschik) reported by Toro Monitor.

So I changed the values manually in the registry, started vusb emulator new, and ... it works !

Thanks a lot for you push me in the right direction, otherwise I would have given up too early, not knowing to be so near at the objective.

Your forum is great !

- trentatre -

boss1371
05-09-2008, 04:36 PM
This is the same problem that i also had. Dongle id all 00000000, when i start emu, he tells me to insert dongle XYXYX that correspodent with the licese file.

Klopschik
05-09-2008, 06:10 PM
@boss1371
You have LPT based dongle and with LPT type dump shows always ID 00000000. Only USB dongle do have a unique ID.

@trentatre
You are using RIB and the USB ID xxxxxxx1 represent your serial! RIB staff can identify you with this number!!! I advice you to edit your post and change this number.

taekwonv
05-11-2008, 03:01 AM
@ BfoX
This reg file is not for vusb emulator, instead made new 00005d5c.reg with unidump2reg.

Then I compared and modified 00005d5c.reg to the syntax of example 000075E4_400500.reg that came with vusb emulator.

Added reg file to registry and started emulator, but not works.

After a lot of new tries, new start, de- and reinstalling software I was nearly at the point to give up, but I would believe to you that this dongle is hardlock and must run with vusb emulator.




Hi trentatre,

I have some questions..

1. The unidump always make the safekey safehardlock file(xx.fst) only in my case. How can I make the my own registry file? Could show me the example of ur reg file?

2. Plus, could you share the vusb emulator which you used in ur experiments?

Many thanx in advance..

techwas
05-11-2008, 12:23 PM
same problem with the fso
http://rs272.rapidshare.com/files/104225682/UniDumpToReg.rar

try this one 2 reg.

trentatre
05-14-2008, 04:06 AM
Here is the link with example reg included

[URL="http://rapidshare.de/files/39403274/vusb-emul-hl.rar.html"]

taekwonv
05-15-2008, 04:12 AM
Many thanks.

It clarifies me.

Even though I already succeeded emulation with safekey's 24k sys,

I think the vusb based emulator is more flexible.

Thanks again.

trentatre
05-16-2008, 09:56 AM
Vusb works for me, but for curiosity and learning i would like to start it with safekey's 24k too.

Can you explain how to make it step by step ?

Is there a way to make it work also with HASP HL 2007 ?

Now that I found one way with vusb emulator I would like to try the other methods, but won't waste my time if there is no chance.

Thanks

- trentatre -

amine76
05-16-2008, 10:20 AM
Vusb works for me, but for curiosity and learning i would like to start it with safekey's 24k too.

Can you explain how to make it step by step ?

Is there a way to make it work also with HASP HL 2007 ?

Now that I found one way with vusb emulator I would like to try the other methods, but won't waste my time if there is no chance.

Thanks

- trentatre -

Yes of course I can make a dng file for you ;)

trentatre
05-16-2008, 10:38 AM
Don't want to get a file just ready, but would like to learn how to make it by myself.

I need just some help.

If you say there is a way, I will try again.

- trentatre -

taekwonv
05-17-2008, 01:59 AM
Don't want to get a file just ready, but would like to learn how to make it by myself.

I need just some help.

If you say there is a way, I will try again.

- trentatre -


I used two dumpers, one was from sporaw and the other was haslhl2008 of softkey.

For me, haslhl2008 was not worked on.

In case of sporaw, we must get the 3 seeds.

To get these ones, I tried both hl_solver+mylockbuilder and unidumptoreg.

In my case, the seeds from each tools were same.

There were 2 cases of 3seeds and I tried one by one.

And only one group of 3seeds worked.

And the hardlock.sys of safekey has a few kinds of version corressponding to version of original hardlock driver.

So the 'low k' of safekey driver can emulate the old version of hardlock.

And my target was ETKA7.1 from LexCom.

This is all I know about hardlock..

trentatre
05-17-2008, 06:35 AM
Thanks taekwonv !

In my case the seed 3 of HL-solver and Unidump2reg is different, but tried each combination without success.

The name of mylock.fst is it right or or must be used another syntax for the *.fst file ?

Maybe my version of hardlock.sys (24k) is too old, but can't find newer at the web.

Or otherwise the 24k hardlock.sys may be too new for a software of 2003, someone could explain if the newer versions of hardlock.sys are downgrade compatible withe the older ones ?

Thanks again

- trentatre -

taekwonv
05-22-2008, 06:44 AM
the key file name should be "mylock.fst"

and the newer version of safekey's hardlock.sys can emulate old version of hardlock driver as I know.

and in my case, the operating speed of protected software was better at safekey's emulator.

In case of safekey, I never feel the slowness.

but vusb case, the speed is a little bit decreased due to the slow performance of hl communication of vusb driver.

But the problem of safekey was that it failed sometimes when some un-supported api was called by protected software..

trentatre
05-23-2008, 02:28 PM
Can you post a sample reg for Safekey's HL-Emul where I can see the right syntax and registry path ?

Because I have seen different registry paths by different versions of hl-dump.

Do you have newer version of hardlock.sys ?

Thanks

- trentatre -

benito
05-23-2008, 02:49 PM
Can you post a sample reg for Safekey's HL-Emul where I can see the right syntax and registry path ?

Because I have seen different registry paths by different versions of hl-dump.

Do you have newer version of hardlock.sys ?

Thanks

- trentatre -

Safekeys emulator doesnt use any regfile for store dongle data. All data are presented in binary file.

amine76
05-23-2008, 02:56 PM
Safekeys emulator doesnt use any regfile for store dongle data. All data are presented in binary file.

Yes, or in the file himself ;)

trentatre
05-23-2008, 03:56 PM
Means that the reg file created by hldump is not need for safekey emulator, but just the dat file for making mylock.fst, right ?

I found mylock.fst created by mylockbuilder is the same as mylock.fs0 created by unidmp2reg, so I think they can't be wrong.

So I will not spent no more time for trying to find the correct registry syntax, but must search for the right hardlock.sys 25k or newer.

Then copy mylock.fst in ...\system32\drivers and start the emulator, if not works I will resume to the fact, that safekey won't work for this dongle.

Thanks again !

PS: When the reg file is not needed for safekeys emulator, then where does the hardlock.sys gets the informations for dongle emulation ? In mylock.fst there I can find just the seeds, but no more informations about dongle. Still can't believe that it can work without reg, otherwise what I'm missing ?
Perhaps must modify hardlock.sys ?

trentatre
05-26-2008, 01:26 PM
Hello again

I must admit, that I need your help.

As I said earlier, I made my software run with vusbbus emulator.

Since that day I tried to find out, how to make it work with Softkey+Edge or Safekeys Emulator.

I do not really need this, because of running vusbbus, but it don't lets me sleep to know, why the other both emulators won't work.

Sure you know by yourself the bothering feeling inside, when you still can't resolve a problem after trying so long time.

So if someone could take a look at my files at [URL="http://rapidshare.de/files/39529004/Look-at-this.rar.html"]
and tell me, what went wrong.

Mylock.fst and 5d5c.fs0 (which should be renamed to mylock.fst) seems to be the same, so I think they are both right.

Even can find the 3 Seeds and Modad in mylock.fst at the same positions, as i see in several sample files, or is there something wrong with high-byte and low-byte notification ?

Hardlock.sys is 24 k ( can't find newer), but my software runs with hasp driver 4.95, so I think 24k must handle it.

As I learned reg file is not needed.

But not works.

Same thing with Softkey, solved with Edge, got a DNG file with gives me full licence when loaded, but still not works.

I don't ask for full solution, but please give me just one hint to continue, or tell me that it definitely don't work with Softkey and Safekey.

Thanks a lot

- trentatre -

Klopschik
05-26-2008, 06:56 PM
I don't ask for full solution, but please give me just one hint to continue, or tell me that it definitely don't work with Softkey and Safekey.

You have following problem: RIB reads USB-ID = Serial. Safekey with fst file and Softkey with dng file can't emulate USB-ID. Vusbbus can do this with reg file.

You need newer Hardlock.sys with 35KB from Safekey. With this file you can declare a USB-ID. For Softkey I dont know what you can do.

trentatre
05-27-2008, 02:56 AM
Thanks Klopschik,
this reason seems very logical to me.
I supposed something like that, when I doubt if Safekeys emulator could work without reg file.
But means, that 35k hardlock.sys (even if I will find this one) would need another .fst syntax
and/or registry.
We'll see, you made me courious.

Thanks again

Klopschik
05-27-2008, 04:15 AM
But means, that 35k hardlock.sys (even if I will find this one) would need another .fst syntax

Exactly the same syntax!

trentatre
05-27-2008, 04:40 AM
And where would be stored the the ID ?

Klopschik
05-27-2008, 05:09 AM
In hardlock.sys! Load hardlock.sys, aladdin diagnostix shows the actual emulated USB-ID. Search this ID in hardlock.sys and change it.

trentatre
05-27-2008, 07:06 AM
I will try it, but first must find the right hardlock.sys.
Any suggestions where to find it ?

PS Still can't find newer hardlock.sys, so I made some tests with
Softkey HaspHL2007.

When load dng it shows me full license and Aladdin Diagnostix found emulated dongle, but it reports me false ID.

Not totally wrong, but in false order, like e.g. ID 0x12345678 is changed to ID 0x56781234.

Someone know, why and what to do ?

trentatre
05-28-2008, 01:52 PM
Hello again,

can't find the right hardlock.sys wich supports Dongle ID and can't manage HASPHL2007 to show the ID in correct notification (and not reversed), I think I will give up for the moment.

It's OK because Vusbbus emulator works for me.

So I'd like to thank you for helping and say

arriverderci !