To check if a file is safe to download, first make sure it comes from the developer's official website or the Microsoft Store, then look at the file's real name and extension, and scan it before you open it. If anything feels off, such as an unexpected file type, a tiny "installer" or a site full of fake download buttons, delete it and find the program somewhere trustworthy.
No check can prove a file is completely safe, but a few minutes of care stops the vast majority of malicious downloads. Here is a practical routine for Windows 10 and 11.
Step 1: Check where the download comes from
The source matters more than anything else. Ask yourself:
- Is this the official site? Type the developer's address yourself or reach it from a known link, rather than trusting the first search result. Adverts at the top of search results sometimes point to look-alike sites.
- Is the address spelled correctly? Look for extra words, swapped letters or odd domain endings.
- Is it a mirror or "download portal"? Some portals wrap programs in their own installers that add extras. Prefer the developer's own page.
- Is it free when it should cost money? Cracked software and key generators are a major source of infostealers. See is cracked software safe?
Step 2: Check what the file actually is
Windows hides file extensions by default, which makes it easy to disguise a program as a document. Turn them on: in Windows 11 File Explorer choose View > Show > File name extensions; in Windows 10 tick File name extensions on the View tab.
Then compare the extension with what you expected:
| You expected | Normal extension | Warning signs |
|---|---|---|
| A document or invoice | .pdf, .docx, .xlsx | .exe, .scr, .js, .vbs, .lnk, .iso |
| A photo | .jpg, .png | Anything executable, or a ZIP containing an .exe |
| A program installer | .exe, .msi, .msix | Very small size for a large app, or a password-protected ZIP |
| A music or video file | .mp3, .mp4 | .exe or a "codec" you are told to install |
Watch for double extensions such as report.pdf.exe; the last extension is the real one. Our guide to double-extension files explains this trick in more detail.
Step 3: Check the digital signature
Legitimate software from established companies is usually digitally signed. Right-click the file, choose Properties and look for a Digital Signatures tab. If it is there, select the signature and click Details to check that the name matches the company you expect and that Windows reports the signature as OK. A missing signature is not proof of malware (many small developers do not sign), but a signature from an unrelated or odd-sounding company is a red flag.
When you run an unsigned or uncommon program, Microsoft Defender SmartScreen may show "Windows protected your PC". Take that warning seriously; only click More info > Run anyway if you are confident about the source.
Step 4: Scan the file before opening it
- Open File Explorer and go to your Downloads folder.
- Right-click the file. On Windows 11 choose Show more options if needed, then Scan with Microsoft Defender.
- If the file is a ZIP, scan the ZIP itself and then scan again after extracting it.
- Or drag the file onto the Threat Eraser window for a full check against virus signatures and malware detection rules (see below). If a file is quarantined, what quarantine means explains what happens next.
Step 5: Optionally check the file hash
Some developers publish a SHA-256 checksum next to their downloads. You can compare it by opening PowerShell and running:
Get-FileHash "$env:USERPROFILE\Downloads\setup.exe" -Algorithm SHA256
If the result matches the value on the official site, the file has not been altered since the developer published it. If it does not match, delete the file.
If you already opened something suspicious
Disconnect from the internet, run a full malware scan such as a Threat Eraser Full Scan, and consider a Microsoft Defender Offline scan. If the file asked for a password or login, change that password from a different, clean device. Our guide on how to remove a trojan covers the next steps.
How Threat Eraser helps you check downloads
Threat Eraser checks a download for viruses, trojans and other malware before you open it. Drag the download onto the Threat Eraser window, or use File > Custom Scan, and it checks the file against virus signatures, malware detection rules, and known malware hashes. It also looks inside ZIP archives, including nested ones, and flags suspicious names such as double extensions and hidden right-to-left characters. The file is scanned on your PC and never uploaded, so it is suitable for private documents too.
With a license you can quarantine anything it finds, add Scan with Threat Eraser to the Explorer right-click menu, and turn on Real-Time Watch so new files in your Downloads folder are scanned automatically a moment after they arrive. Definitions update every time Threat Eraser starts, so new threats are recognised quickly.
Frequently asked questions
Is a file safe if my browser downloaded it without a warning?
Not necessarily. Browser checks catch many known threats, but new or rare malware can pass without a warning.
Are files from the Microsoft Store safe?
Store apps go through Microsoft's review process, which makes them a safer source than random websites, though no source is completely risk-free.
What does a SHA-256 hash prove?
A matching hash proves the file is identical to the one the developer published. It does not prove the developer's file is safe.
