YARA · SEKOIA.IO Community
SEKOIA_Apt_Apt29_Quarterrig
Detects QUARTERRIG
APT / threat actorQuarterrigSEKOIA.IO CommunityDetection Rule License 1.1Compiles with YARA-X (with warnings)
- Author
- Sekoia.io
- Date
- 2023-04-19
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Detects QUARTERRIG
Associated malware family: Quarterrig.
It defines 4 patterns (2 text, 2 hex, 0 regex).
YARA-X says: warning[consecutive_jumps]: consecutive jumps in hex pattern `$op_resolve_and_call_openthread`
Summary generated from the rule's metadata and condition.
Rule source
apt-apt29-quarterrig.yarDetection Rule License 1.1
rule SEKOIA_Apt_Apt29_Quarterrig
{
meta:
= "Detects QUARTERRIG"
= "Sekoia.io"
= "e370ed7e-5e12-4add-95f3-3773ea8e2d03"
= "2023-04-19"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_apt29_quarterrig.yar#L1-L18"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "9628418789a9bc24c7e44dbc9106ffa6316aefebe33b91c749b54cb5462b1309"
= 75
= 80
= ""
= "1.0"
= "TLP:CLEAR"
strings:
$str_dll_name = "hijacker.dll"
$str_import_name = "VCRUNTIME140.dll"
$op_resolve_and_call_openthread = { 48 [6] 48 [6] 8B D8 E8 [4] [3] 33 D2 B9 FF FF 1F 00 FF D0 }
$op_resolve_and_call_suspendthread = { E8 [4] 48 8B CB FF D0 83 F8 FF }
condition:
all of them
}
Strings (4 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $str_dll_name | text | "hijacker.dll" | |
| $str_import_name | text | "VCRUNTIME140.dll" | |
| $op_resolve_and_call_openthread | hex | { 48 [6] 48 [6] 8B D8 E8 [4] [3] 33 D2 B9 FF FF 1F 00 FF D0 } | |
| $op_resolve_and_call_suspendthread | hex | { E8 [4] 48 8B CB FF D0 83 F8 FF } |
Condition
all of themIn plain words (Heuristic)
- 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: e370ed7e-5e12-4add-95f3-3773ea8e2d03
Metadata
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
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