metamask_pwn - Metamask Vault Extractor & Decryptor
-
Title: metamask_pwn
Author: cyclone
URL: metamask_pwn
Description: Tools to extract and decrypt metamask vaults. Supports previous versions and the new Metamask wallet vaults which have a dynamic iteration.metamask_pwn
Toolset to extract and decrypt metamask vaults (wallets)
- Contact me at https://forum.hashpwn.net/user/cyclone if you need help recovering your Metamask wallet password or seed phrase
Install metamask_extractor:
go install github.com/cyclone-github/metamask_pwn/metamask_extractor@mainInstall metamask_decryptor:
go install github.com/cyclone-github/metamask_pwn/metamask_decryptor@mainMetamask Vault Hash Extractor
Tool to extract metamask vaults to JSON and hashcat compatible formats
Info:
- Metamask JSON vaults can be decrypted with https://github.com/cyclone-github/metamask_pwn
- Previous Metamask hashes can be cracked using hashcat -m 26600
- New Metamask hashes can be cracked with hashcat using my custom -m 26620 kernel below
- Note: metamask_extractor supports hashcat mode 26620 for convenience, but this is a third-party module written by cyclone that is not affiliated with or included in the official hashcat beta or release builds at https://github.com/hashcat/hashcat
- Improved extraction of nested and escaped vault JSON from Chrome/Brave LevelDB, including databases using
.sstfiles
Metamask Vault location for Chrome extensions:
- Linux:
/home/$USER/.config/google-chrome/Default/Local Extension Settings/nkbihfbeogaeaoehlefnkodbefgpgknn/ - Mac:
~/Library/Application Support/Google/Chrome/Default/Local Extension Settings/nkbihfbeogaeaoehlefnkodbefgpgknn/ - Windows:
%LOCALAPPDATA%\Google\Chrome\User Data\Default\Local Extension Settings\nkbihfbeogaeaoehlefnkodbefgpgknn\
Metamask Vault location for Brave extensions:
- Linux:
/home/$USER/.config/BraveSoftware/Brave-Browser/Default/Local Extension Settings/nkbihfbeogaeaoehlefnkodbefgpgknn/ - Mac:
~/Library/Application Support/BraveSoftware/Brave-Browser/Default/Local Extension Settings/nkbihfbeogaeaoehlefnkodbefgpgknn/ - Windows:
%LOCALAPPDATA%\BraveSoftware\Brave-Browser\User Data\Default\Local Extension Settings\nkbihfbeogaeaoehlefnkodbefgpgknn\
Note: For additional browser profiles, replace
DefaultwithProfile 1,Profile 2, etc. The active profile directory can be identified usingchrome://versionorbrave://version.Usage:
- Linux:
./metamask_extractor.bin {metamask_vault_dir} - Windows:
metamask_extractor.exe {metamask_vault_dir}
CLI flags:
Flag / argument Description {metamask_vault_dir}Required positional argument: MetaMask extension LevelDB directory -versionPrint program version -helpPrint usage information Compile from source:
- If you want the latest features, compiling from source is the best option since the release version may run several revisions behind the source code.
- This assumes you have Go and Git installed
git clone https://github.com/cyclone-github/metamask_pwn.git# clone repocd metamask_pwn/metamask_extractor# enter project directorygo mod init metamask_extractor# initialize Go module (skips if go.mod exists)go mod tidy# download dependenciesgo build -ldflags="-s -w" .# compile binary in current directorygo install -ldflags="-s -w" .# compile binary and install to $GOPATH
- Compile from source code how-to:
Metamask Vault Decryptor
Tool to decrypt metamask vault wallets
This tool is proudly the first publicly released Metamask Vault decryptor / cracker to support the new Metamask wallet vaults which have a dynamic iteration.
./metamask_decryptor.bin -h metamask_json.txt -w wordlist.txt -r cyclone_250.rule ------------------------------------ | Cyclone's Metamask Vault Decryptor | ------------------------------------ Vault file: metamask_json.txt Valid Vaults: 1 CPU Threads: 16 Wordlist: wordlist.txt Rules: cyclone_250.rule (250) Working... Decrypted: 0/1 6530.83 h/s 00h:01m:00sInfo:
- Supports previous Metamask vaults as well as new vaults with "KeyMetadata" which have dynamic iterations
- Supports hashcat-style rules using
-rflag. - If you need help extracting Metamask vaults, use
Metamask Extractorhttps://github.com/cyclone-github/metamask_pwn Metamask Vault Decryptoris superseded by hashcat, however,Metamask Vault Decryptoralso displays the seed phrase alongside the vault password, which hashcat does not support
Example vaults supported:
- Old vault format:
{"data": "","iv": "","salt": ""} - New vault format:
{"data": "","iv": "","keyMetadata": {"algorithm": "PBKDF2","params": {"iterations": }},"salt": ""}
Usage example:
./metamask_decryptor.bin -h {wallet_json} -w {wordlist}./metamask_decryptor.bin -h metamask_json.txt -w wordlist.txt -r cyclone_250.rule -t 16 -s 10
CLI flags:
Flag Description -hVault JSON file (required) -wWordlist file (required) -rRules file (optional) -tCPU threads / workers (default: available CPUs) -sStats interval in seconds (default: 60; 0disables periodic stats)-versionPrint program version -helpPrint usage information Output example:
If the tool successfully decrypts the vault, tool will print the vault json, seed phrase and vault password
Decrypted Vault: '{}' Seed Phrase: '' Vault Password: '' -
C citizenblanco referenced this topic on
-
I am creating my own metamask vault decryptor, not to sell. The issue is python and leveldb hate eachother, I can't get leveldb working with python. Mind if I rewrite your metamask extractor?
-
I am creating my own metamask vault decryptor, not to sell. The issue is python and leveldb hate eachother, I can't get leveldb working with python. Mind if I rewrite your metamask extractor?
@rickyc2024 Sure, thanks for asking!
metamask_pwnis released under theGPL v2.0 License, so you're free to use, modify, and redistribute it as long as you comply with the license terms. Please make sure to:- Retain the
GPL v2.0 Licensein your modified code - Include a reference to the
metamask_pwnrepository in your project - Provide source code if you distribute the modified version
https://github.com/cyclone-github/metamask_pwn
Good luck with your project!
- Retain the
-
Hey cyclone i am trying to decrypt my metamsk vaulkt using the metamask decryptor but it says " can not read infor from vault" would your tool help me read the contents.
-
v0.3.0-2026-10-15
https://github.com/cyclone-github/metamask_pwn/releases/tag/v0.3.0metamask_decryptor
v0.3.0-2026-10-15 fixed https://github.com/cyclone-github/metamask_pwn/issues/1 remove clear screen added rule support with -r added candidate deduplication when using -r fixed scanner errors and EOF shutdown updated h/s to count PBKDF2 attemptsmetamask_extractor
v0.3.0-2026-10-15 remove clear screen improved vault extraction for nested Chrome JSON open LevelDB read-only without .ldb check
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login