YARA · SEKOIA.IO Community
SEKOIA_Ransomware_Win_Blackcat
Detect the BlackCat ransomware (Windows version)
- Auteur
- Sekoia.io
- Date
- 2022-01-19
- Modifiée
- 2024-12-19
- Score / Qualité
- 75 / 80
Ce que détecte cette règle
Detect the BlackCat ransomware (Windows version)
Famille de malware associée : Blackcat.
Cibles : PE Windows.
Elle définit 15 motifs (15 texte, 0 hex, 0 regex).
Résumé généré à partir des métadonnées et de la condition de la règle.
Source de la règle
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
}
Chaînes (15 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $s1 | texte | "desktop_image::set_desktop_wallpaper=" | ascii |
| $s2 | texte | "C:\\Users\\Public\\All Usersdeploy_note_and_image_for_all_users=" | ascii |
| $s3 | texte | "propagate::none" | ascii |
| $s4 | texte | "propagate::failed=" | ascii |
| $s5 | texte | "propagate::ok=" | ascii |
| $s6 | texte | "query_status_process::ok=" | ascii |
| $s7 | texte | "enum_dependent_services::ok=" | ascii |
| $s8 | texte | "enum_dependent_services::error=" | ascii |
| $s9 | texte | "try_stop=" | ascii |
| $s10 | texte | "try_stop::ok=" | ascii |
| $s11 | texte | "try_stop::failed=" | ascii |
| $s12 | texte | "stop=" | ascii |
| $s13 | texte | "dependent_service_name=" | ascii |
| $s14 | texte | "kill_all=" | ascii |
| $s15 | texte | "detach=" | ascii |
Condition
uint16( 0 ) == 0x5A4D and filesize > 2MB and filesize < 4MB and all of themEn clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Le fichier doit faire moins de 4MB (garde-fou peu coûteux qui écarte les gros fichiers).
- Le fichier doit faire plus de 2MB.
- Tous les motifs de la règle doivent être trouvés.
Tester cette règle dans votre navigateur
Déposez un fichier pour le scanner avec cette règle grâce à YARA-X compilé en WebAssembly. Rien n’est envoyé.
Déposez un fichier ici ou cliquez pour choisirScanné localement avec YARA-X. Fichiers jusqu’à 200 Mo.
Références
Licence et attribution
Auteur : Sekoia.io
Dépôt source : SEKOIA.IO Community @ a438a5901a
Licence : Detection Rule License 1.1 (licence du dépôt)
Reprise via YARA Forge 20260927, qui préfixe les noms de règles par la source et ajoute des champs meta normalisés.
Identifiant de règle: 873355f7-3942-4171-9df7-f524bb6b6903
Métadonnées
| classification | TLP:CLEAR |
|---|---|
| version | 1.1 |
Tags:FILE
Règles liées
- 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
- Suspect / chasseditekSHen 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