Safety

Archive Safety: How to Open ZIP, RAR and 7z Files Without Getting Malware

An archive cannot harm you while it sits in your Downloads folder. The danger comes from what is inside it and what you do next. Criminals use ZIP, RAR, 7z and ISO files because they hide the real file type, slip past email filters and make dangerous files look ordinary. This guide explains the tricks and gives a checklist you can actually follow.

Updated 2026-10-13 · Written and tested by the UnpackNest editorial team (TECCONET)

Why archives are used to deliver malware

Warning signs in the email or message

Warning signs inside the archive

You seeWhy it is suspicious
invoice.pdf.exe, photo.jpg.scrDouble extension: the last part is the real type. Windows hides known extensions by default
.exe, .scr, .com, .bat, .cmd, .ps1, .vbs, .js, .hta, .msiPrograms and scripts that run when double-clicked
.lnk shortcutsShortcuts can run commands while looking like a document
.docm, .xlsmOffice files with macros
An ISO or IMG inside a ZIPLayered containers designed to hide the payload
A single file with lots of spaces before the extensionPushes .exe out of view in narrow columns

In Windows, turn on File name extensions (File Explorer > View > Show) so the real types are visible.

What a careful extraction tool blocks

Some dangers are in the archive's structure rather than the files. These are the checks UnpackNest's tools apply, and what you should expect from any good extractor:

The UnpackNest RAR tool after opening an archive: it reports the archive type, whether it is encrypted and whether unsafe entries were found, before anything is saved.
The UnpackNest RAR tool after opening an archive: it reports the archive type, whether it is encrypted and whether unsafe entries were found, before anything is saved.
UnpackNest is not an antivirus. It reads archives safely and blocks dangerous structures, but it does not judge whether a program inside is malicious. Scan extracted files you are unsure about.

A checklist before you open any archive

  1. Was it expected? If not, confirm with the sender by another channel, not by replying to the email.
  2. Look before extracting. List the contents first (the UnpackNest tools always do this). If you see programs or shortcuts you did not expect, stop.
  3. Extract only what you need. You can extract a single PDF and leave the rest.
  4. Keep the warning. Use tools that preserve Windows's Mark of the Web; File Explorer does, and 7-Zip can (under Tools > Options > 7-Zip > Propagate Zone.Id stream). Browser downloads from UnpackNest are new downloads, so your browser marks them as downloaded files.
  5. Scan if unsure. Microsoft Defender scans on access. You can also right-click a file and choose Scan with Microsoft Defender.
  6. Keep software updated. Update your extraction tool, browser and operating system. Old extractors are a real risk.
  7. Never "enable content" in a document from an archive you did not expect. That button runs macros.

About online scanners

Services such as VirusTotal check a file against dozens of antivirus engines. They are useful for suspicious programs, but uploading shares the file with the service and, often, with security researchers. Never upload private documents, contracts or personal photos to a public scanner. For those, scan locally.

For businesses

Frequently asked questions

Can just opening a ZIP infect my computer?

Listing a ZIP in an up-to-date tool is generally safe. Infection normally requires running something inside. Rare exceptions are bugs in old extractors, which is why updates matter.

Are RAR files more dangerous than ZIP?

No. The danger is the content, not the format. RAR and 7z are slightly more popular with criminals because some filters handle them less well.

Does extracting in the browser protect me from malware?

It protects against structural tricks (unsafe paths, links, bombs) and keeps the archive off servers. A malicious program you extract and then run is still dangerous.

Related guides