ChameleonUltra icon indicating copy to clipboard operation
ChameleonUltra copied to clipboard

[idea] LibNFC support

Open abjugard opened this issue 1 year ago • 11 comments
trafficstars

When connected to a PC via USB it would be amazing if the Chameleon Ultra could be used with LibNFC-based tools like mfoc, mfcuk, etc.

Is this possible or would the hardware need to be different for this to work?

abjugard avatar Feb 01 '24 14:02 abjugard

Doing a bit of googling, i cant really find anything related to people getting libnfc to run on/with the nRF52840 (chip used in the CU)... The pn532 reportedly has libnfc support though (if your searching for a alternative) or theres always the proxmark3 for all your rfid needs...

GameTec-live avatar Feb 01 '24 14:02 GameTec-live

Can let CU to emulate a PN532, all usb serial port data translation to pn532 register one by one.

xianglin1998 avatar Feb 20 '24 02:02 xianglin1998

Like ACR122U.

xianglin1998 avatar Feb 20 '24 02:02 xianglin1998

But this work is very massive and strange(The mfcuk and mfoc is very slow, why use it)

xianglin1998 avatar Feb 20 '24 02:02 xianglin1998

Like ACR122U.

For reference: ACR122U actually has a pn532 inside, libnfc just uses some passthrough commands that bypass the MCU logic and send commands directly to the pn532

augustozanellato avatar Feb 22 '24 23:02 augustozanellato

Can let CU to emulate a PN532, all usb serial port data translation to pn532 register one by one.

Or we could do that on the computer side through a driver, wouldn't that make more sense?

abjugard avatar Feb 23 '24 10:02 abjugard

writing drivers would open up a whole other can of worms for windows, macos and linux... So using a driver for something like this seems like a lot of unnecessary expense and work. Even just flashing a specialized firmware would make more sense...

GameTec-live avatar Feb 23 '24 11:02 GameTec-live

it is none-sense to try mimicking a 20 year old proprietary TAMA protocol just to be able to reuse some old and inefficient attack implementations. What could be considered is to implement some ifd driver to be able to use the Ultra as a basic PCSC reader and be able to use compatible softs like ePassport and EMV readers at the ISO14443-4 layer.

doegox avatar Feb 23 '24 20:02 doegox

Can let CU to emulate a PN532, all usb serial port data translation to pn532 register one by one.

I used AD156(Jieli MCU) to emulate PN532, and it works now. https://github.com/NFC-funs/PN532Killer https://github.com/NFC-funs/NFC-Emulator

NFC-funs avatar Mar 06 '24 03:03 NFC-funs

When connected to a PC via USB it would be amazing if the Chameleon Ultra could be used with LibNFC-based tools like mfoc, mfcuk, etc.

Is this possible or would the hardware need to be different for this to work?

Do you find PN532Killer? PN532Killer is a PN532 emulator, a NFC Emulator,and a Sniffer same as Chameleon Ultra.

PN532Killer can be used with MifareOneTool, it's a Gui software based libNFC.

NFC-funs avatar Mar 07 '24 02:03 NFC-funs

CU actually has a Ci522 inside. The Ci522 is pin to pin compatible with RC522. The PN532 supports more protocols than RC522, including NFC capabilities‌. But most of the features are the same. From this chain it seems possible, but it involves a lot of development I think.

LynxZeta avatar Oct 20 '24 06:10 LynxZeta