YARA · SEKOIA.IO Community
SEKOIA_Ransomware_Win_Blackcat
Detect the BlackCat ransomware (Windows version)
- Autor
- Sekoia.io
- Fecha
- 2022-01-19
- Modificada
- 2024-12-19
- Puntuación / Calidad
- 75 / 80
Qué detecta esta regla
Detect the BlackCat ransomware (Windows version)
Familia de malware asociada: Blackcat.
Objetivos: PE de Windows.
Define 15 patrones (15 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
ransomware-win-blackcat.yarDetection Rule License 1.1
rule SEKOIA_Ransomware_Win_Blackcat : FILE
{
meta:
= "Detect the BlackCat ransomware (Windows version)"
= "Sekoia.io"
= "873355f7-3942-4171-9df7-f524bb6b6903"
= "2022-01-19"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/ransomware_win_blackcat.yar#L1-L31"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "8a60fd14835f9e8683c3e60a19f23bc00020ccd22e74bffbc8ed19fcb8d0e39a"
= 75
= 80
= "FILE"
= "TLP:CLEAR"
= "1.1"
strings:
$s1 = "desktop_image::set_desktop_wallpaper=" ascii
$s2 = "C:\\Users\\Public\\All Usersdeploy_note_and_image_for_all_users=" ascii
$s3 = "propagate::none" ascii
$s4 = "propagate::failed=" ascii
$s5 = "propagate::ok=" ascii
$s6 = "query_status_process::ok=" ascii
$s7 = "enum_dependent_services::ok=" ascii
$s8 = "enum_dependent_services::error=" ascii
$s9 = "try_stop=" ascii
$s10 = "try_stop::ok=" ascii
$s11 = "try_stop::failed=" ascii
$s12 = "stop=" ascii
$s13 = "dependent_service_name=" ascii
$s14 = "kill_all=" ascii
$s15 = "detach=" ascii
condition:
uint16( 0 ) == 0x5A4D and filesize > 2MB and filesize < 4MB and all of them
}
Cadenas (15 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $s1 | texto | "desktop_image::set_desktop_wallpaper=" | ascii |
| $s2 | texto | "C:\\Users\\Public\\All Usersdeploy_note_and_image_for_all_users=" | ascii |
| $s3 | texto | "propagate::none" | ascii |
| $s4 | texto | "propagate::failed=" | ascii |
| $s5 | texto | "propagate::ok=" | ascii |
| $s6 | texto | "query_status_process::ok=" | ascii |
| $s7 | texto | "enum_dependent_services::ok=" | ascii |
| $s8 | texto | "enum_dependent_services::error=" | ascii |
| $s9 | texto | "try_stop=" | ascii |
| $s10 | texto | "try_stop::ok=" | ascii |
| $s11 | texto | "try_stop::failed=" | ascii |
| $s12 | texto | "stop=" | ascii |
| $s13 | texto | "dependent_service_name=" | ascii |
| $s14 | texto | "kill_all=" | ascii |
| $s15 | texto | "detach=" | ascii |
Condición
uint16( 0 ) == 0x5A4D and filesize > 2MB and filesize < 4MB and all of themEn palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- El archivo debe ocupar menos de 4MB (un límite barato que descarta archivos grandes).
- El archivo debe ocupar más de 2MB.
- Deben coincidir todos los 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.
Arrastra un archivo aquí o haz clic para elegirSe escanea en local con YARA-X. Archivos de hasta 200 MB.
Referencias
Licencia y atribución
Autor: Sekoia.io
Repositorio de origen: SEKOIA.IO Community @ a438a5901a
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: 873355f7-3942-4171-9df7-f524bb6b6903
Metadatos
| classification | TLP:CLEAR |
|---|---|
| version | 1.1 |
Etiquetas:FILE
Reglas relacionadas
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareTrellix Advanced Research Center· Trellix ATR· 2022-01-06
- Sospechoso / huntingditekSHen detection· ditekShen· 2021-01-21
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-16
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-08-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-04-22
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-23