YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_MAL_G_APT_Backdoor_BRICKSTORM_2
Detects BRICKSTORM backdoor used by APT group UNC5221 (China Nexus)
- Author
- Google Threat Intelligence Group (GTIG) (modified by Florian Roth)
- Date
- 2025-09-25
- Modified
- 2026-05-15
- Score / Quality
- 75 / 85
What this rule detects
Detects BRICKSTORM backdoor used by APT group UNC5221 (China Nexus)
Targets: Linux ELF.
It defines 2 patterns (0 text, 2 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule SIGNATURE_BASE_MAL_G_APT_Backdoor_BRICKSTORM_2 : FILE
{
meta:
= "Detects BRICKSTORM backdoor used by APT group UNC5221 (China Nexus)"
= "Google Threat Intelligence Group (GTIG) (modified by Florian Roth)"
= "8418b887-9183-5364-a9d8-d2d4dbdefe83"
= "2025-09-25"
= "2026-05-15"
= "https://cloud.google.com/blog/topics/threat-intelligence/brickstorm-espionage-campaign"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_cn_brickstorm_sep25.yar#L83-L96"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "db989caa2a80481e58e6d65068e1814cf7366e3bdfc347e9019fb2bc980c74fa"
= 75
= 85
= "FILE"
strings:
$str1 = { 0F 57 C0 0F 11 84 ?? ?? ?? ?? ?? C6 44 ?? ?? 00 4? C7 84 ?? ?? ?? ?? ?? 00 00 00 00 0F 57 C0 0F 11 84 ?? ?? ?? ?? ?? 0F 11 84 ?? ?? ?? ?? ?? 4? 8B 84 ?? ?? ?? ?? ?? 4? 89 04 ?? 4? 8B 8C ?? ?? ?? ?? ?? 4? 89 4C ?? ?? E8 ?? ?? ?? ?? 4? 83 7C ?? ?? 00 0F 84 ?? ?? ?? ?? 4? 8D 05 ?? ?? ?? ?? 4? 89 ?? ?? E8 ?? ?? ?? ?? 4? 8B 7C ?? ?? 4? 8B 84 ?? ?? ?? ?? ?? 4? 89 47 08 83 3D ?? ?? ?? ?? 00 75 ?? 4? 8B 84 ?? ?? ?? ?? ?? 4? 89 07 4? 89 BC ?? ?? ?? ?? ?? 4? C7 84 ?? ?? ?? ?? ?? 01 00 00 00 4? C7 84 ?? ?? ?? ?? ?? 01 00 00 00 0F 57 C0 0F 11 84 ?? ?? ?? ?? ?? 4? 8B ?? ?? ?? ?? ?? ?? 4? 81 C4 ?? ?? ?? ?? C3 }
$str2 = { 4? C7 84 ?? ?? ?? ?? ?? 00 00 00 00 4? C7 84 ?? ?? ?? ?? ?? 00 00 00 00 4? C7 84 ?? ?? ?? ?? ?? 00 00 00 00 4? C7 84 ?? ?? ?? ?? ?? 00 00 00 00 4? C7 84 ?? ?? ?? ?? ?? 00 00 00 00 4? 8B 84 ?? ?? ?? ?? ?? 4? 89 04 ?? 4? 8B 8C ?? ?? ?? ?? ?? 4? 89 4C ?? ?? E8 ?? ?? ?? ?? 4? 8B 44 ?? ?? 4? 85 C0 0F 84 ?? ?? ?? ?? 4? 8D 05 ?? ?? ?? ?? 4? 89 ?? ?? E8 ?? ?? ?? ?? 4? 8B 44 ?? ?? 4? 8B 8C ?? ?? ?? ?? ?? 4? 89 48 08 8B 0D ?? ?? ?? ?? 85 C9 75 ?? 4? 8B 8C ?? ?? ?? ?? ?? 4? 89 08 84 00 4? 89 84 ?? ?? ?? ?? ?? 4? C7 84 ?? ?? ?? ?? ?? 01 00 00 00 4? C7 84 ?? ?? ?? ?? ?? 01 00 00 00 4? C7 84 ?? ?? ?? ?? ?? 00 00 00 00 4? C7 84 ?? ?? ?? ?? ?? 00 00 00 00 90 E8 ?? ?? ?? ?? 4? 8B ?? ?4 D8 00 00 00 4? 81 C4 E0 00 00 00 C3 }
condition:
uint32be( 0 ) == 0x7F454C46 and any of them
}
Strings (2 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $str1 | hex | { 0F 57 C0 0F 11 84 ?? ?? ?? ?? ?? C6 44 ?? ?? 00 4? C7 84 ?? ?? ?? ?? ?? 00 00 00 00 0F 57 C0 0F 11 84 ?? ?? ?? ?? ?? 0F 11 84 ?? ?? ?? ?? ?? 4? 8B 84 ?? ?? ?? … | |
| $str2 | hex | { 4? C7 84 ?? ?? ?? ?? ?? 00 00 00 00 4? C7 84 ?? ?? ?? ?? ?? 00 00 00 00 4? C7 84 ?? ?? ?? ?? ?? 00 00 00 00 4? C7 84 ?? ?? ?? ?? ?? 00 00 00 00 4? C7 84 ?? ?? … |
Condition
uint32be( 0 ) == 0x7F454C46 and any of themIn plain words (Heuristic)
- The file must start with the ELF header — a Linux/Unix executable.
- At least one pattern in the rule must match.
Test this rule in your browser
Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.
Licence & attribution
Author: Google Threat Intelligence Group (GTIG) (modified by Florian Roth)
Source repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
Licence: Detection Rule License 1.1 (repository licence)
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: 8418b887-9183-5364-a9d8-d2d4dbdefe83
Tags:FILE
Related rules
- MalwareSignature Base (Florian Roth / Nextron)· Google Threat Intelligence Group (GTIG) (modified by Flor…· 2025-09-25
- MalwareSignature Base (Florian Roth / Nextron)· Google Threat Intelligence Group (GTIG) (modified by Flor…· 2025-09-25
- MalwareSignature Base (Florian Roth / Nextron)· Google Threat Intelligence Group (GTIG) (modified by Flor…· 2025-09-25
- MalwareSignature Base (Florian Roth / Nextron)· Google Threat Intelligence Group (GTIG) (modified by Flor…· 2025-09-25
- MalwareSignature Base (Florian Roth / Nextron)· Google Threat Intelligence Group (GTIG) (modified by Flor…· 2025-09-25
- MalwareSignature Base (Florian Roth / Nextron)· Google Threat Intelligence Group (GTIG) (modified by Flor…· 2025-09-25
- WebshellSignature Base (Florian Roth / Nextron)· Google Threat Intelligence Group (GTIG) (modified by Flor…· 2025-09-25
- WebshellSignature Base (Florian Roth / Nextron)· Google Threat Intelligence Group (GTIG) (modified by Flor…· 2025-09-25