Skip to content
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

Errors/missing parts when sniffing in both directions #263

Open
madalinaStreche opened this issue May 27, 2020 · 6 comments
Open

Errors/missing parts when sniffing in both directions #263

madalinaStreche opened this issue May 27, 2020 · 6 comments

Comments

@madalinaStreche
Copy link

I try to record a communication between 2 devices, but from my logs it seems that Chameleon manages to sniff only in one direction: reader -> card. What about the transmitted data from the card to the reader? Are there any updates on this?

@fptrs
Copy link
Collaborator

fptrs commented Jun 3, 2020

Hi @madalinaStreche,
did you already take a look at #220?

@madalinaStreche
Copy link
Author

Hi! I managed to update the Chameleon and now I can see the logs from both sides (card/reader). The other issue that I have right now is the fact that some messages are incomplete, altered or modified. I tried to record an EMV communication between a smartwatch and a Raspberry PI that acts like a POS. I sniffed with the Chameleon the same communication for 20 times, each communication has in total 14 messages(7 from the Raspberry and 7 responses from the smartwatch) and I created a statistics which suggests the frequency of altered/missing/incomplete messages. Most messages that have problems are responses from the smartwatch.
Do you have any idea why this is happening?
pie-chart (1)

@ceres-c
Copy link
Contributor

ceres-c commented Aug 13, 2020

It might be due to autocalibration not being perfect, so quality of sniff depends on the physical position of the chameleon in the NFC field

@david-oswald
Copy link
Collaborator

@madalinaStreche Sniffing in the direction from reader to card should normally work without problems. The opposite direction is much harder due to the weaker load modulation. So it might depend on setup, calibration etc as the others pointed out.

@david-oswald david-oswald changed the title ISO14443A_SNIFF Errors/missing parts when sniffing in both directions Aug 14, 2020
@madalinamarin
Copy link

madalinamarin commented Aug 14, 2020

The autocalibraton mode is available only for reading mode? It will help if I will run the autocalibration in reader mode first and then change to sniffing?
Also, I just tried to sniff a real communication between smartwatch and POS during a payment and the statistics are really bad, 95% are altered/missing messages. In this case the messages from the reader have problems too. What is different in this case? I kept the Chameleon right between the smartwatch and POS.

@ceres-c
Copy link
Contributor

ceres-c commented Aug 14, 2020

#220 (comment)

Sniffing NFC fields is always a finicky process since reader's field is MUCH stronger than card modulation, which means picking a threshold to discriminate noise from actual data is nontrivial. Have a look at the scope captures in this post for more insight (it's about the Proxmark but the concepts are the same) https://swende.se/blog/PM3-development.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants