Skip to main content

PEEP Backdoor Turns Browsers into OS Command Execution Tools

4 min read Runtime Rebel Intel
Primary source: thehackernews.com

This article was written by a language model from the source above and was not reviewed by a human before publication. Verify anything operational against the original. Editorial policy

Key points
  • PEEP transforms compromised Chrome/Edge browsers into powerful backdoors for host-level command execution and data exfiltration.
  • Affected systems include Chromium-based browsers (Chrome, Edge) on Windows and potentially Linux environments after an initial breach.
  • Organizations must strengthen endpoint security to prevent initial compromise and monitor for unauthorized browser extension installations.

Advertisement

Cybersecurity researchers have uncovered PEEP, a sophisticated post-exploitation toolkit designed to weaponize Chromium-based web browsers like Chrome and Edge. Masquerading as a seemingly innocuous bookmarks extension, PEEP transforms compromised browsers into potent backdoors for persistent host-level command execution and extensive data exfiltration, as reported by The Hacker News.

PEEP: A Post-Compromise Framework for Browser-Based Persistence

PEEP is described as a post-compromise framework, meaning it requires prior administrative access or initial code execution on a target machine. It does not possess its own initial access vector. Once an attacker has gained a foothold, PEEP’s installer injects the extension directly into Chrome or Edge profiles. This process cleverly bypasses standard Web Store checks and user prompts by forging Chromium’s own Secure Preferences integrity values, thereby maintaining stealth and persistence.

The toolkit’s core functionality extends far beyond typical browser-based threats. A native-messaging tool, specifically an auxiliary executable named nm_host.exe, acts as a bridge, allowing the browser agent to execute commands at the host operating system level. This capability elevates PEEP from a mere credential stealer to a full-fledged remote access tool capable of file management, process and service discovery, and much more.

Technical Deep Dive into PEEP’s Operations

PEEP is built upon the foundations of RedExt, an open-source browser data analysis and red teaming framework. However, PEEP significantly expands upon RedExt with dedicated installation routines, the aforementioned native host bridge, heartbeat telemetry, an update channel, and a broader command set. The “Smart Bookmarks” extension (ID: ejkndncpkdcjcikfhiamcdehdoegilbj) serves as the primary agent, polling its command-and-control (C2) server (identified as 206.237.30[.]232 or xfjcc[.]fun) every 30 seconds over plaintext HTTP for new instructions.

Upon successful installation, PEEP actively exfiltrates sensitive browser data, including browsing history, active-tab metadata, and session cookies. Its capabilities further extend to running host commands, stealing credentials, hijacking user sessions, and even altering web page content. Persistence is maintained through several mechanisms, including sideloading, enterprise force-install policies, manipulation of preference integrity, and a ScriptCache fallback. Researchers also found a Python script (patch_secure_prefs_linux.py), indicating potential targeting of Linux environments in addition to Windows.

Intriguingly, the source code contains Chinese-language artifacts, hinting at a Chinese-speaking threat actor, though definitive attribution remains unconfirmed. SOCRadar’s analysis identified references to “Authorized CTF” use, suggesting a possible attempt to frame the activity for legitimate purposes or to circumvent AI tool safety measures during development.

Actionable Recommendations: Mitigating Chromium Browser Post-Exploitation

Given PEEP’s advanced post-exploitation capabilities, defenders must prioritize proactive measures to prevent initial compromise and detect unauthorized activity. One crucial step involves understanding how to detect PEEP toolkit installations and its persistent mechanisms.

  • Enhance Endpoint Security: Focus on preventing the initial breach that PEEP relies upon. Implement strong endpoint detection and response (EDR) solutions, application whitelisting, and least privilege principles to limit attackers’ ability to deploy malware.
  • Monitor Browser Extensions: Regularly audit and monitor installed browser extensions for all users. Implement strict browser management policies that restrict the installation of unauthorized extensions, leveraging enterprise force-install policies where appropriate. Look for the “Smart Bookmarks” extension with the ID ejkndncpkdcjcikfhiamcdehdoegilbj.
  • Network Traffic Analysis: Monitor network traffic for suspicious connections to known PEEP C2 infrastructure, such as 206.237.30[.]232 or xfjcc[.]fun. Be alert for plaintext HTTP communications where secure protocols are expected.
  • Process Monitoring: Monitor for the execution of unusual processes, particularly nm_host.exe, which facilitates PEEP’s operating system interaction. This is a critical indicator of compromise.
  • Integrity Monitoring: Implement file integrity monitoring for critical browser configuration files, especially those related to Secure Preferences, to detect manipulation that PEEP uses for persistence.

Understanding unauthorized Chrome/Edge extension installations and their sophisticated persistence methods is key to defending against threats like PEEP. By focusing on these areas, organizations can significantly reduce their exposure to advanced post-exploitation frameworks.

Related: Roundcube Flaw Exploited by China-Linked Group Against Academics, Russian Threat Clusters Abuse OAuth and WhatsApp for Espionage

Advertisement

Advertisement