In Trend Micro Email Security you can use Content Filtering to block these double extensions. The following steps below shows how to create a policy for this.
- Go to Inbound Protection > Content Filtering, and then click Add to create a new policy.
Click the image to enlarge.
- Under Basic Information, complete the needed information such as policy name.
Click the image to enlarge.
- Under Recipients and Senders, you may specify the user email address or domain for the targeted recipients, senders as well exceptions of the policy.
Click the image to enlarge.
- Click on Scanning Criteria, select Advanced. Tick Attachment is, and then click on name or extension. A new window will open, where you can specify the criteria for the attachment name.
Click the image to enlarge.
- Add the regular expression. Do the following:
- Tick Attachments named, place the regular expression below and click Add.
- On the empty field add the following regular expression "example\.(...)\.(...)".
- Click the Add button.
You will be able to see the expression added on the list below.
Click the image to enlarge.
All attachments with the following filename format <filename>.<3 characters>.<3 characters> will be triggered. For instance, the policy will be triggered if an attachment with "example.pdf.exe" as its file name is received. - Once done, click on the Actions tab. Specify the action for the policy when triggered. In this case, we will set it to Quarantine.
Click the image to enlarge.
- Click Submit to save changes.