-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve NFC sniffer (PCD/PICC) ISO/IEC 14443A #19
Comments
Is there sniffer mode in this code? |
So far the sniffer code for ISO14443A is not finished (so this issue will remain open until it is implemented and fully working)
Alternative way (low level requires oscilloscope/logic analyzer) to sniff any protocol (raw mode) is to use dnfc mode with command set-nfc-obsv I can provide more details in private if you are interested in this alternative low level (requiring oscilloscope/logic analyer) until the sniffer code for ISO14443A is available
|
could you explain in more detail? |
Please contact me by Email [email protected] (and provide details where/when you have bought HydraNFC v2 + HydraBus) I do not want to provide support about that in an issue as it is very technical and requires hardware (oscilloscope/logic analyzer HydraBus+HydraNFC v2) and knowledge on ST25R3916 |
Actual code provide basic low level sniffer for (PCD/PICC) ISO/IEC 14443A when using dnfc2 => sniff command
T_SNIFF (Test special sniffer ST25R3916 MCU_CLK(PA5) and CSI CSO)
It requires a Logic Analyzer or an Oscilloscope to capture the binary data then user's shall do manual decode of the PCD / PICC bit to final data.
Logic Analyzer Setup:
Capture trigger on Channel 0 (CSO) on rising edge
(Show Reader/Tag)
Setup example
![image](https://private-user-images.githubusercontent.com/432709/341960503-6326f9be-9dc6-4f4c-8e4f-9024fb057afe.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU1MjU2NzYsIm5iZiI6MTcyNTUyNTM3NiwicGF0aCI6Ii80MzI3MDkvMzQxOTYwNTAzLTYzMjZmOWJlLTlkYzYtNGY0Yy04ZTRmLTkwMjRmYjA1N2FmZS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwOTA1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDkwNVQwODM2MTZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1mZDJiOTI1OTZkMTZjZGUwZDc4MjlmOGQwNTY3NTFiYTE0OWRkMDAzNTg4ZGFhYWZiNDNlNDcyYWNkZmRiNWQ3JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.vQryhXGzV8hukEKni0lEtmQjwyImSjwUw5-XqNHcf50)
Example capture and "manual" decoding
![image](https://private-user-images.githubusercontent.com/432709/341960210-3242577e-8280-43a3-be23-8be411cf9523.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU1MjU2NzYsIm5iZiI6MTcyNTUyNTM3NiwicGF0aCI6Ii80MzI3MDkvMzQxOTYwMjEwLTMyNDI1NzdlLTgyODAtNDNhMy1iZTIzLThiZTQxMWNmOTUyMy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwOTA1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDkwNVQwODM2MTZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT02Yzg0ZTFlZjlkMDRjMmM2MTViNjgwMGNkZGE4MGUxZmM1NzA3YTU5NzA0NWE1Mjg4ZDg0OTUwYjAyZTllNmMwJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.yF1BYPHY8VH10dz553_Y3w2hCcxGtltxI_W9yXQ3Tp4)
DSView with DSLogic U3Pro16 capture of a Mifare Classic 4K
Picoscope capture of a Mifare Classic 1K
![image](https://private-user-images.githubusercontent.com/432709/341960280-344db73e-e2a0-425d-9019-a75f49b637a0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU1MjU2NzYsIm5iZiI6MTcyNTUyNTM3NiwicGF0aCI6Ii80MzI3MDkvMzQxOTYwMjgwLTM0NGRiNzNlLWUyYTAtNDI1ZC05MDE5LWE3NWY0OWI2MzdhMC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwOTA1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDkwNVQwODM2MTZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yZmQ5Mzg1MDVhZTYwNTc5NjE1NmM1OGQyNDU1OTk2MzlmNzZiN2I0NTJkMDJmMjFlYzcxNzQxOThlYjQyMDI2JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.FI-tHbv_0ktHe1hpdQp9yo7LtST8pjWTbIRPZrefi-8)
Any contribution is welcome for the decoder to be embedded in Firmware or done externally on PC or even better by writing a dedicated PulseView/DSView decoder
The text was updated successfully, but these errors were encountered: