YARA · BlackBerry Research & Intelligence (via Open-Source-YARA-rules)
BLACKBERRY_Mal_Win32_Onyx_Strain_Chaos_Ransomware_2022
Detects Onyx Ransomware build off of Chaos Builder v4
- Autor
- BlackBerry Threat Research
- Fecha
- 2022-05-10
- Modificada
- 2022-07-07
- Puntuación / Calidad
- 75 / 85
Qué detecta esta regla
Detects Onyx Ransomware build off of Chaos Builder v4
Objetivos: PE de Windows.
Define 3 patrones (3 de texto, 0 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 BLACKBERRY_Mal_Win32_Onyx_Strain_Chaos_Ransomware_2022 : FILE
{
meta:
= "Detects Onyx Ransomware build off of Chaos Builder v4"
= "BlackBerry Threat Research"
= "8c30c316-9fd3-5ad9-aea1-d93229cd9ca1"
= "2022-05-10"
= "2022-07-07"
= "https://blogs.blackberry.com/en/2022/05/yashma-ransomware-tracing-the-chaos-family-tree"
= "https://github.com/mikesxrs/Open-Source-YARA-rules/blob/ec0056f767db98bf6d5fd63877ad51fb54d350e9/Blackberry/Mal_Win32_Onyx_Strain_Chaos_Ransomware_2022.yar#L3-L28"
= "N/A"
= "2df2f36167710a4de4ff3fda8036472b1972b4175a0d14f8b06e0ad045eb5038"
= 75
= 85
= "FILE"
= "This Yara rule is provided under the Apache License 2.0 (https://www.apache.org/licenses/LICENSE-2.0) and open to any user or organization, as long as you use it under this license and ensure originator credit in any derivative to The BlackBerry Research & Intelligence Team"
strings:
$s1 = "(?:[13]{1}[a-km-zA-HJ-NP-Z1-9]{26,33}|bc1[a-z0-9]{39,59})" wide
$s2 = "All of your files are currently encrypted by ONYX strain." wide
$s3 = "Inform your supervisors and stay calm!" wide
condition:
uint16( 0 ) == 0x5a4d and pe.data_directories [ pe.IMAGE_DIRECTORY_ENTRY_COM_DESCRIPTOR ] . size != 0 and all of ( $s* )
}
Cadenas (3 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $s1 | texto | "(?:[13]{1}[a-km-zA-HJ-NP-Z1-9]{26,33}|bc1[a-z0-9]{39,59})" | wide |
| $s2 | texto | "All of your files are currently encrypted by ONYX strain." | wide |
| $s3 | texto | "Inform your supervisors and stay calm!" | wide |
Condición
uint16( 0 ) == 0x5a4d and pe.data_directories [ pe.IMAGE_DIRECTORY_ENTRY_COM_DESCRIPTOR ] . size != 0 and all of ( $s* )En palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- Deben coincidir todos los patrones de ( $s* ).
- Usa el módulo pe.
Prueba esta regla en tu navegador
Arrastra un archivo para escanearlo con esta regla usando YARA-X compilado a WebAssembly. No se sube nada.
Licencia y atribución
Autor: BlackBerry Threat Research
Repositorio de origen: BlackBerry Research & Intelligence (via Open-Source-YARA-rules) @ ec0056f767
Licencia: Apache License 2.0 (indicada en los metadatos de la regla)
“This Yara rule is provided under the Apache License 2.0 (https://www.apache.org/licenses/LICENSE-2.0) and open to any user or organization, as long as you use it under this license and ensure originator credit in any derivative to The BlackBerry Research & Intelligence Team”
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: 8c30c316-9fd3-5ad9-aea1-d93229cd9ca1
Etiquetas:FILE
Reglas relacionadas
- MalwareBlackBerry Research & Intelligence (via Open-Source-YARA-rules)· BlackBerry Threat Research· 2022-05-10
- MalwareBlackBerry Research & Intelligence (via Open-Source-YARA-rules)· BlackBerry Threat Research· 2022-05-10