YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_MAL_RANSOM_Venus_Nov22_1
Detects Venus Ransomware samples
- Autor
- Florian Roth (Nextron Systems)
- Fecha
- 2022-11-16
- Modificada
- 2023-12-05
- Puntuación / Calidad
- 85 / 85
Qué detecta esta regla
Detects Venus Ransomware samples
Objetivos: PE de Windows.
Define 8 patrones (5 de texto, 3 hex, 0 regex). Módulos YARA usados: pe.
Resumen generado a partir de los metadatos y la condición de la regla.
Código de la regla
Incluye los imports necesarios para compilarla por sí sola.
import "pe"
rule SIGNATURE_BASE_MAL_RANSOM_Venus_Nov22_1 : FILE
{
meta:
= "Detects Venus Ransomware samples"
= "Florian Roth (Nextron Systems)"
= "0f7e0ca4-c5e2-5557-92de-2e0d73035f12"
= "2022-11-16"
= "2023-12-05"
= "https://twitter.com/dyngnosis/status/1592588860168421376"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/crime_ransom_venus.yar#L3-L38"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "46f9cbc3795d6be0edd49a2c43efe6e610b82741755c5076a89eeccaf98ee834"
= "6d8e2d8f6aeb0f4512a53fe83b2ef7699513ebaff31735675f46d1beea3a8e05"
= "931cab7fbc0eb2bbc5768f8abdcc029cef76aff98540d9f5214786dccdb6a224"
= "969bfe42819e30e35ca601df443471d677e04c988928b63fccb25bf0531ea2cc"
= "db6fcd33dcb3f25890c28e47c440845b17ce2042c34ade6d6508afd461bfa21c"
= "ee036f333a0c4a24d9aa09848e635639e481695a9209474900eb71c9e453256b"
= "fa7ba459236c7b27a0429f1961b992ab87fc8b3427469fd98bfc272ae6852063"
= "3c94d59015897f180ef55608a2761b37c7b52193e28895ea6a4c0548acf3ad34"
= 85
= 85
= "FILE"
strings:
$x1 = "<html><head><title>Venus</title><style type = \"text" ascii fullword
$x2 = "xXBLTZKmAu9pjcfxrIK4gkDp/J9XXATjuysFRXG4rH4=" ascii fullword
$x3 = "%s%x%x%x%x.goodgame" wide fullword
$s1 = "/c ping localhost -n 3 > nul & del %s" ascii fullword
$s2 = "C:\\Windows\\%s.png" wide
$op1 = { 8b 4c 24 24 46 8b 7c 24 14 41 8b 44 24 30 81 c7 00 04 00 00 81 44 24 10 00 04 00 00 40 }
$op2 = { 57 c7 45 fc 00 00 00 00 7e 3f 50 33 c0 74 03 9b 6e }
$op3 = { 66 89 45 d4 0f 11 45 e8 e8 a8 e7 ff ff 83 c4 14 8d 45 e8 50 8d 45 a4 50 }
condition:
uint16( 0 ) == 0x5a4d and filesize < 700KB and ( pe.imphash ( ) == "bb2600e94092da119ee6acbbd047be43" or 1 of ( $x* ) or 2 of them ) or 4 of them
}
Cadenas (8 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $x1 | texto | "<html><head><title>Venus</title><style type = \"text" | ascii fullword |
| $x2 | texto | "xXBLTZKmAu9pjcfxrIK4gkDp/J9XXATjuysFRXG4rH4=" | ascii fullword |
| $x3 | texto | "%s%x%x%x%x.goodgame" | wide fullword |
| $s1 | texto | "/c ping localhost -n 3 > nul & del %s" | ascii fullword |
| $s2 | texto | "C:\\Windows\\%s.png" | wide |
| $op1 | hex | { 8b 4c 24 24 46 8b 7c 24 14 41 8b 44 24 30 81 c7 00 04 00 00 81 44 24 10 00 04 00 00 40 } | |
| $op2 | hex | { 57 c7 45 fc 00 00 00 00 7e 3f 50 33 c0 74 03 9b 6e } | |
| $op3 | hex | { 66 89 45 d4 0f 11 45 e8 e8 a8 e7 ff ff 83 c4 14 8d 45 e8 50 8d 45 a4 50 } |
Condición
uint16( 0 ) == 0x5a4d and filesize < 700KB and ( pe.imphash ( ) == "bb2600e94092da119ee6acbbd047be43" or 1 of ( $x* ) or 2 of them ) or 4 of themEn palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- El archivo debe ocupar menos de 700KB (un límite barato que descarta archivos grandes).
- Deben coincidir al menos 1 patrones de ( $x* ).
- Deben coincidir al menos 2 patrones de la regla.
- Deben coincidir al menos 4 patrones de la regla.
- Usa el módulo pe.
- Comprueba el hash de importaciones PE (imphash).
Prueba esta regla en tu navegador
Arrastra un archivo para escanearlo con esta regla usando YARA-X compilado a WebAssembly. No se sube nada.
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).
- 46f9cbc3795d6be0edd49a2c43efe6e610b82741755c5076a89eeccaf98ee834
- 6d8e2d8f6aeb0f4512a53fe83b2ef7699513ebaff31735675f46d1beea3a8e05
- 931cab7fbc0eb2bbc5768f8abdcc029cef76aff98540d9f5214786dccdb6a224
- 969bfe42819e30e35ca601df443471d677e04c988928b63fccb25bf0531ea2cc
- db6fcd33dcb3f25890c28e47c440845b17ce2042c34ade6d6508afd461bfa21c
- ee036f333a0c4a24d9aa09848e635639e481695a9209474900eb71c9e453256b
- fa7ba459236c7b27a0429f1961b992ab87fc8b3427469fd98bfc272ae6852063
Licencia y atribución
Autor: Florian Roth (Nextron Systems)
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: 0f7e0ca4-c5e2-5557-92de-2e0d73035f12
Etiquetas:FILE
Reglas relacionadas
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-03-15
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-03-03
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-01-16
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-05-10
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-05-04
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2020-01-29
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2020-10-13
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-08-03