YARA · SEKOIA.IO Community
SEKOIA_Loader_Fakebat_Initial_Powershell_May24
Finds FakeBat initial PowerShell script downloading and executing the next-stage payload.
- Autor
- Sekoia.io
- Datum
- 2024-05-28
- Geändert
- 2024-12-19
- Score / Qualität
- 75 / 80
Was diese Regel erkennt
Finds FakeBat initial PowerShell script downloading and executing the next-stage payload.
Sie definiert 4 Muster (4 Text, 0 Hex, 0 Regex).
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
loader-fakebat-initial-powershell-may24.yarDetection Rule License 1.1
rule SEKOIA_Loader_Fakebat_Initial_Powershell_May24 : FILE
{
meta:
= "Finds FakeBat initial PowerShell script downloading and executing the next-stage payload."
= "Sekoia.io"
= "adf0e4fc-fa98-470b-9535-bd30d0bdb3aa"
= "2024-05-28"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/loader_fakebat_initial_powershell_may24.yar#L1-L21"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "6a699df361b0cb2baf1d0b128f795aa9918ebe11daaeb1fa49aebf9320add762"
= 75
= 80
= "FILE"
= "1.0"
= "2024-06-21"
= "TLP:CLEAR"
strings:
$str01 = "='http" wide
$str02 = "=(iwr -Uri $" wide
$str03 = " -UserAgent $" wide
$str04 = " -UseBasicParsing).Content; iex $" wide
condition:
3 of ( $str* ) and filesize < 1KB and true
}
Strings (4 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $str01 | Text | "='http" | wide |
| $str02 | Text | "=(iwr -Uri $" | wide |
| $str03 | Text | " -UserAgent $" | wide |
| $str04 | Text | " -UseBasicParsing).Content; iex $" | wide |
Bedingung
3 of ( $str* ) and filesize < 1KB and trueIn Worten (Heuristik)
- Die Datei muss kleiner als 1KB sein (eine günstige Grenze, die große Dateien ausschließt).
- Mindestens 3 Muster aus ( $str* ) 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.
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: adf0e4fc-fa98-470b-9535-bd30d0bdb3aa
Metadaten
| version | 1.0 |
|---|---|
| modification_date | 2024-06-21 |
| classification | TLP:CLEAR |
Tags:FILE
Verwandte Regeln
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-16
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-08-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-04-22
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-10-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20