SecPod

Learn Search

Search across all Learn content

← Back to Security Research
Inside UNC5221’s BRICKSTORM: Unmasking a Stealthy Espionage Backdoor

Inside UNC5221’s BRICKSTORM: Unmasking a Stealthy Espionage Backdoor

Since at least early 2025, a suspected China-nexus cluster, tracked as UNC5221, has deployed the BRICKSTORM backdoor using the vulnerabilities CVE-2023-46805 and CVE-2024-21887 to establish long-term, stealthy access to high-value targets, notably legal services, SaaS providers, BPOs, and technology...

Sep 25, 2025By Santosh Sethuraman4 min read

Executive summary

Since at least early 2025, a suspected China-nexus cluster, tracked as UNC5221, has deployed the BRICKSTORM backdoor using the vulnerabilities CVE-2023-46805 and CVE-2024-21887 to establish long-term, stealthy access to high-value targets, notably legal services, SaaS providers, BPOs, and technology firms. The actor preferentially targets edge appliances and other Internet-facing infrastructure that often lack traditional EDR, enabling persistence, data collection, and pivoting into downstream customer environments.

Background on BRICKSTORM & UNC5221

BRICKSTORM began as a Linux-focused espionage backdoor family and has since been observed in additional builds/variants that expand capabilities and platform coverage. The tooling is modular and uses application-layer C2 channels, notably WebSockets and DNS-over-HTTPS techniques, to blend with legitimate traffic and avoid signature-based detection. Multiple vendor write-ups and incident responses tie BRICKSTORM activity to UNC5221 based on overlapping TTPs, telemetry, and infrastructure.

CVE-IDCVSS Score & SeverityVulnerability TypeAffected Firmware / ProductsEPSS Score
CVE-2023-468058.2 (High) Authentication bypass Ivanti Connect Secure / Policy Secure (9.x, 22.x)94.38 %
CVE-2024-218879.1 (Critical)Command injectionIvanti Connect Secure / Policy Secure (9.x, 22.x)94.42 %

Vulnerability details

TacticTechnique (MITRE link)Description
Initial AccessT1190 Exploit a weakness in an Internet-facing host or service to gain access.
PersistenceT1547 Configure services/autorun mechanisms so malware survives reboots.
PersistenceT1053Use OS schedulers (cron, at, systemd timers, Windows Task Scheduler) to run payloads.
Command & ControlT1071.001Use common web protocols to blend C2 traffic with normal application traffic.
Lateral MovementT1090Relay or proxy traffic to hide the true source and reach internal networks.
CollectionT1119 Use scripted or built-in tooling to gather files/data for staging/exfiltration.

Infection & deployment vectors

  • Initial access: exploitation of Internet-facing appliance vulnerabilities (see Vulnerability details). Operators also use credential stuffing, weak management interface exposures and weaponized updates/trojanized components in a smaller number of cases.
  • Loader/implant: compact in-memory droppers, shell-script droppers that stage payloads into running web processes, and filesystem implants configured as services/daemons when persistence is needed.
  • C2 communication: WebSockets, DoH, and other application-layer channels that mimic normal TLS traffic.

Capabilities & behaviors

  • File operations (list/upload/download/create/delete) for targeted data collection.
  • Remote command execution / interactive shells.
  • Proxying/tunneling (SOCKS/HTTP) to access downstream networks and customers.
  • Process injection and SSL/TLS hooking (passive execution via SSL_read).

Techniques and Tactics

Indicators of Compromise

  • Network telemetry: long-lived TLS/WebSocket sessions from appliances to uncommon endpoints; multiple DoH resolver queries from a single appliance; unusual client TLS certificates presented to proxies or appliances.
  • Host artefacts: unexpected /tmp droppers (e.g., /tmp/.i, /tmp/.r), modified web service processes, altered integrity checker tool outputs (ICT), suspicious core dumps, or cleared logs.

Impact

  • Successful exploitation allows attackers to bypass authentication and gain unauthorized access to restricted resources on the network.
  • Chaining the two vulnerabilities enables unauthenticated remote attackers to execute arbitrary commands and achieve full control over the compromised Ivanti appliance.
  • Attackers can deploy persistent backdoors and webshells, ensuring long-term access to the internal network for espionage and data theft.
  • The compromise of the security gateway can serve as a launchpad for lateral movement, allowing threat actors to escalate privileges and access sensitive internal systems.

Threat Actor Attribution

The flaw, CVE-2023-46805, is particularly dangerous because it has been widely exploited by various threat actors, often chained with other vulnerabilities for greater impact. Beyond its initial use by a suspected Chinese nation-state actor tracked as UTA0178, other espionage-focused groups have also leveraged this vulnerability to gain initial access into target networks for data theft and surveillance operations.Attackers have chained CVE-2023-46805 with CVE-2024-21887 to achieve unauthenticated remote code execution, enabling them to run arbitrary commands and take full control of the appliance. The widespread exploitation of this vulnerability has not been limited to a single group; various advanced persistent threat (APT) actors have adopted it to deploy a range of custom malware, including webshells like LIGHTWIRE and GIFTEDVISITOR, credential harvesters, and passive backdoors to ensure long-term access and facilitate lateral movement within compromised enterprise networks.

Mitigation steps

  1. Patch immediately: apply vendor patches for affected appliances.
  2. Egress control & segmentation: restrict appliance egress, require proxying for management traffic, and firewall management interfaces off the public Internet.
  3. Forensics & containment: if compromise suspected, preserve memory and /tmp artifacts, collect running process maps and ICT statedump files, then prefer reimaging appliances rather than in-place cleanup where feasible.
  4. Credential hygiene: rotate management credentials, enable MFA on all management portals, and audit accounts that can reach downstream customers.

Instantly Fix Risks with Saner Patch Management

Saner patch management is a continuous, automated, and integrated software that instantly fixes risks exploited in the wild. The software supports major operating systems like Windows, Linux, and macOS, as well as 550+ third-party applications.

It also allows you to set up a safe testing area to test patches before deploying them in a primary production environment. Saner patch management additionally supports a patch rollback feature in case of patch failure or a system malfunction.

Experience the fastest and most accurate patching software here.

Featured Posts

Open November 2026 Linux Security Updates for Debian, Fedora, Red Hat and Ubuntu: Critical Browser, .NET and Enterprise Infrastructure Vulnerabilities
November 2026 Linux Security Updates for Debian, Fedora, Red Hat and Ubuntu: Critical Browser, .NET and Enterprise Infrastructure Vulnerabilities

CVE Research

November 2026 Linux Security Updates for Debian, Fedora, Red Hat and Ubuntu: Critical Browser, .NET and Enterprise Infrastructure Vulnerabilities

Nov 27, 2026

Open Drupal Installer Flaw Under Attack: Site Takeover Risk Persists
vulnerability researchDrupal Installer Flaw Under Attack: Site Takeover Risk Persists

CVE Research

Drupal Installer Flaw Under Attack: Site Takeover Risk Persists

CVE-2026-136716 is a highly critical Drupal core installer access-bypass vulnerability that is under active exploitation. An unauthenticated attacker can take over sites left in unusual or incomplete installation states, including some production sites. The earlier fix for CVE-2026-132165 does not cover every affected state. Fixed releases are Drupal Core 11.4.14, 11.3.23, and 10.6.23. This article covers how the flaw works, its relationship to the prior installer issue, impact, and remediation steps.

Nov 27, 2026

Open GT13 Campaign Targets 22 Organizations Through Check Point Security Management Server Exploitation
GT13 Campaign Targets 22 Organizations Through Check Point Security Management Server Exploitation

CVE Research

GT13 Campaign Targets 22 Organizations Through Check Point Security Management Server Exploitation

The GT13 campaign targeted at least 22 organizations worldwide by exploiting vulnerabilities in exposed services and Check Point Security Management Servers. The attackers used forged authentication sessions, SSH-based persistence, internal reconnaissance, lateral movement, and data exfiltration techniques to compromise systems and access sensitive information.

Nov 26, 2026

Open GeoServer Flaws Under Attack: Inside the Exploit Chain to Remote Code Execution
vulnerability researchGeoServer Flaws Under Attack: Inside the Exploit Chain to Remote Code Execution

CVE Research

GeoServer Flaws Under Attack: Inside the Exploit Chain to Remote Code Execution

Six vulnerabilities in GeoServer’s November 2026 security update can expose sensitive files, bypass service authorization, and enable administrator impersonation. Several of these flaws can be chained for unauthenticated remote code execution with the permissions of the GeoServer process. CVE-2026-120705 and CVE-2026-129243 have been reported as exploited. Fixed releases include GeoServer 3.0.2, 2.28.6, and 2.27.7. This article covers the flaws, the public five-CVE chain, impact, affected versions, and remediation guidance.

Nov 26, 2026