Contribution
This post adds an identity-aware egress tripwire for BRICKSTORM on VMware vCenter. Any contact from a vCenter management address to a public DNS-over-HTTPS resolver opens a review; contact with two or more distinct resolvers in a short window raises it. The priority rises again when the same address starts a long-lived web session, or when a privileged vSphere task follows.
The detection content is ours. It joins CISA's malware analysis, Mandiant's vSphere logging guidance and the 2026 Unit 42 incident-response finding that BRICKSTORM hid command traffic inside ordinary encrypted web sessions. None of those sources publishes this correlation, and the thresholds below are our choices, not theirs.
The pattern
BRICKSTORM is awkward to hunt because each piece of its network behaviour can look respectable on its own. CISA's BRICKSTORM report, first published on 4 December 2025 and last revised on 11 February 2026, describes the usual sequence. The backdoor resolves its command server through a public DNS-over-HTTPS service, opens an HTTPS connection, upgrades it to WebSockets and nests a further TLS layer inside. Commands, proxied traffic and file transfers then share that one encrypted session.
A firewall sees a vCenter appliance talking over TCP 443 to a well-known address. The source matters more than the destination. A vCenter Server Appliance should have a small, documented egress set, and public DNS-over-HTTPS resolvers do not belong in it unless the operator put them there. Google's September 2025 BRICKSTORM campaign report makes the same point: DNS-over-HTTPS should be rare when sourced from appliance management addresses.
CISA analysed 12 samples, and the resolver set is wider than the three big names. Sample 1 holds five hard-coded resolver URLs: 1.0.0.1 and 1.1.1.1 (Cloudflare), 8.8.4.4 and 8.8.8.8 (Google), and 9.9.9.9 (Quad9). Samples 2 to 6 hold eight, adding 149.112.112.11 and 9.9.9.11 (Quad9) and 45.90.28.160 (NextDNS). CISA's Sigma rule also lists 45.90.30.160 and 149.112.112.112. Each request goes to an IP-literal URL ending in /dns-query, and most samples hide those strings with an XOR cipher.
After resolution, Sample 1 connects over HTTPS to a legitimate cloud platform that CISA redacts, sends an HTTP upgrade to a wss:// address on an /api path, and multiplexes virtual streams over the connection. This is command-channel bootstrap through providers that defenders are reluctant to block. One caveat applies: Sample 12, a .NET variant added in February 2026, connects to a hard-coded IP address on port 443, and CISA describes no resolver step for it. A resolver tripwire alone would miss that variant.
The incident CISA responded to
CISA describes actors reaching a DMZ web server through an existing web shell on 11 April 2024. They moved by RDP to domain controllers with service-account credentials, copied the Active Directory database, and obtained managed-service-provider credentials that took them to vCenter. They also reached an ADFS server and exported cryptographic keys. On vCenter they escalated with sudo, dropped BRICKSTORM in /etc/sysconfig/ and modified the init file in that directory so it would run at boot.
CISA states that the incident data does not show how the web shell arrived. Access lasted from April 2024 until at least 3 September 2025. With vCenter in hand, CISA says, actors can steal cloned virtual-machine snapshots for credential extraction and create hidden, rogue virtual machines. The backdoor also supplies an interactive shell and file management, some samples act as a SOCKS proxy, and Samples 7 and 8 use a VSOCK interface for communication between virtual machines.
The 2026 Unit 42 incident-response report places BRICKSTORM in a wider pattern. Unit 42 observed a year-long persistence campaign against IT, SaaS and business-process-outsourcing organisations, in which the group compromised virtualisation platforms operated by IT service providers. Our reading of that finding: encryption removes content inspection, so the evidence left is source role, destination class, session shape and management-plane actions.
Why it matters to cloud defenders
Many cloud teams still treat vSphere as an on-premises concern. In hybrid estates, vCenter often manages workloads that hold cloud API keys, identity-provider connectors, CI credentials and backup access. Google's report says the actor cloned Windows Server virtual machines for domain controllers, single sign-on identity providers and secret vaults in at least two cases, and never powered the clones on, so guest security tools did not run. Compromise therefore creates a route into cloud accounts that does not start in a cloud audit log.
The attack also crosses ownership lines. Network teams own egress controls, virtualisation teams own vCenter tasks, and identity teams own service accounts. Cloud security teams see the later use of credentials but may have no view of where they were taken. Google reports an average dwell time of 393 days for these intrusions, which is long enough to outlast most log retention.
This is why the tripwire starts with an asset role, not a malware indicator. Domain names and sample hashes expire. A vCenter appliance that begins querying public resolvers over HTTPS is harder for an attacker to normalise, and the signal survives a change of command domain.
Mandiant's vSphere and BRICKSTORM defender guide, published on 2 April 2026, states that this activity is not the result of a vulnerability in vendor products. Its egress table for the appliance allows internal DNS, TLS syslog on TCP 6514, VMware update servers and the identity provider, then denies all other internet traffic to block DoH, SOCKS proxies and exfiltration. Broadcom's BRICKSTORM guidance for vSphere likewise tells operators to restrict outbound internet access from vCenter and ESXi, block unauthorised DoH providers and check /etc/sysconfig/init for modification. The correlation below turns those separate recommendations into one detection path.
ATT&CK mapping
The observed entry in CISA's incident is a web shell on an internet-facing server, which CISA maps to Server Software Component: Web Shell, T1505.003. That mapping is direct, so the technique is pinned in this post's metadata. CISA did not establish how the shell arrived.
Exploit Public-Facing Application, T1190, is supported at campaign level but not for that incident. Google reports that the actor gained access by exploiting a zero-day vulnerability in at least one case, and that the evidence points to a focus on perimeter and remote access infrastructure. In other cases Mandiant found the actor on edge appliances without definitive evidence of exploitation. Keep that distinction in case notes.
Lateral movement relied on service-account and managed-service-provider credentials: Valid Accounts, T1078, with Remote Desktop Protocol, T1021.001, as the transport. Because the actor's RDP and vCenter sessions authenticated normally, a successful logon proves access and nothing more. Alerting needs to ask whether the account, source host and management target have been seen together before.
CISA maps the DoH lookup, an encrypted HTTPS request, to Application Layer Protocol: Web Protocols, T1071.001. Placing the HTTPS and WebSocket command channel that follows under the same technique is our mapping, not CISA's. The detector should not label all encrypted DNS as malware. It should ask why a virtualisation controller is using it, how many resolvers it contacts and what the host does next.
The remaining CISA mappings stay in prose here. The modified init file is Boot or Logon Initialization Scripts, T1037. The sudo step is T1548.003, the copy of ntds.dit is OS Credential Dumping: NTDS, T1003.003, and the SOCKS function is Proxy: Internal Proxy, T1090.001. CISA maps data theft through the backdoor to Exfiltration Over C2 Channel, T1041.
Detection guidance
Start with a maintained list of vCenter and ESXi management addresses. Send firewall or secure-web-gateway logs to the SIEM with source address, destination address, destination port, action and request URL where available. Log denied connections as well as allowed ones: an appliance that is blocked from reaching 1.1.1.1 on TCP 443 is still an appliance that tried.
Leg one: resolver contact
A Microsoft Sentinel version can run over CommonSecurityLog, the table that receives Common Event Format data from firewalls and proxies. The columns used below are in Microsoft's table reference; confirm that your device's connector populates them.
let VCenterIPs = dynamic(["10.20.30.40"]);
let PublicDoH = dynamic([
"1.0.0.1", "1.1.1.1",
"8.8.4.4", "8.8.8.8",
"9.9.9.9", "9.9.9.11",
"149.112.112.11", "149.112.112.112",
"45.90.28.160", "45.90.30.160"
]);
CommonSecurityLog
| where SourceIP in (VCenterIPs)
| where DestinationPort == 443
| where DestinationIP in (PublicDoH) or RequestURL has "/dns-query"
| summarize
ResolverCount = dcount(DestinationIP),
Resolvers = make_set(DestinationIP),
Actions = make_set(DeviceAction),
Requests = count(),
FirstSeen = min(TimeGenerated),
LastSeen = max(TimeGenerated)
by SourceIP, bin(TimeGenerated, 30m)
| extend Priority = iff(ResolverCount >= 2, "high", "review")
Replace the sample management address with an asset watchlist. The address list is the union of the resolvers in CISA's sample descriptions and its Sigma rule; it is not a full catalogue of public DoH services. Because the samples address resolvers by IP literal, hostname filters for the providers' DoH domains will not match this traffic. A firewall without TLS inspection never sees /dns-query, so the address match carries the rule there.
Be clear about what the threshold means. CISA says each sample sends its request to one of its hard-coded resolvers; it does not describe rotation between providers. A single hit therefore deserves review on a management appliance. Two or more distinct resolvers in 30 minutes is our own escalation rule: it filters a one-off administrator test and fits a client working through a hard-coded list. Fixed 30-minute bins can split a pair across a boundary, so review single hits in adjacent bins together.
If management egress passes through Azure Firewall with structured logs enabled, the same logic applies to the AZFWNetworkRule table. Its columns are SourceIp, DestinationIp, DestinationPort and Action; note the different casing from CommonSecurityLog.
Promotion signals
Promote the alert when any of four follow-on conditions appears within two hours. The window is a starting value to tune.
- Persistent session. The same source holds a long-lived outbound HTTPS or WebSocket session to a destination outside the approved egress list. Proxy logs may record the WebSocket handshake that RFC 6455 defines: an
Upgrade: websocketrequest header and an HTTP101 Switching Protocolsresponse. Where headers are unavailable, compareSentBytesandReceivedBytesinCommonSecurityLogfor sustained two-way transfer. This leg also covers variants such as Sample 12 that skip the resolver step. - vCenter events. Mandiant names
VmClonedEventorVmBeingClonedEventagainst domain controllers, followed byVmDiskHotPlugEvent, as the trace of offlinentds.dittheft. For rogue virtual machines it points tovmx -xand/bin/vmxin/var/log/shell.log. CISA's Sigma rule, "BRICKSTORM Backdoor Activity r2", matches related strings, and CISA notes it is only useful if the SIEM holds vCenter logs. - Appliance changes. Mandiant recommends watching for
sededits to/etc/sysconfig/initand/opt/vmware/etc/init.d/vami-lighttp. It notes that auditd records are forwarded only when/etc/audisp/plugins.d/syslog.confis set toactive = yes; otherwise they stay on the appliance, where an intruder with root can reach them. - Cloud identity use. The same service or provider identity appears in cloud audit logs from a new source network.
For the fourth leg, CISA's incident included exported ADFS keys, so federated sign-ins deserve the closest look. In AWS CloudTrail, review AssumeRoleWithSAML events from sts.amazonaws.com: userIdentity.type is SAMLUser, and responseElements.issuer names the identity provider that signed the assertion. In Microsoft Entra, SigninLogs records UserPrincipalName, IPAddress, AutonomousSystemNumber and TokenIssuerType, where ADFederationServices marks a federated token. In Google Cloud audit logs, compare authenticationInfo.principalEmail with requestMetadata.callerIp.
Keep these as separate contributing signals, not one brittle rule. Some environments do not proxy appliance traffic and will miss the WebSocket header. Others lack appliance audit logs but retain vCenter events. The correlation should score whatever evidence exists and state which leg fired.
False positives and rival explanations
The asset set is small, which keeps noise manageable. Support diagnostics, security scanners and administrators testing public resolvers can trigger the network leg. Record those jobs by change ticket and give each exception a short expiry. Do not create a permanent exclusion for Cloudflare or Google addresses on management networks; the backdoor's resolver list is built from providers that are widely allowed.
The strongest rival explanation is a newly enabled resolver or monitoring agent. Test it: confirm the package owner, deployment time and expected destination set. A legitimate change should account for the process, configuration and change record, and it should not coincide with clone events or service-account movement. If the explanation covers only the DNS traffic, the rest of the chain remains open.
On a hit
Check /etc/sysconfig/ for unexpected executables and compare /etc/sysconfig/init with a known-good copy. CISA records further sample-specific artefacts: a copy named bkmgr under /usr/java/jre-vmware/bin/ (Sample 9), vsm-boot-monitordvcenter or vsm-monitordvcenter in /usr/sbin/ (Samples 10 and 11), and a background process named sqiud (Sample 12). Absence of these names proves nothing, since they vary by sample. Then run CISA's YARA rules and pull the vCenter clone events for the preceding months.
What to do now
- Inventory vCenter and ESXi management addresses, then compare their actual outbound destinations with the approved list. Mandiant's egress table is a workable template: allow named destinations and deny the rest.
- Block and alert on public DNS-over-HTTPS from virtualisation management networks, logging the denials. Restrict the appliance to internal DNS resolvers, as Mandiant advises; Broadcom likewise tells operators to block unauthorised DoH providers.
- Send vCenter events, authentication logs and appliance audit logs off the management plane over TLS syslog. Mandiant recommends at least 400 days of retention, given the 393-day average dwell time.
- Run the CISA indicators, the seven YARA rules and the Sigma rule across live appliances and mounted backup images. A clean hash scan does not close the case: CISA's 12 samples span Go, Rust and .NET builds.
- Review
/etc/sysconfig/initagainst a known-good baseline. Investigate self-restarting processes, because CISA describes a self-watching function that reinstalls the backdoor if it stops. - Search for
VmClonedEvent,VmBeingClonedEventandVmDiskHotPlugEventon identity and secrets servers. Mandiant advises removing clone and export privileges from standard roles and reserving them for an audited break-glass identity. - Rotate credentials only after identifying the collection path. Include service accounts, managed-service-provider credentials, federation signing keys and cloud secrets present in affected guests. Otherwise the actor may keep a quieter copy of the same access.
BRICKSTORM does not make encrypted traffic undetectable. It makes destination reputation a poor primary signal. Asset role and cross-plane sequence are better evidence: a virtualisation controller contacts public resolvers, holds an unusual encrypted session, then its management plane or linked identities behave differently. That chain stays valid when the command server changes.