YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_MAL_EXE_Royalransomware
Detection for Royal Ransomware seen Dec 2022
- Autor
- Silas Cutler, modfied by Florian Roth
- Fecha
- 2023-01-03
- Modificada
- 2023-12-05
- Puntuación / Calidad
- 75 / 85
Qué detecta esta regla
Detection for Royal Ransomware seen Dec 2022
Objetivos: PE de Windows.
Define 8 patrones (8 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 SIGNATURE_BASE_MAL_EXE_Royalransomware : FILE
{
meta:
= "Detection for Royal Ransomware seen Dec 2022"
= "Silas Cutler, modfied by Florian Roth"
= "f83316f7-b8c4-5907-a38e-80535215e7ef"
= "2023-01-03"
= "2023-12-05"
= "https://github.com/Neo23x0/signature-base"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/gen_100days_of_yara_2023.yar#L197-L222"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "a8384c9e3689eb72fa737b570dbb53b2c3d103c62d46747a96e1e1becf14dfea"
= "6f93bade7709945b478cbdc721d85ad9243d56ace19fba25835cec13a6210dfb"
= 75
= 85
= "FILE"
= "1.0"
= "3/100"
strings:
$x_ext = ".royal_" wide
$x_fname = "royal_dll.dll"
$s_readme = "README.TXT" wide
$s_cli_flag01 = "-networkonly" wide
$s_cli_flag02 = "-localonly" wide
$x_ransom_msg01 = "If you are reading this, it means that your system were hit by Royal ransomware."
$x_ransom_msg02 = "Try Royal today and enter the new era of data security!"
$x_onion_site = "http://royal2xthig3ou5hd7zsliqagy6yygk2cdelaxtni2fyad6dpmpxedid.onion/"
condition:
uint16( 0 ) == 0x5A4D and ( 2 of ( $x* ) or 5 of them )
}
Cadenas (8 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $x_ext | texto | ".royal_" | wide |
| $x_fname | texto | "royal_dll.dll" | |
| $s_readme | texto | "README.TXT" | wide |
| $s_cli_flag01 | texto | "-networkonly" | wide |
| $s_cli_flag02 | texto | "-localonly" | wide |
| $x_ransom_msg01 | texto | "If you are reading this, it means that your system were hit by Royal ransomware." | |
| $x_ransom_msg02 | texto | "Try Royal today and enter the new era of data security!" | |
| $x_onion_site | texto | "http://royal2xthig3ou5hd7zsliqagy6yygk2cdelaxtni2fyad6dpmpxedid.onion/" |
Condición
uint16( 0 ) == 0x5A4D and ( 2 of ( $x* ) or 5 of them )En palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- Deben coincidir al menos 2 patrones de ( $x* ).
- Deben coincidir al menos 5 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.
Referencias
Hashes de muestras
Hashes de las muestras que el autor lista en los metadatos de la regla (búscalos en tu plataforma de threat intelligence).
- a8384c9e3689eb72fa737b570dbb53b2c3d103c62d46747a96e1e1becf14dfea
Licencia y atribución
Autor: Silas Cutler, modfied by Florian Roth
Repositorio de origen: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
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: f83316f7-b8c4-5907-a38e-80535215e7ef
Metadatos
| version | 1.0 |
|---|---|
| DaysofYARA | 3/100 |
Etiquetas:FILE
Reglas relacionadas
- MalwareSignature Base (Florian Roth / Nextron)· Silas Cutler, modfied by Florian Roth· 2023-01-04