YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Zeppelin
Detects Zeppelin (Delphi) ransomware
- Author
- ditekSHen
- Date
- 2020-11-06
- Modified
- 2024-11-01
- Score / Quality
- 75 / 75
What this rule detects
Detects Zeppelin (Delphi) ransomware
Associated malware family: Zeppelin.
Targets: Windows PE.
It defines 8 patterns (8 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
malware-win-zeppelin.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Zeppelin : FILE
{
meta:
= "Detects Zeppelin (Delphi) ransomware"
= "ditekSHen"
= "368d0c31-745d-50ad-a265-50561fdc822a"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L7530-L7545"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "f6c8420756b562662985dd26eaad58500a24cae786a47b788c953e86276116a1"
= 75
= 75
= "FILE"
strings:
$s1 = "TUnlockAndEncrypt" ascii
$s2 = "TExcludeFiles" ascii
$s3 = "TExcludeFolders" ascii
$s4 = "TDrivesAndShares" ascii
$s5 = "TTaskKiller" ascii
$x1 = "!!! D !!!" ascii
$x2 = "!!! LOCALPUBKEY !!!" ascii
$x3 = "!!! ENCLOCALPRIVKEY !!!" ascii
condition:
uint16( 0 ) == 0x5a4d and ( all of ( $s* ) or all of ( $x* ) or ( 2 of ( $x* ) and 2 of ( $s* ) ) )
}
Strings (8 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "TUnlockAndEncrypt" | ascii |
| $s2 | text | "TExcludeFiles" | ascii |
| $s3 | text | "TExcludeFolders" | ascii |
| $s4 | text | "TDrivesAndShares" | ascii |
| $s5 | text | "TTaskKiller" | ascii |
| $x1 | text | "!!! D !!!" | ascii |
| $x2 | text | "!!! LOCALPUBKEY !!!" | ascii |
| $x3 | text | "!!! ENCLOCALPRIVKEY !!!" | ascii |
Condition
uint16( 0 ) == 0x5a4d and ( all of ( $s* ) or all of ( $x* ) or ( 2 of ( $x* ) and 2 of ( $s* ) ) )In plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- All patterns in ( $s* ) must match.
- All patterns in ( $x* ) must match.
- At least 2 patterns in ( $x* ) 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: 368d0c31-745d-50ad-a265-50561fdc822a
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