← Back to SOC feed Coverage →

Detects BRICKSTORM backdoor used by APT group UNC5221 (China Nexus)

yara HIGH signature-base
aptbackdoorflorian-rothg_apt
This rule was pulled from an open-source repository and enriched with AI. Validate in a test environment before deploying to production.
View original rule at signature-base →
Retrieved: 2026-08-02T11:00:00Z · Confidence: medium

Hunt Hypothesis

This hunt hypothesis targets the deployment of the BRICKSTORM backdoor by the Chinese APT group UNC5221 to identify early-stage persistence mechanisms that may evade standard signature-based detection. Proactive hunting in Azure Sentinel is critical because this high-severity threat often establishes covert command-and-control channels that require behavioral analysis to uncover before adversaries can exfiltrate sensitive data or move laterally across the network.

YARA Rule

rule MAL_G_APT_Backdoor_BRICKSTORM_3 {
   meta:
      description = "Detects BRICKSTORM backdoor 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"
      md5 = "931eacd7e5250d29903924c31f41b7e5"
      id = "d50d60ec-0238-569e-911a-696b994416f9"
   strings:
      $str1 = { 48 8B 05 ?? ?? ?? ?? 48 89 04 24 E8 ?? ?? ?? ?? 48 B8 ?? ?? ?? ?? ?? ?? ?? ?? 48 89 04 24 [0-5] E8 ?? ?? ?? ?? EB ?? }
      $str4 = "decompress" ascii  // wide nocase
      $str5 = "MIMEHeader" ascii  // wide nocase
      $str6 = "ResolveReference" ascii  // wide nocase
      $str7 = "115792089210356248762697446949407573529996955224135760342422259061068512044369115792089210356248762697446949407573530086143415290314195533631308867097853951" ascii  // wide nocase
   condition:
      uint16(0) == 0x457F and all of them
}

Deployment Notes

This YARA rule can be deployed in the following contexts:

This rule contains 5 string patterns in its detection logic.

References

False Positive Guidance

Here are 3-5 specific false positive scenarios for the BRICKSTORM backdoor detection rule, tailored to an enterprise environment:

Original source: https://github.com/Neo23x0/signature-base/blob/main/yara/apt_cn_brickstorm_sep25.yar