Torrent safety
The guide to safe torrenting
Safe torrenting starts with legal content from the publisher's own page, an up-to-date open-source client, and checking the file before you open it. A VPN adds privacy from your internet provider. It doesn't make infringement legal.
How BitTorrent works, in one minute
BitTorrent splits a file into pieces. Everyone downloading it, called a swarm, swaps pieces with everyone else. A .torrent file or magnet link identifies the file by a hash, a fingerprint of its contents, and your client checks every piece against that fingerprint. Two consequences matter for safety. First, your client uploads while it downloads. Second, every peer in the swarm can see your IP address.
Step 1: Start with legal content
The biggest risk in torrenting is what you download. Piracy sites and their copies are a common source of malware, and sharing copyrighted works without permission exposes you to legal claims. A 2015 RiskIQ study commissioned by the Digital Citizens Alliance found one in three content theft sites distributed malware. Legal sources such as the Internet Archive, Linux distributions and Academic Torrents publish torrents on their own sites. See legal torrent sources and is torrenting illegal?
Step 2: Use a clean, current client
- Choose an open-source client without ads, such as qBittorrent or Transmission. Both released updates in October 2026. Compare them in best free torrent clients.
- Download it only from the official site, and check its signature or checksum if one is published. In 2016, two Transmission installers for macOS on the official site were replaced with ransomware, Unit 42 found.
- Keep it updated. qBittorrent ignored SSL certificate errors for 14 years until version 5.0.1 fixed it in 2024, BleepingComputer reported. µTorrent had remote-control flaws found by Google's Project Zero in 2018.
- Turn off features you don't use, especially web interfaces and remote control, which open extra network ports.
- Skip third-party search plugins. They query torrent indexes, many of which list pirated files.
Step 3: Verify what you downloaded
BitTorrent's own piece hashes prove you got the file the torrent describes. They don't prove the torrent came from the publisher. For that, compare a checksum or signature the publisher posts on its website.
- Get the checksum file from the official site Ubuntu publishes SHA256SUMS and a signature file, SHA256SUMS.gpg. Arch Linux publishes sha256sums.txt and b2sums.txt plus a PGP signature for each ISO.
- Check the signature Ubuntu's tutorial uses gpg --keyid-format long --verify SHA256SUMS.gpg SHA256SUMS. A "Good signature" from the project's key means the checksum list is authentic.
- Check the file Run sha256sum -c SHA256SUMS (on Windows, PowerShell's Get-FileHash shows a file's SHA-256). The result must match the published value exactly.
- If it doesn't match, delete it Download again from the official source. Don't open a file that fails verification.
Step 4: Spot malware before you open anything
- A video is .mp4, .mkv or .avi. Kaspersky's advice is simple: a film shouldn't be an .exe. Treat .exe, .scr, .bat, .cmd, .lnk and .ps1 files in a media torrent as hostile.
- Be wary of archives, odd formats and files you're told to open first. Bitdefender found a fake film torrent in 2025 whose .lnk shortcut ran PowerShell code hidden in the subtitle file and installed the Agent Tesla trojan. Another, posing as a Mission: Impossible film, was really an ARJ archive containing the Lumma password stealer.
- Show file extensions in Windows File Explorer (View > Show > File name extensions) so a file named film.mp4.exe can't hide.
- Scan downloads with your security software before opening them.
- Don't enter card details or install a "codec" or "player" to watch a download.
More examples and how they work: torrent malware.
Step 5: Firewall and network settings
- Let your operating system's firewall prompt you when the client first runs, and allow it on private networks only.
- Avoid torrenting on public Wi-Fi, where you don't control the network. See public Wi-Fi safety.
- Port forwarding (UPnP or NAT-PMP) can help connectivity but opens a port on your router. Turn it off if you don't need it.
- Set upload and download limits so the client doesn't swamp your connection.
Step 6: Should you use a VPN for torrenting?
A VPN encrypts traffic between your device and the VPN's server. For torrent users, that has real effects and clear limits.
| A VPN does | A VPN doesn't |
|---|---|
| Hide your torrent traffic from your internet provider | Make sharing copyrighted files legal |
| Show peers the VPN's IP address instead of your home address | Stop malware inside a file you open |
| Protect your traffic on untrusted networks | Hide you from the VPN company, which can see your traffic's metadata |
| Encrypt the connection between your device and the VPN server | Guarantee privacy if the provider keeps logs or leaks your real address |
If you use one, pick a provider whose policy allows P2P and whose no-logs claims have been independently audited; see best VPNs for torrenting, VPN audits and no-logs policies explained. Before using a free one, read are free VPNs safe?
Step 7: Bind the client to the VPN and use a kill switch
If the VPN connection drops, your client will carry on over your normal connection unless you stop it. Two settings prevent that:
- Kill switch. Most VPN apps can block all internet traffic when the tunnel drops. Turn it on. See what a VPN kill switch does.
- Interface binding. qBittorrent's Advanced settings include a Network interface option, which sets the interfaces qBittorrent listens on. Choosing the VPN's adapter means the client stops working when the VPN is down instead of falling back to your normal connection.
- Leak checks. Use our WebRTC leak test and what is my IP tool, and read the VPN leak test guide.
Step 8: Seed responsibly
Seeding means uploading after your download finishes. For legal torrents, it helps: Debian asks users to keep their client running after a download so others get images faster. Set a share ratio limit so it stops when you're done. See seeding and ratios.
If you receive a copyright notice
Don't ignore it, and don't pay a settlement demand without understanding it. Our guide to copyright notices from your ISP explains what they mean in the US, the UK and Germany.
Questions people ask
Is torrenting safe?
It can be, if you download legal content from the publisher's site, use an up-to-date client, verify checksums and never run executables from media torrents. Most torrent malware comes from piracy sites and fake files.
Do I need a VPN to torrent?
Not to torrent legally. A VPN hides your torrent traffic from your internet provider and your IP address from peers. It doesn't make infringement legal.
What is binding a torrent client to a VPN?
Setting the client to use only the VPN's network adapter. In qBittorrent it's the Network interface option in Advanced settings. If the VPN drops, the client stops instead of using your normal connection.
How do I check a torrent download is genuine?
Compare its SHA-256 checksum with the one on the publisher's website, and check the checksum file's signature if one is published. Ubuntu and Arch Linux both document how.
Can a torrent give you a virus?
Yes. Security firms have documented fake film torrents carrying trojans and password stealers. Video files can't run by themselves, so the danger is in executables, shortcuts and scripts packed alongside them.
Sources
- BEP 3: The BitTorrent Protocol Specification (bittorrent.org) · read November 13, 2026
- Digital Bait: RiskIQ report for the Digital Citizens Alliance (2015) (digitalcitizensalliance.org) · read November 13, 2026
- KeRanger infected Transmission installer (Unit 42, March 2016) (unit42.paloaltonetworks.com) · read November 13, 2026
- qBittorrent fixes flaw exposing users to MitM attacks for 14 years (BleepingComputer, 2024) (bleepingcomputer.com) · read November 13, 2026
- Google researcher finds critical flaws in uTorrent apps (SecurityWeek, 2018) (securityweek.com) · read November 13, 2026
- How to verify your Ubuntu download (ubuntu.com) · read November 13, 2026
- Arch Linux downloads (checksums and signature) (archlinux.org) · read November 13, 2026
- Kaspersky: And the malware goes to... (2020, file extension advice) (kaspersky.com) · read November 13, 2026
- Fake Leonardo DiCaprio movie torrent drops Agent Tesla (Bitdefender Labs, December 2025) (bitdefender.com) · read November 13, 2026
- Fake Mission: Impossible torrent spreads Lumma Stealer (Bitdefender, May 2025) (bitdefender.com) · read November 13, 2026
- Explanation of options in qBittorrent (official wiki) (github.com) · read November 13, 2026
- Downloading Debian images with BitTorrent (debian.org) · read November 13, 2026