Skip to content

YARA · Volexity threat-intel

VOLEXITY_Apt_Malware_Win_Dustpan_Apihashes

Detects DUSTPAN malware using API hashes used to resolve functions at runtime.

APT / threat actorDustpanVolexity threat-intelBSD 2-Clause LicenseCompiles with YARA-X
Author
threatintel@volexity.com
Date
2023-08-17
Modified
2024-08-02
Score / Quality
75 / 80

What this rule detects

Detects DUSTPAN malware using API hashes used to resolve functions at runtime.

Associated malware family: Dustpan.

It defines 10 patterns (1 text, 9 hex, 0 regex).

Summary generated from the rule's metadata and condition.

Rule source

apt-malware-win-dustpan-apihashes.yarBSD 2-Clause License
rule VOLEXITY_Apt_Malware_Win_Dustpan_Apihashes : STORMBAMBOO FILE
{
	meta:
		description = "Detects DUSTPAN malware using API hashes used to resolve functions at runtime."
		author = "threatintel@volexity.com"
		id = "ed275da4-cd95-5fa3-a568-e610fb405bb3"
		date = "2023-08-17"
		modified = "2024-08-02"
		reference = "https://github.com/volexity/threat-intel"
		source_url = "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/2024/2024-08-02 StormBamboo/rules.yar#L171-L205"
		license_url = "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/LICENSE.txt"
		hash = "b77bcfb036f5a6a3973fdd68f40c0bd0b19af1246688ca4b1f9db02f2055ef9d"
		logic_hash = "3edb66ade428c451c18aa152244f869f9f8c10e62ed942bf722b4d1cf1893e93"
		score = 75
		quality = 80
		tags = "STORMBAMBOO, FILE"
		os = "win"
		os_arch = "all"
		report1 = "MAR-20230818"
		report2 = "TIB-20231221"
		scan_context = "file"
		severity = "critical"
		license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt"
		rule_id = 9591
		version = 3

	strings:
		$h1 = {9c 5b 9f 0b}
		$h2 = {4c 8f 3e 08}
		$h3 = {b4 aa f2 06}
		$h4 = {dc cb ca 09}
		$h5 = {d4 33 07 0e}
		$h6 = {27 89 d6 0a}
		$h7 = {b5 7d ae 09}
		$h8 = {4e 64 eb 0b}
		$h9 = {be 17 d9 08}
		$magic = "SMHM"

	condition:
		6 of ( $h* ) and $magic
}

Strings (10 patterns)

IdentifierTypeValueModifiers
$h1hex{9c 5b 9f 0b}
$h2hex{4c 8f 3e 08}
$h3hex{b4 aa f2 06}
$h4hex{dc cb ca 09}
$h5hex{d4 33 07 0e}
$h6hex{27 89 d6 0a}
$h7hex{b5 7d ae 09}
$h8hex{4e 64 eb 0b}
$h9hex{be 17 d9 08}
$magictext"SMHM"

Condition

6 of ( $h* ) and $magic

In plain words (Heuristic)

  • At least 6 patterns in ( $h* ) must match.
  • Pattern $magic 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).

  • b77bcfb036f5a6a3973fdd68f40c0bd0b19af1246688ca4b1f9db02f2055ef9d

Licence & attribution

Author: threatintel@volexity.com

Source repository: Volexity threat-intel @ 3a9d0b5245

Licence: BSD 2-Clause License (stated in the rule's own meta)

“See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt”

Copyright notice: Copyright 2022 by Volexity, Inc.

Original rule

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

Rule id: ed275da4-cd95-5fa3-a568-e610fb405bb3

Metadata

oswin
os_archall
report1MAR-20230818
report2TIB-20231221
scan_contextfile
severitycritical
rule_id9591
version3

Tags:STORMBAMBOOFILE

More Dustpan rules