Skip to content

YARA · CAPE Sandbox (CAPEv2)

CAPE_Doomedloader

No description has been set in the source file - CAPE

GenericCAPE Sandbox (CAPEv2)GNU General Public License v3.0Compiles with YARA-X
Author
kevoreilly
Date
2024-04-12
Modified
2024-05-09
Score / Quality
75 / 70

What this rule detects

No description has been set in the source file - CAPE

Targets: Windows PE.

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

Summary generated from the rule's metadata and condition.

Rule source

doomedloader.yarGNU General Public License v3.0
rule CAPE_Doomedloader : FILE
{
	meta:
		description = "No description has been set in the source file - CAPE"
		author = "kevoreilly"
		id = "88436e71-360e-5719-989f-24e71591ebe0"
		date = "2024-04-12"
		modified = "2024-05-09"
		reference = "https://github.com/kevoreilly/CAPEv2"
		source_url = "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/data/yara/CAPE/DoomedLoader.yar#L1-L12"
		license_url = "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/LICENSE"
		logic_hash = "54a5962ef49ebf987908c4ea1559788f7c96a7e4ea61d2973636e998a0239c77"
		score = 75
		quality = 70
		tags = "FILE"
		cape_type = "DoomedLoader Payload"
		packed = "914b1b3180e7ec1980d0bafe6fa36daade752bb26aec572399d2f59436eaa635"

	strings:
		$anti = {48 8B 4C 24 ?? E8 [4] 84 C0 B8 [4] 41 0F 45 C6 EB}
		$syscall = {49 89 CA 8B 44 24 08 FF 64 24 10}

	condition:
		uint16( 0 ) == 0x5A4D and all of them
}

Strings (2 patterns)

IdentifierTypeValueModifiers
$antihex{48 8B 4C 24 ?? E8 [4] 84 C0 B8 [4] 41 0F 45 C6 EB}
$syscallhex{49 89 CA 8B 44 24 08 FF 64 24 10}

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

Licence & attribution

Author: kevoreilly

Source repository: CAPE Sandbox (CAPEv2) @ 6b15e76f28

Licence: GNU General Public License v3.0 (repository licence)

Copyright notice: Cuckoo Sandbox is copyrighted by the Cuckoo Foundation.

Original rule

Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.

Rule id: 88436e71-360e-5719-989f-24e71591ebe0

Metadata

cape_typeDoomedLoader Payload
packed914b1b3180e7ec1980d0bafe6fa36daade752bb26aec572399d2f59436eaa635

Tags:FILE