{"id":18672449,"url":"https://github.com/billdietrich/veracryptcrack","last_synced_at":"2026-03-07T17:03:16.421Z","repository":{"id":106212880,"uuid":"267640515","full_name":"BillDietrich/veracryptcrack","owner":"BillDietrich","description":"Simple veracrypt container cracker using wordlist","archived":false,"fork":false,"pushed_at":"2021-05-14T17:21:52.000Z","size":308,"stargazers_count":16,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-12T01:45:37.395Z","etag":null,"topics":["linux","password-cracker","veracrypt"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BillDietrich.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-28T16:30:30.000Z","updated_at":"2024-11-04T12:22:11.000Z","dependencies_parsed_at":"2023-05-30T20:15:36.257Z","dependency_job_id":null,"html_url":"https://github.com/BillDietrich/veracryptcrack","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BillDietrich/veracryptcrack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BillDietrich%2Fveracryptcrack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BillDietrich%2Fveracryptcrack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BillDietrich%2Fveracryptcrack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BillDietrich%2Fveracryptcrack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BillDietrich","download_url":"https://codeload.github.com/BillDietrich/veracryptcrack/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BillDietrich%2Fveracryptcrack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30222406,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T17:00:40.062Z","status":"ssl_error","status_checked_at":"2026-03-07T17:00:39.026Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["linux","password-cracker","veracrypt"],"created_at":"2024-11-07T09:11:25.239Z","updated_at":"2026-03-07T17:03:16.408Z","avatar_url":"https://github.com/BillDietrich.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# veracryptcrack\n\nSimple slow VeraCrypt container cracker using wordlist/dictionary.  Linux-only.\n\nYou don't need to know the encryption algorithm settings of the VeraCrypt volume to decrypt it.\n\nWhen password is cracked - container will be mounted.\n\nTo check everything works correctly before spending more time, run script against veracrypt test.container, it shouldn't take more than 1 minute (because the third line in the wordlist is the correct password).\n\nMay be useful if you forget PIM, which keyfile you used, or mixed up a few characters in a password.\n\nWhen done, use 'wipe' or 'srm' to securely overwrite your wordlist.\n\nGood luck recovering.\n\n\n## Notes by Bill Dietrich\n\n### Source\n\nOriginally from https://github.com/RhZjQyMWI/veracryptcrack\n\nFound it from https://pay.reddit.com/r/VeraCrypt/comments/fatkq2/forgot_my_password_earlier_today_so_wrote/ by /u/IndependentHorror5 :\n\n\u003e Managed to get back into the container within ~45 minutes of automated cracking which was preceded with ~2 hours of manual trying.\n\u003e\n\u003e This was not a pure bruteforce, but rather speeding up based on some possibly known parameters about the container which was not opened for a while.\n\u003e\n\u003e Knew there was a PIM but did not know which one and a long password which I couldn't remember clearly. So i've added 20-25 possible PIM combinations to PIM list, numbers that have some meaning to me and generated a wordlist from multiple combinations of passwords I could have used for that container. wordlist.txt had around 500 or more combinations. Came back from lunch and saw a warning that the volume can't be mounted, because it's already mounted. :)\n\n### Run via:\n\n```shell\nchmod u+x veracrypt_crack.sh\n\n# Make sure you have necessary software installed:\ntimeout --version\nveracrypt --text --version\n\nsudo ./veracrypt_crack.sh\n\n# On my slow laptop, with 5-second timeout, it ran for 52 minutes\n# and failed to open the test container.  Wordlist has 208 passwords\n# in it, multiplied by 3 PIM values for each password.\n\n# Changed timeout to 10 seconds and tried again.\n# Worked in 3 minutes.\n# Spoiler: test.container PIM is \"1337\", password is \"crackmeifyoucan\".\n# And once mounted, can see hash is \"HMAC-SHA-512 (Dynamic)\"\n# and encryption is \"AES-Twofish-Serpent\".\n```\n\n### Improvements made\n\n* Check return code from VeraCrypt, stop when succeed.\n* Made output clearer.\n* Changed from bash to sh so ctrl+C works.\n\n\n#### Notes\n\n5/2021 I'm told that the code doesn't work properly on a TrueCrypt container.  The return codes from VeraCrypt must differ for VeraCrypt and True Crypt containers ?  Comment out the return-code-checking to use with trueCrypt containers, maybe.\n\n```shell\nveracrypt --text --help\n\nveracrypt --text test.container /media/veracrypt7\n# returns 0 if successfully mounts, 1 if already mounted, 124 if password wrong\n```\n\nRelevant: https://github.com/NorthernSec/VeraCracker\n\n\n## Privacy Policy\n\nThis code doesn't collect, store or transmit your identity or personal information in any way.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbilldietrich%2Fveracryptcrack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbilldietrich%2Fveracryptcrack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbilldietrich%2Fveracryptcrack/lists"}