YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Decryptmyfiles
Detects DecryptMyFiles ransomware
- Author
- ditekSHen
- Date
- 2020-11-06
- Modified
- 2024-11-01
- Score / Quality
- 75 / 73
What this rule detects
Detects DecryptMyFiles ransomware
Associated malware family: Decryptmyfiles.
Targets: Windows PE.
It defines 9 patterns (9 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
malware-win-decryptmyfiles.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Decryptmyfiles : FILE
{
meta:
= "Detects DecryptMyFiles ransomware"
= "ditekSHen"
= "dab518f2-3fac-5492-88fb-35cd0000ec47"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L5948-L5964"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "5b7f74569700e2ad3f31388571dad5ffda45f5ab3dd36806f7514aff0367d5ba"
= 75
= 73
= "FILE"
strings:
$s1 = "FILES ENCRYPTED" wide
$s2 = "pexplorer.exe" fullword wide
$s3 = "uniquesession" fullword ascii
$s4 = ".[decryptmyfiles.top]." fullword ascii
$s5 = "decrypt 1 file" ascii
$s6 = "(databases,backups, large excel" ascii
$c1 = "api/connect.php" ascii
$c2 = "decryptmyfiles.top" ascii
$c3 = "/contact/" ascii
condition:
uint16( 0 ) == 0x5a4d and ( 4 of ( $s* ) or all of ( $c* ) or ( 2 of ( $c* ) and 2 of ( $s* ) ) )
}
Strings (9 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "FILES ENCRYPTED" | wide |
| $s2 | text | "pexplorer.exe" | fullword wide |
| $s3 | text | "uniquesession" | fullword ascii |
| $s4 | text | ".[decryptmyfiles.top]." | fullword ascii |
| $s5 | text | "decrypt 1 file" | ascii |
| $s6 | text | "(databases,backups, large excel" | ascii |
| $c1 | text | "api/connect.php" | ascii |
| $c2 | text | "decryptmyfiles.top" | ascii |
| $c3 | text | "/contact/" | ascii |
Condition
uint16( 0 ) == 0x5a4d and ( 4 of ( $s* ) or all of ( $c* ) or ( 2 of ( $c* ) and 2 of ( $s* ) ) )In plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- All patterns in ( $c* ) must match.
- At least 4 patterns in ( $s* ) must match.
- At least 2 patterns in ( $c* ) must match.
- At least 2 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: dab518f2-3fac-5492-88fb-35cd0000ec47
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