- This software decrypt your Chrome's cookie and password, then send them to standard output.
- This software does not upload any credential to the internet.
- This repository contains the necessary part only for PoC.
- This tool is limited to education and security research only!!
- It uses github.com/crazy-max/xgo to build cgo binary on cross environment.
make build
- macOS x64
- macOS ARM64
- For macOS (Normal)
- (When your profile name is
Default
) - HackChromeData asks to access keychain
- (
security find-generic-password -wa "Chrome"
is called internally)
- (
- (When your profile name is
# Cookie
$ ./hack-chrome-data -kind cookie -targetpath ~/Library/Application\ Support/Google/Chrome/Default/Cookies
# Password
$ ./hack-chrome-data -kind logindata -targetpath ~/Library/Application\ Support/Google/Chrome/Default/Login\ Data
- For macOS (Use Keychain Value)
- (When your profile name is
Default
)
- Get
Chrome Sesssion Storage
value on Keychainsecurity find-generic-password -wa "Chrome"
- or you can get the value through forensic tool like chainbreaker.
- Decrypt cookies and passwords
- (When your profile name is
# Cookie
$ ./hack-chrome-data -kind cookie -targetpath ~/Library/Application\ Support/Google/Chrome/Default/Cookies -sessionstorage <session storage value>
# Password
$ ./hack-chrome-data -kind logindata -targetpath ~/Library/Application\ Support/Google/Chrome/Default/Login\ Data -sessionstorage <session storage value>