Saltar al contenido

YARA · SEKOIA.IO Community

SEKOIA_Ransomware_Win_Shrinklocker

Detects files related to the ShrinkLocker ransomware

MalwareShrinklockerSEKOIA.IO CommunityDetection Rule License 1.1Compila con YARA-X
Autor
Sekoia.io
Fecha
2024-06-07
Modificada
2024-12-19
Puntuación / Calidad
75 / 80

Qué detecta esta regla

Detects files related to the ShrinkLocker ransomware

Familia de malware asociada: Shrinklocker.

Define 11 patrones (11 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

ransomware-win-shrinklocker.yarDetection Rule License 1.1
rule SEKOIA_Ransomware_Win_Shrinklocker
{
	meta:
		description = "Detects files related to the ShrinkLocker ransomware"
		author = "Sekoia.io"
		id = "93a6fbdd-ad62-456a-a1a5-b5ae3b242004"
		date = "2024-06-07"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/ransomware_win_shrinklocker.yar#L1-L25"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "7770b0946b9bb482f23c4ce0d753393e0d42a6fd8b31029847d74356296f0cf1"
		score = 75
		quality = 80
		tags = ""
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$a = "shrinkdisk" ascii fullword
		$b = "BitLocker" ascii fullword
		$c = "diskpart" ascii fullword
		$d = "disk.vbs" ascii fullword
		$e = "strDriveLetter" ascii fullword
		$f = "shrinkcomplate" ascii fullword
		$g = "ADODB.Stream" ascii fullword
		$h = "Win32_OperatingSystem" ascii fullword
		$i = "HKLM\\System\\CurrentControlSet\\Control\\Terminal Server" ascii fullword
		$j = "HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System" ascii fullword
		$k = "HKLM\\SOFTWARE\\Policies\\Microsoft\\FVE" ascii fullword

	condition:
		9 of them
}

Cadenas (11 patrones)

IdentificadorTipoValorModificadores
$atexto"shrinkdisk"ascii fullword
$btexto"BitLocker"ascii fullword
$ctexto"diskpart"ascii fullword
$dtexto"disk.vbs"ascii fullword
$etexto"strDriveLetter"ascii fullword
$ftexto"shrinkcomplate"ascii fullword
$gtexto"ADODB.Stream"ascii fullword
$htexto"Win32_OperatingSystem"ascii fullword
$itexto"HKLM\\System\\CurrentControlSet\\Control\\Terminal Server"ascii fullword
$jtexto"HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System"ascii fullword
$ktexto"HKLM\\SOFTWARE\\Policies\\Microsoft\\FVE"ascii fullword

Condición

9 of them

En palabras sencillas (Heurística)

  • 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: Sekoia.io

Repositorio de origen: SEKOIA.IO Community @ a438a5901a

Licencia: Detection Rule License 1.1 (licencia del repositorio)

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: 93a6fbdd-ad62-456a-a1a5-b5ae3b242004

Metadatos

version1.0
classificationTLP:CLEAR