Skip to content

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_Brooxml_Phishing

Detects PDF and OOXML files leading to AiTM phishing

GenericSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compiles with YARA-X
Author
Proofpoint
Date
2024-11-27
Modified
2025-06-02
Score / Quality
65 / 85

What this rule detects

Detects PDF and OOXML files leading to AiTM phishing

Targets: PDF.

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

Summary generated from the rule's metadata and condition.

Rule source

brooxml-phishing.yarDetection Rule License 1.1
rule SIGNATURE_BASE_Brooxml_Phishing : PHISHING FILE
{
	meta:
		description = "Detects PDF and OOXML files leading to AiTM phishing"
		author = "Proofpoint"
		id = "ccd8ab30-90a4-5d4b-8a77-dbc4669bdb95"
		date = "2024-11-27"
		modified = "2025-06-02"
		reference = "https://x.com/threatinsight/status/1861817946508763480"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/gen_brooxml_dec24.yar#L41-L54"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "884e0b65c6c8b916ca9bc28705134ae02d1705c13cf43bff78f0c9ada894b307"
		score = 65
		quality = 85
		tags = "PHISHING, FILE"
		category = "phishing"

	strings:
		$hex1 = { 21 20 03 20 c3 be c3 bf 09 20 [0-1] 06 20 20 20 20 20 20 20 20 20 20 20 01 20 20 20 06 20 20 20 20 20 20 20 20 10 20 20 05 20 20 20 01 20 20 20 c3 be c3 bf c3 bf c3 bf }

	condition:
		all of ( $hex* ) and ( ( uint16be( 0 ) == 0x504b ) or ( uint32be( 0 ) == 0x25504446 ) )
}

Strings (1 patterns)

IdentifierTypeValueModifiers
$hex1hex{ 21 20 03 20 c3 be c3 bf 09 20 [0-1] 06 20 20 20 20 20 20 20 20 20 20 20 01 20 20 20 06 20 20 20 20 20 20 20 20 10 20 20 05 20 20 20 01 20 20 20 c3 be c3 bf c3 …

Condition

all of ( $hex* ) and ( ( uint16be( 0 ) == 0x504b ) or ( uint32be( 0 ) == 0x25504446 ) )

In plain words (Heuristic)

  • The file must start with “%PDF”.
  • All patterns in ( $hex* ) 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: Proofpoint

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: ccd8ab30-90a4-5d4b-8a77-dbc4669bdb95

Metadata

categoryphishing

Tags:PHISHINGFILE