Decrypt CryptProtectData in c#

652 Views Asked by At

I'm making a program to recover password data in Chrome. I have access to the actual machine, and I know the schema of the password/username document.

When I list the password_value table from the logins, it shows a bunch of weird, heavily encrypted strings that crashes sqlite3 and breaks my console. From sources online (https://superuser.com/questions/655573/decrypt-google-chrome-passwords), it says this data was encrypted with the CryptProtectData function in the Windows API.

How would I reverse this function via C#? If you need more information, I'll give it to you.

0

There are 0 best solutions below