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

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 01-20-2010, 12:55 PM
sukyaki sukyaki is offline
Member
 
Join Date: Jan 2010
Posts: 10
Default MMKey

Strange enough. I have been using SPEMU for over two years now, and have wanted to emulate two dongles at once, so I deceided to try MMKey.

After downloading and installing, under system devices I do see Virtual USB Multikey, and under USB devices, I see SafeNet USB SuperPro/UltraPro.

I used PVA to dump the emulated dongle in SPEMU, and the converted the dmp to reg using dmp2mkey.

The reg file is layed out identical to one of the examples that came with MKey, but I can not see the machine ID when I go to licensing. I restarted the PC after installing MKey, after the reg file entry, and after updating to 7.6 sentinel drivers.

The reg file looks like this :
"Name"="B69C Sentinel SuperPro Dump"
"Copyright"="None"
"Created"="Wed Jan 20 10:34:16.484 2010"
"DongleType"=dword:00000003
"Type"=dword:00000000
"sntMemory"=hex:\
ED,30,9C,B6,AC,FE,00,00,AC,FE,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"CellType"=hex:\
01,01,03,03,03,03,03,03,\
00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00

I have no idea what I have left out here.
  #2  
Old 01-20-2010, 01:00 PM
elite.r elite.r is offline
Member
 
Join Date: Mar 2008
Posts: 17
Default

"CellType"=hex:\
01,01,03,03,03,03,03,03,\ >>> 01,01,03,03,03,01,03,01,\
  #3  
Old 01-20-2010, 01:14 PM
sukyaki sukyaki is offline
Member
 
Join Date: Jan 2010
Posts: 10
Default

Thanks,
I really didn't know if I could edit that or not without messing up the dump.
  #4  
Old 01-20-2010, 01:15 PM
Git Git is offline
Super Moderator
 
Join Date: Oct 2007
Location: Torino
Posts: 1,797
Default

Why have you done that?. It means all old reg files do not work now . It is not needed either, the driver reads cell 5 and cell 7 just fine with access code = 3 if your emulator behaves correctly. Remember, accesscode = 3 does NOT mean "do not read", it means Reserved. If you look at the error codes returned on trying to read reserved cells versus RO cells, you can see they are different.

This gives correct behaviour with apps and driver with 'normal' access codes. It also returns correct results and status for ULP reserved cells F0..FF :

Code:
		// if Reserved cell, driver decides if to access. Results must be normal
		// if non reserved, but Algo or a/c=3, then return 
                // status = 0x01 = SENT_KEY_OPERATION_ACCESS_DENIED

	case KEY_FN_EXTENDED_READ:
		cell = req->cellno;
		aCode = key->CellType[cell];
		cData = key->CellMem[cell];
		KdPrint(("   cell=%#4.4x data=%#4.4x accessCode=%#4.4x\n", cell, cData, aCode));
		if( (cell > 7) && (cell < 0xF0) && (aCode == 3) )
		{
			keyResp.data1 = 0;
			keyResp.data2 = 0;
			keyResp.status = SENT_KEY_OPERATION_ACCESS_DENIED;
		}
		else
		{
			keyResp.data1 = cData >> 14;
			keyResp.data2 = (aCode & 3) | (cData << 2);
			keyResp.status = SENT_KEY_OPERATION_STATUS_OK;
		}
		outDataLen = 8;
		encodeOutData = 1;
		break;
Git
  #5  
Old 01-20-2010, 02:12 PM
elite.r elite.r is offline
Member
 
Join Date: Mar 2008
Posts: 17
Default

Git
I only copy behaviour of a key.

GET_KEYINFO : 0002 8003
00 : 85 00 xxxx 0000 : D7 00 xxxx xxxx >>> xxxx 01
01 : 43 00 xxxx 0000 : AA 00 xxxx xxxx >>> xxxx 01
02 : 02 01 0100 0000 : 04 01 0000 0300 >>> 0000 03
03 : 02 01 0100 0000 : 04 01 0000 0300 >>> 0000 03
04 : 02 01 0100 0000 : 04 01 0000 0300 >>> 0000 03
05 : 00 00 0000 0000 : 13 00 0012 0100 >>> 0000 01
06 : 02 01 0100 0000 : 04 01 0000 0300 >>> 0000 03
07 : 11 00 1100 0000 : 50 00 000B 4500 >>> 0011 01

And if who cannot read manuals and correct pair byte, let uses yours emul. By the way, where it is possible to download it?
  #6  
Old 01-21-2010, 07:57 AM
Git Git is offline
Super Moderator
 
Join Date: Oct 2007
Location: Torino
Posts: 1,797
Default

Why are you getting snotty?. I am only trying to help, not pick a fight. I'll make sure I don't offer any more help, but lets keep it civil, OK?

Git
  #7  
Old 01-21-2010, 11:25 AM
elite.r elite.r is offline
Member
 
Join Date: Mar 2008
Posts: 17
Default

Git
Why you have left from the answer?
Emuls you write, act as the active fighter for free (not for sale) emulators... And where it is possible to see your free emulator?... Or only paid remained?...
  #8  
Old 01-21-2010, 11:52 AM
diegotorres diegotorres is offline
Member
 
Join Date: Dec 2008
Posts: 39
Wink and works in x64?

Quote:
Originally Posted by elite.r View Post
Git
And where it is possible to see your free emulator?... Or only paid remained?...
@Git

Git develop a free emulator? and works in x64?

@Elite.r

Why not created the post for Multikey?, Problems, desires, ...
  #9  
Old 01-21-2010, 02:43 PM
Git Git is offline
Super Moderator
 
Join Date: Oct 2007
Location: Torino
Posts: 1,797
Default

That is easy to answer - why should I take the risk while yours is out there?

diegotorres - Yes, I have mentioned before that I have put together an emulator from several years ago. The parts I wrote, I wrote for myself. It works under Win32 and Win64. I have not released because there has been no need to release it.

I do not support separate threads for every micro topics. If you have a new subject or a new problem, start a new thread, else searching becomes difficult. If you want to see just how silly it gets, look on ru-board where the dongle thread is over 100 pages long and you cannot find anything.

Git

Last edited by Git : 01-21-2010 at 02:54 PM.
Closed Thread


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.