--- title: Trojan malware ms.reviewer: description: Trojans are a type of threat that can infect your device. This page tells you what they are and how to remove them. keywords: security, malware, protection, trojan, download, file, infection, trojans, virus, protection, cleanup, removal, antimalware, antivirus, WDSI, MMPC, Microsoft Malware Protection Center, malware types ms.prod: w10 ms.mktglfcycl: secure ms.sitesec: library ms.localizationpriority: medium ms.author: ellevin author: levinec manager: dansimp audience: ITPro ms.collection: M365-security-compliance ms.topic: article search.appverid: met150 --- # Trojans Trojans are a common type of malware which, unlike viruses, can’t spread on their own. This means they either have to be downloaded manually or another malware needs to download and install them. Trojans often use the same file names as real and legitimate apps. It is easy to accidentally download a trojan thinking that it is a legitimate app. ## How trojans work Trojans can come in many different varieties, but generally they do the following: - Download and install other malware, such as viruses or [worms](worms-malware.md). - Use the infected device for click fraud. - Record keystrokes and websites visited. - Send information about the infected device to a malicious hacker including passwords, login details for websites, and browsing history. - Give a malicious hacker control over the infected device. ## How to protect against trojans Use the following free Microsoft software to detect and remove it: - [Windows Defender Antivirus](https://docs.microsoft.com/windows/security/threat-protection/windows-defender-antivirus/windows-defender-antivirus-in-windows-10) for Windows 10 and Windows 8.1, or [Microsoft Security Essentials](https://www.microsoft.com/download/details.aspx?id=5201) for previous versions of Windows. - [Microsoft Safety Scanner](safety-scanner-download.md) For more general tips, see [prevent malware infection](prevent-malware-infection.md).