Saltar al contenido

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Snatch

Detects Snatch / GoRansome / MauriGo ransomware

MalwareSnatchditekSHen detectionBSD 2-Clause LicenseCompila con YARA-X
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

malware-win-snatch.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Snatch : FILE
{
	meta:
		description = "Detects Snatch / GoRansome / MauriGo ransomware"
		author = "ditekSHen"
		id = "00dce673-b909-571f-8117-c5d4ce73fb31"
		date = "2020-11-06"
		modified = "2024-11-01"
		reference = "https://github.com/ditekshen/detection"
		source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L5062-L5091"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "bf8c33a7203458c80a43944c3117bb897b1702f0024271904d9be682cbd695fc"
		score = 75
		quality = 73
		tags = "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)

IdentificadorTipoValorModificadores
$s1texto"main.encryptFile"ascii
$s2texto"main.encryptFileExt"ascii
$s3texto"main.deleteShadowCopy"ascii
$s4texto"main.Shadow"fullword ascii
$s5texto"main.RecoverMe"fullword ascii
$s6texto"main.EncryptWithPublicKey"ascii
$s7texto"main.EncoderLookupDir"fullword ascii
$s8texto"main.ALIGNUP"fullword ascii
$s9texto"main.encrypt"fullword ascii
$s10texto"github.com/mauri870/ransomware"ascii
$m1texto"Dear You, ALl Your files On YOUR network computers are encrypted"ascii
$m2texto"You have to pay the ransom of %s USD in bitcoins to the address"ascii
$m3texto"REMEMBER YOU FILES ARE IN SAVE HANDS AND WILL BE RESTORED OR RECOVERED ONCE PAYMENT IS DONE"ascii
$m4texto":HELP FEEED A CHILD:"ascii
$m5texto">SYSTEM NETWORK ENCRYPTED<"ascii
$m6texto"YOUR IDENTIFICATION : %s"ascii
$m7texto"convince you of our honesty"ascii
$m8texto"use TOR browser to talk with support"ascii
$m9texto"encrypted and attackers are taking"ascii
$p1texto"/Go/src/kitty/kidrives/"ascii
$p2texto"/LGoGo/encoder.go"ascii nocase
$p3texto"/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.

Arrastra un archivo aquí o haz clic para elegirSe escanea en local con YARA-X. Archivos de hasta 200 MB.

Abrir en el editor

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).

Regla original

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