← Back to SOC feed Coverage →

Detects backdoor BRICKSTEAL dropper used by APT group UNC5221 (China Nexus)

yara HIGH signature-base
aptbackdoorflorian-rothg_dropper
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-02T23:00:00Z · Confidence: medium

Hunt Hypothesis

This hunt hypothesis targets the initial deployment of the BRICKSTEAL backdoor dropper employed by the China Nexus APT group to establish persistent access within Azure environments. Proactively hunting for this behavior is critical because early detection of the dropper allows the SOC team to identify and contain the threat before it executes its full payload, thereby preventing potential data exfiltration or lateral movement.

YARA Rule

rule MAL_G_Dropper_BRICKSTEAL_2 {
   meta:
      description = "Detects backdoor BRICKSTEAL dropper 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 = "8139f8c0-4c18-51bd-bf23-8c4cdc3fd555"
   strings:
      // $str1 = /\(Class<\?>\)\smethod\.invoke\(\w{1,20},\s\w{1,20},\s0,\s\w{1,20}\.length\);/i ascii wide
      $str1_alt = "(Class<?>) method.invoke(" ascii wide
      $str2 = "(\"yv66vg" ascii wide
      $str3 = "request.getSession().getServletContext" ascii wide
      $str4 = ".getClass().getDeclaredField(" ascii wide
      $str5 = "new FilterDef();" ascii wide
      $str6 = "new FilterMap();" ascii wide
   condition:
      all of them
}

Deployment Notes

This YARA rule can be deployed in the following contexts:

This rule contains 7 string patterns in its detection logic.

References

False Positive Guidance

Here are 3-5 specific false positive scenarios for the BRICKSTEAL dropper detection rule, tailored for an enterprise environment:

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