YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Matiex
Matiex/XetimaLogger keylogger payload
- Author
- ditekSHen
- Date
- 2020-11-06
- Modified
- 2024-11-01
- Score / Quality
- 75 / 73
What this rule detects
Matiex/XetimaLogger keylogger payload
Associated malware family: Matiex.
Targets: Windows PE.
It defines 10 patterns (10 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
malware-win-matiex.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Matiex : FILE
{
meta:
= "Matiex/XetimaLogger keylogger payload"
= "ditekSHen"
= "61803e0c-8f6a-5ded-855a-ff26eed1384f"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L1768-L1788"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "62b45c43d99bef93a6c0e72200b869fdce331f8fa325640df7d8b72af56a3ef2"
= 75
= 73
= "FILE"
= "MALWARE.Win.Trojan.MatiexKeylogger"
strings:
$id = "--M-A-T-I-E-X--K-E-Y-L-O-G-E-R--" ascii wide
$s1 = "StartKeylogger" fullword ascii
$s2 = "_KeyboardLoggerTimer" ascii
$s3 = "_ScreenshotLoggerTimer" ascii
$s4 = "_VoiceRecordLogger" ascii
$s5 = "_ClipboardLoggerTimer" ascii
$s6 = "get_logins" fullword ascii
$s7 = "get_processhackerFucked" fullword ascii
$s8 = "_ThePSWDSenders" fullword ascii
$pdb = "\\Before FprmT\\Document VB project\\FireFox Stub\\FireFox Stub\\obj\\Debug\\VNXT.pdb" ascii
condition:
uint16( 0 ) == 0x5a4d and ( $id or 4 of ( $s* ) or ( $pdb and 2 of them ) )
}
Strings (10 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $id | text | "--M-A-T-I-E-X--K-E-Y-L-O-G-E-R--" | ascii wide |
| $s1 | text | "StartKeylogger" | fullword ascii |
| $s2 | text | "_KeyboardLoggerTimer" | ascii |
| $s3 | text | "_ScreenshotLoggerTimer" | ascii |
| $s4 | text | "_VoiceRecordLogger" | ascii |
| $s5 | text | "_ClipboardLoggerTimer" | ascii |
| $s6 | text | "get_logins" | fullword ascii |
| $s7 | text | "get_processhackerFucked" | fullword ascii |
| $s8 | text | "_ThePSWDSenders" | fullword ascii |
| $pdb | text | "\\Before FprmT\\Document VB project\\FireFox Stub\\FireFox Stub\\obj\\Debug\\VNXT.pdb" | ascii |
Condition
uint16( 0 ) == 0x5a4d and ( $id or 4 of ( $s* ) or ( $pdb and 2 of them ) )In plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- At least 4 patterns in ( $s* ) must match.
- At least 2 patterns in the rule must match.
- Pattern $id must be present.
- 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: 61803e0c-8f6a-5ded-855a-ff26eed1384f
Metadata
| clamav_sig | MALWARE.Win.Trojan.MatiexKeylogger |
|---|
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