Skip to main content
MROP_25
New Member
October 15, 2025
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
October 15, 2025

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.

AEK
New Member
June 11, 2026

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

AEK
SuperUser
SuperUser
June 11, 2026

Hi Damien

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

AEK
Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT