YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_APT_MAL_RANSOM_Vicesociety_Chily_Jan23_1
Detects Chily or SunnyDay malware used by Vice Society
- Autor
- Florian Roth (Nextron Systems)
- Fecha
- 2023-01-12
- Modificada
- 2023-12-05
- Puntuación / Calidad
- 80 / 83
Qué detecta esta regla
Detects Chily or SunnyDay malware used by Vice Society
Objetivos: PE de Windows.
Define 11 patrones (8 de texto, 3 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_APT_MAL_RANSOM_Vicesociety_Chily_Jan23_1 : FILE
{
meta:
= "Detects Chily or SunnyDay malware used by Vice Society"
= "Florian Roth (Nextron Systems)"
= "1be4adb9-e60c-5023-9230-07f5fd16daaa"
= "2023-01-12"
= "2023-12-05"
= "https://www.sentinelone.com/labs/custom-branded-ransomware-the-vice-society-group-and-the-threat-of-outsourced-development/"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_ransom_vicesociety_dec22.yar#L33-L63"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "4dabb914b8a29506e1eced1d0467c34107767f10fdefa08c40112b2e6fc32e41"
= "fc2967d86bf73033e68b8b9409a197ae8f7fcdf06e1e2a17e3d277d243caa541"
= 80
= 83
= "FILE"
strings:
$x1 = ".[Chily@Dr.Com]" ascii fullword
$s1 = "localbitcoins.com/buy_bitcoins'>https://localbitcoins.com/buy_bitcoins</a>" ascii fullword
$s2 = "C:\\Users\\root\\Desktop" ascii fullword
$s3 = "for /F \"tokens=*\" %1 in ('wevtutil.exe el') DO wevtutil.exe cl \"%1\"" wide fullword
$s4 = "cd %userprofile%\\documents\\" wide
$s5 = "noise.bmp" wide fullword
$s6 = " Execution time: %fms (1sec=1000ms)" ascii fullword
$s7 = "/c vssadmin.exe Delete Shadows /All /Quiet" wide fullword
$op1 = { 4c 89 c5 89 ce 89 0d f5 41 02 00 4c 89 cf 44 8d 04 49 0f af f2 89 15 e9 41 02 00 44 89 c0 }
$op2 = { 48 8b 03 48 89 d9 ff 50 10 84 c0 0f 94 c0 01 c0 48 83 c4 20 5b }
$op3 = { 31 c0 47 8d 2c 00 45 85 f6 4d 63 ed 0f 8e ec 00 00 00 0f 1f 80 00 00 00 00 0f b7 94 44 40 0c 00 00 83 c1 01 }
condition:
uint16( 0 ) == 0x5a4d and filesize < 500KB and ( 1 of ( $x* ) or 3 of them ) or 4 of them
}
Cadenas (11 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $x1 | texto | ".[Chily@Dr.Com]" | ascii fullword |
| $s1 | texto | "localbitcoins.com/buy_bitcoins'>https://localbitcoins.com/buy_bitcoins</a>" | ascii fullword |
| $s2 | texto | "C:\\Users\\root\\Desktop" | ascii fullword |
| $s3 | texto | "for /F \"tokens=*\" %1 in ('wevtutil.exe el') DO wevtutil.exe cl \"%1\"" | wide fullword |
| $s4 | texto | "cd %userprofile%\\documents\\" | wide |
| $s5 | texto | "noise.bmp" | wide fullword |
| $s6 | texto | " Execution time: %fms (1sec=1000ms)" | ascii fullword |
| $s7 | texto | "/c vssadmin.exe Delete Shadows /All /Quiet" | wide fullword |
| $op1 | hex | { 4c 89 c5 89 ce 89 0d f5 41 02 00 4c 89 cf 44 8d 04 49 0f af f2 89 15 e9 41 02 00 44 89 c0 } | |
| $op2 | hex | { 48 8b 03 48 89 d9 ff 50 10 84 c0 0f 94 c0 01 c0 48 83 c4 20 5b } | |
| $op3 | hex | { 31 c0 47 8d 2c 00 45 85 f6 4d 63 ed 0f 8e ec 00 00 00 0f 1f 80 00 00 00 00 0f b7 94 44 40 0c 00 00 83 c1 01 } |
Condición
uint16( 0 ) == 0x5a4d and filesize < 500KB and ( 1 of ( $x* ) or 3 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 500KB (un límite barato que descarta archivos grandes).
- Deben coincidir al menos 1 patrones de ( $x* ).
- Deben coincidir al menos 3 patrones de la regla.
- Deben coincidir al menos 4 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.
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).
- 4dabb914b8a29506e1eced1d0467c34107767f10fdefa08c40112b2e6fc32e41
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: 1be4adb9-e60c-5023-9230-07f5fd16daaa
Etiquetas:FILE
Reglas relacionadas
- APT / actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-01-16
- APT / actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-01-16
- APT / actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-02-25
- APT / actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2023-03-31
- APT / actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-10-25
- APT / actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-01-16
- APT / actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-02-25
- APT / actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-02-24