This project is a C++ application designed to decrypt saved passwords from Google Chrome's 'Login Data' file, utilizing the encrypted key stored in Chrome's 'Local State' file.
- Extract the encrypted key from the 'Local State' file.
- Decrypt the key using Windows Data Protection API (DPAPI).
- Decrypt passwords from the 'Login Data' file using the decrypted key.
The project uses C++ and incorporates various libraries alongside Windows-specific APIs.
- Extraction and Base64 decoding of the encrypted key.
- Decryption of the key using DPAPI.
- Decoding and decrypting of saved passwords in Chrome.
🚧 Under development.
- Windows OS.
- Google Chrome.
- C++ development tools.
- nlohmann/json for JSON parsing - Download here
- cppcodec for Base64 encoding/decoding - Download here
- OpenSSL for AES encryption - Typically included in most C++ development environments. If not, download here
- SQLiteCpp for interacting with Chrome's SQLite databases - Download here
Clone the repository: git clone [repository URL] cd [repository directory]
Place nlohmann/json and cppcodec in your project's include directory. Ensure OpenSSL and SQLiteCpp are installed and included in your project.
Compile the project using the following command: g++ -o main.exe src/KeyExtractor.cpp -I"include" -I"[path to json include]" -I"[path to cppcodec include]" -I"[path to OpenSSL include]" -I"[path to SQLiteCpp include]" -lcrypt32
This project is under MIT license.