YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Ziggy
Detects Ziggy ransomware
- Author
- ditekSHen
- Date
- 2020-11-06
- Modified
- 2024-11-01
- Score / Quality
- 75 / 75
What this rule detects
Detects Ziggy ransomware
Associated malware family: Ziggy.
Targets: Windows PE.
It defines 14 patterns (14 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
malware-win-ziggy.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Ziggy : FILE
{
meta:
= "Detects Ziggy ransomware"
= "ditekSHen"
= "6d2d316a-cf19-5001-bf94-842346229d76"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L3397-L3421"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "103a50511971161ca673e0c8378aeca2fa7d0f6309966bbb2b70e0d039e0f196"
= 75
= 75
= "FILE"
= "920098"
= "920096"
= "MALWARE.Win.Ransomware.Ziggy"
strings:
$id1 = "/Ziggy Info;component/mainwindow.xaml" fullword wide
$id2 = "AZiggy Info, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" fullword ascii
$id3 = "Ziggy Ransomware" fullword wide
$id4 = "clr-namespace:Zeggy" fullword ascii
$s1 = "GetCooldown" fullword ascii
$s2 = "checkCommandMappings" fullword ascii
$s3 = "add_OnExecuteCommand" fullword ascii
$s4 = "MindLated.jpg" fullword wide
$s5 = "http://fixfiles.xyz/ziggy/api/info.php?id=" fullword wide
$s6 = "Reamaining time:" fullword wide
$msg1 = "<:In case of no answer in 12 hours write us to this e-mail" ascii
$msg2 = "Free decryption as guarantee" fullword ascii
$msg3 = "# Do not try to decrypt your data using third party software, it may cause permanent data loss" ascii
$msg4 = "# Decryption of your files with the help of third parties may cause increased price (they add their fee to our) or you can becom" ascii
condition:
uint16( 0 ) == 0x5a4d and ( 3 of ( $id* ) or 4 of ( $s* ) or 3 of ( $msg* ) )
}
Strings (14 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $id1 | text | "/Ziggy Info;component/mainwindow.xaml" | fullword wide |
| $id2 | text | "AZiggy Info, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" | fullword ascii |
| $id3 | text | "Ziggy Ransomware" | fullword wide |
| $id4 | text | "clr-namespace:Zeggy" | fullword ascii |
| $s1 | text | "GetCooldown" | fullword ascii |
| $s2 | text | "checkCommandMappings" | fullword ascii |
| $s3 | text | "add_OnExecuteCommand" | fullword ascii |
| $s4 | text | "MindLated.jpg" | fullword wide |
| $s5 | text | "http://fixfiles.xyz/ziggy/api/info.php?id=" | fullword wide |
| $s6 | text | "Reamaining time:" | fullword wide |
| $msg1 | text | "<:In case of no answer in 12 hours write us to this e-mail" | ascii |
| $msg2 | text | "Free decryption as guarantee" | fullword ascii |
| $msg3 | text | "# Do not try to decrypt your data using third party software, it may cause permanent data loss" | ascii |
| $msg4 | text | "# Decryption of your files with the help of third parties may cause increased price (they add their fee to our) or you can becom" | ascii |
Condition
uint16( 0 ) == 0x5a4d and ( 3 of ( $id* ) or 4 of ( $s* ) or 3 of ( $msg* ) )In plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- At least 3 patterns in ( $id* ) must match.
- At least 4 patterns in ( $s* ) must match.
- At least 3 patterns in ( $msg* ) 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: 6d2d316a-cf19-5001-bf94-842346229d76
Metadata
| snort2_sid | 920098 |
|---|---|
| snort3_sid | 920096 |
| clamav_sig | MALWARE.Win.Ransomware.Ziggy |
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