YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Toxiceye
Detects ToxicEye / TelegramRAT. Observed used as the basis for many infostealers
- Author
- ditekSHen
- Date
- 2020-11-06
- Modified
- 2024-11-01
- Score / Quality
- 75 / 75
What this rule detects
Detects ToxicEye / TelegramRAT. Observed used as the basis for many infostealers
Associated malware family: Toxiceye.
Targets: Windows PE.
It defines 11 patterns (10 text, 0 hex, 1 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule DITEKSHEN_MALWARE_Win_Toxiceye : FILE
{
meta:
= "Detects ToxicEye / TelegramRAT. Observed used as the basis for many infostealers"
= "ditekSHen"
= "99304f11-2444-5864-b174-514bb5bef0f7"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L10955-L10973"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "ee01c107dd295b923801c0d1a77b1534d3a5f2abf8d2cfa93c6786a1b0553504"
= 75
= 75
= "FILE"
strings:
$s1 = "[~] Handling command" wide
$s2 = "[?] Sleeping {0}" wide
$s3 = "GETPASSWORDS" wide
$s4 = "FORKBOMB" wide
$s5 = "SENDKEYPRESS" wide
$s6 = "KEYLOGGER" wide
$s7 = "/ToxicEye/master/TelegramRAT/" wide
$s8 = "desktopScreenshot" ascii
$s9 = "MeltFile" ascii
$s10 = "AutoStealer" ascii
$s11 = /\/LimerBoy\/(ToxicEye|Adamantium-Thief|hackpy)/ wide
condition:
uint16( 0 ) == 0x5a4d and 7 of them
}
Strings (11 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "[~] Handling command" | wide |
| $s2 | text | "[?] Sleeping {0}" | wide |
| $s3 | text | "GETPASSWORDS" | wide |
| $s4 | text | "FORKBOMB" | wide |
| $s5 | text | "SENDKEYPRESS" | wide |
| $s6 | text | "KEYLOGGER" | wide |
| $s7 | text | "/ToxicEye/master/TelegramRAT/" | wide |
| $s8 | text | "desktopScreenshot" | ascii |
| $s9 | text | "MeltFile" | ascii |
| $s10 | text | "AutoStealer" | ascii |
| $s11 | regex | /\/LimerBoy\/(ToxicEye|Adamantium-Thief|hackpy)/ | wide |
Condition
uint16( 0 ) == 0x5a4d and 7 of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- At least 7 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: 99304f11-2444-5864-b174-514bb5bef0f7
Tags:FILE
Related rules
- Hack toolSignature Base (Florian Roth / Nextron)· Arnim Rupp (https://github.com/ruppde)· 2020-12-13
- 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