YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Greetingghoul
Detects GreetingGhoul Cryptocurrency Infostealer
- Author
- ditekSHen
- Date
- 2020-11-06
- Modified
- 2024-11-01
- Score / Quality
- 75 / 75
What this rule detects
Detects GreetingGhoul Cryptocurrency Infostealer
Associated malware family: Greetingghoul.
Targets: Windows PE.
It defines 10 patterns (10 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule DITEKSHEN_MALWARE_Win_Greetingghoul : FILE
{
meta:
= "Detects GreetingGhoul Cryptocurrency Infostealer"
= "ditekSHen"
= "42791b26-1cda-5bf3-b955-9de2dda1d63b"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L9662-L9679"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "5a2635066df031ba6e291c3ba14f9ed85bf3247c82c66eb1b3d3618fdebb47a6"
= 75
= 75
= "FILE"
strings:
$s1 = "peer_list" fullword ascii
$s2 = "seed_hash" fullword ascii
$s3 = "pool_id" fullword ascii
$s4 = "%smutex=%s:%lu" ascii
$s5 = "miner.cfg" fullword ascii
$s6 = "{\"method\": \"%s\"%s}" ascii
$s7 = "/app/manager/%s" ascii
$s8 = "X-VNC-STATUS" fullword ascii
$s9 = "%s\\%lu.zip" fullword ascii
$s10 = "\\??\\%programdata%\\" wide
condition:
uint16( 0 ) == 0x5a4d and 6 of them
}
Strings (10 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "peer_list" | fullword ascii |
| $s2 | text | "seed_hash" | fullword ascii |
| $s3 | text | "pool_id" | fullword ascii |
| $s4 | text | "%smutex=%s:%lu" | ascii |
| $s5 | text | "miner.cfg" | fullword ascii |
| $s6 | text | "{\"method\": \"%s\"%s}" | ascii |
| $s7 | text | "/app/manager/%s" | ascii |
| $s8 | text | "X-VNC-STATUS" | fullword ascii |
| $s9 | text | "%s\\%lu.zip" | fullword ascii |
| $s10 | text | "\\??\\%programdata%\\" | wide |
Condition
uint16( 0 ) == 0x5a4d and 6 of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- At least 6 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: 42791b26-1cda-5bf3-b955-9de2dda1d63b
Tags:FILE
Related rules
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- 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