YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_UNK_Infostealer
Detects unknown information stealer
- Author
- ditekSHen
- Date
- 2020-11-06
- Modified
- 2024-11-01
- Score / Quality
- 75 / 75
What this rule detects
Detects unknown information stealer
Associated malware family: UNK.
Targets: Windows PE.
It defines 13 patterns (13 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule DITEKSHEN_MALWARE_Win_UNK_Infostealer : FILE
{
meta:
= "Detects unknown information stealer"
= "ditekSHen"
= "f6f9816f-79bd-527c-9c0f-24e09c95ae35"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L8221-L8246"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "b7a2cb34d3bc42d6d4c9d9af7dd406e2a5caef8ea46e5d09773feeb9920a6b21"
= "dd95377842932d77e225b126749e1e6e8ecd6f5c6540d084a551a80a54d02d7d"
= "12f790d9a0775b5e62effc6ea9e55bbef345fffbfb2f671f85098c4f7661dd0f"
= "0a4cea763dffde451c75a434143fc5d014c32c6d1f8f34920ea5f2854e62118f"
= "ca57ebf4b56020d278ec8a7e721c72de7a1f925a8e7f1f3a9edc8a70b88ff9d1"
= 75
= 75
= "FILE"
= "920263"
strings:
$s1 = "%s\\%s\\%s-Qt" fullword wide
$s2 = "%s\\%s.json" fullword wide
$s3 = "*.mmd*" fullword wide
$s4 = "%s\\%s.vdf" fullword wide
$s5 = "%-50s %s" fullword wide
$s6 = "dISCORD|lOCAL" fullword ascii nocase
$s7 = "sTORAGE|LEVELDB" fullword ascii nocase
$s8 = ".coin" fullword ascii
$s9 = ".emc" fullword ascii
$s10 = ".lib" fullword ascii
$s11 = ".bazar" fullword ascii
$s12 = "id=%d" fullword ascii
$s13 = "2:?/v /v /v /^Y" fullword ascii
condition:
uint16( 0 ) == 0x5a4d and 8 of them
}
Strings (13 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "%s\\%s\\%s-Qt" | fullword wide |
| $s2 | text | "%s\\%s.json" | fullword wide |
| $s3 | text | "*.mmd*" | fullword wide |
| $s4 | text | "%s\\%s.vdf" | fullword wide |
| $s5 | text | "%-50s %s" | fullword wide |
| $s6 | text | "dISCORD|lOCAL" | fullword ascii nocase |
| $s7 | text | "sTORAGE|LEVELDB" | fullword ascii nocase |
| $s8 | text | ".coin" | fullword ascii |
| $s9 | text | ".emc" | fullword ascii |
| $s10 | text | ".lib" | fullword ascii |
| $s11 | text | ".bazar" | fullword ascii |
| $s12 | text | "id=%d" | fullword ascii |
| $s13 | text | "2:?/v /v /v /^Y" | fullword ascii |
Condition
uint16( 0 ) == 0x5a4d and 8 of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- At least 8 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
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- b7a2cb34d3bc42d6d4c9d9af7dd406e2a5caef8ea46e5d09773feeb9920a6b21
- dd95377842932d77e225b126749e1e6e8ecd6f5c6540d084a551a80a54d02d7d
- 12f790d9a0775b5e62effc6ea9e55bbef345fffbfb2f671f85098c4f7661dd0f
- 0a4cea763dffde451c75a434143fc5d014c32c6d1f8f34920ea5f2854e62118f
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: f6f9816f-79bd-527c-9c0f-24e09c95ae35
Metadata
| snort_sid | 920263 |
|---|
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