Skip to content

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_Cobaltstrike_MZ_Launcher

Detects CobaltStrike MZ header ReflectiveLoader launcher

Hack toolCobalt StrikeSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compiles with YARA-X
Author
yara@s3c.za.net
Date
2021-07-08
Modified
2023-12-05
Score / Quality
75 / 85

What this rule detects

Detects CobaltStrike MZ header ReflectiveLoader launcher

Associated malware family: Cobalt Strike.

It defines 1 patterns (0 text, 1 hex, 0 regex).

Summary generated from the rule's metadata and condition.

Rule source

cobaltstrike-mz-launcher.yarDetection Rule License 1.1
rule SIGNATURE_BASE_Cobaltstrike_MZ_Launcher
{
	meta:
		description = "Detects CobaltStrike MZ header ReflectiveLoader launcher"
		author = "yara@s3c.za.net"
		id = "461a4741-11c5-53d9-b8e1-52d64cfe755b"
		date = "2021-07-08"
		modified = "2023-12-05"
		reference = "https://github.com/Neo23x0/signature-base"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_cobaltstrike_evasive.yar#L297-L307"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "aa188546db138dffdcdbf6538367b5d5bc37638a2784b24b7fcd913c15e56072"
		score = 75
		quality = 85
		tags = ""

	strings:
		$mz_launcher = { 4D 5A 41 52 55 48 89 E5 48 81 EC 20 00 00 00 48 8D 1D }

	condition:
		$mz_launcher
}

Strings (1 patterns)

IdentifierTypeValueModifiers
$mz_launcherhex{ 4D 5A 41 52 55 48 89 E5 48 81 EC 20 00 00 00 48 8D 1D }

Condition

$mz_launcher

In plain words (Heuristic)

  • Pattern $mz_launcher must be present.

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

Licence & attribution

Author: yara@s3c.za.net

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: 461a4741-11c5-53d9-b8e1-52d64cfe755b

More Cobalt Strike rules