Skip to content

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_M_APT_Downloader_BEATDROP

Rule looking for BEATDROP malware

APT / threat actorBeatdropSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compiles with YARA-X
Author
Mandiant
Date
2022-04-28
Modified
2023-12-05
Score / Quality
90 / 85

What this rule detects

Rule looking for BEATDROP malware

Associated malware family: Beatdrop.

Targets: Windows PE.

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

Summary generated from the rule's metadata and condition.

Rule source

m-apt-downloader-beatdrop.yarDetection Rule License 1.1
rule SIGNATURE_BASE_M_APT_Downloader_BEATDROP : FILE
{
	meta:
		description = "Rule looking for BEATDROP malware"
		author = "Mandiant"
		id = "5720870e-8989-59f2-998b-019084d091ce"
		date = "2022-04-28"
		modified = "2023-12-05"
		reference = "https://www.mandiant.com/resources/tracking-apt29-phishing-campaigns"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_apt29_nobelium_apr22.yar#L1-L17"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "7a766682cc9a057798cc569111bfcb611648c4a052c0dd664d983b80d5891255"
		score = 90
		quality = 85
		tags = "FILE"

	strings:
		$ntdll1 = "ntdll" ascii fullword
		$ntdll2 = "C:\\Windows\\System32\\ntdll.dll" ascii fullword nocase
		$url1 = "api.trello.com" ascii
		$url2 = "/members/me/boards?key=" ascii
		$url3 = "/cards?key=" ascii

	condition:
		uint16( 0 ) == 0x5a4d and uint32( uint32( 0x3C ) ) == 0x00004550 and filesize < 1MB and all of them
}

Strings (5 patterns)

IdentifierTypeValueModifiers
$ntdll1text"ntdll"ascii fullword
$ntdll2text"C:\\Windows\\System32\\ntdll.dll"ascii fullword nocase
$url1text"api.trello.com"ascii
$url2text"/members/me/boards?key="ascii
$url3text"/cards?key="ascii

Condition

uint16( 0 ) == 0x5a4d and uint32( uint32( 0x3C ) ) == 0x00004550 and filesize < 1MB and all of them

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • The file must be smaller than 1MB (a cheap guard that skips large files).
  • 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: Mandiant

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: 5720870e-8989-59f2-998b-019084d091ce

Tags:FILE