[METAMASK] Syntax help
Hi all,
I need to recover my password from Metamask.
I have the vault string, with data, salt, and iv
Could you please explain the syntax ?
Many thanks !

NB if someone has a bunch of powerful computers to help me i can give a reward if success
The format of the hash line of -m 26600 = MetaMask Wallet is:


The data (BASE64encodedData) is the encrypted data and the encryption/decryption authentication tag that the encryption algorithm uses (AES GCM).

see: https://github.com/hashcat/hashcat/blob/...600.pm#L75

and examples of how to extract the data, how the algorithm works and the full discussion about the MetaMask Wallet here: https://github.com/hashcat/hashcat/issue...-871947852
Thanks for your answer.
Is it a regular base64 encode ?
I tried with the exemple here :


It gives me this hash line once encoded :


One lauched in hashcat, it gives me a "token length exception" error.
No problem however with the example given here : https://hashcat.net/wiki/doku.php?id=example_hashes
Do you know why ?
Many thanks !
According to the forum rules, you are not allowed to post hashes here: https://hashcat.net/forum/announcement-2.html

It's even worse that you didn't mention where this example comes from and what the password is etc... Doing stuff like this can lead to a permanent ban of your account, so you shouldn't do this.

The JSON file does already contain base64 encoded "values"/fields. That means that the IV of ejhZ.... is already in base64 format, the salt of jgW3.... is already base64 encoded and the data part wM+C... is already a base64 string... you don't need to manipulate, nor encode, them again and again (I only said it's base64 because other hashes that hashcat supports are sometimes hexadecimal instead of base64... that was just a clarification of the format, not really a instruction that you need to manipulate them).

So the hash would need to look something like this (with the ... of course replaced with the remaining part of that JSON value):


Please make sure you replace the fields with the full string (again, it's not allowed to post non-masked hashes in this forum)
Hi, ok thanks ! But the example came from your own link given previously on this topic : https://github.com/hashcat/hashcat/issue...-871947852 (first message).
so the password seems to be "mysecretpassword" (without quotes) and the JSON data and example itself seems to be an example hash posted by a github user that requested this new algorithm (github issue).
Yes, thats it.
I have a "integer overflow errror" in keyspace of mask ( l?l?l?l?l?l?l?l?l?l?l?l?l?l?l ) perhaps because it's too long, i guess.
Silly question. How do I extract hash/data from chrome metamask to test this?