YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Snatch
Detects Snatch / GoRansome / MauriGo ransomware
- Auteur
- ditekSHen
- Date
- 2020-11-06
- Modifiée
- 2024-11-01
- Score / Qualité
- 75 / 73
Ce que détecte cette règle
Detects Snatch / GoRansome / MauriGo ransomware
Famille de malware associée : Snatch.
Cibles : PE Windows.
Elle définit 22 motifs (22 texte, 0 hex, 0 regex).
Résumé généré à partir des métadonnées et de la condition de la règle.
Source de la règle
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* ) ) ) )
}
Chaînes (22 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $s1 | texte | "main.encryptFile" | ascii |
| $s2 | texte | "main.encryptFileExt" | ascii |
| $s3 | texte | "main.deleteShadowCopy" | ascii |
| $s4 | texte | "main.Shadow" | fullword ascii |
| $s5 | texte | "main.RecoverMe" | fullword ascii |
| $s6 | texte | "main.EncryptWithPublicKey" | ascii |
| $s7 | texte | "main.EncoderLookupDir" | fullword ascii |
| $s8 | texte | "main.ALIGNUP" | fullword ascii |
| $s9 | texte | "main.encrypt" | fullword ascii |
| $s10 | texte | "github.com/mauri870/ransomware" | ascii |
| $m1 | texte | "Dear You, ALl Your files On YOUR network computers are encrypted" | ascii |
| $m2 | texte | "You have to pay the ransom of %s USD in bitcoins to the address" | ascii |
| $m3 | texte | "REMEMBER YOU FILES ARE IN SAVE HANDS AND WILL BE RESTORED OR RECOVERED ONCE PAYMENT IS DONE" | ascii |
| $m4 | texte | ":HELP FEEED A CHILD:" | ascii |
| $m5 | texte | ">SYSTEM NETWORK ENCRYPTED<" | ascii |
| $m6 | texte | "YOUR IDENTIFICATION : %s" | ascii |
| $m7 | texte | "convince you of our honesty" | ascii |
| $m8 | texte | "use TOR browser to talk with support" | ascii |
| $m9 | texte | "encrypted and attackers are taking" | ascii |
| $p1 | texte | "/Go/src/kitty/kidrives/" | ascii |
| $p2 | texte | "/LGoGo/encoder.go" | ascii nocase |
| $p3 | texte | "/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* ) ) ) )En clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Tous les motifs de ( $p* ) doivent être trouvés.
- Au moins 3 motifs de ( $s* ) doivent être trouvés.
- Au moins 2 motifs de ( $m* ) doivent être trouvés.
- Au moins 1 motifs de ( $m* ) doivent être trouvés.
- Au moins 1 motifs de ( $s* ) doivent être trouvés.
Tester cette règle dans votre navigateur
Déposez un fichier pour le scanner avec cette règle grâce à YARA-X compilé en WebAssembly. Rien n’est envoyé.
Références
Licence et attribution
Auteur : ditekSHen
Dépôt source : ditekSHen detection @ e76c93dcde
Licence : BSD 2-Clause License (licence du dépôt)
Mention de copyright : Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).
Reprise via YARA Forge 20260927, qui préfixe les noms de règles par la source et ajoute des champs meta normalisés.
Identifiant de règle: 00dce673-b909-571f-8117-c5d4ce73fb31
Tags:FILE
Règles liées
- Suspect / chasseditekSHen 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