YARA · SEKOIA.IO Community
SEKOIA_Apt_Stripedfly
Detects string relative to Stripedfly malware
- Author
- Sekoia.io
- Date
- 2023-11-30
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Detects string relative to Stripedfly malware
It defines 3 patterns (3 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
apt-stripedfly.yarDetection Rule License 1.1
rule SEKOIA_Apt_Stripedfly : FILE
{
meta:
= "Detects string relative to Stripedfly malware"
= "Sekoia.io"
= "81968d34-3247-4965-ba44-55747370c90e"
= "2023-11-30"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_stripedfly.yar#L1-L17"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "ded64ae30cf994162d4af649a34eadd4b8619cbced4392a6684129f8cf906136"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$s1 = "{\"id\":%d,\"jsonrpc\":\"2.0\",\"method\":\"%s\",\"params\":%s}"
$s2 = "{\"login\":\"%s\",\"pass\":\"%s\",\"agent\":\"\"}"
$s3 = "(tcp|ssl)://([A-Za-z0-9\\.\\-]+):([0-9]+)"
condition:
filesize < 3MB and 2 of them
}
Strings (3 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "{\"id\":%d,\"jsonrpc\":\"2.0\",\"method\":\"%s\",\"params\":%s}" | |
| $s2 | text | "{\"login\":\"%s\",\"pass\":\"%s\",\"agent\":\"\"}" | |
| $s3 | text | "(tcp|ssl)://([A-Za-z0-9\\.\\-]+):([0-9]+)" |
Condition
filesize < 3MB and 2 of themIn plain words (Heuristic)
- The file must be smaller than 3MB (a cheap guard that skips large files).
- At least 2 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: 81968d34-3247-4965-ba44-55747370c90e
Metadata
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Related rules
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-09-10
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-09-27
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-09-27
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-09-23
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-06-11
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-03-06