YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Unknown_Packedloader_01
Detects unknown loader / packer. Observed running LummaStealer
- Author
- ditekShen
- Date
- 2020-11-06
- Modified
- 2024-11-01
- Score / Quality
- 75 / 75
What this rule detects
Detects unknown loader / packer. Observed running LummaStealer
Associated malware family: Lummastealer.
Targets: Windows PE.
It defines 12 patterns (12 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule DITEKSHEN_MALWARE_Win_Unknown_Packedloader_01 : FILE
{
meta:
= "Detects unknown loader / packer. Observed running LummaStealer"
= "ditekShen"
= "2969090f-dff9-5745-b87d-a031741dd2e0"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L10826-L10845"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "6fd9075793b55e04c68bb13d21b88741889a9c37a0a9d1a19d895c7b68af4506"
= 75
= 75
= "FILE"
strings:
$s1 = "Error at hooking API \"%S\"" wide
$s2 = "Dumping first %d bytes:" wide
$s3 = "Error at initialization of bundled DLL: %s" wide
$s4 = "GetMemoryForDLL()" ascii
$s5 = "type=activation&code=" ascii
$s6 = "activation.php?code=" ascii
$s7 = "&hwid=" ascii
$s8 = "&hash=" ascii
$s9 = "type=deactivation&hash=" ascii
$s10 = "deactivation.php?hash=" ascii
$s11 = "BANNED" fullword ascii
$s12 = "GetAdaptersInfo" ascii
condition:
uint16( 0 ) == 0x5a4d and 11 of them
}
Strings (12 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "Error at hooking API \"%S\"" | wide |
| $s2 | text | "Dumping first %d bytes:" | wide |
| $s3 | text | "Error at initialization of bundled DLL: %s" | wide |
| $s4 | text | "GetMemoryForDLL()" | ascii |
| $s5 | text | "type=activation&code=" | ascii |
| $s6 | text | "activation.php?code=" | ascii |
| $s7 | text | "&hwid=" | ascii |
| $s8 | text | "&hash=" | ascii |
| $s9 | text | "type=deactivation&hash=" | ascii |
| $s10 | text | "deactivation.php?hash=" | ascii |
| $s11 | text | "BANNED" | fullword ascii |
| $s12 | text | "GetAdaptersInfo" | ascii |
Condition
uint16( 0 ) == 0x5a4d and 11 of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- At least 11 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: ditekShen
Source repository: ditekSHen detection @ e76c93dcde
Licence: BSD 2-Clause License (repository licence)
Copyright notice: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: 2969090f-dff9-5745-b87d-a031741dd2e0
Tags:FILE
Related rules
- MalwareditekSHen detection· ditekSHen· 2034-02-17
- MalwareditekSHen detection· ditekShen· 2020-11-06
- MalwareditekSHen detection· ditekShen· 2020-11-06
- MalwareditekSHen detection· ditekShen· 2020-11-06
- MalwareditekSHen detection· ditekShen· 2020-11-06
- MalwareditekSHen detection· ditekShen· 2020-11-06
- MalwareditekSHen detection· ditekShen· 2020-11-06
- MalwareditekSHen detection· ditekShen· 2020-11-06