Skip to main content
MROP_25
New Member
Oct 15, 2025 5:28 AM UTC
Question

Attachment Scan Rules

how is working this rule executable_windows??

 

FortiMail Attachment Scan Rules (executable_windows), was catched this file 1.pdf:( detected by Content Filter, filetype application/javascript filename ABC.js in file ABC2 Integration Document - Phase 1.pdf, attachment scan rule: executable_windows).

 

but when downloaded that file to scan by Sandbox, the file was clean result??

 

Any one had same this problem, and was solved?

3 replies

AEK
SuperUser
SuperUser
Oct 15, 2025 7:51 AM UTC

It seems this PDF file includes a JS script. While when scanned with Sandbox it founds the script is not harmful.

Your FML's content filter doesn't look for malware, it just block the file when it finds a JS script. Your content filter is just working as it is supposed to do.

Since you have a Sandbox, if you need to allow JS scripts that are embedded in PDF files, then your solution would be to allow JS scripts in the content filter. The Sandbox will do the rest.

Translate
AEK
New Member
Jun 11, 2026 1:52 AM UTC

HI, we are having the same problem, a few PDFs are being caught with .js embedded, but we don’t have Sandbox, so is our only options are :
1) not to scan PDFs? 
2) manually check each PDFs?

Regards, Damien

Translate
AEK
SuperUser
SuperUser
Jun 11, 2026 3:20 PM UTC

Hi Damien

FML does scan PDF files with JS content but it is signature based.

Translate
AEK
Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024