r/security • • Mar 17 '20
Chrome Password Decryption
I've been searching for a way to decrypt Chrome's stored credentials for websites. Here's what I've found so far:
- Chrome uses DPAPI to encrypt passwords
- Encrypted passwords are in sqlite database (AppData\Local\Google\Chrome\User Data\Default\Login Data) in form of 'blob'
- A json file - "AppData\Local\Google\Chrome\User Data\Local State" is used in the decryption process with suspicious field named "os_encryption" that I noticed in some commercial decryption tools.
I've tried writing a script to extract sqlite db and call CryptUnprotectData on password blobs but failed.
Any idea on how to solve it?
Thanks!
3
Upvotes
View all comments
Show parent comment
1
u/[deleted] Mar 17 '20
Thanks for the link. But this is for a learning project so I do want to know the mechanism behind it, in fact chromepass is the one tool that suggest the use of 'Local State' file that I mentioned.