YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Windealer
Detects WinDealer
- Autor
- ditekSHen
- Datum
- 2020-11-06
- Geändert
- 2024-11-01
- Score / Qualität
- 75 / 73
Was diese Regel erkennt
Detects WinDealer
Zugehörige Malware-Familie: Windealer.
Ziele: Windows-PE.
Sie definiert 23 Muster (23 Text, 0 Hex, 0 Regex). Verwendete YARA-Module: pe.
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
Enthält die Imports, die zum eigenständigen Kompilieren nötig sind.
import "pe"
rule DITEKSHEN_MALWARE_Win_Windealer : FILE
{
meta:
= "Detects WinDealer"
= "ditekSHen"
= "d4f3b0cc-121e-5032-9721-1e2a86842fa5"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L8270-L8301"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "eabc41ea69f142ee7c243cbc75ceda909a722be382ad91a01c805aef637be915"
= 75
= 73
= "FILE"
= "920264"
strings:
$d1 = "downfile" fullword ascii
$d2 = "getmypath" fullword ascii
$d3 = "content-type: monitor" fullword ascii
$d4 = "content-type: UsedType" fullword ascii
$d5 = "write command error" fullword ascii
$d6 = "C:\\WINDOWS\\system32\\kernel32.dll" fullword ascii
$l1 = "currentconfig" fullword ascii
$l2 = "remotedomain" fullword ascii
$l3 = "reserveip" fullword ascii
$l4 = "otherinfo" fullword ascii
$l5 = "filelen" fullword ascii
$l6 = "%s%s.bak" fullword wide
$l7 = "localmachine" fullword ascii
$l8 = "remoteip" fullword ascii
$l9 = "datastate" fullword ascii
$l10 = "SYSTEM\\CurrentControlSet\\Control\\Network\\{4D36E972-E325-11CE-BFC1-08002BE10318}\\%s\\Connection" fullword ascii
$s1 = "%s\\%s\\V5_History.dat" fullword wide
$s2 = "%s\\%s\\history2.dat" fullword wide
$s3 = "%s\\%s\\history.imw" fullword wide
$s4 = "%s\\%s\\main.imw" fullword wide
$s5 = "%s%d.%d.%d.%dWindows/%u" fullword ascii
$s6 = "%s\\%c_%s_tmp" fullword wide
$s7 = "%s\\%s\\main.db" fullword wide
condition:
uint16( 0 ) == 0x5a4d and ( ( 4 of ( $d* ) and 1 of ( $s* ) ) or ( 5 of ( $s* ) and 1 of ( $d* ) ) or 6 of ( $l* ) or ( pe.exports ( "DealC" ) and pe.exports ( "DealR" ) and pe.exports ( "DealS" ) and 1 of them ) )
}
Strings (23 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $d1 | Text | "downfile" | fullword ascii |
| $d2 | Text | "getmypath" | fullword ascii |
| $d3 | Text | "content-type: monitor" | fullword ascii |
| $d4 | Text | "content-type: UsedType" | fullword ascii |
| $d5 | Text | "write command error" | fullword ascii |
| $d6 | Text | "C:\\WINDOWS\\system32\\kernel32.dll" | fullword ascii |
| $l1 | Text | "currentconfig" | fullword ascii |
| $l2 | Text | "remotedomain" | fullword ascii |
| $l3 | Text | "reserveip" | fullword ascii |
| $l4 | Text | "otherinfo" | fullword ascii |
| $l5 | Text | "filelen" | fullword ascii |
| $l6 | Text | "%s%s.bak" | fullword wide |
| $l7 | Text | "localmachine" | fullword ascii |
| $l8 | Text | "remoteip" | fullword ascii |
| $l9 | Text | "datastate" | fullword ascii |
| $l10 | Text | "SYSTEM\\CurrentControlSet\\Control\\Network\\{4D36E972-E325-11CE-BFC1-08002BE10318}\\%s\\Connection" | fullword ascii |
| $s1 | Text | "%s\\%s\\V5_History.dat" | fullword wide |
| $s2 | Text | "%s\\%s\\history2.dat" | fullword wide |
| $s3 | Text | "%s\\%s\\history.imw" | fullword wide |
| $s4 | Text | "%s\\%s\\main.imw" | fullword wide |
| $s5 | Text | "%s%d.%d.%d.%dWindows/%u" | fullword ascii |
| $s6 | Text | "%s\\%c_%s_tmp" | fullword wide |
| $s7 | Text | "%s\\%s\\main.db" | fullword wide |
Bedingung
uint16( 0 ) == 0x5a4d and ( ( 4 of ( $d* ) and 1 of ( $s* ) ) or ( 5 of ( $s* ) and 1 of ( $d* ) ) or 6 of ( $l* ) or ( pe.exports ( "DealC" ) and pe.exports ( "DealR" ) and pe.exports ( "DealS" ) and 1 of them ) )In Worten (Heuristik)
- Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
- Mindestens 4 Muster aus ( $d* ) müssen treffen.
- Mindestens 1 Muster aus ( $s* ) müssen treffen.
- Mindestens 5 Muster aus ( $s* ) müssen treffen.
- Mindestens 1 Muster aus ( $d* ) müssen treffen.
- Mindestens 6 Muster aus ( $l* ) müssen treffen.
- Mindestens 1 Muster aus der Regel müssen treffen.
- Nutzt das Modul pe.
- Prüft exportierte Funktionen oder den DLL-Namen.
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.
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: d4f3b0cc-121e-5032-9721-1e2a86842fa5
Metadaten
| snort_sid | 920264 |
|---|
Tags:FILE
Verwandte Regeln
- MalwareBlackBerry Research & Intelligence (via Open-Source-YARA-rules)· BlackBerry Threat Research Team· 2022-06-14
- MalwareBlackBerry Research & Intelligence (via Open-Source-YARA-rules)· BlackBerry Threat Research Team· 2022-06-14
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- ARKBIRD_SOLG_MAL_Windealer_Oct_2021_2Nur MetadatenMalwareArkbird SOLG (DailyIOC)· Arkbird_SOLG· 2021-10-30
- ARKBIRD_SOLG_MAL_Windealer_Oct_2021_1Nur MetadatenMalwareArkbird SOLG (DailyIOC)· Arkbird_SOLG· 2021-10-30
- MalwareditekSHen detection· ditekSHen· 2034-02-17
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06