YARA · SEKOIA.IO Community
SEKOIA_Koi_Powershell_Loading_Obfuscatednet
Powershell script loading obfuscated .NET Koi module
- 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 obfuscated .NET Koi module
Elle définit 4 motifs (4 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
koi-powershell-loading-obfuscatednet.yarDetection Rule License 1.1
rule SEKOIA_Koi_Powershell_Loading_Obfuscatednet
{
meta:
= "Powershell script loading obfuscated .NET Koi module"
= "Sekoia.io"
= "75a7460d-cc28-470e-9841-da8e46ee0101"
= "2024-03-20"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/koi_powershell_loading_obfuscatednet.yar#L1-L18"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "82f30c04474ea77af5169771a2c0e75ba792fd32dc559b8c29172b73ace4ef10"
= 75
= 80
= ""
= "1.0"
= "TLP:CLEAR"
strings:
$s1 = "# [Net.ServicePointManager]::SecurityProtocol +='tls12'"
$s2 = "$binary[$i] = $binary[$i] -bxor $k[$i % $k.Length]"
$s3 = "\").Split('|')"
$s4 = "$ep.Invoke($null, "
condition:
$s3 and 3 of them
}
Chaînes (4 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $s1 | texte | "# [Net.ServicePointManager]::SecurityProtocol +='tls12'" | |
| $s2 | texte | "$binary[$i] = $binary[$i] -bxor $k[$i % $k.Length]" | |
| $s3 | texte | "\").Split('|')" | |
| $s4 | texte | "$ep.Invoke($null, " |
Condition
$s3 and 3 of themEn clair (Heuristique)
- Au moins 3 motifs de la règle doivent être trouvés.
- Le motif $s3 doit être présent.
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: 75a7460d-cc28-470e-9841-da8e46ee0101
Métadonnées
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Règles liées
- Suspect / chasseSEKOIA.IO Community· Sekoia.io· 2024-02-07
- Suspect / chasseSEKOIA.IO Community· Sekoia.io· 2024-02-07
- Suspect / chasseSEKOIA.IO Community· Sekoia.io· 2023-03-06
- Suspect / chasseSEKOIA.IO Community· Sekoia.io· 2022-10-11
- Suspect / chasseSEKOIA.IO Community· Sekoia.io· 2022-12-22
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-09-10
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-10-21