YARA · dr4k0nia yara-rules
DR4K0NIA_Msil_Susp_Obf_Antidump
No description has been set in the source file - Dr4k0nia
- Autor
- dr4k0nia
- Datum
- 2023-12-03
- Geändert
- 2023-03-13
- Score / Qualität
- 65 / 85
Was diese Regel erkennt
No description has been set in the source file - Dr4k0nia
Ziele: Windows-PE, .NET-Assembly.
Sie definiert 6 Muster (3 Text, 3 Hex, 0 Regex). Verwendete YARA-Module: dotnet.
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
Enthält die Imports, die zum eigenständigen Kompilieren nötig sind.
import "dotnet"
rule DR4K0NIA_Msil_Susp_Obf_Antidump : FILE
{
meta:
= "No description has been set in the source file - Dr4k0nia"
= "dr4k0nia"
= "d9217ade-a016-548e-b63f-f6ee78ff8775"
= "2023-12-03"
= "2023-03-13"
= "https://github.com/dr4k0nia/yara-rules"
= "https://github.com/dr4k0nia/yara-rules/blob/4b10f9b79a4cfb3ec9cb5675f32cc7ee6885fbd8/dotnet/msil_susp_obf_antidump.yar#L7-L39"
= "https://github.com/dr4k0nia/yara-rules/blob/4b10f9b79a4cfb3ec9cb5675f32cc7ee6885fbd8/LICENSE.md"
= "ef7bb2464a2b430aa98bd65a1a40b851b57cb909ac0aea3e53729c0ff900fa42"
= "18cfc720f54b2178398f8214591a3fb777ea11e67a8a6d2ce26cc4891a62fd35"
= 65
= 85
= "FILE"
= "1.0"
strings:
$import0 = "ZeroMemory"
$import1 = "VirtualProtect"
$importt2 = "GetCurrentProcess"
$array0 = {08 00 00 00 0c 00 00 00 10 00 00 00 14 00 00 00
18 00 00 00 1c 00 00 00 24 00 00 00}
$array1 = {04 00 00 00 16 00 00 00 18 00 00 00 40 00 00 00
42 00 00 00 44 00 00 00 46 00 00 00 48 00 00 00
4a 00 00 00 4c 00 00 00 5c 00 00 00 5e 00 00 00}
$array2 = {00 00 00 00 08 00 00 00 0c 00 00 00 10 00 00 00
16 00 00 00 1c 00 00 00 20 00 00 00 28 00 00 00
2c 00 00 00 34 00 00 00 3c 00 00 00 4c 00 00 00
50 00 00 00 54 00 00 00 58 00 00 00 60 00 00 00
64 00 00 00 68 00 00 00 6c 00 00 00 70 00 00 00
74 00 00 00 04 01 00 00 08 01 00 00 0c 01 00 00
10 01 00 00 14 01 00 00 1c 01 00 00}
condition:
uint16( 0 ) == 0x5a4d and dotnet.is_dotnet and all of them
}
Strings (6 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $import0 | Text | "ZeroMemory" | |
| $import1 | Text | "VirtualProtect" | |
| $importt2 | Text | "GetCurrentProcess" | |
| $array0 | Hex | {08 00 00 00 0c 00 00 00 10 00 00 00 14 00 00 00 18 00 00 00 1c 00 00 00 24 00 00 00} | |
| $array1 | Hex | {04 00 00 00 16 00 00 00 18 00 00 00 40 00 00 00 42 00 00 00 44 00 00 00 46 00 00 00 48 00 00 00 4a 00 00 00 4c 00 00 00 5c 00 00 00 5e 00 00 00} | |
| $array2 | Hex | {00 00 00 00 08 00 00 00 0c 00 00 00 10 00 00 00 16 00 00 00 1c 00 00 00 20 00 00 00 28 00 00 00 2c 00 00 00 34 00 00 00 3c 00 00 00 4c 00 00 00 50 00 00 … |
Bedingung
uint16( 0 ) == 0x5a4d and dotnet.is_dotnet and all of themIn Worten (Heuristik)
- Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
- Alle Muster aus der Regel müssen treffen.
- Nutzt das Modul dotnet.
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
Proben-Hashes
Hashes der Proben, die der Autor in den Metadaten der Regel nennt (in Ihrer Threat-Intelligence-Plattform nachschlagen).
- ef7bb2464a2b430aa98bd65a1a40b851b57cb909ac0aea3e53729c0ff900fa42
Lizenz & Namensnennung
Autor: dr4k0nia
Quell-Repository: dr4k0nia yara-rules @ 4b10f9b79a
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: d9217ade-a016-548e-b63f-f6ee78ff8775
Metadaten
| version | 1.0 |
|---|
Tags:FILE
Verwandte Regeln
- Verdächtig / Huntingdr4k0nia yara-rules· dr4k0nia· 2023-03-26
- Malwaredr4k0nia yara-rules· dr4k0nia· 2023-05-21
- Malwaredr4k0nia yara-rules· dr4k0nia· 2023-11-07