Downloads & Email Attachments

Opening an infected file is one of the easiest ways to get malware, ransomware or a stolen password. Attachments and downloads often look like invoices, shipping notices, résumés, safety documents or software updates. Learning which files are risky, and how to check before you click, protects your phone, your computer and your job.

How bad files get to you

Risky file types

TypeWhy it’s risky
.exe, .msi, .scr, .bat, .cmd, .com, .jar, .vbs, .js, .ps1Programs and scripts that run code when opened. Almost never sent legitimately by email
.zip, .rar, .7z, .iso, .imgCompressed or disk image files that hide dangerous contents. Password-protected zips can slip past scanners
.docm, .xlsm, .pptm and other Office files with macrosMacros are small programs inside documents. Criminals ask you to “enable content” or “enable editing”
.pdf, .html, .htmCan contain links to bad sites or fake login pages, and sometimes malicious code
.lnk, .urlShortcuts that launch commands or websites
.apk (Android)Apps installed outside the official store can carry malware

Even a normal-looking file like a PDF or a photo can be dangerous if it comes from an untrustworthy sender or if it’s been tampered with. The safest assumption is that any unexpected file could be bad.

Tricks to watch for

Before you open or download

  1. Stop and think. Were you expecting this file? From this person? Does it make sense?
  2. Check the sender’s real address (tap or hover to see it), not just the display name. Look for small misspellings.
  3. Verify by another method. Call or message the sender using a number you already have, not one from the email, and ask if they sent it.
  4. Hover over links to see where they go before clicking. On a phone, press and hold the link. When in doubt, type the website address yourself.
  5. Don’t enable macros or editing in an unexpected document.
  6. Scan the file with your antivirus or security software before opening it. Use your employer’s tools if provided. See Safe Browsing.
  7. Open on a protected device. Keep your system and apps updated. See Software Updates.

Safer downloading habits

If you opened a bad file

  1. Disconnect from Wi-Fi and unplug the network cable. Turn off your device’s connection to stop the spread.
  2. Tell your employer’s IT or your manager right away, and don’t keep working.
  3. Run a full security scan, and follow IT’s instructions. Don’t restart or delete things unless told.
  4. Change your passwords from a clean device, especially email, banking and work accounts. See What to Do if Your Account Is Hacked.
  5. Watch your accounts and consider a credit freeze if personal data may have been taken. See Credit Freeze and Identity Theft.
  6. Report it. See Reporting Cybercrime.

Attachment checklist

Standards & references

Last updated: