Skip to content

YARA · CAPE Sandbox (CAPEv2)

CAPE_Icedidpackerc

IcedID export selection

MalwareIcedidCAPE Sandbox (CAPEv2)GNU General Public License v3.0Compiles with YARA-X
Author
kevoreilly
Date
2021-03-30
Modified
2023-11-28
Score / Quality
75 / 70

What this rule detects

IcedID export selection

Associated malware family: Icedid.

Targets: Windows PE.

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

Summary generated from the rule's metadata and condition.

Rule source

icedidpackerc.yarGNU General Public License v3.0
rule CAPE_Icedidpackerc : FILE
{
	meta:
		description = "IcedID export selection"
		author = "kevoreilly"
		id = "fddfd0d2-1bc0-56bb-b983-5850e17a3d0f"
		date = "2021-03-30"
		modified = "2023-11-28"
		reference = "https://github.com/kevoreilly/CAPEv2"
		source_url = "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/analyzer/windows/data/yara/IcedID.yar#L58-L71"
		license_url = "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/LICENSE"
		hash = "c06805b6efd482c1a671ec60c1469e47772c8937ec0496f74e987276fa9020a5"
		hash = "265c1857ac7c20432f36e3967511f1be0b84b1c52e4867889e367c0b5828a844"
		logic_hash = "f1e75e380ab0947fdfda012b7a5077a1c2ef51163239846ab2dc29cac95ba166"
		score = 75
		quality = 70
		tags = "FILE"
		cape_options = "export=$export"

	strings:
		$export = {44 89 4C 24 20 4C 89 44 24 18 48 89 54 24 10 3A ED 74}
		$alloc = {41 B8 00 10 00 00 8B D0 33 C9 66 3B ?? (74|0F 84)}

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

Strings (2 patterns)

IdentifierTypeValueModifiers
$exporthex{44 89 4C 24 20 4C 89 44 24 18 48 89 54 24 10 3A ED 74}
$allochex{41 B8 00 10 00 00 8B D0 33 C9 66 3B ?? (74|0F 84)}

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

  • c06805b6efd482c1a671ec60c1469e47772c8937ec0496f74e987276fa9020a5
  • 265c1857ac7c20432f36e3967511f1be0b84b1c52e4867889e367c0b5828a844

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: fddfd0d2-1bc0-56bb-b983-5850e17a3d0f

Metadata

cape_optionsexport=$export

Tags:FILE

More Icedid rules