YARA · SEKOIA.IO Community
SEKOIA_Apt_Konni_Check_Bat
Script used to performs check before executing Konni
- Author
- Sekoia.io
- Date
- 2023-11-27
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Script used to performs check before executing Konni
Associated malware family: Konni.
It defines 9 patterns (9 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
apt-konni-check-bat.yarDetection Rule License 1.1
rule SEKOIA_Apt_Konni_Check_Bat : FILE
{
meta:
= "Script used to performs check before executing Konni"
= "Sekoia.io"
= "f05e6ba2-c128-4c17-8f74-f7640103c859"
= "2023-11-27"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_konni_check_bat.yar#L1-L23"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "13a9dd6978985eb17960794c6de2ee2e6411e6afeb705ff95ced72bc0efb5d8c"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$ = ":64BIT"
$ = ":32BIT"
$ = ":INSTALL"
$ = ":EXIT"
$ = "netpp.dll"
$ = "wpns.dll"
$ = "netpp64.dll"
$ = "wpns64.dll"
$ = "rundll32"
condition:
filesize < 1MB and 7 of them
}
Strings (9 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $ | text | ":64BIT" | |
| $ | text | ":32BIT" | |
| $ | text | ":INSTALL" | |
| $ | text | ":EXIT" | |
| $ | text | "netpp.dll" | |
| $ | text | "wpns.dll" | |
| $ | text | "netpp64.dll" | |
| $ | text | "wpns64.dll" | |
| $ | text | "rundll32" |
Condition
filesize < 1MB and 7 of themIn plain words (Heuristic)
- The file must be smaller than 1MB (a cheap guard that skips large files).
- At least 7 patterns in the rule must match.
Test this rule in your browser
Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.
Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.
References
Licence & attribution
Author: Sekoia.io
Source repository: SEKOIA.IO Community @ a438a5901a
Licence: Detection Rule License 1.1 (repository licence)
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: f05e6ba2-c128-4c17-8f74-f7640103c859
Metadata
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Related rules
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2023-11-27
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2022-09-12
- MalwareSEKOIA.IO Community· Sekoia.io· 2023-09-26
- MalwareSEKOIA.IO Community· Sekoia.io· 2023-09-26
- MalwareSEKOIA.IO Community· Sekoia.io· 2023-09-26
- MalwareSEKOIA.IO Community· Sekoia.io· 2022-09-12
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-09-10