Antpact Toolbox
中文
Home › Blog › Dev & Productivity › Is Your Download Tampered? Verify File Hashes to Catch Bundled Malware and Fake Installers
Dev & Productivity

Is Your Download Tampered? Verify File Hashes to Catch Bundled Malware and Fake Installers

A coworker of mine, Dana, got spooked last month by something that looked completely ordinary. She needed FileZilla to push some files to a client's server, googled it, and clicked what looked like the official download. The install went fine. Two days later her saved FTP credentials started failing and a weird process was phoning home.

Turns out the copy she grabbed wasn't FileZilla at all. Security researchers at Malwarebytes later documented the exact trap: a lookalike site, filezilla-project[.]live, was hosting a trojanized archive of FileZilla 3.69.5. The legit app was inside, plus one extra file — a malicious version.dll dated 2026-02-03, while every other file in the archive was from 2025-11-12. Windows loaded that DLL first, and the malware ran inside a normal-looking FileZilla window, quietly grabbing her saved logins.

The only reason Dana caught it: she ran a SHA-256 check out of habit and it didn't match the hash on the real FileZilla site.

Why a hash is the cheapest insurance you have

A hash is just a fingerprint for a file. Same file, same string, every time. Change one byte and the whole thing changes. So when a publisher posts a SHA-256 next to a download button, that string is the one and only proof the file on your disk is byte-for-byte what they built.

Most people skip this step. That's the opening attackers exploit.

The tricks worth knowing

Lookalike domains and sponsored results. Dana's mistake was trusting a search ad. Fake download pages imitate the real thing with tweaked spelling or extra dashes, then ship a tampered archive. The FileZilla case is one of several — Malwarebytes has also flagged fake 7-Zip builds that turn home PCs into proxy nodes, and a compromised Notepad++ update channel that dropped a backdoor through DLL sideloading.

The official channel itself can be poisoned. This is the scary part. Early in 2025 the official JDownloader website was hacked and its installers swapped for a Python remote-access trojan (BleepingComputer reported it). And the XZ Utils backdoor — CVE-2024-3094, a perfect 10.0 on the CVSS scale — was planted by a contributor who spent roughly two years earning trust before slipping malicious code into versions 5.6.0 and 5.6.1. A Microsoft developer, Andres Freund, caught it in March 2024, weeks before it would have shipped in major Linux distributions. In August 2025 Binarly found 35 Docker Hub images still carrying that backdoor.

The scale is real. Sonatype's 2026 supply-chain report counted 454,600+ new malicious open-source packages in 2025 alone, up 75% year over year, with 1.23 million blocked cumulatively across npm, PyPI, Maven, NuGet and Hugging Face. The FBI's IC3 2025 report logged 1,008,597 complaints and $20.877 billion in losses — tech/customer-support scams alone accounted for $2.1 billion.

How to actually verify a download

Go to the publisher's site and copy the SHA-256 they published (it sits next to the download, or in a .sha256 file). Then compute the hash of your file and compare, character for character. If they differ, delete it and download again from the official source.

One caution: don't paste your file into a random "online hash checker." A lot of those upload your file to their server to compute it — so you've swapped one risk for another. Use a local, in-browser hash calculator instead, where the file never leaves your machine.

For multi-gigabyte images, the built-in commands are faster: on Windows, Get-FileHash file.iso -Algorithm SHA256; on Linux or macOS, sha256sum file.iso. A browser tool is best for quick local checks when you don't want to upload anything.

FAQ

How do I verify a file hash with SHA-256? Download the file, grab the publisher's published SHA-256, compute your file's hash locally, and compare. An exact match means the file is authentic; any difference means re-download.

My downloaded file looks tampered — what now? Disconnect from the network, run a full antivirus scan, and change any passwords the app may have stored. If you're unsure, reinstall the OS. Then fetch a clean copy and check its hash.

SHA-256 or MD5 — which should I use? Either detects accidental corruption, but MD5 has known collision weaknesses, so for trust checks prefer SHA-256.

Is a hash mismatch ever safe? No. A mismatch means the file is not the one the publisher hashed. Don't run it.

How can I tell if an installer is legit? Check the digital signature and match the SHA-256. Both should line up before you run anything.

Wrap

Downloading software feels trivial until the day it isn't. A sponsored link, a lookalike domain, or a poisoned official channel can turn a routine install into a credential stealer. The habit that costs you two minutes and saves a reinstall: check the hash before you run it. The tool is right below — keep it handy for the next download.

🛠Hash CalculatorUse this tool in Antpact Toolbox →

← Back to blog