YARA · SEKOIA.IO Community
SEKOIA_Ransomware_Win_Shrinklocker
Detects files related to the ShrinkLocker ransomware
- 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:
= "Detects files related to the ShrinkLocker ransomware"
= "Sekoia.io"
= "93a6fbdd-ad62-456a-a1a5-b5ae3b242004"
= "2024-06-07"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/ransomware_win_shrinklocker.yar#L1-L25"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "7770b0946b9bb482f23c4ce0d753393e0d42a6fd8b31029847d74356296f0cf1"
= 75
= 80
= ""
= "1.0"
= "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)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $a | texto | "shrinkdisk" | ascii fullword |
| $b | texto | "BitLocker" | ascii fullword |
| $c | texto | "diskpart" | ascii fullword |
| $d | texto | "disk.vbs" | ascii fullword |
| $e | texto | "strDriveLetter" | ascii fullword |
| $f | texto | "shrinkcomplate" | ascii fullword |
| $g | texto | "ADODB.Stream" | ascii fullword |
| $h | texto | "Win32_OperatingSystem" | ascii fullword |
| $i | texto | "HKLM\\System\\CurrentControlSet\\Control\\Terminal Server" | ascii fullword |
| $j | texto | "HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System" | ascii fullword |
| $k | texto | "HKLM\\SOFTWARE\\Policies\\Microsoft\\FVE" | ascii fullword |
Condición
9 of themEn 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.
Referencias
Licencia y atribución
Autor: Sekoia.io
Repositorio de origen: SEKOIA.IO Community @ a438a5901a
Licencia: Detection Rule License 1.1 (licencia del repositorio)
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
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Reglas relacionadas
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-16
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-08-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-04-22
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-10-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20