Log in

View Full Version : Rockey4ND


nut_job
December 31st, 2008, 21:18
Boy, not alot on the inner workings of this around the net (that I could find). Does anyone have an actual key?

It took me a few days, but I have successfully written firmware for a PIC that will mimmick a rockey4nd. It passes all of the rockey4nd_editor's tests

There are a few things the I am unsure about (since I don't actually have a real dongle - just the one I made/am making).

There is a function called GetTYPE in the code (called by the open function, i think). I don't know what this is. I know the dongle should return a byte but I am unsure of what that byte should be.

There is a call to "TurnOff" also, but my dongle never gets that command.

Anyone have any info that would help in my (useless, sorta) efforts?

Just so you know, my firmware has one big caveat... Since I do not know the internal code of the seed command in a real dongle, the seed codes returned by mine will differ from an original. However, this should not cause a problem since the dongle would have to be programmed with algorithms anyway. And if you program the whole dongle, it would be based on the seed codes that my dongle generated anyway...

I have no "real world" way of testing it, either, since I don't even know of any readily downloadable software that uses one of these... Anyone know of something small (not hundreds of meg)?

This was just a learning exercise, btw.

nutjob

FoxB
January 4th, 2009, 02:22
you passed r4 algo?

nut_job
January 4th, 2009, 02:36
If you mean "does my version of a rockey4ND work", then yes. It works with the Rcokey4ND editor that comes in the SDK.

Also, I believe the TurnOff command and the GetType command are used in the NetRockey4ND.

Now, like I stated above, it is not the EXACT code that is in the rockey, therefore, if you were to run a Seed command on a REAL rockey, and on mine, then compare the results (with the same input), the results would not match. This is because the algos are different in the two of them (the real one vs. mine).

That being said, if you wanted to protect a program, you could use my hardware. Even though the algorhythms are different, it wouldn't (shouldn't) matter in that case.

But, the best part of the key is the Arithmetic, IMHO. I really wish I had a "test subject" to work on...

Sab
January 7th, 2009, 03:33
i got a rockey4 dongle laying around, got the somewhere too.

cEnginEEr
January 9th, 2009, 01:03
'GetType' function as the name indicates, returns a byte ( a single digit) saying what type of rockey is attached to your computer; for example in LPT standard rockey4 this function should return 5 (if I remember correctly); I'm not sure about 'NoDriver' series, but their earlier dongles were in two version('Standard' & 'Plus'), memory size and data arrangement inside memory is totally different for each one;
'TurnOff' does not exist in the firmware of rockey4 (maybe specific to 'ND' series);

Quote:
[Originally Posted by nut_job;78523]...the best part of the key is the Arithmetic


you mean the 'CALCULATE1\2\3\4' function?

Quote:
[Originally Posted by nut_job;78523]...I really wish I had a "test subject" to work on...


well, I think if your creation passes rockey4nd_editor, then it will probably pass a real target as well...

softcrk
February 12th, 2009, 05:14
Rockey4ND made in chia

This dongle can Emulator (Very Easy)...

Msn:SoftCrk@hotmail.com