Government staff in five countries logged into their own official webmail, and the login page itself was spying on them. Unit 42 found a script tag quietly added to 39 Roundcube portals in one Middle Eastern country, each one feeding visitors to a command-and-control framework called Falcon.
Falcon C2 is a browser-based espionage framework: its implant is JavaScript that runs inside the victim’s browser tab, steals credentials and page data, and can push selected victims toward a Windows backdoor called Antino. Unit 42 published its analysis on 11 November 2026, covering government victims in one Middle Eastern country and four Southeast Asian countries between March and May 2026.
This article explains how Falcon works, how it connects to Antino and the earlier PeckBirdy framework, what Cisco Talos adds, and what defenders should check.
- What is Falcon C2?
- Who was targeted?
- How does a Falcon C2 attack work?
- What can the Falcon implant do?
- What is the Antino implant?
- Who is behind Falcon C2?
- How does Falcon compare with other campaigns?
- How do you detect Falcon C2?
- How do you protect against Falcon C2?
- What is still unknown?
- The bottom line
- Sources
What is Falcon C2?
Falcon C2 is a command-and-control (C2) framework, the server software an attacker uses to send commands to compromised systems and collect what they steal. Unit 42 says the operators also call it XG, or Xiang Ge, and that the server is written in Node.js.
Unlike most C2 frameworks, Falcon’s main implant is not a program on disk. It is obfuscated JavaScript that runs in a browser tab and talks back to the server for as long as the tab stays open.
The setup is built to look harmless. According to Unit 42, the victim-facing listener on TCP 443 serves a JavaScript Tetris game as its default page, with a Snake game also seen. The operator panel on TCP 8080 shows a blank page; its login form only appears after the F9 key is pressed three times in a row, which keeps scanners and screenshot crawlers from seeing it.
Why a browser implant matters
Endpoint detection and response (EDR) tools watch processes, files and registry changes on the host. A JavaScript implant inside a browser tab creates almost none of those signals, so the first stage of a Falcon compromise sits in a blind spot for many security teams. Unit 42’s own detection advice focuses on web servers, extensions and cloud logs for that reason.
Who was targeted?
Unit 42 describes compromises of government entities in one Middle Eastern country and four Southeast Asian countries, which it labels A to D. The report’s victim table lists these target types:
| Region | Targets listed by Unit 42 |
|---|---|
| Middle East | Ministries of defence, interior and foreign affairs; a national agency for network services; a telecom provider; government email systems |
| Southeast Asia A | Police, a directorate of intelligence, a department of corrections |
| Southeast Asia B | A justice entity |
| Southeast Asia C | A military entity and a department of justice |
| Southeast Asia D | A ministry of foreign affairs |
The 39 compromised Roundcube instances were all in the Middle Eastern country; Unit 42 says it found none elsewhere. Roundcube is a widely used open-source webmail client, common in government and hosting environments.
Unit 42 does not name the countries. It also does not say which individual target types were confirmed compromises and which were intended targets.
How does a Falcon C2 attack work?
Unit 42 documents three different entry routes, all ending in the same browser-based control. The core idea is that the attacker does not need to break into each user’s laptop. They compromise a site the users already trust, and every visit runs their code.
Route 1: injected webmail login pages
In the Middle East, the operators added a script tag to the header of Roundcube webmail portals in April 2026. The tag loads a resource that returns obfuscated Falcon JavaScript, which captures credentials as users sign in. Unit 42 assesses with high confidence that the script runs on every visit, giving the operators access to inboxes and account settings.
How the attacker gained the server-side access needed to edit those pages is not stated in the report.
Route 2: a modified government web application
In Southeast Asia A, the police case, Unit 42 found a custom Falcon module placed inside an unnamed web application in May 2026. Victims later saw a fake Adobe Flash update prompt, shown up to 10 times per selected victim, which downloaded Antino from a lookalike domain.
Route 3: a rogue browser extension
In Southeast Asia B, the justice case, victims ran a malicious extension called “PDF Viewer”, sideloaded in developer mode in Chrome, with a Firefox build as well. Unit 42 says it could not determine how the extension was installed. It saw a silent installer tool for Chrome and Firefox in the operator panel but could not recover it.
This case ran long. Unit 42 counted check-ins every three to four minutes for more than three weeks, and more than 20 views of internal routing-slip pages between late April and mid-May 2026.
What can the Falcon implant do?
The basic in-page implant registers the tab’s URL, domain, browser user agent and IP address, then waits for commands. Its main command, run, evaluates any JavaScript the operator sends, so its abilities are limited only by what the page and browser allow.
The extension adds far more. Unit 42 lists:
- Credential and cookie access, plus browsing and download history.
- Clipboard hijacking with operator-defined swap rules, for example replacing account numbers or crypto wallet addresses.
- Hooks on the browser’s fetch and XMLHttpRequest functions, caching up to 500 requests.
- Collection from Discord, Zalo and Gmail, and scraping of X direct messages in six languages.
- Swapping executable downloads from Google domains for operator-hosted files.
The extension asks for 40 permissions and access to all URLs. Unit 42 also describes a proxy feature that lets the operator route requests through the victim’s browser, reusing that user’s session cookies to reach internal resources.
How the C2 channel works
The implant opens a TLS-encrypted WebSocket, a persistent two-way connection, to the Falcon server. The server sends a 2048-bit RSA public key, the browser generates a random AES key and sends it back encrypted, and later traffic uses AES-256-CBC. A heartbeat goes out every minute. A fallback protocol called Comet is unencrypted and supports only two commands.
To survive page reloads, the implant stores a 32-character session ID in local storage and in a cookie that expires in 2099. Both use names starting with Hm_lvt_, a prefix that Unit 42 notes mimics Baidu Analytics cookies so it blends in.
What is the Antino implant?
Antino is a Rust-based Windows backdoor that uses Microsoft cloud services as its C2 channel, so its traffic goes to Microsoft rather than to an attacker server. Unit 42 dates the earliest known sample to 6 October 2025 by compile time.
In the samples Unit 42 analysed, Antino reads its OneDrive tenant ID, client ID and client secret from an XOR-encoded configuration section. It uploads a heartbeat file to an antino/heartbeat/ folder, picks up command files named command_req_ followed by its bot ID, and drops results in antino/antino_upload/. It supports 10 commands, including running shell and PowerShell commands, uploading and downloading files, and adding itself to the Run key.
For persistence it copies itself into a folder under %LOCALAPPDATA% named Windows GatherOSStateKit and uses the Windows Scripted Diagnostics host, sdiagnhost.exe, to run PowerShell that writes a registry Run key. Routing the change through a signed Windows component is meant to look less suspicious than a direct registry write.
What Cisco Talos adds
Antino was not new when Unit 42 wrote about Falcon. Cisco Talos published a report on 30 September 2026 attributing Antino to a cluster it calls UAT-11587, which it “assesses with high confidence” is China-nexus.
Talos describes a different delivery route: spear-phishing. Its chain uses fake Gmail attachment links to Cloudflare Pages, an HTA or WSF stager, an in-memory .NET stage inside mshta.exe, and finally a signed Windows ADK binary, GatherOsState.exe, that sideloads Antino as slc.dll. DLL sideloading means placing a malicious DLL where a legitimate signed program will load it.
Talos counts at least 16 affected or targeted institutional environments across eight Asian countries, including Taiwan, India, the Philippines, Cambodia, Pakistan, Thailand, Myanmar and Syria. Its version of Antino uses both OneDrive and an Outlook mailbox through Microsoft Graph, polling for emails with subjects that start with command_req_.
The two vendors describe slightly different folder names and channels. That is consistent with different builds of the same implant, but neither report reconciles the two.
Who is behind Falcon C2?
Unit 42’s analysis does not name an actor or give an attribution confidence level; it refers to a single actor throughout. Its reference list includes the Talos UAT-11587 report and a Symantec dossier on Jewelbug.
Talos says it found overlaps between UAT-11587 and Antino-related espionage that Symantec attributes to Jewelbug, but could not confirm the link to Jewelbug’s financially motivated activity, so it tracks UAT-11587 separately. This article follows the vendors’ wording and does not merge the clusters.
The PeckBirdy connection
Unit 42 assesses with high confidence that Falcon and PeckBirdy, a script-based framework Trend Micro reported in January 2026, are variants of the same core framework. The evidence it cites: near-identical URL structures, the same HTA, HTML and JScript delivery sequence, and the same Hm_lvt_ session naming. Falcon adds RSA key exchange where PeckBirdy used AES alone.
Unit 42 also says Falcon’s code style suggests AI-assisted development, based on variable names, comments and inconsistent design choices. That is an inference from style, not proof.
How does Falcon compare with other campaigns?
Poisoning a trusted website is not new, but Falcon combines it with a full browser C2 and a cloud-controlled backdoor.
| Campaign | Entry point | Main control channel | Source |
|---|---|---|---|
| Falcon C2 | Injected webmail and government web apps, rogue extension | Encrypted WebSocket from the browser, then OneDrive | Unit 42 |
| UAT-11587 (Antino) | Spear-phishing with fake attachments | OneDrive and Outlook via Microsoft Graph | Cisco Talos |
| APT29 watering hole | Poisoned third-party analytics script | Mobile exploit chains | Sekoia |
| GitDoor and GraphDoor | Varies | GitHub and SharePoint | Kaspersky |
For a similar poisoned-script story, see our breakdown of the APT29 watering hole that hid in an analytics script. For more on attackers hiding C2 inside legitimate cloud services, read about GitDoor and GraphDoor using GitHub and SharePoint for C2. The rogue “PDF Viewer” extension also echoes the Remus stealer’s fake Google Sheets extension.
How do you detect Falcon C2?
Unit 42’s conclusion names four places to look. Each maps to a log source most organisations already have.
Web servers and webmail
- Script tags added to the headers of webmail, ticketing or case-management apps that load from domains you do not recognise.
- Scripts that return arrays of numbers with a short decoder function, Unit 42’s description of the obfuscation.
- File integrity monitoring on Roundcube templates and web roots, compared with a clean install of the same version.
Browsers and extensions
- Extensions installed in developer mode that imitate PDF or utility tools while requesting broad permissions such as all URLs, debugger, tabCapture, nativeMessaging and webRequest.
- Cookies or local storage keys named Hm_lvt_ on internal or government applications that do not use Baidu Analytics.
- The Chrome extension ID Unit 42 published, mbidcmlcbgbphpoacojjbmfpohcimjji, in browser management inventories.
Cloud and endpoint
- OAuth or OneDrive activity tied to tenants outside your organisation, especially repeated small JSON writes to antino/heartbeat/ or antino/antino_upload/ paths.
- sdiagnhost.exe launching PowerShell that writes a Run key, and new folders named Windows GatherOSStateKit under %LOCALAPPDATA%.
- GatherOsState.exe running from a user-writable folder next to an slc.dll, per Talos.
Indicators and ATT&CK
Unit 42 published C2 domains including fonts.tarotfree101[.]top, fonts.chrorne[.]com and robot.avbliud[.]com, payload domains microsoft-flash[.]com and wps-cn[.]com, 28 extension file hashes and an Antino sample hash. Use the Unit 42 report for the full list.
Neither report lists MITRE ATT&CK IDs. Our own mapping of the described behaviour, for hunting purposes: Drive-by Compromise (T1189), Browser Extensions (T1176), Browser Session Hijacking (T1185), Web Portal Capture (T1056.003), Clipboard Data (T1115), Bidirectional Communication over a web service (T1102.002), Hijack Execution Flow through DLL sideloading (T1574) and Registry Run Keys (T1547.001).
How do you protect against Falcon C2?
- Audit your webmail now. Diff the HTML served by Roundcube and other webmail login pages against a known-good build, and check web server write access and recent file changes.
- Rotate credentials for affected portals. If you find an injected script, assume every user who logged in since it appeared has had their password and session captured, and reset both.
- Block developer-mode extensions. Use Chrome and Firefox enterprise policies to allow only approved extensions and disable developer mode on managed devices.
- Enforce phishing-resistant MFA. Hardware keys or passkeys stop a captured password from being enough, although a live browser implant can still ride an existing session.
- Restrict OAuth app access. Limit which external Entra ID apps can be consented to, and alert on Graph API traffic to OneDrive or Outlook in tenants you do not own.
- Add a Content Security Policy. A strict CSP on web apps you run limits which domains scripts can load from, making an injected script tag fail or stand out.
- Watch Scripted Diagnostics abuse. Alert on sdiagnhost.exe spawning PowerShell that modifies Run keys; ordinary troubleshooting rarely does this.
What is still unknown?
- Initial access to the servers. Unit 42 does not say how the operators gained the access needed to edit 39 Roundcube portals or the Southeast Asian web application.
- Extension delivery. Unit 42 says it is unaware of how the PDF Viewer extension reached victims.
- Attribution. Unit 42 names no actor; Talos’s China-nexus assessment covers UAT-11587 and Antino, and the Jewelbug overlap is unconfirmed.
- Country names. Neither vendor names the five countries in the Falcon campaign.
- Antino variants. Unit 42 describes OneDrive-only C2; Talos also describes Outlook polling and slightly different folder names.
- Scripting. Antino can load Rhai scripts, but Unit 42 has not seen that used in the wild.
The bottom line
Falcon C2 shows that a government’s own login page can be the attack. When the implant lives in the browser tab, the evidence is on the web server, in the extension list and in cloud logs, not on the endpoint.
If you run webmail for staff who matter to foreign intelligence services, diff those pages against a clean build this week, lock down extensions, and alert on OneDrive traffic to tenants you do not own.
Sources
- Unit 42: The XG Files: Falcon C2 Flying Under the (Browser) Radar (11 November 2026)
- Cisco Talos: China-nexus UAT-11587 targets government and policy organizations across Asia with Antino backdoor (30 September 2026)
- SecurityOnline: Browser-based Falcon C2 framework targets government portals and deploys Antino implant (13 November 2026)
This article is written for defenders and authorised security testers. Only test systems you own or have written permission to assess.