Antivirus software removes a Trojan horse virus by scanning files against known malware signatures and behavior patterns, quarantining the malicious file, and deleting or repairing what it touched. For a full cleanup, run a full scan with a reputable scanner, remove what it finds, restart, update your software, and change passwords that may have been stolen.
Key takeaways
- A Trojan is not a virus: it does not copy itself, it tricks you into installing it.
- A full scan plus quarantine removes most Trojans, but you must also change exposed passwords.
- Free on-demand scanners clean an infection; real-time protection stops the next one.
A Trojan horse virus does not break into your computer. You invite it in, because it looks like something useful: a free game, a document, a software update, or a cracked app. Once it runs, it can steal passwords, open a back door, or install ransomware.
What is a Trojan horse virus?
A Trojan horse is malware that disguises itself as legitimate software so you install it yourself. Unlike a virus, it does not copy itself to other files; its power comes from deception, not replication.
The name comes from the ancient story of the wooden horse left outside Troy. The gift looked harmless, and the danger was hidden inside. Modern Trojans work the same way: the file looks safe, and the malicious code runs when you open it.
Malwarebytes explains Trojan removal in its Trojan scanner guide.
Malwarebytes describes a Trojan as a delivery mechanism that disguises itself as legitimate software, then infects the device with threats such as ransomware or spyware. That framing matters, because the Trojan itself is often only the first stage. What it downloads next does the real damage.
How does antivirus detect a Trojan horse virus?
Antivirus detects Trojans in three main ways: matching files against known malware signatures, watching programs for malicious behavior, and checking files against cloud reputation data. Together, these catch both known Trojans and new variants.
Signature detection is the oldest method. The scanner compares each file with a database of known malicious code. It is fast and accurate for known threats, but it cannot catch a brand-new Trojan on its own.
Behavioral detection watches what a program does. A document that tries to download an executable, disable security software, or contact a strange server gets flagged even if its signature is unknown. Cloud reputation adds a third check: if a file is new, rare, or widely reported as malicious, the scanner treats it with suspicion.
That is why updates matter so much. An antivirus with old definitions is blind to new Trojans. Keep automatic updates on, and do not ignore the warning when your protection is out of date.
What are the signs of a Trojan infection?
The most common signs are frequent pop-ups, a suddenly slow computer, programs opening on their own, changed browser settings, and unknown apps. No single sign proves an infection, but several together should prompt a scan.
- Pop-ups everywhere. Frequent ads or fake security warnings, even when your browser is closed.
- Slow performance. Your computer fans spin up and apps crawl, with no obvious cause.
- Programs you did not install. New toolbars, apps, or browser extensions appear.
- Accounts acting strangely. Friends get odd messages from you, or passwords stop working.
- Security software disabled. Your antivirus turns itself off or cannot update.
Some Trojans show no signs at all. A well-built Trojan wants to stay hidden while it steals data, so a clean-looking computer is not proof of safety. If you downloaded a suspicious file, scan even if nothing looks wrong.
Antivirus vs anti-malware: what is the difference?
There is little practical difference today. Most modern products combine antivirus and anti-malware engines, and both terms describe software that finds and removes malicious code, including Trojans.
| Feature | Antivirus | Anti-malware scanner | Built-in Defender |
|---|---|---|---|
| Removes Trojans | Yes | Yes | Yes |
| Real-time protection | Usually yes | Paid versions only | Yes, built in |
| Cost | Free or paid | Free scan, paid protection | Included with Windows |
| Best for | Everyday protection | Second-opinion cleanup | Baseline Windows protection |
| Extra features | Firewall, web shield, VPN | Focused on removal | Firewall, ransomware protection |
The practical advice is simple: run one real-time product, and keep a second on-demand scanner for a second opinion. Running two real-time products at once can cause conflicts and slow your computer.
How do I remove a Trojan horse virus?
Remove a Trojan by disconnecting from the internet, running a full scan with a reputable scanner, quarantining what it finds, restarting, and then changing any passwords that may have been exposed. Do this in order, and do not skip the password step.
- Disconnect from the internet. This stops the Trojan sending data out or downloading more malware.
- Update your scanner, then run a full scan. A quick scan may miss a Trojan hiding in an unusual folder. Malwarebytes offers a free Trojan scanner that scans and removes what it finds.
- Quarantine and remove everything flagged. Quarantine isolates the file safely; deletion removes it. Follow the scanner's recommendation.
- Restart and scan again. Some Trojans reinstall themselves on reboot. A clean second scan is the confirmation you need.
- Change your passwords. Start with email, then banking and work accounts. Use a clean device, and check whether any password appears in a known breach with our pwned password checker.
CISA publishes general malware guidance on its malware topic page.
If the infection keeps coming back, boot into Safe Mode and scan from there, or use an offline scan. Microsoft Defender offers an offline scan that runs before Windows starts, which catches malware that hides while Windows is running.
What are the main types of Trojans?
The main types are backdoor Trojans, banking Trojans, downloaders, rootkits, and remote access Trojans. Each one opens a different door, but all of them rely on you running the file first.
- Backdoor Trojan: opens a hidden entry so an attacker can return later.
- Banking Trojan: watches for banking logins and steals account details.
- Downloader Trojan: a small first-stage file whose only job is to fetch bigger malware.
- Rootkit Trojan: hides deep in the system so security software cannot see it.
- Remote access Trojan (RAT): gives an attacker control of your mouse, keyboard, files, and camera.
You do not need to identify the exact type to clean it. The removal steps are the same. Knowing the type helps afterward: a banking Trojan means you should watch your accounts closely, while a RAT means you should check for unknown remote-access software.
How do Trojans spread?
Trojans spread through fake downloads, phishing emails, malicious ads, infected USB drives, and pirated software. In almost every case, the victim runs the file voluntarily, believing it is something else.
Phishing email is the most common route. An attachment named after an invoice, a delivery notice, or a job application carries the Trojan, and the email creates urgency so you open it without thinking. Our guide to spear phishing shows how targeted versions of these messages work.
Fake software is the second route. A search result or ad offers a free version of a paid app, a codec, or a driver. The download is the Trojan. Only download software from the vendor's official site or your operating system's app store.
Is free antivirus enough for Trojans?
Free antivirus is enough to detect and remove most Trojans, and free on-demand scanners are excellent for cleanup. Paid antivirus is worth it when you want real-time blocking, web protection, and ransomware shields running all the time.
Malwarebytes Free scans and removes Trojans when you run it, but it does not block them between scans. Malwarebytes Premium adds real-time protection, ransomware protection, and malicious website blocking. Avast offers a similar split: a free scanner, with real-time protection in its paid plans.
For most home users, the best setup is Microsoft Defender running in real time, plus a free second-opinion scanner you run monthly or after a suspicious download. That combination costs nothing and covers both prevention and cleanup.
How do you prevent Trojan infections?
Prevent Trojans by downloading software only from official sources, keeping your operating system and apps updated, using real-time antivirus, and treating unexpected attachments with suspicion. No single habit is enough; the layers together are what work.
Updates close the holes Trojans exploit. Many Trojans use known vulnerabilities in old software, so an unpatched browser or plugin is an open door. Turn on automatic updates for your operating system, browser, and the apps you use most.
Backups are your safety net. If a Trojan installs ransomware or corrupts files, a recent backup is the difference between an annoyance and a disaster. Keep one backup offline or in the cloud, and test that you can restore from it.
What if the Trojan is on your phone?
On Android, uninstall the suspicious app, run a scan with a reputable mobile security app, and check which apps have device-admin or accessibility permissions. On iPhone, remove unknown profiles and apps, then update iOS.
Android Trojans usually come from apps installed outside the Google Play Store, or from a legitimate-looking app that asks for far more permissions than it needs. A flashlight app does not need access to your messages. If you are unsure whether your phone is infected, our guide on how to know if your phone is hacked walks through the signs and checks.
After cleaning a phone, change the passwords for your email and banking apps, and review active sessions in those apps. A Trojan that stole a session token can keep access even after you change a password, so sign out everywhere and sign back in.
When should you reset instead of cleaning?
Reset your device when the Trojan keeps returning after two full scans, when your antivirus cannot update, or when the infection involved banking or work credentials. A reset is disruptive, but it is the only way to be sure a deep infection is gone.
Before you reset, back up your documents, photos, and other personal files to an external drive or cloud storage. Do not back up programs or installers, since those may carry the infection. After the reset, reinstall apps from official sources only, then restore your files and change your passwords.
The bottom line
A Trojan horse virus succeeds because it looks trustworthy. Antivirus can remove it, but the best defense is making that first click less likely: official downloads, updated software, real-time protection, and a pause before you open an unexpected file.
If you suspect an infection, scan now, quarantine what is found, and change your passwords from a clean device. You can check whether a password was exposed in a known breach with the free pwned password checker.
Frequently asked questions
What is a Trojan horse virus?
A Trojan horse is malware disguised as legitimate software, such as a free game, a document, or a software update. Once you run it, it can steal data, install more malware, or give an attacker remote access. Unlike a virus, it does not copy itself to other files.
Can antivirus remove a Trojan horse virus?
Yes, in most cases. A reputable antivirus or anti-malware scanner can detect the malicious file, quarantine it so it cannot run, and remove it. If the Trojan installed a rootkit or stole credentials, you may also need to reset the device and change passwords.
Is Windows Defender enough to remove Trojans?
Windows Defender, now called Microsoft Defender Antivirus, is built into Windows and can detect and remove many Trojans with a full or offline scan. A second-opinion scan from another reputable scanner is a sensible check after a serious infection.
What are the signs of a Trojan infection?
Common signs are frequent pop-ups, a slow computer, programs that open on their own, changed browser settings, unknown apps, and friends receiving strange messages from your accounts. Any one sign can have another cause, so scan before you conclude it is malware.
Can a Trojan steal my passwords?
Yes. Many Trojans include a keylogger or credential stealer that records what you type or copies saved passwords. After removing a Trojan, change passwords for email, banking, and other important accounts from a clean device, and turn on multi-factor authentication.
Do Macs and phones get Trojan horse viruses?
Yes, though less often than Windows PCs. Mac Trojans usually arrive as fake installers or pirated software, and Android Trojans hide in apps from outside the official store. iPhones are harder to infect, but malicious profiles and phishing can still expose your accounts.
Should I pay for antivirus or use a free scanner?
A free scanner is enough to clean a one-off infection. Paid antivirus adds real-time blocking, web protection, and ransomware protection, which matter if you download a lot of software or share a computer with children. Pick one reputable product and keep it updated.
Sources
The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.
Checked against Malwarebytes and Avast Trojan removal guidance, Microsoft Defender documentation, and CISA malware guidance.
How we write and fact-check →