YARA · SEKOIA.IO Community
SEKOIA_Bot_Lin_Kinsing_Strings
Catch Kinsing malware based on strings
- Author
- Sekoia.io
- Date
- 2023-11-24
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Catch Kinsing malware based on strings
Associated malware family: Kinsing.
Targets: Linux ELF.
It defines 9 patterns (9 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
bot-lin-kinsing-strings.yarDetection Rule License 1.1
rule SEKOIA_Bot_Lin_Kinsing_Strings : FILE
{
meta:
= "Catch Kinsing malware based on strings"
= "Sekoia.io"
= "ce41b6d0-bc22-4a85-a3bb-ed3234871524"
= "2023-11-24"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/bot_lin_kinsing_strings.yar#L1-L23"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "164b22734541d43047a2ea868cf0a269efe69c64a6392030168f4d391b1be777"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$s1 = "MinerUrl" ascii
$s2 = "main.masscan" ascii
$s3 = "redisBrute" ascii
$s4 = "ActiveC2CUrl" ascii
$s5 = "main.getKi" ascii
$s6 = "main.getMu" ascii
$s7 = "tryToRunMiner" ascii
$s8 = "main.kiLoader" ascii
$s9 = "main.downloadAndExecute" ascii
condition:
uint32( 0 ) == 0x464c457f and all of them
}
Strings (9 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "MinerUrl" | ascii |
| $s2 | text | "main.masscan" | ascii |
| $s3 | text | "redisBrute" | ascii |
| $s4 | text | "ActiveC2CUrl" | ascii |
| $s5 | text | "main.getKi" | ascii |
| $s6 | text | "main.getMu" | ascii |
| $s7 | text | "tryToRunMiner" | ascii |
| $s8 | text | "main.kiLoader" | ascii |
| $s9 | text | "main.downloadAndExecute" | ascii |
Condition
uint32( 0 ) == 0x464c457f and all of themIn plain words (Heuristic)
- The file must start with the ELF header — a Linux/Unix executable.
- All 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: ce41b6d0-bc22-4a85-a3bb-ed3234871524
Metadata
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Related rules
- MalwareSignature Base (Florian Roth / Nextron)· Tony Lambert, Red Canary· 2020-06-09
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareArkbird SOLG (DailyIOC)· Arkbird_SOLG· 2020-08-28
- 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