PBKDF2-HMAC-SHA256 + AES-GCM (Ethereum seed hash from Metamask wallet)
#1
Hello, I want to attack on ethereum seed hash that metamask stored in json file.
Example:
{\"data\":\wM+CSmCIIlaofXHPxCRFqbcPvEDZESBYM1XdAE8VFanedCIXvDEEt15nhzdv1pqzkW0MCQDBA5T1W1/Ltg7lKBszkoJJ1PtVHOpTn/afhvLyIp2VBBV1Tuj4s8LGo2GM9KOHn1Hn5BC1YhjP56opGrJlsIT9qnuGYHT8EtA5IiHP4zB4fwgGqDhtX+QUJi4rdm+apXZ1DpRvDq5J+bCca2GHXzU5H57Esn3THPXev3RdlkmjhuXVjV8=,iv:ejhZW94EsJZ049Sb/at0Xg==,salt:jgW3gi0eyPtXXguqMzi6uGyuR6m+lgQXw8onqivK5w0=}
There is encrypted data, IV and salt. Password is: mysecretpassword
It using PBKDF2-HMAC-SHA256(10 000 iteratinons) + AES-GCM algorithm
I have simple script on python, but it too slow, I want decrypt using hashcat, is this possible? How can I do it?
Reply
#2
I think stargazer XLM (-m 25500) is pretty close. It has PBKDF2-HMAC-SHA256 and AES-GCM.
Reply
#3
(06-09-2021, 10:44 PM)atom Wrote: I think stargazer XLM (-m 25500) is pretty close. It has PBKDF2-HMAC-SHA256 and AES-GCM.

Thank you for answer. As I can see stargazer XLM has about 4000 iterations, but I need 10 000, how can I change this? And can you please provide me what format of hash, iv and salt I need use to run this algorithm?

P.S did some tests, and got Token length exception. And I didn't find how to configure salt. Is there a way to make custom algorithm or change XLM stargazer algo for my needs?
Reply
#4
Is not an easy change as that. There's much more code change required.
Reply
#5
(06-12-2021, 12:13 AM)atom Wrote: Is not an easy change as that. There's much more code change required.
I'm bad with low level programming, is there any coders who can do it for me for some $? Where to ask for this?
Reply