YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Blackcat
Detects BlackCat ransomware
- Autor
- ditekSHen
- Datum
- 2020-11-06
- Geändert
- 2024-11-01
- Score / Qualität
- 75 / 75
Was diese Regel erkennt
Detects BlackCat ransomware
Zugehörige Malware-Familie: Blackcat.
Ziele: Windows-PE.
Sie definiert 13 Muster (11 Text, 0 Hex, 2 Regex).
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
malware-win-blackcat.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Blackcat : FILE
{
meta:
= "Detects BlackCat ransomware"
= "ditekSHen"
= "b6831d84-40d7-52ae-8c4d-30b087b0007b"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L9267-L9289"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "cd76e5b87f33d91c17fd032417583c3f68d0e310aaf6f08e26ec5d53844ed9d2"
= 75
= 75
= "FILE"
strings:
$x1 = "{\"config_id\":\"\",\"public_key\":\"MIIBIjANBgkqhkiG9w0BAQEFAAO" ascii
$x2 = "C:\\Users\\Public\\All Usersdeploy_note_and_image_for_all_users=" fullword ascii
$s1 = "encrypt_app::windows" ascii
$s2 = /locker::core::os::windows::(desktop_note|self_propagation|privilege_escalation|psexec|shadow_copy)/ ascii
$s3 = "uac_bypass::shell_exec=" ascii
$s4 = "-u-p-s-d-f-cpropagate::attempt=" ascii
$s5 = "masquerade_peb" ascii
$s6 = "RECOVER-${EXTENSION}-FILES.txt" ascii
$s7 = ".onion/?access-key=${ACCESS_KEY}" ascii
$s8 = "-vm-killno-vm-snapshot-killno-vm-kill-" ascii
$s9 = "esxi_vm_killenable_esxi_vm_snapshot_killstrict_" ascii
$s10 = /enum_(shares|servers)_sync::ok/ fullword ascii
$s11 = "hidden_partitions::mount_all::mounting=" ascii
condition:
( uint16( 0 ) == 0x5a4d or uint16( 0 ) == 0x457f ) and ( all of ( $x* ) or 5 of ( $s* ) or ( 1 of ( $x* ) and 3 of ( $s* ) ) )
}
Strings (13 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $x1 | Text | "{\"config_id\":\"\",\"public_key\":\"MIIBIjANBgkqhkiG9w0BAQEFAAO" | ascii |
| $x2 | Text | "C:\\Users\\Public\\All Usersdeploy_note_and_image_for_all_users=" | fullword ascii |
| $s1 | Text | "encrypt_app::windows" | ascii |
| $s2 | Regex | /locker::core::os::windows::(desktop_note|self_propagation|privilege_escalation|psexec|shadow_copy)/ | ascii |
| $s3 | Text | "uac_bypass::shell_exec=" | ascii |
| $s4 | Text | "-u-p-s-d-f-cpropagate::attempt=" | ascii |
| $s5 | Text | "masquerade_peb" | ascii |
| $s6 | Text | "RECOVER-${EXTENSION}-FILES.txt" | ascii |
| $s7 | Text | ".onion/?access-key=${ACCESS_KEY}" | ascii |
| $s8 | Text | "-vm-killno-vm-snapshot-killno-vm-kill-" | ascii |
| $s9 | Text | "esxi_vm_killenable_esxi_vm_snapshot_killstrict_" | ascii |
| $s10 | Regex | /enum_(shares|servers)_sync::ok/ | fullword ascii |
| $s11 | Text | "hidden_partitions::mount_all::mounting=" | ascii |
Bedingung
( uint16( 0 ) == 0x5a4d or uint16( 0 ) == 0x457f ) and ( all of ( $x* ) or 5 of ( $s* ) or ( 1 of ( $x* ) and 3 of ( $s* ) ) )In Worten (Heuristik)
- Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
- Alle Muster aus ( $x* ) müssen treffen.
- Mindestens 5 Muster aus ( $s* ) müssen treffen.
- Mindestens 1 Muster aus ( $x* ) müssen treffen.
- Mindestens 3 Muster aus ( $s* ) müssen treffen.
Diese Regel im Browser testen
Legen Sie eine Datei ab, um sie mit dieser Regel und YARA-X als WebAssembly zu scannen. Nichts wird hochgeladen.
Datei hier ablegen oder klicken zum AuswählenLokal mit YARA-X gescannt. Dateien bis 200 MB.
Referenzen
Lizenz & Namensnennung
Autor: ditekSHen
Quell-Repository: ditekSHen detection @ e76c93dcde
Lizenz: BSD 2-Clause License (Repository-Lizenz)
Copyright-Hinweis: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).
Gespiegelt über YARA Forge 20260927, das Regelnamen mit der Quelle präfixiert und normalisierte Meta-Felder ergänzt.
Regel-ID: b6831d84-40d7-52ae-8c4d-30b087b0007b
Tags:FILE
Verwandte Regeln
- Verdächtig / HuntingditekSHen detection· ditekShen· 2021-01-21
- MalwareSEKOIA.IO Community· Sekoia.io· 2022-01-19
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareTrellix Advanced Research Center· Trellix ATR· 2022-01-06
- MalwareditekSHen detection· ditekSHen· 2034-02-17
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06