Saltar al contenido

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_STOP

Detects STOP ransomware

MalwareStopditekSHen 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 STOP ransomware

Familia de malware asociada: Stop.

Objetivos: PE de Windows.

Define 13 patrones (12 de texto, 0 hex, 1 regex).

Resumen generado a partir de los metadatos y la condición de la regla.

Código de la regla

malware-win-stop.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_STOP : FILE
{
	meta:
		description = "Detects STOP ransomware"
		author = "ditekSHen"
		id = "e928d917-a9d9-5830-938a-59b62608e84c"
		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#L3286-L3309"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "61f7e7c1139c56088b2f58b78ae132ffcfef0f931c15b67ea775b0d5e51d189d"
		score = 75
		quality = 73
		tags = "FILE"
		snort2_sid = "920113"
		snort3_sid = "920111"
		clamav_sig = "MALWARE.Win.Ransomware.STOP"

	strings:
		$x1 = "C:\\SystemID\\PersonalID.txt" fullword wide
		$x2 = "/deny *S-1-1-0:(OI)(CI)(DE,DC)" wide
		$x3 = "e:\\doc\\my work (c++)\\_git\\encryption\\" ascii wide nocase
		$s1 = "\" --AutoStart" fullword ascii wide
		$s2 = "--ForNetRes" fullword wide
		$s3 = "--Admin" fullword wide
		$s4 = "%username%" fullword wide
		$s5 = "?pid=" fullword wide
		$s6 = /&first=(true|false)/ fullword wide
		$s7 = "delself.bat" ascii
		$mutex1 = "{1D6FC66E-D1F3-422C-8A53-C0BBCF3D900D}" fullword ascii
		$mutex2 = "{FBB4BCC6-05C7-4ADD-B67B-A98A697323C1}" fullword ascii
		$mutex3 = "{36A698B9-D67C-4E07-BE82-0EC5B14B4DF5}" fullword ascii

	condition:
		uint16( 0 ) == 0x5a4d and ( ( 2 of ( $x* ) and 1 of ( $mutex* ) ) or ( all of ( $x* ) ) or ( 6 of ( $s* ) and ( 1 of ( $x* ) or 1 of ( $mutex* ) ) ) or ( 9 of them ) )
}

Cadenas (13 patrones)

IdentificadorTipoValorModificadores
$x1texto"C:\\SystemID\\PersonalID.txt"fullword wide
$x2texto"/deny *S-1-1-0:(OI)(CI)(DE,DC)"wide
$x3texto"e:\\doc\\my work (c++)\\_git\\encryption\\"ascii wide nocase
$s1texto"\" --AutoStart"fullword ascii wide
$s2texto"--ForNetRes"fullword wide
$s3texto"--Admin"fullword wide
$s4texto"%username%"fullword wide
$s5texto"?pid="fullword wide
$s6regex/&first=(true|false)/fullword wide
$s7texto"delself.bat"ascii
$mutex1texto"{1D6FC66E-D1F3-422C-8A53-C0BBCF3D900D}"fullword ascii
$mutex2texto"{FBB4BCC6-05C7-4ADD-B67B-A98A697323C1}"fullword ascii
$mutex3texto"{36A698B9-D67C-4E07-BE82-0EC5B14B4DF5}"fullword ascii

Condición

uint16( 0 ) == 0x5a4d and ( ( 2 of ( $x* ) and 1 of ( $mutex* ) ) or ( all of ( $x* ) ) or ( 6 of ( $s* ) and ( 1 of ( $x* ) or 1 of ( $mutex* ) ) ) or ( 9 of them ) )

En palabras sencillas (Heurística)

  • El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
  • Deben coincidir todos los patrones de ( $x* ).
  • Deben coincidir al menos 2 patrones de ( $x* ).
  • Deben coincidir al menos 1 patrones de ( $mutex* ).
  • Deben coincidir al menos 6 patrones de ( $s* ).
  • Deben coincidir al menos 1 patrones de ( $x* ).
  • Deben coincidir al menos 9 patrones de la regla.

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: e928d917-a9d9-5830-938a-59b62608e84c

Metadatos

snort2_sid920113
snort3_sid920111
clamav_sigMALWARE.Win.Ransomware.STOP

Etiquetas:FILE