YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_DECAF
Detects DECAF ransomware
- Autor
- ditekSHen
- Datum
- 2020-11-06
- Geändert
- 2024-11-01
- Score / Qualität
- 75 / 75
Was diese Regel erkennt
Detects DECAF ransomware
Zugehörige Malware-Familie: Decaf.
Ziele: Windows-PE.
Sie definiert 13 Muster (13 Text, 0 Hex, 0 Regex).
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
malware-win-decaf.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_DECAF : FILE
{
meta:
= "Detects DECAF ransomware"
= "ditekSHen"
= "c6e4ce00-0be9-572d-987c-c47d699002f0"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L8248-L8268"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "5d79a4f310fb00022eb9d636f161227e84a7e15517c4d2c39acafa7d81af5c2a"
= 75
= 75
= "FILE"
strings:
$s1 = "main.EncWorker" fullword ascii
$s2 = "Paths2Encrypt" fullword ascii
$s3 = "/cmd/encryptor/main.go" ascii
$s4 = "*win.FileUtils; .autotmp_41 *lib.Encryptor; .autotmp_" ascii
$s5 = "\"Microsoft Window" fullword wide
$s6 = "Legal_Policy_Statement" fullword wide
$s7 = ").Encrypt." ascii
$s8 = "*struct { F uintptr; pw *os.File; c *" ascii
$s9 = ".ListFilesToEnc." ascii
$m1 = "WINNER WINNER CHICKEN DINNER" ascii
$m2 = "All your servers and computers are encrypted" ascii
$m3 = "We guarantee to decrypt one image file for free." ascii
$m4 = "We WILL NOT be able to RESTORE them." ascii
condition:
uint16( 0 ) == 0x5a4d and ( 4 of ( $s* ) or 3 of ( $m* ) or ( 1 of ( $m* ) and 2 of ( $s* ) ) )
}
Strings (13 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $s1 | Text | "main.EncWorker" | fullword ascii |
| $s2 | Text | "Paths2Encrypt" | fullword ascii |
| $s3 | Text | "/cmd/encryptor/main.go" | ascii |
| $s4 | Text | "*win.FileUtils; .autotmp_41 *lib.Encryptor; .autotmp_" | ascii |
| $s5 | Text | "\"Microsoft Window" | fullword wide |
| $s6 | Text | "Legal_Policy_Statement" | fullword wide |
| $s7 | Text | ").Encrypt." | ascii |
| $s8 | Text | "*struct { F uintptr; pw *os.File; c *" | ascii |
| $s9 | Text | ".ListFilesToEnc." | ascii |
| $m1 | Text | "WINNER WINNER CHICKEN DINNER" | ascii |
| $m2 | Text | "All your servers and computers are encrypted" | ascii |
| $m3 | Text | "We guarantee to decrypt one image file for free." | ascii |
| $m4 | Text | "We WILL NOT be able to RESTORE them." | ascii |
Bedingung
uint16( 0 ) == 0x5a4d and ( 4 of ( $s* ) or 3 of ( $m* ) or ( 1 of ( $m* ) and 2 of ( $s* ) ) )In Worten (Heuristik)
- Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
- Mindestens 4 Muster aus ( $s* ) müssen treffen.
- Mindestens 3 Muster aus ( $m* ) müssen treffen.
- Mindestens 1 Muster aus ( $m* ) müssen treffen.
- Mindestens 2 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: c6e4ce00-0be9-572d-987c-c47d699002f0
Tags:FILE
Verwandte Regeln
- Verdächtig / HuntingditekSHen detection· ditekShen· 2021-01-21
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- ARKBIRD_SOLG_RAN_Decaf_Nov_2021_1Nur MetadatenMalwareArkbird SOLG (DailyIOC)· Arkbird_SOLG· 2021-11-01
- MalwareditekSHen detection· ditekSHen· 2034-02-17
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06