Skip to main content

LevelBlue Named Official Cybersecurity Advisor of the PGA of America. Learn more

LevelBlue Named Official Cybersecurity Advisor of the PGA of America. Learn more

Services
Cyber Advisory
Managed Cloud Security
Data Security
Managed Detection & Response
Email Security
Managed Network Infrastructure Security
Exposure Management
Security Operations Platforms
Incident Readiness & Response
SpiderLabs Threat Intelligence
Solutions
BY TOPIC
Offensive Security
Solutions to maximize your security ROI
Operational Technology
End-to-end OT security
Microsoft
Unlock the full power of Microsoft Security
Securing the IoT Landscape
Test, monitor and secure network objects
Why LevelBlue
About Us
Awards and Accolades
LevelBlue SpiderLabs
PGA of America Partnership
Secure What's Next
LevelBlue Security Operations Platforms
Security Colony
Partners
Microsoft
Unlock the full power of Microsoft Security
Technology Alliance Partners
Key alliances who align and support our ecosystem of security offerings
Loading...
Loading...

FAQ: Why does MailMarshal detect some PDF files as PDFInvalid or Binary Unknown?

Expand / Collapse


This article applies to:

  • MailMarshal/SEG

Question:

  • Why does MailMarshal detect some PDF files as PDFInvalid or Binary Unknown? 

Reply:

The PDF standard (ISO 32000) requires that PDF files start with the string %PDF-

Some PDF files have been observed to have characters before the PDF declaration.

MailMarshal SEG is a security product and so it strictly follows the PDF standard. If there are characters before the string %PDF- then MailMarshal does not recognize the file as a valid PDF document.

Past versions of Acrobat and other Adobe software will open files that have characters before the declaration. However, this is now considered a possible security risk. Adobe states that new versions of Adobe Acrobat or Reader might not open these files.

Workaround:

In current supported MailMarshal versions, files that have up to 100 characters before the PDF header are recognized separately as type PDFInvalid. You can set up specific rule conditions to use this type.

  • These files will be unpacked and scanned as for valid PDFs.

Files with more than 100 characters before the PDF header are typed as Binary Unknown (BIN).

  • If you want to pass these files through MailMarshal, you can create an exception to the "Block Unknown Attachment" rule. For instance you could make a rule to allow files with the extension ".PDF" from specific senders.
  • Note that this solution will allow these files to pass through MailMarshal without scanning of the text or image content. Virus scanning would still be performed.

The recommended and permanent solution is to inform the creator (or sender) of these PDF files about the formatting issues.

References:


To contact LevelBlue about this article or to request support:


Rate this Article:
     

Add Your Comments


Comment submission is disabled for anonymous users.
Please send feedback to Trustwave Technical Support or the Webmaster
.