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

Static nested auto distance measurement for nonces #2586

Merged

Conversation

solletichino999
Copy link
Contributor

The distance between nonces was hardcoded in the static nested attack, but in that way the attack failed against cards with a different distance between nonces (other than 160 or 0). Now we measure the distance before making the attack, we do a first auth, then a nested auth on the same sector and finally another nested auth on the same sector. In this way we can calculate the distances (nt2 - nt1) and (nt3 - nt1) and use them to make the attack. It was successfully tested on both cards with 160 and 0 distance and it takes the same amount of time as before, so we can conclude that the attack should now work even against cards (present or future ones) with different distances

Copy link

You are welcome to add an entry to the CHANGELOG.md as well

@iceman1001 iceman1001 merged commit 617ae0c into RfidResearchGroup:master Oct 24, 2024
12 checks passed
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

Successfully merging this pull request may close these issues.

2 participants