YARA · SEKOIA.IO Community
SEKOIA_Infostealer_Win_Stormkitty_Exfil_Urls
Detect the open-source StormKitty spyware by looking for the github path
- Author
- Sekoia.io
- Date
- 2022-04-20
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Detect the open-source StormKitty spyware by looking for the github path
Associated malware family: Stormkitty.
Targets: Windows PE.
It defines 3 patterns (3 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
infostealer-win-stormkitty-exfil-urls.yarDetection Rule License 1.1
rule SEKOIA_Infostealer_Win_Stormkitty_Exfil_Urls : FILE
{
meta:
= "Detect the open-source StormKitty spyware by looking for the github path"
= "Sekoia.io"
= "d3b6e778-85da-4ab6-bc98-921897677485"
= "2022-04-20"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/infostealer_win_stormkitty_exfil_urls.yar#L1-L19"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "ccf0efe9ccba8e37bc19fa241e2d7698b1a798a3e8026b1b6930452b8a8ba9b4"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$s1 = "https://github.com/LimerBoy/StormKitty" ascii
$telegram = "https://api.telegram.org" wide
$discord = "https://cdn.discordapp.com" wide
condition:
uint16( 0 ) == 0x5A4D and all of them and ( #telegram > 3 or #discord > 3 )
}
Strings (3 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "https://github.com/LimerBoy/StormKitty" | ascii |
| $telegram | text | "https://api.telegram.org" | wide |
| $discord | text | "https://cdn.discordapp.com" | wide |
Condition
uint16( 0 ) == 0x5A4D and all of them and ( #telegram > 3 or #discord > 3 )In plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- All patterns in the rule must match.
- Pattern $telegram must occur > 3 times.
- Pattern $discord must occur > 3 times.
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: d3b6e778-85da-4ab6-bc98-921897677485
Metadata
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Related rules
- MalwareSEKOIA.IO Community· Sekoia.io· 2023-03-29
- 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