PDF embeds a script file as an attachment

PDF_EMBEDDED_SCRIPT_ATTACHMENT

← All detection heuristics · PDF

medium PDF_EMBEDDED_SCRIPT_ATTACHMENT

What it means

An /EmbeddedFile attachment is named as a shell, PowerShell, batch, or scripting-host script.

Why it fires

Benign PDF attachments are documents, spreadsheets or images. A script attachment has no magic bytes for the content classifier to key off, so it previously surfaced only as a generic 'Embedded file' finding. The rule reads the /F and /UF filespec names and escalates to high severity when the document also contains a literal IPv4:port URL — a script payload alongside a hardcoded staging endpoint. Security-range and CTF artifacts do legitimately bundle scripts, which is why the bare case stays medium.

Other PDF heuristics

PDF_LAUNCH_JS_PROTOCOL PDF_LAUNCH_COMMAND PDF_LAUNCH_MSHTA PDF_ADOBE_QR_UNLOCK_LURE PDF_JS_URL_KEYED_READER_EXPLOIT_KIT CVE_2009_2990_U3D_AUTOACTIVATE PDF_ANNOT_AUTHOR_EVAL_STAGER PDF_ANNOT_SUBJECT_HEX_EVAL_STAGER PDF_ANNOT_SUBJECT_MARKER_EVAL_STAGER PDF_JS_BASE_N_TOKEN_DOWNLOADER PDF_BASE64_PE_PAYLOAD PDF_BRAND_INVOICE_LURE_OFFDOMAIN PDF_BRAND_INVOICE_CLOUD_EMAIL_LURE PDF_CORPORATE_PRESENTATION_CLOUD_REDIRECT_LURE PDF_CORRUPTED_FILE_UPDATE_LURE PDF_CRACKED_SOFTWARE_SHORTLINK_LURE PDF_GAME_HACK_SEO_LINK_FARM PDF_DISTRIBUTED_PIRACY_LINK_FARM PDF_DOCUSIGN_DOWNLOAD_LURE PDF_DOCUMENT_ACTION_HOST_MISMATCH_LURE PDF_DYNAMIC_DNS_DOCUMENT_LINK_FARM PDF_SWF_NATIVE_MEMORY_CORRUPTION_PAYLOAD PDF_EMBEDDED_PE_PAYLOAD CVE_2010_1240_EMBEDDED_EXPORT_LAUNCH