YARA · SEKOIA.IO Community
SEKOIA_Apt_Queueseed
Detects strings of Queueseed/Kapeka malware
- Author
- Sekoia.io
- Date
- 2024-04-22
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Detects strings of Queueseed/Kapeka malware
Associated malware family: Kapeka.
Targets: Windows PE.
It defines 11 patterns (1 text, 10 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
apt-queueseed.yarDetection Rule License 1.1
rule SEKOIA_Apt_Queueseed : FILE
{
meta:
= "Detects strings of Queueseed/Kapeka malware"
= "Sekoia.io"
= "35f7ffd5-4f6f-4b31-8d60-c713a15d14e8"
= "2024-04-22"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_queueseed.yar#L1-L28"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "80d1135d63a351cabf45d2266c0ffc770e11669103107cd40caf00eb62c836ed"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$ = {2D 00 6F 00 00 00}
$ = {2D 00 62 00 63 00 00 00}
$ = {20 00 00 00 00 00 00 00}
$ = {20 00 2D 00 77 00 00 00}
$ = {35 00 3A 00 20 00 00 00}
$ = {34 00 3A 00 20 00 00 00}
$ = {33 00 3A 00 20 00 00 00}
$ = {32 00 3A 00 20 00 00 00}
$ = {31 00 3A 00 20 00 00 00}
$ = {50 00 49 00 44 00 20 00 3A 00 20 00 00 00 00 00}
$ = "ExitCode : " wide
condition:
uint16be( 0 ) == 0x4d5a and all of them and filesize < 200KB
}
Strings (11 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $ | hex | {2D 00 6F 00 00 00} | |
| $ | hex | {2D 00 62 00 63 00 00 00} | |
| $ | hex | {20 00 00 00 00 00 00 00} | |
| $ | hex | {20 00 2D 00 77 00 00 00} | |
| $ | hex | {35 00 3A 00 20 00 00 00} | |
| $ | hex | {34 00 3A 00 20 00 00 00} | |
| $ | hex | {33 00 3A 00 20 00 00 00} | |
| $ | hex | {32 00 3A 00 20 00 00 00} | |
| $ | hex | {31 00 3A 00 20 00 00 00} | |
| $ | hex | {50 00 49 00 44 00 20 00 3A 00 20 00 00 00 00 00} | |
| $ | text | "ExitCode : " | wide |
Condition
uint16be( 0 ) == 0x4d5a and all of them and filesize < 200KBIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- The file must be smaller than 200KB (a cheap guard that skips large files).
- 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: 35f7ffd5-4f6f-4b31-8d60-c713a15d14e8
Metadata
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Related rules
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- 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