YARA · SEKOIA.IO Community
SEKOIA_Koiloader_Powershell_Reflective_Loading
Powershell script loading service.exe (related to Koi Loader)
- Autor
- Sekoia.io
- Datum
- 2024-03-20
- Geändert
- 2024-12-19
- Score / Qualität
- 75 / 80
Was diese Regel erkennt
Powershell script loading service.exe (related to Koi Loader)
Zugehörige Malware-Familie: Koiloader.
Sie definiert 5 Muster (5 Text, 0 Hex, 0 Regex).
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
koiloader-powershell-reflective-loading.yarDetection Rule License 1.1
rule SEKOIA_Koiloader_Powershell_Reflective_Loading : FILE
{
meta:
= "Powershell script loading service.exe (related to Koi Loader)"
= "Sekoia.io"
= "9bbe4cea-3e64-4377-bf93-def9fb629734"
= "2024-03-20"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/koiloader_powershell_reflective_loading.yar#L1-L19"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "27deec01027a73129c6c8057eff1b48190c89ac18dcd7c390fc177d82a897290"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$s1 = "[Byte[]]$image" ascii fullword
$s2 = "function GDT"
$s3 = "function GPA"
$s4 = "GDT @([IntPtr], [UInt32], [IntPtr], [IntPtr], [UInt32], [IntPtr]) ([IntPtr])"
$s5 = "$marshal::GetDelegateForFunctionPointer($CTAddr, $CTDeleg)"
condition:
$s1 at 0 and 4 of them
}
Strings (5 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $s1 | Text | "[Byte[]]$image" | ascii fullword |
| $s2 | Text | "function GDT" | |
| $s3 | Text | "function GPA" | |
| $s4 | Text | "GDT @([IntPtr], [UInt32], [IntPtr], [IntPtr], [UInt32], [IntPtr]) ([IntPtr])" | |
| $s5 | Text | "$marshal::GetDelegateForFunctionPointer($CTAddr, $CTDeleg)" |
Bedingung
$s1 at 0 and 4 of themIn Worten (Heuristik)
- Mindestens 4 Muster aus der Regel müssen treffen.
- Muster $s1 muss an Offset 0 stehen.
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: Sekoia.io
Quell-Repository: SEKOIA.IO Community @ a438a5901a
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: 9bbe4cea-3e64-4377-bf93-def9fb629734
Metadaten
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Verwandte Regeln
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareCAPE Sandbox (CAPEv2)· YungBinary· 2024-10-25
- RUSSIANPANDA_Win_Mal_Koi_LoaderNur MetadatenMalwareRussianPanda· RussianPanda· 2024-04-04
- RUSSIANPANDA_Win_Mal_Koi_Loader_DecryptedNur MetadatenMalwareRussianPanda· RussianPanda· 2024-04-04
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-16