Skip to content
  • Categories
  • Recent
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Slate)
  • No Skin
Collapse
Brand Logo

hashpwn

  1. Home
  2. Tools
  3. Hash Cracking
  4. metamask_pwn - Metamask Vault Extractor & Decryptor

metamask_pwn - Metamask Vault Extractor & Decryptor

Scheduled Pinned Locked Moved Hash Cracking
6 Posts 3 Posters 1.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • cycloneC Offline
    cycloneC Offline
    cyclone
    Admin Trusted
    wrote on last edited by cyclone
    #1

    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.

    Readme Card

    GitHub issues License GitHub release

    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@main
    

    Install metamask_decryptor:

    go install github.com/cyclone-github/metamask_pwn/metamask_decryptor@main
    

    Metamask 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
      • https://github.com/cyclone-github/hashcat_26620_kernel
    • 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 .sst files

    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 Default with Profile 1, Profile 2, etc. The active profile directory can be identified using chrome://version or brave://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
    -version Print program version
    -help Print 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 repo
      • cd metamask_pwn/metamask_extractor # enter project directory
      • go mod init metamask_extractor # initialize Go module (skips if go.mod exists)
      • go mod tidy # download dependencies
      • go build -ldflags="-s -w" . # compile binary in current directory
      • go install -ldflags="-s -w" . # compile binary and install to $GOPATH
    • Compile from source code how-to:
      • https://github.com/cyclone-github/scripts/blob/main/intro_to_go.txt

    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:00s
    

    Info:

    • Supports previous Metamask vaults as well as new vaults with "KeyMetadata" which have dynamic iterations
    • Supports hashcat-style rules using -r flag.
    • If you need help extracting Metamask vaults, use Metamask Extractor https://github.com/cyclone-github/metamask_pwn
    • Metamask Vault Decryptor is superseded by hashcat, however, Metamask Vault Decryptor also 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
    -h Vault JSON file (required)
    -w Wordlist file (required)
    -r Rules file (optional)
    -t CPU threads / workers (default: available CPUs)
    -s Stats interval in seconds (default: 60; 0 disables periodic stats)
    -version Print program version
    -help Print 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: ''
    

    Sysadmin by day | Ethical hacker by night | Go Dev | hashpwn
    3x RTX 4090 3x RTX 2080ti
    Forum Rules

    1 Reply Last reply
    👍
    1
    • C citizenblanco referenced this topic on
    • R Offline
      R Offline
      rickyc2024
      Banned
      wrote on last edited by
      #2

      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?

      cycloneC 1 Reply Last reply
      🤝
      0
      • R rickyc2024

        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?

        cycloneC Offline
        cycloneC Offline
        cyclone
        Admin Trusted
        wrote on last edited by
        #3

        @rickyc2024 Sure, thanks for asking! metamask_pwn is released under the GPL 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:

        1. Retain the GPL v2.0 License in your modified code
        2. Include a reference to the metamask_pwn repository in your project
        3. Provide source code if you distribute the modified version

        https://github.com/cyclone-github/metamask_pwn

        Good luck with your project!

        Sysadmin by day | Ethical hacker by night | Go Dev | hashpwn
        3x RTX 4090 3x RTX 2080ti
        Forum Rules

        1 Reply Last reply
        0
        • D Offline
          D Offline
          deva
          wrote on last edited by
          #4

          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.

          cycloneC 1 Reply Last reply
          0
          • D deva

            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.

            cycloneC Offline
            cycloneC Offline
            cyclone
            Admin Trusted
            wrote on last edited by
            #5

            @deva I moved your reply to the correct Topic. Read through the info above (https://forum.hashpwn.net/post/74) and send me a DM if you still have any questions.

            Sysadmin by day | Ethical hacker by night | Go Dev | hashpwn
            3x RTX 4090 3x RTX 2080ti
            Forum Rules

            1 Reply Last reply
            0
            • cycloneC Offline
              cycloneC Offline
              cyclone
              Admin Trusted
              wrote last edited by
              #6

              v0.3.0-2026-10-15
              https://github.com/cyclone-github/metamask_pwn/releases/tag/v0.3.0

              metamask_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 attempts
              

              metamask_extractor

              v0.3.0-2026-10-15
              	remove clear screen
              	improved vault extraction for nested Chrome JSON
              	open LevelDB read-only without .ldb check
              

              Sysadmin by day | Ethical hacker by night | Go Dev | hashpwn
              3x RTX 4090 3x RTX 2080ti
              Forum Rules

              1 Reply Last reply
              0

              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
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              homogenous-expeditionary
              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent