Categories: Threat Insight

What are Malicious Attachments? How to Identify and Prevent Them.

What is a malicious attachment?

Malicious attachments typically come along with phishing emails. They may come in the form of a fake invoice, or word doc and contain threats like ransomware, malware, keyloggers and other threats.

How do I identify a malicious email attachment?

Look at the file extension – extensions such as .exe should never be opened and are blocked automatically in most cases for that reason. The issue is there are dozens of file extension types and nearly all can be malicious, even .doc for Word documents, which can contain ransomware in macros. The best advice is to never open attachments you are not expecting, and if you must, make sure you have advanced email security in place which will sandbox them before you open them to ensure they are safe.

File archive – extensions such as .zip, .rar, or .7z are commonly used to hide malicious files from being scanned by email security and other systems. The file is often hidden in the attachment behind a password that is given to you in the email. The best advice here again is to never open these file types unless you are expecting them.

The Sender – if you don’t know them and weren’t expecting any attachments, don’t open it.

If it is from someone you know, it still may be a malicious attachment. Their email may have been compromised. Call them and ask them if they just sent an attachment and if so what does it contain.

Email Content – are there spelling errors, weird impersonal greetings, weird grammar etc. These are key indicators as bad actors are commonly from foreign countries where english is not their primary language

It feels suspicious – Were you not expecting the email?

How do I prevent infections from malicious attached files?

Advanced email security – The best defense is to have email security that opens unknown attachments before they enter your inboxes to see what they do. This process is called system emulation or sandboxing and is done to all emails that contain attachments that are unknown to the email security service.

Block dangerous file extensions – There is very little reason the following extensions should be in legitimate emails: .adp, .app, .asp, .bas, .bat, .cer, .chm, .cmd, .cnt, .com, .cpl, .crt, .csh, .der, .exe, .fxp, .gadget, .hlp, .hpj, .hta, .inf, .ins, .isp, .its, .js, .jse, .ksh, .lnk, .mad, .maf, .mag, .mam, .maq, .mar, .mas, .mat, .mau, .mav, .maw, .mda, .mdb, .mde, .mdt, .mdw, .mdz, .msc, .msh, .msh1m, .msh2m, .mshxmlm, .msh1xml, .msh2xml, .msi, .msp,.mst, .ops, .osd, .pcd, .pif, .plg, .prf, .prg, .pst, .reg, .scf, .scr, .sct, .shb, .shs, .ps1, .ps1xml, .ps2, .ps2xml, .psc1, .psc2, .tmp, .url, .vb, .vbe, .vbp, .vbs, .vsmacros, .vsw, .ws, .wsc, .wsf, .wsh, .ade, .cla, .class, .grp, .jar, .mcf, .ocx, .pl, .xbap

Security Awareness Training – Create a user firewall by educating email users on how to identify threats. Proactively test them by sending them real looking phishing emails and see who falls for the bait.

Ron Samson

Recent Posts

EDR Alert Fatigue: Which Endpoint Alerts Need Human Investigation and Which Need Better Tuning

Cut EDR alert fatigue without creating blind spots. Learn to prioritize high-risk signals, automate enrichment,…

3 days ago

Third-Party Vendor Access Security: How to Monitor Remote Support Accounts and Reduce Supply Chain Risk

Secure third-party remote access with MFA, accountable owners and complete visibility—critical as vendors feature in…

57 years ago

PCI DSS 4.0.1 Security Monitoring: What Merchants Must Operationalize Beyond Annual Compliance

Turn PCI DSS 4.0.1 monitoring into faster payment threat response—master Requirements 10, 11 and 12,…

57 years ago

OT Security Monitoring for Manufacturers: How to Protect Plant Networks Without Disrupting Production

Protect plant uptime with passive OT security monitoring. Map legacy assets, baseline traffic, and detect…

57 years ago

Business Email Compromise Response: The First 24 Hours After a Microsoft 365 Account Takeover

Contain a Microsoft 365 BEC in 24 hours: revoke sessions, preserve evidence, stop payment fraud,…

57 years ago