Foxcolab

Glossary

Malicious attachment

Definition

Malicious attachment: A file attached to an email that is built to harm the device that opens it, such as a program disguised as a document, an Office file with harmful macros, an archive hiding either, or a web page file that shows a fake sign-in form.

Also known asmalicious email attachmentdangerous attachmentinfected attachmentweaponized attachmentattachment malware

In short

A malicious attachment is a file sent with an email that harms the device that opens it: a program disguised as a document, an Office file with macros, an archive hiding either, or a web page file that shows a fake sign-in. CISA advises caution with unsolicited attachments even from people you know. Ask whether you expected this file, and confirm before opening.

Key takeaways

  • A malicious attachment does its harm when opened; the email around it is only the delivery.
  • Common disguises are double extensions, archives, disk images, shortcuts, web page files and macro documents.
  • CISA says to be wary of unsolicited attachments, even from people you know.
  • Confirm an unexpected file through another channel before opening it.
  • If you opened one, disconnect, scan and change passwords from a clean device.

Last reviewed 5 December 2026 by Foxcolab Team

A malicious attachment is a file sent with an email that's built to harm the device that opens it. It might be a program dressed up as a document, an Office file whose macros download malware, an archive hiding either one, or a web page file that opens a fake sign-in form on your own computer. The email is the delivery. The attachment does the damage when you open it.

Common disguises#

Looks likeActually is
invoice.pdf.exeA program with a double extension, shown as a PDF when extensions are hidden
Statement_March.docmA Word file that can run macros
scan_0420.zipAn archive with a program inside
Payment_Advice.htmlA local web page that shows a fake sign-in
report.iso or report.lnkA disk image or shortcut that runs code

Gmail's list of blocked file types shows how wide the field is: as of December 2026 it refuses .exe, .js, .iso, .lnk and dozens more, including inside archives, along with "documents with malicious macros" and "password-protected archives with archived content."

Why caution beats trust#

CISA's advice on attachments begins: "Be wary of unsolicited attachments, even from people you know." Addresses can be faked, and real accounts get taken over. Its other steps: "Keep software up to date," "Trust your instincts," and "Save and scan any attachments before opening them."

A quick test before you open anything: were you expecting this file, from this person, in this format? An invoice from a supplier you've never paid, or a "voicemail" that arrives as a web page file, fails it. Confirm through a phone number or chat you already use.

If you opened one#

Disconnect the device from the network, run a full scan, and change your passwords from a different, clean device. Tell your IT team straight away, because speed limits the damage. More on what the payload might be in malware.

In Foxcolab#

On the web, Foxcolab Mail asks before you download a file whose type can run a program, such as .exe, .js, .iso or .lnk (This kind of file can harm your device), and before archives, web page files and macro-enabled Office files (Download this file?). Cancel has the focus; Download anyway is a deliberate choice. When you attach files, Foxcolab Mail checks each one on your device first, and programs or disguised files can't be attached at all. For sensitive files, a Foxcolab Drive link is the better way to send them: Drive files and file names are end-to-end encrypted, and the link can carry a password, an expiry date and a download limit (how). Create a free account to try both.

Keep exploring

All terms

Foxcolab

Private work tools, without the ads.

Mail, files, documents, spreadsheets and meetings in one account. Files, documents and spreadsheets are end-to-end encrypted.

Jump to