Skip to main content
alya
Staff
Staff
Jun 13, 2022 7:34 AM UTC

Technical Tip: How to scan password protected archive file

  • Oct 12, 2026 10:11 AM UTC
  • 0 replies
  • 2965 views
  • Translate All

Description

This article describes how to scan the email contain password protected archive file.

Scope

FortiMail v6.2.

Solution

  1. Navigate to the GML GUI. Go to: Profile -> Content Profile and select Create New or modify the current Content Profile.

  2. In the content profile, under Archive Handling, enable Check archive content and Enable Attempt to decrypt archive.

 

Content (2).png

 

  1. Next, expand the File Password Decryption Options and enable Words in email content by default; the 'Number of adjacent words to keyword' is set to 5. The minimum adjacent words is 1, and the maximum is 10.

 

Number of adjacent words to keyword means the words before and after the keywords as the 'passwords' or 'pass'. Number of words to try: specify how many words before and after the keywords to use.

 

For example, in the email content, there is such a sentence: 'To open the document, please use password 123456. If you cannot open it, please contact us.'


Specify to use two words before and after the keyword, 'please', 'use' (two words before the keyword 'password'), '123456', and 'If' (two words after the keyword 'password') will be used as one by one as the password to decrypt the attachments.

 

tempsnip.png

 

  1. Apply this content profile to the IP policy or recipient policy accordingly.

  2. When sending an email containing a password-protected archive file, FortiMail will be able to scan it, and the following log will be shown.

 

tempsnip.png


FortiMail version 8.0.x: Password-protected Attachment Scan Office/PDF File feature is added.

cdcbc91a.png

    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