Skip to content
Aback ZIP

Troubleshooting · 5 min read · Updated

Is this ZIP file safe to open? A checklist

How to judge a ZIP from an email or a download before you open it: the warning signs to look for, how to check an archive without extracting it, and what a check can't tell you.

A ZIP file is a container. Looking at the list of files inside doesn't run anything; the risk comes from what is inside and what you do with it, such as double-clicking a program disguised as a document, enabling macros, or extracting with a tool that trusts dangerous paths. A few checks before you extract catch most common tricks.

Start with where it came from

  • Were you expecting it? Unexpected invoices, delivery notices, CVs and voicemails in ZIP files are a common way to deliver malware, even from addresses you know, because email accounts get taken over.
  • Does this sender normally send ZIPs? If not, confirm through another channel, such as a phone call or a new message, not by replying to the email.
  • Did the download come from the official site? Software from mirrors, forums and file-sharing links may have been repackaged.

Warning signs inside the archive

SignWhy it's a risk
Double extensions such as invoice.pdf.exe or photo.jpg .scrWindows hides known file extensions by default, so the program looks like a PDF or an image.
Hidden right-to-left characters in a nameAn invisible character reverses the end of the name, so a program called invoice[RLO]fdp.exe displays as invoiceexe.pdf.
Programs and scripts: .exe, .scr, .bat, .cmd, .ps1, .vbs, .js, .hta, .msi, .lnk, .jarOpening them runs code. Expected in a software download; suspicious in an email that should contain documents.
An encrypted ZIP with the password in the same messageAntivirus software and email filters can't look inside an encrypted archive, which is exactly why attackers use them.
Macro-enabled Office files (.docm, .xlsm, .pptm) and older .doc, .xls, .pptMacros can run code. Don't click Enable Content in a document you weren't expecting.
Disk images: .iso, .img, .vhd, .vhdxFiles inside may lose Windows' downloaded-from-the-internet marking, which turns off some security warnings.
HTML and SVG filesThey can run scripts or show a fake sign-in page when opened in a browser.
Archives inside the archiveEach extra layer is another place to hide something, and some scanners don't look deep.

Tricks aimed at the extraction tool

Some archives target the software that extracts them rather than you:

  • Zip bombs are small archives that expand to gigabytes or more, through extreme compression ratios or entries that share the same data, to fill your disk or freeze your computer. A file of a few kilobytes that claims to expand to many gigabytes is the giveaway.
  • Zip Slip uses entry names such as ../../evil.bat or absolute paths, so a careless extractor writes files outside the folder you chose, possibly overwriting something important. Links that point outside the folder can do the same.
  • Conflicting headers and duplicate names make different apps see different files in the same ZIP, which can slip a file past a scanner.

Not every tool protects against these, especially older archivers, scripts and server code that extracts uploads automatically.

Check an archive in your browser

  1. Open ZIP Safety Check and choose the archive. It reads the archive index and link targets only; nothing is extracted or run, and the file is not uploaded.
  2. Review the findings. Each has a severity (High, Medium, Low or Info), an explanation and the files involved, and the overall verdict follows the most serious one.
  3. For the full file list with sizes, dates and compression ratios, open the archive in ZIP Viewer.
  4. If the archive won't open or reports errors, Test ZIP Integrity shows whether it is damaged.
  5. If it looks as expected, extract only what you need with Extract ZIP, which neutralises unsafe paths.

ZIP Safety Check is not an antivirus. It looks at names, paths, sizes and structure, not at what the files contain, so a harmful file with an ordinary name, such as a malicious PDF, won't be flagged. Scan the extracted files with your antivirus as well.

If something looks wrong

  • Don't open or run anything from the archive. Delete it, or leave it unopened if your IT team wants to see it.
  • Contact the sender through a different channel to check whether they really sent it.
  • At work, report it to your IT or security team. Many organisations have a report button in the mail client.
  • If you already opened something suspicious, disconnect from the network, run a full scan with your antivirus and tell your IT team.

Tools for this

Frequently asked questions

Viewing the list of files doesn't run anything. The risk comes from opening files inside, especially programs, scripts, shortcuts and macro-enabled documents. Bugs in archive software have occasionally been exploited too, so keep your archiver up to date.

More guides