YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Snatch
Detects Snatch / GoRansome / MauriGo ransomware
- Author
- ditekSHen
- Date
- 2020-11-06
- Modified
- 2024-11-01
- Score / Quality
- 75 / 73
What this rule detects
Detects Snatch / GoRansome / MauriGo ransomware
Associated malware family: Snatch.
Targets: Windows PE.
It defines 22 patterns (22 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
malware-win-snatch.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Snatch : FILE
{
meta:
= "Detects Snatch / GoRansome / MauriGo ransomware"
= "ditekSHen"
= "00dce673-b909-571f-8117-c5d4ce73fb31"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L5062-L5091"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "bf8c33a7203458c80a43944c3117bb897b1702f0024271904d9be682cbd695fc"
= 75
= 73
= "FILE"
strings:
$s1 = "main.encryptFile" ascii
$s2 = "main.encryptFileExt" ascii
$s3 = "main.deleteShadowCopy" ascii
$s4 = "main.Shadow" fullword ascii
$s5 = "main.RecoverMe" fullword ascii
$s6 = "main.EncryptWithPublicKey" ascii
$s7 = "main.EncoderLookupDir" fullword ascii
$s8 = "main.ALIGNUP" fullword ascii
$s9 = "main.encrypt" fullword ascii
$s10 = "github.com/mauri870/ransomware" ascii
$m1 = "Dear You, ALl Your files On YOUR network computers are encrypted" ascii
$m2 = "You have to pay the ransom of %s USD in bitcoins to the address" ascii
$m3 = "REMEMBER YOU FILES ARE IN SAVE HANDS AND WILL BE RESTORED OR RECOVERED ONCE PAYMENT IS DONE" ascii
$m4 = ":HELP FEEED A CHILD:" ascii
$m5 = ">SYSTEM NETWORK ENCRYPTED<" ascii
$m6 = "YOUR IDENTIFICATION : %s" ascii
$m7 = "convince you of our honesty" ascii
$m8 = "use TOR browser to talk with support" ascii
$m9 = "encrypted and attackers are taking" ascii
$p1 = "/Go/src/kitty/kidrives/" ascii
$p2 = "/LGoGo/encoder.go" ascii nocase
$p3 = "/Go/src/kitty/kidata/" ascii
condition:
uint16( 0 ) == 0x5a4d and ( 3 of ( $s* ) or 2 of ( $m* ) or ( 1 of ( $m* ) and 1 of ( $s* ) ) or ( all of ( $p* ) and ( 1 of ( $s* ) or 1 of ( $m* ) ) ) )
}
Strings (22 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "main.encryptFile" | ascii |
| $s2 | text | "main.encryptFileExt" | ascii |
| $s3 | text | "main.deleteShadowCopy" | ascii |
| $s4 | text | "main.Shadow" | fullword ascii |
| $s5 | text | "main.RecoverMe" | fullword ascii |
| $s6 | text | "main.EncryptWithPublicKey" | ascii |
| $s7 | text | "main.EncoderLookupDir" | fullword ascii |
| $s8 | text | "main.ALIGNUP" | fullword ascii |
| $s9 | text | "main.encrypt" | fullword ascii |
| $s10 | text | "github.com/mauri870/ransomware" | ascii |
| $m1 | text | "Dear You, ALl Your files On YOUR network computers are encrypted" | ascii |
| $m2 | text | "You have to pay the ransom of %s USD in bitcoins to the address" | ascii |
| $m3 | text | "REMEMBER YOU FILES ARE IN SAVE HANDS AND WILL BE RESTORED OR RECOVERED ONCE PAYMENT IS DONE" | ascii |
| $m4 | text | ":HELP FEEED A CHILD:" | ascii |
| $m5 | text | ">SYSTEM NETWORK ENCRYPTED<" | ascii |
| $m6 | text | "YOUR IDENTIFICATION : %s" | ascii |
| $m7 | text | "convince you of our honesty" | ascii |
| $m8 | text | "use TOR browser to talk with support" | ascii |
| $m9 | text | "encrypted and attackers are taking" | ascii |
| $p1 | text | "/Go/src/kitty/kidrives/" | ascii |
| $p2 | text | "/LGoGo/encoder.go" | ascii nocase |
| $p3 | text | "/Go/src/kitty/kidata/" | ascii |
Condition
uint16( 0 ) == 0x5a4d and ( 3 of ( $s* ) or 2 of ( $m* ) or ( 1 of ( $m* ) and 1 of ( $s* ) ) or ( all of ( $p* ) and ( 1 of ( $s* ) or 1 of ( $m* ) ) ) )In plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- All patterns in ( $p* ) must match.
- At least 3 patterns in ( $s* ) must match.
- At least 2 patterns in ( $m* ) must match.
- At least 1 patterns in ( $m* ) 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: 00dce673-b909-571f-8117-c5d4ce73fb31
Tags:FILE
Related rules
- Suspicious / huntingditekSHen detection· ditekSHen· 2021-01-21
- 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