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

[FL-3835] Ultralight C authentication with des key #3720

Merged
merged 30 commits into from
Jul 3, 2024

Conversation

RebornedBrain
Copy link
Contributor

@RebornedBrain RebornedBrain commented Jun 17, 2024

What's new

  • Poller is able to pass authentication for Ultralight C cards protected by 16-byte key and read them
  • Listener is able to emulate Ultralight C cards protected by 16-byte key and also authenticate correctly

Verification

Poller:

  • Read Ultralight C card with key protection enabled
  • Select 'Unlock' menu item
  • Enter card key (you need to know it) and press 'Save'
  • Press 'Unlock' and apply card
    Result: All pages will be read

Listener (1st way):

  • Open saved Ultralight C card with key protection enabled on one Flipper
  • On another one start poller and perform all the steps from above for poller

Listener (2nd way):

  • Open saved Ultralight C card with key protection enabled on one Flipper
  • Put the card on proxmark 3 and enter such command: hf mfu cauth --key <hex> where is 16-byte key

Checklist (For Reviewer)

  • PR has description of feature/bug or link to Confluence/Jira task
  • Description contains actions to verify feature/bugfix
  • I've built this code, uploaded it to the device and verified feature/bugfix

@hedger hedger added the New Feature Contains an IMPLEMENTATION of a new feature label Jun 21, 2024
@gornekich gornekich marked this pull request as draft June 25, 2024 13:40
@RebornedBrain RebornedBrain marked this pull request as ready for review June 26, 2024 09:42
gornekich
gornekich previously approved these changes Jul 2, 2024
Copy link
Member

@gornekich gornekich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done!

skotopes
skotopes previously approved these changes Jul 2, 2024
@skotopes skotopes merged commit 3224401 into flipperdevices:dev Jul 3, 2024
11 checks passed
@RebornedBrain RebornedBrain deleted the reborned/unlock_ulc branch August 19, 2024 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New Feature Contains an IMPLEMENTATION of a new feature NFC NFC-related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants