Hacking Tools

ChromeStealer : A Tool For Extracting Chrome Passwords

ChromeStealer is an educational tool developed by @bernKing20 to demonstrate how to extract and decrypt stored passwords from Google Chrome on Windows systems using C/C++.

The project aims to address gaps in existing resources by providing a functional and detailed implementation.

Key Features And Functionality

ChromeStealer focuses on decrypting passwords stored locally by Google Chrome. Chrome uses the AES-GCM algorithm for encrypting sensitive data, with the encryption key stored in a Local State JSON file and the encrypted passwords in an SQLite database called Login Data.

ChromeStealer retrieves these files, extracts the encryption key using Windows API functions like CryptUnprotectData, and decrypts the stored passwords.

The tool is built with dependencies such as:

  • libsodium (for cryptographic operations),
  • nlohmann/json (for JSON parsing),
  • sqlite3 (for database interaction).

To use ChromeStealer, ensure you have Visual Studio 2022 and vcpkg installed. Follow these steps:

  1. Clone the repository:
   git clone https://github.com/BernKing/ChromeStealer.git
   cd ChromeStealer
  1. Install dependencies via vcpkg:
   vcpkg install libsodium jsoncpp sqlite3
  1. Open the project in Visual Studio, build it, and run the executable. On-screen instructions will guide you through extracting and decrypting passwords.

ChromeStealer is designed for educational purposes only, helping users understand how password storage works in Chrome.

Misuse of this tool can lead to legal consequences, and users are advised to operate it only on systems they own or have explicit permission to test.

The project is open-source under the MIT License. It acknowledges contributions from libraries like libsodium, nlohmann/json, and sqlite3.

For further technical details or code, visit ChromeStealer’s GitHub repository or read the full write-up on BernKing’s blog.

Varshini

Varshini is a Cyber Security expert in Threat Analysis, Vulnerability Assessment, and Research. Passionate about staying ahead of emerging Threats and Technologies.

Recent Posts

Comments in Bash Scripts

What Are Bash Comments? In Bash scripting, comments are notes in your code that the…

1 day ago

Shebang (#!) in Bash Script

When you write a Bash script in Linux, you want it to run correctly every…

2 days ago

Bash String Concatenation – Bash Scripting

Introduction If you’re new to Bash scripting, one of the first skills you’ll need is…

2 days ago

Learn Bash Scripting: How to Create and Run Shell Scripts for Beginners

What is Bash Scripting? Bash scripting allows you to save multiple Linux commands in a file and…

3 days ago

Bash if…else Statement – Bash Scripting

When it comes to automating tasks on Linux, Bash scripting is an essential skill for both beginners…

3 days ago

Bash Functions Explained: Syntax, Examples, and Best Practices

Learn how to create and use Bash functions with this complete tutorial. Includes syntax, arguments,…

5 days ago