YARA · Volexity threat-intel
VOLEXITY_Apt_Malware_Win_Dustpan_Apihashes
Detects DUSTPAN malware using API hashes used to resolve functions at runtime.
- 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
rule VOLEXITY_Apt_Malware_Win_Dustpan_Apihashes : STORMBAMBOO FILE
{
meta:
= "Detects DUSTPAN malware using API hashes used to resolve functions at runtime."
= "threatintel@volexity.com"
= "ed275da4-cd95-5fa3-a568-e610fb405bb3"
= "2023-08-17"
= "2024-08-02"
= "https://github.com/volexity/threat-intel"
= "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/2024/2024-08-02 StormBamboo/rules.yar#L171-L205"
= "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/LICENSE.txt"
= "b77bcfb036f5a6a3973fdd68f40c0bd0b19af1246688ca4b1f9db02f2055ef9d"
= "3edb66ade428c451c18aa152244f869f9f8c10e62ed942bf722b4d1cf1893e93"
= 75
= 80
= "STORMBAMBOO, FILE"
= "win"
= "all"
= "MAR-20230818"
= "TIB-20231221"
= "file"
= "critical"
= "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt"
= 9591
= 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)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $h1 | hex | {9c 5b 9f 0b} | |
| $h2 | hex | {4c 8f 3e 08} | |
| $h3 | hex | {b4 aa f2 06} | |
| $h4 | hex | {dc cb ca 09} | |
| $h5 | hex | {d4 33 07 0e} | |
| $h6 | hex | {27 89 d6 0a} | |
| $h7 | hex | {b5 7d ae 09} | |
| $h8 | hex | {4e 64 eb 0b} | |
| $h9 | hex | {be 17 d9 08} | |
| $magic | text | "SMHM" |
Condition
6 of ( $h* ) and $magicIn 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.
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.
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
| os | win |
|---|---|
| os_arch | all |
| report1 | MAR-20230818 |
| report2 | TIB-20231221 |
| scan_context | file |
| severity | critical |
| rule_id | 9591 |
| version | 3 |
Tags:STORMBAMBOOFILE
Related rules
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2023-07-21
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2024-02-23
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2024-02-23
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2023-07-24
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2020-03-16
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2021-10-18
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2024-07-30