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

Mask attack to recover password #126

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

Mask attack to recover password #126

wants to merge 3 commits into from

Conversation

kimci86
Copy link
Owner

@kimci86 kimci86 commented Jun 27, 2024

Work in progress.
Needs more testing and documentation (readme + tutorial update)

This allows to take advantage of knowledge we may have on the password to run faster than bruteforce.
Example for "password123456", if we know the password is 8 lowercase letters followed by 6 digits:

# bruteforce takes several minutes
bkcrack -k 2281be8b 2b08616d d2b8f7a0 --bruteforce ?l?d --length 14

# mask attack takes a second
bkcrack -k 2281be8b 2b08616d d2b8f7a0 -m ?l?l?l?l?l?l?l?l?d?d?d?d?d?d

Closes #55, supersedes #56
Related to #124

You might be interested in trying this @jgrahamc
Binaries can be downloaded from here: https://github.com/kimci86/bkcrack/actions/workflows/ci.yml?query=event%3Apull_request+branch%3Amask

@kimci86 kimci86 self-assigned this Jun 27, 2024
@jgrahamc
Copy link

Thanks. I will try this. Although I think I'm starting to hit the limits of what's possible with the hardware I have. I've so far run to completion:

?p up to 14 characters
?u?d up to 15 characters
?u up to 17 characters

It's slow going!

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.

Mask for password recovery from Keys
2 participants