YARA · SEKOIA.IO Community
SEKOIA_Apt_Blackwood_Nspx30_Plugin
Detects plugins of NSPX30 backdoor based on RTTI and rundll32 string
- Author
- Sekoia.io
- Date
- 2024-01-29
- Modified
- 2024-12-19
- Score / Quality
- 75 / 76
What this rule detects
Detects plugins of NSPX30 backdoor based on RTTI and rundll32 string
Associated malware family: Nspx30.
Targets: Windows PE.
It defines 3 patterns (1 text, 2 hex, 0 regex).
YARA-X says: warning[text_as_hex]: hex pattern could be written as text literal
Summary generated from the rule's metadata and condition.
Rule source
rule SEKOIA_Apt_Blackwood_Nspx30_Plugin : FILE
{
meta:
= "Detects plugins of NSPX30 backdoor based on RTTI and rundll32 string"
= "Sekoia.io"
= "ef8e0d51-c78c-426b-8008-910e27546f23"
= "2024-01-29"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_blackwood_nspx30_plugin.yar#L1-L17"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "cf7c232a5a817ff5c0da04744abf99ed2fcea587e3e6f6e8bf3aef7ca8f2b51b"
= 75
= 76
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$s1 = {2E 3F 41 56 43 43 61 62 69 6E 65 74 40 40}
$s2 = {2E 3F 41 56 43 45 6E 63 6F 64 65 72 40 40}
$s3 = "rundll32.exe \"%hs\",#1" wide
condition:
uint16be( 0 ) == 0x4d5a and filesize < 1MB and all of them
}
Strings (3 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | hex | {2E 3F 41 56 43 43 61 62 69 6E 65 74 40 40} | |
| $s2 | hex | {2E 3F 41 56 43 45 6E 63 6F 64 65 72 40 40} | |
| $s3 | text | "rundll32.exe \"%hs\",#1" | wide |
Condition
uint16be( 0 ) == 0x4d5a and filesize < 1MB and all of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- The file must be smaller than 1MB (a cheap guard that skips large files).
- 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.
References
Licence & attribution
Author: Sekoia.io
Source repository: SEKOIA.IO Community @ a438a5901a
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: ef8e0d51-c78c-426b-8008-910e27546f23
Metadata
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Related rules
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-09-10
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-09-27
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-09-27
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-09-23
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-06-11