Skip to content

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_SUSP_NK_MAL_M_Hunting_POOLRAT

Detects strings found in POOLRAT malware

Suspicious / huntingPOOLRATSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compiles with YARA-X
Author
Mandiant
Date
2023-04-20
Modified
2023-12-05
Score / Quality
70 / 83

What this rule detects

Detects strings found in POOLRAT malware

Associated malware family: POOLRAT.

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

Summary generated from the rule's metadata and condition.

Rule source

susp-nk-mal-m-hunting-poolrat.yarDetection Rule License 1.1
rule SIGNATURE_BASE_SUSP_NK_MAL_M_Hunting_POOLRAT
{
	meta:
		description = "Detects strings found in POOLRAT malware"
		author = "Mandiant"
		id = "70f5f3a0-0fd0-54dc-97cc-4f3c35f02fcd"
		date = "2023-04-20"
		modified = "2023-12-05"
		old_rule_name = "APT_NK_MAL_M_Hunting_POOLRAT"
		reference = "https://www.mandiant.com/resources/blog/3cx-software-supply-chain-compromise"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_nk_tradingtech_apr23.yar#L166-L202"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		hash = "451c23709ecd5a8461ad060f6346930c"
		logic_hash = "ac8db844a9c4ed961930417809afb706ea948c4509a4be1eaeed77f09c86069d"
		score = 70
		quality = 83
		tags = ""
		disclaimer = "This rule is meant for hunting and is not tested to run in a production environment"

	strings:
		$s1 = "name=\"uid\"%s%s%u%s" ascii wide
		$s2 = "name=\"session\"%s%s%u%s" ascii wide
		$s3 = "name=\"action\"%s%s%s%s" ascii wide
		$s4 = "name=\"token\"%s%s%u%s" ascii wide
		$str1 = "--N9dLfqxHNUUw8qaUPqggVTpX-" wide ascii nocase

	condition:
		any of ( $s* ) or $str1
}

Strings (5 patterns)

IdentifierTypeValueModifiers
$s1text"name=\"uid\"%s%s%u%s"ascii wide
$s2text"name=\"session\"%s%s%u%s"ascii wide
$s3text"name=\"action\"%s%s%s%s"ascii wide
$s4text"name=\"token\"%s%s%u%s"ascii wide
$str1text"--N9dLfqxHNUUw8qaUPqggVTpX-"wide ascii nocase

Condition

any of ( $s* ) or $str1

In plain words (Heuristic)

  • At least one pattern in ( $s* ) must match.
  • Pattern $str1 must be present.

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

Sample hashes

Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).

  • 451c23709ecd5a8461ad060f6346930c

Licence & attribution

Author: Mandiant

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: 70f5f3a0-0fd0-54dc-97cc-4f3c35f02fcd

Metadata

old_rule_nameAPT_NK_MAL_M_Hunting_POOLRAT
disclaimerThis rule is meant for hunting and is not tested to run in a production environment