typeconceptconfidencehighcreated2026-07-07updated2026-07-07social-engineeringdefense-evasionmasqueradingresearch-target

double-extension-masquerade

A Windows-specific social-engineering technique where a PE executable is given a filename ending in a benign extension followed by the real .exe extension, e.g. Invoice.pdf.exe. Because Windows Explorer hides known extensions by default (and .exe is known), the victim sees only Invoice.pdf and assumes it is a document.

The technique preys on user interface conventions rather than technical vulnerabilities. It requires no exploit, no macro, and no privilege escalation — only a user double-clicking what appears to be a PDF, Word document, image, or archive.

Common Patterns

Visible to victim Actual filename Context
Invoice.pdf Invoice.pdf.exe Procurement / finance
PO_12345.pdf PO_12345-pdf.exe Purchase-order lure
Bank_Advice.pdf Bank_Advice.pdf.exe Banking / payment
Shipping_Documents.zip Shipping_Documents.zip.exe Logistics

Observed in

Detection

File-system / email-gateway: Alert on any attachment or download where the filename contains .pdf.exe, .doc.exe, .zip.exe, .jpg.exe, or similar double-extension patterns. This is high-signal and low-noise in enterprise environments.

Endpoint: Process creation events where Image ends with a known document extension followed by .exe.

Sigma (pseudocode):

title: Double-Extension Masquerade Execution
detection:
  selection:
    Image|endswith:
      - '.pdf.exe'
      - '.doc.exe'
      - '.zip.exe'
      - '.jpg.exe'
      - '.png.exe'
  condition: selection

Mitigation

  • Group Policy: enable "Show file extensions" for all users.
  • Email gateway: block or quarantine attachments matching *.*.exe patterns.
  • User awareness: train finance/procurement staff that "PDF icons" can be executables.

Related