YARA · SEKOIA.IO Community
SEKOIA_Koiloader_Powershell_Reflective_Loading
Powershell script loading service.exe (related to Koi Loader)
- Auteur
- Sekoia.io
- Date
- 2024-03-20
- Modifiée
- 2024-12-19
- Score / Qualité
- 75 / 80
Ce que détecte cette règle
Powershell script loading service.exe (related to Koi Loader)
Famille de malware associée : Koiloader.
Elle définit 5 motifs (5 texte, 0 hex, 0 regex).
Résumé généré à partir des métadonnées et de la condition de la règle.
Source de la règle
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
}
Chaînes (5 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $s1 | texte | "[Byte[]]$image" | ascii fullword |
| $s2 | texte | "function GDT" | |
| $s3 | texte | "function GPA" | |
| $s4 | texte | "GDT @([IntPtr], [UInt32], [IntPtr], [IntPtr], [UInt32], [IntPtr]) ([IntPtr])" | |
| $s5 | texte | "$marshal::GetDelegateForFunctionPointer($CTAddr, $CTDeleg)" |
Condition
$s1 at 0 and 4 of themEn clair (Heuristique)
- Au moins 4 motifs de la règle doivent être trouvés.
- Le motif $s1 doit se trouver à l’offset 0.
Tester cette règle dans votre navigateur
Déposez un fichier pour le scanner avec cette règle grâce à YARA-X compilé en WebAssembly. Rien n’est envoyé.
Déposez un fichier ici ou cliquez pour choisirScanné localement avec YARA-X. Fichiers jusqu’à 200 Mo.
Références
Licence et attribution
Auteur : Sekoia.io
Dépôt source : SEKOIA.IO Community @ a438a5901a
Licence : Detection Rule License 1.1 (licence du dépôt)
Reprise via YARA Forge 20260927, qui préfixe les noms de règles par la source et ajoute des champs meta normalisés.
Identifiant de règle: 9bbe4cea-3e64-4377-bf93-def9fb629734
Métadonnées
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Règles liées
- 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_LoaderMétadonnées seulesMalwareRussianPanda· RussianPanda· 2024-04-04
- RUSSIANPANDA_Win_Mal_Koi_Loader_DecryptedMétadonnées seulesMalwareRussianPanda· RussianPanda· 2024-04-04
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-16