YARA · SEKOIA.IO Community
SEKOIA_Loader_Win_Konni_Bat
Detect the BAT files (named trap.bat or yup.bat) used by KONNI
- Autor
- Sekoia.io
- Datum
- 2023-09-26
- Geändert
- 2024-12-19
- Score / Qualität
- 75 / 80
Was diese Regel erkennt
Detect the BAT files (named trap.bat or yup.bat) used by KONNI
Zugehörige Malware-Familie: Konni.
Sie definiert 8 Muster (8 Text, 0 Hex, 0 Regex).
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
loader-win-konni-bat.yarDetection Rule License 1.1
rule SEKOIA_Loader_Win_Konni_Bat : FILE
{
meta:
= "Detect the BAT files (named trap.bat or yup.bat) used by KONNI"
= "Sekoia.io"
= "e8921336-6c91-4b46-bd3f-3cf4a9b31082"
= "2023-09-26"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/loader_win_konni_bat.yar#L1-L22"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "3476e41461692c3ccfc0ef47a4d5b8822c4940987755763d2a5913e27d9350d4"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$ = "del /f /q \"%~dp0\\*.zip\" > nul"
$ = "del /f /q \"%~dp0\\*.xml\" > nul"
$ = "del /f /q \"%~dp0\\wpnprv*.dll\" > nul"
$ = "del /f /q \"%~dp0\\*.bat\" > nul"
$ = "del /f /q \"%~dpnx0\" > nul"
$ = "echo %~dp0 | findstr /i \"system32\" > nul"
$ = "if %ERRORLEVEL% equ 0 (goto INSTALL) else (goto COPYFILE)"
$ = "if exist \"%ProgramFiles(x86)%\" ("
condition:
3 of them and filesize < 3KB
}
Strings (8 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $ | Text | "del /f /q \"%~dp0\\*.zip\" > nul" | |
| $ | Text | "del /f /q \"%~dp0\\*.xml\" > nul" | |
| $ | Text | "del /f /q \"%~dp0\\wpnprv*.dll\" > nul" | |
| $ | Text | "del /f /q \"%~dp0\\*.bat\" > nul" | |
| $ | Text | "del /f /q \"%~dpnx0\" > nul" | |
| $ | Text | "echo %~dp0 | findstr /i \"system32\" > nul" | |
| $ | Text | "if %ERRORLEVEL% equ 0 (goto INSTALL) else (goto COPYFILE)" | |
| $ | Text | "if exist \"%ProgramFiles(x86)%\" (" |
Bedingung
3 of them and filesize < 3KBIn Worten (Heuristik)
- Die Datei muss kleiner als 3KB sein (eine günstige Grenze, die große Dateien ausschließt).
- Mindestens 3 Muster aus der Regel 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: e8921336-6c91-4b46-bd3f-3cf4a9b31082
Metadaten
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Verwandte Regeln
- MalwareSEKOIA.IO Community· Sekoia.io· 2023-09-26
- MalwareSEKOIA.IO Community· Sekoia.io· 2023-09-26
- MalwareSEKOIA.IO Community· Sekoia.io· 2022-09-12
- APT / AkteurSEKOIA.IO Community· Sekoia.io· 2023-11-27
- APT / AkteurSEKOIA.IO Community· Sekoia.io· 2023-11-27
- APT / AkteurSEKOIA.IO Community· Sekoia.io· 2022-09-12
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-16