YARA · SEKOIA.IO Community
SEKOIA_Infostealer_Win_Stormkitty
Finds StormKitty samples (or their variants) based on specific strings
- Author
- Sekoia.io
- Date
- 2023-03-29
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Finds StormKitty samples (or their variants) based on specific strings
Associated malware family: Stormkitty.
Targets: Windows PE.
It defines 15 patterns (15 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
infostealer-win-stormkitty.yarDetection Rule License 1.1
rule SEKOIA_Infostealer_Win_Stormkitty : FILE
{
meta:
= "Finds StormKitty samples (or their variants) based on specific strings"
= "Sekoia.io"
= "5014d2e5-af5c-4800-ab1e-b57de37a2450"
= "2023-03-29"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/infostealer_win_stormkitty.yar#L1-L31"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "57a4603faf6af9742db79f9bc8751f3a5c091b6271998434f0a3b9f5c30cb1e8"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$sk01 = "LimerBoy/StormKitty" ascii wide
$sk02 = "StormKitty-Latest.log" wide
$sk03 = "StormKitty.exe" ascii
$sk04 = "Debug\\StormKitty.pdb" ascii
$sk05 = "StormKitty.Implant" ascii
$str01 = "set_sUsername" ascii
$str02 = "set_sIsSecure" ascii
$str03 = "set_sExpMonth" ascii
$str04 = "WritePasswords" ascii
$str05 = "WriteCookies" ascii
$str06 = "sChromiumPswPaths" ascii
$str07 = "sGeckoBrowserPaths" ascii
$str08 = "Username: {1}" wide
$str09 = "Password: {2}" wide
$str10 = "encrypted_key\":\"(.*?)\"" wide
condition:
uint16( 0 ) == 0x5A4D and ( ( 1 of ( $sk* ) and 3 of ( $str* ) ) or 7 of ( $str* ) )
}
Strings (15 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $sk01 | text | "LimerBoy/StormKitty" | ascii wide |
| $sk02 | text | "StormKitty-Latest.log" | wide |
| $sk03 | text | "StormKitty.exe" | ascii |
| $sk04 | text | "Debug\\StormKitty.pdb" | ascii |
| $sk05 | text | "StormKitty.Implant" | ascii |
| $str01 | text | "set_sUsername" | ascii |
| $str02 | text | "set_sIsSecure" | ascii |
| $str03 | text | "set_sExpMonth" | ascii |
| $str04 | text | "WritePasswords" | ascii |
| $str05 | text | "WriteCookies" | ascii |
| $str06 | text | "sChromiumPswPaths" | ascii |
| $str07 | text | "sGeckoBrowserPaths" | ascii |
| $str08 | text | "Username: {1}" | wide |
| $str09 | text | "Password: {2}" | wide |
| $str10 | text | "encrypted_key\":\"(.*?)\"" | wide |
Condition
uint16( 0 ) == 0x5A4D and ( ( 1 of ( $sk* ) and 3 of ( $str* ) ) or 7 of ( $str* ) )In plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- At least 1 patterns in ( $sk* ) must match.
- At least 3 patterns in ( $str* ) must match.
- At least 7 patterns in ( $str* ) 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: 5014d2e5-af5c-4800-ab1e-b57de37a2450
Metadata
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Related rules
- MalwareSEKOIA.IO Community· Sekoia.io· 2022-04-20
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- Hack toolSignature Base (Florian Roth / Nextron)· Arnim Rupp (https://github.com/ruppde)· 2020-12-13
- 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