YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Echelon
Echelon information stealer payload
- Author
- ditekSHen
- Date
- 2020-11-06
- Modified
- 2024-11-01
- Score / Quality
- 75 / 75
What this rule detects
Echelon information stealer payload
Associated malware family: Echelon.
Targets: Windows PE.
It defines 14 patterns (14 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
malware-win-echelon.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Echelon : FILE
{
meta:
= "Echelon information stealer payload"
= "ditekSHen"
= "e13d2003-c755-5dd3-bb16-8e41dd19a151"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L936-L957"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "c070bf52cc51dd334ea24614e33eaa2b7b1a17e7790e586cbbb8c7e33ba1bd76"
= 75
= 75
= "FILE"
strings:
$s1 = "<GetStealer>b__" ascii
$s2 = "clearMac" fullword ascii
$s3 = "path2save" fullword ascii
$s4 = "Echelon_Size" fullword ascii
$s5 = "Echelon Stealer by" wide
$s6 = "get__masterPassword" fullword ascii
$s7 = "DomainDetect" fullword ascii
$s8 = "[^\\u0020-\\u007F]" fullword wide
$s9 = "/sendDocument?chat_id=" wide
$s10 = "//setting[@name='Password']/value" wide
$s11 = "Passwords_Mozilla.txt" fullword wide
$s12 = "Passwords_Edge.txt" fullword wide
$s13 = "@madcod" ascii wide
$pdb = "\\Echelon-Stealer-master\\obj\\Release\\Echelon.pdb" ascii
condition:
( uint16( 0 ) == 0x5a4d and ( 8 of ( $s* ) or $pdb ) ) or ( 8 of ( $s* ) or $pdb )
}
Strings (14 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "<GetStealer>b__" | ascii |
| $s2 | text | "clearMac" | fullword ascii |
| $s3 | text | "path2save" | fullword ascii |
| $s4 | text | "Echelon_Size" | fullword ascii |
| $s5 | text | "Echelon Stealer by" | wide |
| $s6 | text | "get__masterPassword" | fullword ascii |
| $s7 | text | "DomainDetect" | fullword ascii |
| $s8 | text | "[^\\u0020-\\u007F]" | fullword wide |
| $s9 | text | "/sendDocument?chat_id=" | wide |
| $s10 | text | "//setting[@name='Password']/value" | wide |
| $s11 | text | "Passwords_Mozilla.txt" | fullword wide |
| $s12 | text | "Passwords_Edge.txt" | fullword wide |
| $s13 | text | "@madcod" | ascii wide |
| $pdb | text | "\\Echelon-Stealer-master\\obj\\Release\\Echelon.pdb" | ascii |
Condition
( uint16( 0 ) == 0x5a4d and ( 8 of ( $s* ) or $pdb ) ) or ( 8 of ( $s* ) or $pdb )In plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- At least 8 patterns in ( $s* ) must match.
- Pattern $pdb 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.
Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.
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: e13d2003-c755-5dd3-bb16-8e41dd19a151
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