YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Rhysida
Detects Rhysida ransomware
- Autor
- ditekSHen
- Fecha
- 2020-11-06
- Modificada
- 2024-11-01
- Puntuación / Calidad
- 75 / 75
Qué detecta esta regla
Detects Rhysida ransomware
Familia de malware asociada: Rhysida.
Objetivos: PE de Windows.
Define 7 patrones (7 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_Rhysida : FILE
{
meta:
= "Detects Rhysida ransomware"
= "ditekSHen"
= "a70bdf19-3b56-5dc0-be74-20a2e85099cc"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L10888-L10902"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "fb15f497cdee40b237dfc2aafcde2da95ff2a6f9c162273862ec1a0053269932"
= 75
= 75
= "FILE"
strings:
$s1 = "cmd.exe /c reg add \"HK" ascii
$s2 = "rundll32.exe user32.dll,UpdatePerUserSystemParameters" fullword ascii
$s3 = "C:/Users/Public/bg.jpg" fullword ascii
$s4 = "CriticalBreachDetected.pdf" fullword ascii
$s5 = "rhysida" ascii
$s6 = "cmd.exe /c reg delete \"HKCU\\Cont" ascii
$s7 = "Rhysida-" ascii
condition:
uint16( 0 ) == 0x5a4d and 5 of ( $s* ) or ( 3 of ( $s* ) and #s1 > 5 )
}
Cadenas (7 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $s1 | texto | "cmd.exe /c reg add \"HK" | ascii |
| $s2 | texto | "rundll32.exe user32.dll,UpdatePerUserSystemParameters" | fullword ascii |
| $s3 | texto | "C:/Users/Public/bg.jpg" | fullword ascii |
| $s4 | texto | "CriticalBreachDetected.pdf" | fullword ascii |
| $s5 | texto | "rhysida" | ascii |
| $s6 | texto | "cmd.exe /c reg delete \"HKCU\\Cont" | ascii |
| $s7 | texto | "Rhysida-" | ascii |
Condición
uint16( 0 ) == 0x5a4d and 5 of ( $s* ) or ( 3 of ( $s* ) and #s1 > 5 )En palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- Deben coincidir al menos 5 patrones de ( $s* ).
- Deben coincidir al menos 3 patrones de ( $s* ).
- El patrón $s1 debe aparecer > 5 veces.
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: a70bdf19-3b56-5dc0-be74-20a2e85099cc
Etiquetas:FILE
Reglas relacionadas
- Sospechoso / huntingditekSHen detection· ditekShen· 2021-01-21
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- 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