Forum Discussion
How to classify E-Mails with *.html or *.htm attachments as spam?
A tenant is receiving currently an enormous amount of phishing emails with *.html or *.htm attachments. 99% of the e-mail which contain such an attachment are phishing e-mails. What's the best approach to filter out those e-mails? They are using the standard protection threat policies.
9 Replies
- fire99Copper ContributorI created a rule to forward all emails with html attachments to the administrator for approval. That way I can determine if they are legit or not. It works great for us.
- lbergstromeCopper Contributor
Oh wow fire99 I bet they love that!
- dhilipanCopper ContributorIf required, you can create a Transport rule to block mails with HTML or HTM attachments and even use exclude options for trusted senders.
- lbergstromeCopper Contributor
I hope you'll post your findings in this thread, Kiril. We're bombarded by phishing emails with *.html or *.htm attachments.
- KirilIron ContributorAfter rigorously reporting all *.html and *.htm phishing mails they stopped coming. I didn't have to change anything.
- ExMSW4319Iron Contributor
And they are all obfuscated JavaScript, aren't they?
Sadly the first thing you need to look for are the number of mails with HTML attachment that aren't phishes. I would be surprised if the figure is really as low as 1%. It may seem silly to send legitimate mail with HTML attachments in a world where very few mail clients cannot handle HTML message bodies, but there are reasons for doing so. PDF support is not universal and you would also get in trouble for assuming that any image format is universally acceptable or that plain text is going to be displayed in a non-proportional font.
Armed with this list, you may discover that the X% of your HTML attachment senders who are legitimate are regular repeat senders whom you can exempt from a rule sending the rest to the hosted quarantine. That is more for small tenants rather than large ones with extremely diverse inflows.
Where that is not an option, you might discover that it's very rare for freemailer accounts to send legitimate HTML attachments. You can then have a rule to send mail from their domains to the hosted quarantine if it has an HTML attachment.Finally, you might find that some of the more obscure formats such as SHTML are never used legitimately. If that is the case they can be added to your common attachment types filter.