YARA · Cod3nym detection-rules
COD3NYM_SUSP_OBF_NET_Confuserex_Packer_Jan24
Detects binaries packed with ConfuserEx compression packer. This feature compresses and encrypts the actual image into a stub that unpacks and loads the original image on runtime.
- Autor
- Jonathan Peters
- Datum
- 2024-01-09
- Score / Qualität
- 70 / 80
Was diese Regel erkennt
Detects binaries packed with ConfuserEx compression packer. This feature compresses and encrypts the actual image into a stub that unpacks and loads the original image on runtime.
Ziele: Windows-PE.
Sie definiert 5 Muster (2 Text, 3 Hex, 0 Regex).
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
rule COD3NYM_SUSP_OBF_NET_Confuserex_Packer_Jan24 : FILE
{
meta:
= "Detects binaries packed with ConfuserEx compression packer. This feature compresses and encrypts the actual image into a stub that unpacks and loads the original image on runtime."
= "Jonathan Peters"
= "cd53a62f-62e3-58a1-8bc3-7f40949e3f00"
= "2024-01-09"
= "2024-01-09"
= "https://github.com/yck1509/ConfuserEx/tree/master"
= "https://github.com/cod3nym/detection-rules//blob/86a04c4594cb48895192aad4af164f21f568c136/yara/dotnet/obf_confuserex.yar#L23-L42"
= "https://github.com/cod3nym/detection-rules//blob/86a04c4594cb48895192aad4af164f21f568c136/LICENSE.md"
= "2570bd4c3f564a61d6b3d589126e0940af27715e1e8d95de7863579fbe25f86f"
= "43aee4c01b47ca04ee516d418939ec3e90fd08566f2a4b501c4698b7f9e0225d"
= 70
= 80
= "FILE"
strings:
$s1 = "GCHandle" ascii
$s2 = "GCHandleType" ascii
$op1 = { 5A 20 89 C0 3F 14 6A 5E [8-20] 5A 20 FB 56 4D 44 6A 5E 6D 9E }
$op2 = { 20 61 FF 6F 00 13 ?? 06 13 ?? 16 13 [10-20] 20 1F 3F 5E 00 5A}
$op3 = { 16 91 7E [3] 04 17 91 1E 62 60 7E [3] 04 18 91 1F 10 62 60 7E [3] 04 19 91 1F 18 62 }
condition:
uint16( 0 ) == 0x5a4d and all of ( $s* ) and 2 of ( $op* )
}
Strings (5 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $s1 | Text | "GCHandle" | ascii |
| $s2 | Text | "GCHandleType" | ascii |
| $op1 | Hex | { 5A 20 89 C0 3F 14 6A 5E [8-20] 5A 20 FB 56 4D 44 6A 5E 6D 9E } | |
| $op2 | Hex | { 20 61 FF 6F 00 13 ?? 06 13 ?? 16 13 [10-20] 20 1F 3F 5E 00 5A} | |
| $op3 | Hex | { 16 91 7E [3] 04 17 91 1E 62 60 7E [3] 04 18 91 1F 10 62 60 7E [3] 04 19 91 1F 18 62 } |
Bedingung
uint16( 0 ) == 0x5a4d and all of ( $s* ) and 2 of ( $op* )In Worten (Heuristik)
- Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
- Alle Muster aus ( $s* ) müssen treffen.
- Mindestens 2 Muster aus ( $op* ) 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).
- 2570bd4c3f564a61d6b3d589126e0940af27715e1e8d95de7863579fbe25f86f
Lizenz & Namensnennung
Autor: Jonathan Peters
Quell-Repository: Cod3nym detection-rules @ 86a04c4594
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: cd53a62f-62e3-58a1-8bc3-7f40949e3f00
Tags:FILE
Verwandte Regeln
- Verdächtig / HuntingCod3nym detection-rules· Jonathan Peters· 2024-01-14
- Verdächtig / HuntingCod3nym detection-rules· Jonathan Peters· 2024-01-11
- Verdächtig / HuntingCod3nym detection-rules· Jonathan Peters· 2024-01-09
- Verdächtig / HuntingCod3nym detection-rules· Jonathan Peters· 2024-01-05
- MalwareCod3nym detection-rules· Jonathan Peters· 2024-01-16
- MalwareCod3nym detection-rules· Jonathan Peters· 2024-01-12
- GenerischCod3nym detection-rules· Jonathan Peters· 2024-01-02