YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_MAL_APT_NK_Andariel_Dtrack_Unpacked
Detects DTrack variant used by Andariel
- Author
- CISA.gov (modified by Florian Roth, Nextron Systems)
- Date
- 2024-07-25
- Modified
- 2024-07-26
- Score / Quality
- 75 / 85
What this rule detects
Detects DTrack variant used by Andariel
Associated malware family: Dtrack.
Targets: Windows PE.
It defines 5 patterns (5 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
mal-apt-nk-andariel-dtrack-unpacked.yarDetection Rule License 1.1
rule SIGNATURE_BASE_MAL_APT_NK_Andariel_Dtrack_Unpacked : FILE
{
meta:
= "Detects DTrack variant used by Andariel"
= "CISA.gov (modified by Florian Roth, Nextron Systems)"
= "0c161275-2b2e-51a4-9e08-c118fb4c8671"
= "2024-07-25"
= "2024-07-26"
= "https://www.cisa.gov/news-events/cybersecurity-advisories/aa24-207a"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_nk_andariel_jul24.yar#L370-L393"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "d8de583fc0de01e6784305d28dbf7cea859a24cf4df1dc59356601bc830e4770"
= 75
= 85
= "FILE"
strings:
$x_str_cmd_4 = "/c systeminfo > \"%s\" & tasklist > \"%s\" & netstat -naop tcp > \"%s\"" wide
$x_str_cmd_2 = "/c ping -n 3 127.0.01 > NUL % echo EEE > \"%s\"" wide
$str_mutex = "MTX_Global"
$str_cmd_1 = "/c net use \\\\" wide
$str_cmd_3 = "/c move /y %s \\\\" wide
condition:
uint16( 0 ) == 0x5A4D and ( 1 of ( $x* ) or 3 of them )
}
Strings (5 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $x_str_cmd_4 | text | "/c systeminfo > \"%s\" & tasklist > \"%s\" & netstat -naop tcp > \"%s\"" | wide |
| $x_str_cmd_2 | text | "/c ping -n 3 127.0.01 > NUL % echo EEE > \"%s\"" | wide |
| $str_mutex | text | "MTX_Global" | |
| $str_cmd_1 | text | "/c net use \\\\" | wide |
| $str_cmd_3 | text | "/c move /y %s \\\\" | wide |
Condition
uint16( 0 ) == 0x5A4D and ( 1 of ( $x* ) or 3 of them )In plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- At least 1 patterns in ( $x* ) must match.
- At least 3 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.
Licence & attribution
Author: CISA.gov (modified by Florian Roth, Nextron Systems)
Source repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
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: 0c161275-2b2e-51a4-9e08-c118fb4c8671
Tags:FILE
Related rules
- MalwareSignature Base (Florian Roth / Nextron)· CISA.gov· 2024-07-25
- MalwareSignature Base (Florian Roth / Nextron)· CISA.gov· 2024-07-25
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareSignature Base (Florian Roth / Nextron)· CISA.gov (modified by Florian Roth, Nextron Systems)· 2024-07-25
- MalwareSignature Base (Florian Roth / Nextron)· CISA.gov (modified by Florian Roth, Nextron Systems)· 2024-07-25
- MalwareSignature Base (Florian Roth / Nextron)· CISA.gov (modified by Florian Roth, Nextron Systems)· 2024-07-25
- MalwareSignature Base (Florian Roth / Nextron)· CISA.gov (modified by Florian Roth, Nextron Systems)· 2024-07-25