This hunt targets the deployment of the BRICKSTEAL backdoor by the China Nexus APT group to identify potential long-term persistence and data exfiltration activities within our Azure Sentinel environment. Proactive hunting for this specific adversary behavior is critical due to its high severity, enabling early detection of sophisticated supply chain compromises that could otherwise remain undetected until significant data loss occurs.
rule MAL_G_Backdoor_BRICKSTEAL_1 {
meta:
description = "Detects backdoor BRICKSTEAL used by APT group UNC5221 (China Nexus)"
author = "Google Threat Intelligence Group (GTIG) (modified by Florian Roth)"
date = "2025-09-25"
score = 75
reference = "https://cloud.google.com/blog/topics/threat-intelligence/brickstorm-espionage-campaign"
id = "2457d600-d9dd-504f-baa3-699ec5c61eae"
strings:
$str1 = "comvmware"
$str2 = "abcdABCD1234!@#$"
$str3 = "ads.png"
$str4 = "User-Agent"
$str5 = "com/vmware/"
condition:
all of them and filesize < 10KB
}
This YARA rule can be deployed in the following contexts:
This rule contains 5 string patterns in its detection logic.
Here are 4 specific false positive scenarios for the BRICKSTEAL backdoor detection rule, tailored for an enterprise environment:
Scenario: Automated Backup Agent Scans
svc_backup) that performs deep file system scans and moves large data blocks to storage repositories. The BRICKSTEAL signature may flag the high-volume I/O operations, specific registry key modifications for configuration, and network connections to backup targets as suspicious backdoor behavior.VeeamService.exe or rubrik-agent) combined with the User Account (svc_backup). Additionally, exclude traffic destined for known internal IP ranges of the backup infrastructure (e.g., 10.20.50.x/24).Scenario: Scheduled Microsoft Defender Antivirus Updates
HKLM\SOFTWARE\Policies, and establishing outbound connections to update servers. This behavior mimics the file staging and network communication patterns of BRICKSTEAL.MpCmdG.exe) connecting to Microsoft’s CDN IP ranges (e.g., 13.107.x.x).Scenario: Configuration Management Tool Execution (Ansible/Chef)