YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Garrantdecrypt
Detects GarrantDecrypt ransomware
- Author
- ditekSHen
- Date
- 2020-11-06
- Modified
- 2024-11-01
- Score / Quality
- 75 / 75
What this rule detects
Detects GarrantDecrypt ransomware
Associated malware family: Garrantdecrypt.
Targets: Windows PE.
It defines 7 patterns (6 text, 0 hex, 1 regex).
Summary generated from the rule's metadata and condition.
Rule source
malware-win-garrantdecrypt.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Garrantdecrypt : FILE
{
meta:
= "Detects GarrantDecrypt ransomware"
= "ditekSHen"
= "e3be3663-9978-5b8e-b6b2-0f44f269adb2"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L9082-L9096"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "84b139e51f0ef0389c641d62409d702b0ae7ec6ecd2fa54baf2cf0c0078a8f5a"
= 75
= 75
= "FILE"
strings:
$x1 = "%appdata%\\_uninstalling_.png" fullword wide
$x2 = "C:\\Windows\\sysnative\\vssadmin.exe" fullword wide
$x3 = /(ICQ|Skype) (@nuncatarde|@supersuso|@Whitehorsedecryption|@likeahorse|@Konwarszawski|@zipzipulya|Whitehorsedecryption|LIKEAHORSE DECRYPTION|Zip Zipulya)/ ascii
$s1 = "your unique ID" ascii
$s2 = "Google market ICQ" ascii
$s3 = "If you want to restore them, install ICQ" ascii
$s4 = "Write to our ICQ @" ascii
condition:
uint16( 0 ) == 0x5a4d and ( ( 2 of ( $x* ) and 1 of ( $s* ) ) or all of ( $s* ) )
}
Strings (7 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $x1 | text | "%appdata%\\_uninstalling_.png" | fullword wide |
| $x2 | text | "C:\\Windows\\sysnative\\vssadmin.exe" | fullword wide |
| $x3 | regex | /(ICQ|Skype) (@nuncatarde|@supersuso|@Whitehorsedecryption|@likeahorse|@Konwarszawski|@zipzipulya|Whitehorsedecryption|LIKEAHORSE DECRYPTION|Zip Zipulya)/ | ascii |
| $s1 | text | "your unique ID" | ascii |
| $s2 | text | "Google market ICQ" | ascii |
| $s3 | text | "If you want to restore them, install ICQ" | ascii |
| $s4 | text | "Write to our ICQ @" | ascii |
Condition
uint16( 0 ) == 0x5a4d and ( ( 2 of ( $x* ) and 1 of ( $s* ) ) or all of ( $s* ) )In plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- All patterns in ( $s* ) must match.
- At least 2 patterns in ( $x* ) must match.
- At least 1 patterns in ( $s* ) 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.
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: e3be3663-9978-5b8e-b6b2-0f44f269adb2
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