YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Snatch
Detects Snatch / GoRansome / MauriGo ransomware
- Autor
- ditekSHen
- Fecha
- 2020-11-06
- Modificada
- 2024-11-01
- Puntuación / Calidad
- 75 / 73
Qué detecta esta regla
Detects Snatch / GoRansome / MauriGo ransomware
Familia de malware asociada: Snatch.
Objetivos: PE de Windows.
Define 22 patrones (22 de texto, 0 hex, 0 regex).
Resumen generado a partir de los metadatos y la condición de la regla.
Código de la regla
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* ) ) ) )
}
Cadenas (22 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $s1 | texto | "main.encryptFile" | ascii |
| $s2 | texto | "main.encryptFileExt" | ascii |
| $s3 | texto | "main.deleteShadowCopy" | ascii |
| $s4 | texto | "main.Shadow" | fullword ascii |
| $s5 | texto | "main.RecoverMe" | fullword ascii |
| $s6 | texto | "main.EncryptWithPublicKey" | ascii |
| $s7 | texto | "main.EncoderLookupDir" | fullword ascii |
| $s8 | texto | "main.ALIGNUP" | fullword ascii |
| $s9 | texto | "main.encrypt" | fullword ascii |
| $s10 | texto | "github.com/mauri870/ransomware" | ascii |
| $m1 | texto | "Dear You, ALl Your files On YOUR network computers are encrypted" | ascii |
| $m2 | texto | "You have to pay the ransom of %s USD in bitcoins to the address" | ascii |
| $m3 | texto | "REMEMBER YOU FILES ARE IN SAVE HANDS AND WILL BE RESTORED OR RECOVERED ONCE PAYMENT IS DONE" | ascii |
| $m4 | texto | ":HELP FEEED A CHILD:" | ascii |
| $m5 | texto | ">SYSTEM NETWORK ENCRYPTED<" | ascii |
| $m6 | texto | "YOUR IDENTIFICATION : %s" | ascii |
| $m7 | texto | "convince you of our honesty" | ascii |
| $m8 | texto | "use TOR browser to talk with support" | ascii |
| $m9 | texto | "encrypted and attackers are taking" | ascii |
| $p1 | texto | "/Go/src/kitty/kidrives/" | ascii |
| $p2 | texto | "/LGoGo/encoder.go" | ascii nocase |
| $p3 | texto | "/Go/src/kitty/kidata/" | ascii |
Condición
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 palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- Deben coincidir todos los patrones de ( $p* ).
- Deben coincidir al menos 3 patrones de ( $s* ).
- Deben coincidir al menos 2 patrones de ( $m* ).
- Deben coincidir al menos 1 patrones de ( $m* ).
- Deben coincidir al menos 1 patrones de ( $s* ).
Prueba esta regla en tu navegador
Arrastra un archivo para escanearlo con esta regla usando YARA-X compilado a WebAssembly. No se sube nada.
Referencias
Licencia y atribución
Autor: ditekSHen
Repositorio de origen: ditekSHen detection @ e76c93dcde
Licencia: BSD 2-Clause License (licencia del repositorio)
Aviso de copyright: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).
Obtenida a través de YARA Forge 20260927, que añade a los nombres el prefijo de la fuente y campos meta normalizados.
Id de la regla: 00dce673-b909-571f-8117-c5d4ce73fb31
Etiquetas:FILE
Reglas relacionadas
- Sospechoso / 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