YARA · SEKOIA.IO Community
SEKOIA_Koi_Powershell_Loading_Obfuscatednet
Powershell script loading obfuscated .NET Koi module
- Autor
- Sekoia.io
- Datum
- 2024-03-20
- Geändert
- 2024-12-19
- Score / Qualität
- 75 / 80
Was diese Regel erkennt
Powershell script loading obfuscated .NET Koi module
Sie definiert 4 Muster (4 Text, 0 Hex, 0 Regex).
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
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
}
Strings (4 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $s1 | Text | "# [Net.ServicePointManager]::SecurityProtocol +='tls12'" | |
| $s2 | Text | "$binary[$i] = $binary[$i] -bxor $k[$i % $k.Length]" | |
| $s3 | Text | "\").Split('|')" | |
| $s4 | Text | "$ep.Invoke($null, " |
Bedingung
$s3 and 3 of themIn Worten (Heuristik)
- Mindestens 3 Muster aus der Regel müssen treffen.
- Muster $s3 muss vorhanden sein.
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: 75a7460d-cc28-470e-9841-da8e46ee0101
Metadaten
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Verwandte Regeln
- Verdächtig / HuntingSEKOIA.IO Community· Sekoia.io· 2024-02-07
- Verdächtig / HuntingSEKOIA.IO Community· Sekoia.io· 2024-02-07
- Verdächtig / HuntingSEKOIA.IO Community· Sekoia.io· 2023-03-06
- Verdächtig / HuntingSEKOIA.IO Community· Sekoia.io· 2022-10-11
- Verdächtig / HuntingSEKOIA.IO Community· Sekoia.io· 2022-12-22
- APT / AkteurSEKOIA.IO Community· Sekoia.io· 2024-09-10
- APT / AkteurSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / AkteurSEKOIA.IO Community· Sekoia.io· 2024-10-21