-
Notifications
You must be signed in to change notification settings - Fork 3.1k
MIFARE Classic Key Recovery Improvements #3822
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
Merged
Merged
Changes from 82 commits
Commits
Show all changes
99 commits
Select commit
Hold shift + click to select a range
cf6d6bb
Initial structure for nonce collection
noproto b154603
Nonce logging
noproto ef16770
Dictionary attack structure
noproto d3bf372
Merge branch 'flipperdevices:dev' into nestednonces
noproto 213ec1d
Fix compilation
noproto 9ba78bf
Identified method to reduce candidate states
noproto 6d66638
Use EXT_PATH instead of ANY_PATH
noproto e61b543
Merge branch 'flipperdevices:dev' into nestednonces
noproto 09f8a73
Use median calibrated distance, collect parity bits
noproto 7d2cab5
Modify parity collection
noproto 8dd3daf
Fixed parity bit collection
noproto 4b44288
Add note to fix nonce logging
noproto 5feeae8
Fix nonce logging
noproto 3acba77
Clean redundant code
noproto 6332ec7
Fix valid_nonce
noproto 01b1948
First attempt disambiguous nonce implementation
noproto 8d1a220
Merge remote-tracking branch 'origin/dev' into nestednonces
noproto cc8cae7
FM11RF08S backdoor detection
noproto 79bc887
Initial accelerated dictionary attack for weak PRNGs
noproto 0af28fb
Refactor to nested dictionary attack
noproto 08ca794
Renaming some variables
noproto b7e63bf
Hard PRNG support for accelerated dictionary attack
noproto bbc10cd
Update found keys, initial attempt
noproto 75a0e4b
Update found keys, second attempt
noproto c1f01ce
Code cleanup
noproto 26845cb
Misc bugfixes
noproto 5235592
Only use dicts in search_dicts_for_nonce_key if we have them
noproto 0b33c85
Collect nonces again
noproto c0331ba
Should be detecting both backdoors now
noproto 4c14594
Relocate backdoor detection
noproto 144424e
Merge branch 'flipperdevices:dev' into nestednonces
noproto 90d0c3d
Hardnested support
noproto 2abeb07
Fix regression for regular nested attack
noproto ccc4326
Backdoor read
noproto 9c7120e
Backdoor working up to calibration
noproto 2cb2f05
Backdoor nested calibration
noproto 6e9fe1e
Don't recalibrate hard PRNG tags
noproto 2e0cd32
Static encrypted nonce collection
noproto 3cb3eab
Update TODO
noproto 92122b2
NFC app UI updates, MVP
noproto 7bb3349
Merge branch 'flipperdevices:dev' into nestednonces
noproto b09d5a0
Bump f18 API version (all functions are NFC related)
noproto 9ea7a46
Merge remote-tracking branch 'origin/dev' into nestednonces
skotopes 9558a5f
Merge branch 'dev' into nestednonces
gornekich cba58ed
Add new backdoor key, fix UI status update carrying over from previou…
noproto ab8bc3e
Clear TODO line
noproto d7484ee
Fix v1/v2 backdoor nonce collection
noproto c43806b
Speed up backdoor detection, alert on new backdoor
noproto ab0debb
Add additional condition to backdoor check
noproto 8d26636
Merge branch 'flipperdevices:dev' into nestednonces
noproto 13411da
I'll try freeing memory, that's a good trick!
noproto 8edafa3
Do not enter nested attack if card is already finished
noproto 18f8cfb
Do not reset the poller between collected nonces
noproto 4836a54
Merge branch 'flipperdevices:dev' into nestednonces
noproto 3ab752b
Clean up various issues
noproto 8eae5c0
Fix Hardnested sector/key type logging
noproto d8864a4
Add nested_target_key 64 to TODO
noproto c1cdd49
Implement progress bar for upgraded attacks in NFC app
noproto 96606dc
Typo
noproto 6eccdc8
Zero nested_target_key and msb_count on exit
noproto c21b359
Note TODO (malloc)
noproto 6a77ab7
Dismiss duplicate nonces
noproto 901bdf9
Fix calibration (ensure values are within 3 standard deviations)
noproto 4eb0f2a
Log static
noproto 6ae9506
No nested dictionary attack re-entry
noproto cd76926
Note minor inefficiency
noproto 0ba8ac4
Uniformly use crypto1_ prefix for symbols in Crypto1 API
noproto 61e24fc
Fix include paths
noproto 099bb40
Fix include paths cont
noproto ba672e7
Support CUID dictionary
noproto 232560f
Merge branch 'dev' into nestednonces
noproto 00f3564
Fix log levels
noproto 4f722a0
Avoid storage errors, clean up temporary files
noproto a905c14
Handle invalid key candidates
noproto f346412
Merge branch 'dev' into nestednonces
noproto a1590fc
Fix memory leak in static encrypted attack
noproto bcc8d3e
Merge branch 'nestednonces' of https://github.com/noproto/flipperzero…
noproto 56febb1
Merge branch 'dev' into nestednonces
noproto b843856
Fix memory leak, use COUNT_OF macro
noproto 3976f12
Use single call to free FuriString
noproto a7c0819
Refactor enums to avoid redefinition
noproto 5404788
Merge branch 'dev' into nestednonces
noproto 889b19b
Merge branch 'dev' into nestednonces
noproto f530eee
Merge branch 'dev' into nestednonces
noproto 02f7c6b
Merge branch 'dev' into nestednonces
skotopes 2bc02c0
Merge branch 'dev' into nestednonces
skotopes 4be9e79
Fix multiple crashes and state machine logic
noproto 1101748
Merge branch 'nestednonces' of https://github.com/noproto/flipperzero…
noproto 2be0cfb
Merge branch 'dev' into nestednonces
noproto 897817a
Fix inconsistent assignment of known key and known key type/sector
noproto db26c85
Backdoor known key logic still needs the current key
noproto 92aa70b
Larger data type for 4K support
noproto 4763762
Merge branch 'dev' into nestednonces
noproto bf7b91f
Fix typo
noproto 6dbb46a
Fix issue with resume logic
noproto 2282587
Mark TODOs for next PR
noproto eb1aabb
Remove redundant assignment
noproto c240077
Fix size_t format specifier
noproto 907019c
Simplify auth_passed condition
noproto File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.