metamask vault data with pass recovery srp
-
Yesterday I just logged into my MetaMask as usual, but I ran into a problem that prevented me from seeing the authorization window.

So, I have MetaMask database files on my computer and I know a password that's 1000% guaranteed to work for this encrypted database. But I need to somehow decrypt the database using something, which I'm not very good at. Yesterday, using various guides, I managed to find a line in the file that looked like this: "{"data": "","iv": "","keyMetadata": {"algorithm": "PBKDF2","params": {"iterations": }},"salt": ""}"
Am I correct in understanding that this data and password are sufficient to obtain SRP?
but I don't really understand which specific application and what data, in what form, I should transfer thereYesterday I tried(https://github.com/cyclone-github/metamask_pwn/releases) to use the program. I extracted data of the type I described above from a file named number and simply placed json object(data, salt...) in a text file. I also created another file and wrote the password there. I ran the command "metamask_decryptor_amd64.exe -h wallet.txt -w pass.txt" and received the error "Error reading vault file: bufio.Scanner: token too long"

-
Manually copy / pasting the Metamask json vault is likely to cause typos or other parsing errors, so using the
metamask_extractoris recommend. However, themetamask_pwntoolkit only supports Chrome based browser extensions, so may not work with your Zen browser extension as this is untested.
Feel free to DM me and we can see if the extractor and decryptor can be modified to work.In the mean time, make sure you do not uninstall the Metamask extension from your browser since doing so would irrecoverably delete your Metamask wallet causing you to lose access to any crypto it contained.
-
Update: Wallet Recovered
For those following along, the Zen browser is based on FireFox, and its Metamask wallet extension is not supported by any known wallet recovery tool, so a custom tool was written to recover the Zen Metamask wallet.
---------------------------------------- | Cyclone's Zen Metamask Vault Decryptor | ---------------------------------------- Vault file: zen_metamask.txt Valid Vaults: 1 CPU Threads: 16 Wordlist: tmp_wordlist.txt Working... Decrypted Vault: '{redacted}' Seed Phrase: '{redacted}' Vault Password: '{redacted}' Decrypted: 1/1 11.01 h/s 00h:00m:00s -
Update: Wallet Recovered
For those following along, the Zen browser is based on FireFox, and its Metamask wallet extension is not supported by any known wallet recovery tool, so a custom tool was written to recover the Zen Metamask wallet.
---------------------------------------- | Cyclone's Zen Metamask Vault Decryptor | ---------------------------------------- Vault file: zen_metamask.txt Valid Vaults: 1 CPU Threads: 16 Wordlist: tmp_wordlist.txt Working... Decrypted Vault: '{redacted}' Seed Phrase: '{redacted}' Vault Password: '{redacted}' Decrypted: 1/1 11.01 h/s 00h:00m:00s