YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_MAL_RANSOM_Darkbit_Feb23_2
Detects Go based DarkBit ransomware (garbled code; could trigger on other obfuscated samples, too)
- Autor
- Florian Roth
- Datum
- 2023-02-13
- Geändert
- 2023-12-05
- Score / Qualität
- 75 / 85
Was diese Regel erkennt
Detects Go based DarkBit ransomware (garbled code; could trigger on other obfuscated samples, too)
Zugehörige Malware-Familie: Darkbit.
Ziele: Windows-PE.
Sie definiert 6 Muster (4 Text, 2 Hex, 0 Regex).
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
rule SIGNATURE_BASE_MAL_RANSOM_Darkbit_Feb23_2 : FILE
{
meta:
= "Detects Go based DarkBit ransomware (garbled code; could trigger on other obfuscated samples, too)"
= "Florian Roth"
= "f530815c-68e7-55f1-8e36-bc74a1059584"
= "2023-02-13"
= "2023-12-05"
= "https://www.hybrid-analysis.com/sample/9107be160f7b639d68fe3670de58ed254d81de6aec9a41ad58d91aa814a247ff?environmentId=160"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_ransom_darkbit_feb23.yar#L25-L45"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "9107be160f7b639d68fe3670de58ed254d81de6aec9a41ad58d91aa814a247ff"
= "577435536300902811612a3415e82420574c98345b91b21fb2bfd2bfde396bec"
= 75
= 85
= "FILE"
strings:
$s1 = "runtime.initLongPathSupport" ascii fullword
$s2 = "reflect." ascii
$s3 = " \"processes\": []," ascii fullword
$s4 = "^!* %!(!" ascii fullword
$op1 = { 4d 8b b6 00 00 00 00 48 8b 94 24 40 05 00 00 31 c0 87 82 30 03 00 00 b8 01 00 00 00 f0 0f c1 82 00 03 00 00 48 8b 44 24 48 48 8b 0d ba 1f 32 00 }
$op2 = { 49 8d 49 01 0f 1f 00 48 39 d9 7c e2 b9 0b 00 00 00 49 89 d8 e9 28 fc ff ff e8 89 6c d7 ff }
condition:
uint16( 0 ) == 0x5a4d and filesize < 20000KB and all of them
}
Strings (6 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $s1 | Text | "runtime.initLongPathSupport" | ascii fullword |
| $s2 | Text | "reflect." | ascii |
| $s3 | Text | " \"processes\": []," | ascii fullword |
| $s4 | Text | "^!* %!(!" | ascii fullword |
| $op1 | Hex | { 4d 8b b6 00 00 00 00 48 8b 94 24 40 05 00 00 31 c0 87 82 30 03 00 00 b8 01 00 00 00 f0 0f c1 82 00 03 00 00 48 8b 44 24 48 48 8b 0d ba 1f 32 00 } | |
| $op2 | Hex | { 49 8d 49 01 0f 1f 00 48 39 d9 7c e2 b9 0b 00 00 00 49 89 d8 e9 28 fc ff ff e8 89 6c d7 ff } |
Bedingung
uint16( 0 ) == 0x5a4d and filesize < 20000KB and all of themIn Worten (Heuristik)
- Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
- Die Datei muss kleiner als 20000KB sein (eine günstige Grenze, die große Dateien ausschließt).
- Alle Muster aus der Regel 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.
Proben-Hashes
Hashes der Proben, die der Autor in den Metadaten der Regel nennt (in Ihrer Threat-Intelligence-Plattform nachschlagen).
- 9107be160f7b639d68fe3670de58ed254d81de6aec9a41ad58d91aa814a247ff
Lizenz & Namensnennung
Autor: Florian Roth
Quell-Repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
Lizenz: Detection Rule License 1.1 (Repository-Lizenz)
Gespiegelt über YARA Forge 20260927, das Regelnamen mit der Quelle präfixiert und normalisierte Meta-Felder ergänzt.
Regel-ID: f530815c-68e7-55f1-8e36-bc74a1059584
Tags:FILE
Verwandte Regeln
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth· 2023-02-13
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth· 2023-04-15
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-02-23
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-02-23
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth· 2023-04-17
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth· 2023-04-17
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth· 2023-11-01