Falcon browser C2 framework used to steal credentials and hijack sessions in government sites
Falcon (aka XG or Xiàng Gē) is a browser-based command-and-control framework that compromises victims by running malicious JavaScript and sideloading extensions to exfiltrate credentials, emails, cookies and other data.
Security & privacy Unit 42 11 Nov 2026 Attack Real-world evidence
Published as “The XG Files: Falcon C2 Flying Under The (Browser) Radar”
Why it matters
Browser-based C2 frameworks like Falcon can bypass traditional endpoint and network defenses, requiring new controls for extensions and anomalous browser activity.
Summary
Unit 42 observed Falcon, a NodeJS-based C2 framework that injects malicious JavaScript into webmail portals and government web apps, delivering a browser-resident implant and a Chrome/Firefox extension that can steal passwords, emails, cookies and act as a web proxy. The authors linked Falcon to the previously reported PeckBirdy framework based on identical URL structures and payload delivery, and uncovered a secondary Rust implant, Antino, that uses Microsoft OneDrive for C2. Evidence includes 39 compromised Roundcube instances and campaigns across five countries, but the analysis lacks samples of the silent plugin used to install the extension.
What they found 4
- Falcon C2 management panels are semi-hidden and require a secret key sequence to reveal the login UI
“Falcon C2 management panels are designed to remain semi-hidden.”
- Falcon uses Baidu-mimicking naming conventions for session identifiers in local storage and cookies
“Falcon employs the same prefix for the same purpose, saving it as Hm_lvt_$ in the browser’s local storage and Hm_lvt__<session ID> within a browser cookie”
- A total of 39 Roundcube webmail instances were compromised in the Middle Eastern campaign
“We observed a total of 39 Roundcube instances being affected within the target country.”
- The malicious Chrome extension requests 40 permissions, granting full browser control
“The extension requests a total of 40 permissions that grant the operator full control over the victim’s browser.”
Caveats 5
- The authors have not recovered a sample of the silent plugin used to install the Chrome/Firefox extensions.
- They state uncertainty about how the initial extension deployment occurs, noting it is "likely" via social engineering.
- No sample of the silent plugin for Chrome/Firefox was obtained for deeper analysis.
- Initial access vector for the browser extension is inferred, not directly observed.
- The analysis does not include detection efficacy metrics for the described defenses.
What’s new here 4
- Identification of Falcon, a browser-native C2 framework that operates entirely within the browser sandbox.
- Demonstration of overlap between Falcon and the earlier PeckBirdy framework, suggesting a shared code base.
- Discovery of Antino, a Rust implant that uses OneDrive as a C2 channel.
- Detailed description of a malicious Chrome extension masquerading as a PDF viewer with 40 high-risk permissions.