ColdHeat / iclass

Tool to read and write iclass cards without the master key
https://blog.kchung.co/reverse-engineering-hid-iclass-master-keys/
103 stars 37 forks source link

Error: Authentication Failed #2

Open hidnoob opened 8 years ago

hidnoob commented 8 years ago

When I run iclass read using OMNIKEY 5321 V2 CLi and Windows XP in a Virtualbox, the error is shown Error: Authentication failed

In the original iclassified, running main shows some data, followed by the same error Error: Authentication failed.

What will you suggest?

demsona commented 8 years ago

Hi Hidnoob,

I also got the same error as you on the same Omnikey device, both in a XP vm, and also on win7. I suspect that HID has patched up their latest drivers available on their hidglobal.com site, and the latest drivers actually updated the firmware of the Omnikey device, which then subsequently disabled this vulnerability from occurring.

Can you help confirm:

Thanks.

ColdHeat commented 8 years ago

Sorry this must've slipped by.

So if authentication fails you might have a high security iClass card. This code will not work for those readers and you really won't be able to find a completely packaged solution to read every high security iClass card.

When you put the card near the reader (without running the code), does the reader blink?

demsona commented 8 years ago

Absolutely, ContactlessDemoVC.exe reports it as an iclass 2ks card.

jnam10 commented 7 years ago

anyone fixed it ??!

rapidnetrick commented 7 years ago

Hello, I just used this a few days ago, on a standard card and it worked fine. I was able to read, and close a card. I am running WinXPsp3 in a VM. I assume you have the correct older drivers, and API? What firmware does your OMNIKEY 5321 V2 CLi have? Mine is 5.0, and I am using the OMNIKEY 6321 Cli, although that shouldn't matter.

MacGyver1rjq104 commented 6 years ago

Does anyone know if this will work with the HID iclass DL cards?

guberti commented 4 years ago

@MacGyver1rjq104 Yes, I have the code working with HID iCLASS DL cards.

I've also tried it with some HID Elite keys, and verified it gives Error: Authentication failed, but this is expected.