The Patching Friars' AlmanacA calendar of CVE saints

August 28

MalDoc in PDFHoly card for maldoc-in-pdf, generated with AI (Claude, Anthropic) for the Lunario dei Frati Patchatori.CC BY-NC-SA 4.0 PDF W MalDoc in PDF DUPLEX FACIES
🤖 Image and text generated with AI

⬇ Download holy card: ·

Embed on your site

Blessed MalDoc in PDF, the Two-Faced Document

Patron of ambiguous attachments, files that are two things at once, and antivirus tools that trust the extension.

Life

On 28 August 2023 JPCERT/CC described a simple, mischievous technique: hiding a macro-enabled Word document inside a file that carries a PDF signature. The file opens normally as a PDF, but dragged into Word it runs its macros; tools that classify it as a PDF look no further. A document with two souls, depending on who opens it.

Prayer

O Blessed MalDoc in PDF, who are a PDF to the antivirus and Word to the victim, let our tools look at the content and not only the header. Amen.

How to celebrate

Celebrated by analysing files for what they contain, not what they are called, and disabling Office macros.

One file, two faces, a single trick.

Technical record

Disclosed on
August 28 2023
CVE
No CVE: blessed, not yet canonized by MITRE

Sources: blogs.jpcert.or.jp

Shortcuts: ← → to move, D day, W week, M month, T today.

📅 Add to your calendar

SaintsGoogle CalendarApple, Outlook (.ics)

Observances (feasts, scourges and miracles)Google CalendarApple, Outlook (.ics)

In Google Calendar you can also paste the URL in Settings → Add calendar → From URL. The first sync can take a few hours.