Is It Safe to Open an Unknown File? A Checklist
Attachments and downloads are a standard way to deliver malware and phishing. You can lower the risk a great deal with a few habits, and by looking at a file before you open it in a full program.
Warning signs
- You did not expect the file, or the sender's address is slightly off.
- The message creates urgency: unpaid invoice, account locked, parcel failed.
- The file is a ZIP with a password given in the email body.
- The extension is an executable or a macro-enabled Office file (.docm, .xlsm).
- An HTML file asks you to sign in to something.
Preview before you open
A desktop application such as Word runs a lot of code when it opens a file, including macros if allowed. A browser-based viewer only reads and displays content. Using Drop and Open, a DOCX becomes plain HTML, a HTML file is shown as source text and not run, and a PDF is displayed by the browser's own sandboxed viewer.
A short checklist
- Confirm with the sender through a different channel.
- Show full file extensions in your operating system.
- Scan the file with antivirus software or an online scanner you trust.
- Preview it in a browser rather than opening it with a full application.
- Keep macros disabled in Office unless you need them.
- Keep your operating system, browser and PDF reader up to date.
Are PDFs always safe?
No. PDFs can contain links to malicious sites, and older readers have had security bugs. A browser's built-in viewer is generally safer than an outdated third-party reader, but links inside the document still need care.
If you opened something you should not have
Disconnect from the network, run a full security scan, change passwords for accounts you used on that device, and tell your IT team if it is a work machine.