YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_MAL_Qakbotloader_Export_Section_Feb23
QakBot Export Selection
- Author
- kevoreilly
- Date
- 2023-02-17
- Modified
- 2023-12-05
- Score / Quality
- 75 / 85
What this rule detects
QakBot Export Selection
Associated malware family: Qakbot.
Targets: Windows PE.
It defines 2 patterns (0 text, 2 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule SIGNATURE_BASE_MAL_Qakbotloader_Export_Section_Feb23 : FILE
{
meta:
= "QakBot Export Selection"
= "kevoreilly"
= "cb86e9fb-a8d2-5285-aeda-622704399f8e"
= "2023-02-17"
= "2023-12-05"
= "https://github.com/kevoreilly/CAPEv2/blob/master/LICENSE"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/mal_qbot_feb23.yar#L22-L38"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "6f99171c95a8ed5d056eeb9234dbbee123a6f95f481ad0e0a966abd2844f0e1a"
= "0e40cd6acdbfb17670b414bd6f2ecdf1ae26ddd6a5d85931973b98963a43aba8"
= 75
= 85
= "FILE"
= "export=$export"
strings:
$export = {55 8B EC 83 EC 50 (3A|66 3B) ?? 74}
$wind = {(66 3B|3A) ?? 74 [1-14] BB 69 04 00 00 53 E8 [5-7] 74}
condition:
uint16( 0 ) == 0x5A4D and all of them
}
Strings (2 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $export | hex | {55 8B EC 83 EC 50 (3A|66 3B) ?? 74} | |
| $wind | hex | {(66 3B|3A) ?? 74 [1-14] BB 69 04 00 00 53 E8 [5-7] 74} |
Condition
uint16( 0 ) == 0x5A4D and all of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- 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.
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- 6f99171c95a8ed5d056eeb9234dbbee123a6f95f481ad0e0a966abd2844f0e1a
Licence & attribution
Author: kevoreilly
Source repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
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: cb86e9fb-a8d2-5285-aeda-622704399f8e
Metadata
| cape_options | export=$export |
|---|
Tags:FILE
Related rules
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2022-03-16
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2022-03-16
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2022-03-16
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2022-03-16
- MalwareEmbee Research· @Embee_Research· 2022-11-14
- MalwareEmbee Research· Embee_Research @ Huntress· 2022-11-14
- MalwareditekSHen detection· ditekSHen· 2020-11-06