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

Add smart bruteforce mode to Mifare Classic and EM4x50 #2251

Merged
merged 13 commits into from
Jan 16, 2024

Conversation

phaseloop
Copy link
Contributor

This is update to bruteforce engine introduced in May 2023.

This PR adds so called "smart" bruteforce which tries various non-random patterns which sometimes are used as keys in systems like transport, car wash, vending machines, etc due to poor key management or hardcoded patterns in management software.

During testing it recovered keys from few problematic Mifare Classic keys that were not recovered using autopwn due to problems with nested attack.

Smart bruteforce is enabled for em4x50 cards and Mifare Classic

Copy link

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

client/src/cmdhfmf.c Outdated Show resolved Hide resolved
doc/commands.md Outdated Show resolved Hide resolved
@iceman1001
Copy link
Collaborator

Nice!
If you sort out the conflicting files.
and then you have a text about dumping from emulator memory, but I don't see where you trigger the card to be dumped

@iceman1001
Copy link
Collaborator

Some of your default keys are already in the dictionary. Remove the duplicates.

client/src/cmdhfmf.c Fixed Show resolved Hide resolved
client/src/cmdhfmf.c Fixed Show fixed Hide fixed
client/src/cmdhfmf.c Fixed Show resolved Hide resolved
@iceman1001
Copy link
Collaborator

we tend to use these kinds of defines in string fomatters

PRIu64  
PRIu32

@iceman1001 iceman1001 merged commit a62556a into RfidResearchGroup:master Jan 16, 2024
13 checks passed
@iceman1001
Copy link
Collaborator

Thanks!

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