Skip to content

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_MAL_Qakbotloader_Export_Section_Feb23

QakBot Export Selection

MalwareQakbotSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compiles with YARA-X
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

mal-qakbotloader-export-section-feb23.yarDetection Rule License 1.1
rule SIGNATURE_BASE_MAL_Qakbotloader_Export_Section_Feb23 : FILE
{
	meta:
		description = "QakBot Export Selection"
		author = "kevoreilly"
		id = "cb86e9fb-a8d2-5285-aeda-622704399f8e"
		date = "2023-02-17"
		modified = "2023-12-05"
		reference = "https://github.com/kevoreilly/CAPEv2/blob/master/LICENSE"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/mal_qbot_feb23.yar#L22-L38"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		hash = "6f99171c95a8ed5d056eeb9234dbbee123a6f95f481ad0e0a966abd2844f0e1a"
		logic_hash = "0e40cd6acdbfb17670b414bd6f2ecdf1ae26ddd6a5d85931973b98963a43aba8"
		score = 75
		quality = 85
		tags = "FILE"
		cape_options = "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)

IdentifierTypeValueModifiers
$exporthex{55 8B EC 83 EC 50 (3A|66 3B) ?? 74}
$windhex{(66 3B|3A) ?? 74 [1-14] BB 69 04 00 00 53 E8 [5-7] 74}

Condition

uint16( 0 ) == 0x5A4D and all of them

In 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.

Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.

Open in editor

References

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)

Original rule

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_optionsexport=$export

Tags:FILE

More Qakbot rules