Skip to content

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_MAL_G_Dropper_BRICKSTEAL_1

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

MalwareSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compiles with YARA-X
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 backdoor BRICKSTEAL dropper used by APT group UNC5221 (China Nexus)

It defines 7 patterns (7 text, 0 hex, 0 regex).

Summary generated from the rule's metadata and condition.

Rule source

mal-g-dropper-bricksteal-1.yarDetection Rule License 1.1
rule SIGNATURE_BASE_MAL_G_Dropper_BRICKSTEAL_1
{
	meta:
		description = "Detects backdoor BRICKSTEAL dropper used by APT group UNC5221 (China Nexus)"
		author = "Google Threat Intelligence Group (GTIG) (modified by Florian Roth)"
		id = "c96eeeb0-ccb4-572c-80b5-638ce3bb51a9"
		date = "2025-09-25"
		modified = "2026-05-15"
		reference = "https://cloud.google.com/blog/topics/threat-intelligence/brickstorm-espionage-campaign"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_cn_brickstorm_sep25.yar#L155-L173"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "5ed68f17ba8ac0c7ba02f9111f083244181332c71ed43b4cd5582baee493c98d"
		score = 75
		quality = 85
		tags = ""

	strings:
		$str1 = "Base64.getDecoder().decode"
		$str2 = "Thread.currentThread().getContextClassLoader()"
		$str3 = ".class.getDeclaredMethod"
		$str4 = "byte[].class"
		$str5 = "method.invoke"
		$str6 = "filterClass.newInstance()"
		$str7 = "/websso/SAML2/SSO/*"

	condition:
		all of them
}

Strings (7 patterns)

IdentifierTypeValueModifiers
$str1text"Base64.getDecoder().decode"
$str2text"Thread.currentThread().getContextClassLoader()"
$str3text".class.getDeclaredMethod"
$str4text"byte[].class"
$str5text"method.invoke"
$str6text"filterClass.newInstance()"
$str7text"/websso/SAML2/SSO/*"

Condition

all of them

In plain words (Heuristic)

  • All patterns 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.

Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.

Open in editor

References

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)

Original rule

Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.

Rule id: c96eeeb0-ccb4-572c-80b5-638ce3bb51a9