What is Trojan?
A Trojan, short for Trojan horse, is malware disguised as something the victim wants to run: a cracked game, an invoice, a browser update, a handy utility. It does not spread by itself. The user launches it, and while the visible part may even work, the hidden part installs a backdoor, steals data or downloads more malware.
Definition
- Trojan
- A Trojan, short for Trojan horse, is malware disguised as something the victim wants to run: a cracked game, an invoice, a browser update, a handy utility. It does not spread by itself. The user launches it, and while the visible part may even work, the hidden part installs a backdoor, steals data or downloads more malware.
How Trojan Works
The name describes the delivery trick, not the payload. NIST's glossary defines a Trojan horse as a program that appears to have a useful function but also has a hidden and potentially malicious one. That split is why the label works better as a delivery category than as a malware family: the same disguised installer can drop ransomware, an information stealer or a remote access tool, depending on what the operator wants. Antivirus detection names such as Trojan:Win32/... reflect this. They describe how the file behaves on arrival, not what it does a week later.
Because the user launches it, a Trojan needs a convincing lure more than an exploit. The usual ones are:
- search ads and lookalike download sites for popular free software,
- fake browser or meeting-app updates pushed from compromised websites,
- pirated software bundles,
- and email attachments dressed up as invoices or shipping notices, often an ISO, ZIP or OneNote file wrapping a script or executable.
MITRE ATT&CK maps the moment of execution to User Execution: Malicious File (T1204.002). The disguise itself is Masquerading (T1036): a double extension like invoice.pdf.exe, a borrowed icon, or a binary named after a Windows process but running from the wrong folder.
Most current samples in this category are droppers or loaders. The first stage is small and does little beyond checking that it is not inside a sandbox, setting up persistence and fetching the real payload over HTTPS. That staging is good news for defenders: catching the loader stops whatever would have come next, and a loader seen on one host is a strong hint that the same campaign reached other users through the same lure.
Trojan in SOC Operations
In an alert queue a Trojan usually appears as a process-creation event with a suspicious parent chain: explorer.exe launching a file from the Downloads folder or from inside a mounted ISO, followed within seconds by PowerShell, rundll32 or msiexec reaching out to the internet. The triage questions are short. Where did the file come from: browser download, mail attachment or USB? Did the user run it, and with what privileges? What did it drop or schedule afterwards? Answer them from EDR process trees and proxy logs, then pivot on the download URL or file hash across the fleet, because Trojan campaigns hit many users with the same bait. If the second stage has already executed, triage that payload with its own playbook.
Practice Trojan in a Real SOC
SOCSimulator provides hands-on training with realistic SIEM, XDR, and Firewall interfaces. Build real analyst skills investigating trojan scenarios with zero consequences, free.
Frequently Asked Questions
- What does a Trojan actually do?
- Whatever its operator built it to do once it is running. The disguise only gets it executed. Typical payloads open a backdoor for remote control, steal saved browser passwords and session cookies, log keystrokes, enroll the machine in a botnet or download ransomware. Many Trojans show the user nothing at all.
- Is Trojan a severe virus?
- Technically it is not a virus: a virus copies itself into other files, and a Trojan does not replicate. How severe it is depends on the payload. One that adds adware is a nuisance; one that installs a remote access tool on a domain-joined laptop is a possible entry point for a full network intrusion and should be handled as an incident, not a cleanup ticket.
- What does being a Trojan mean?
- In security, a file is a Trojan when it pretends to be something harmless or useful so that someone runs it. When antivirus labels a file Trojan:Win32 followed by a family name, it is describing that behavior, a program hiding a malicious function behind a legitimate-looking one, rather than pointing to a single piece of malware.
Sources
Related Terms
Ransomware is malware that encrypts victim data or systems and demands payment, typically cryptocurr...
Fileless malware is malicious code that runs in memory through tools the operating system already tr...
Command and Control (C2) refers to the infrastructure and communication channels adversaries use to ...
Phishing is a social engineering attack delivered via email, SMS, voice calls, or other channels tha...
Persistence is the set of techniques an adversary uses to keep access to a compromised system after ...
A botnet is a network of compromised computers, routers or IoT devices that an attacker controls rem...
More Threats Terms
Related SOC Training Resources
Threat Hunter Career Guide: Salary & Skills
Threat Hunters do not wait for alerts. You develop hypotheses based on threat intelligence and adversary behavior models…
Read more Career PathIncident Responder Career Guide: Salary & Skills
Incident Responders lead the technical response when confirmed breaches happen. You coordinate containment, run forensic…
Read more Career PathSOC Analyst (Tier 2) Career Guide: Salary & Skills
Tier 2 SOC Analysts handle the investigations that Tier 1 escalates. You dig into multi-stage attacks, coordinate contai…
Read more ComparisonSOCSimulator vs Hack The Box: Comparison
Different tools for different career paths. SOCSimulator trains defensive analysts. Hack The Box trains offensive securi…
Read more ToolXDR Training Console: SOCSimulator
The XDR console in SOCSimulator replicates the investigation workflow of platforms like CrowdStrike Falcon, Microsoft De…
Read more ToolSIEM Training Console: SOCSimulator
The SIEM console in SOCSimulator replicates the workflow of enterprise platforms like Splunk Enterprise Security, Micros…
Read more TechniqueMITRE ATT&CK® Techniques: Detection Training Library
Browse all MITRE ATT&CK® techniques with detection strategies and example alerts.
Read more Career PathCybersecurity Career Paths: 2026 Guide
Explore SOC analyst career paths with salary data, required skills, and certification roadmaps.
Read more PlaybookSOC Investigation Playbooks: Step-by-Step Guides
Practitioner investigation playbooks with decision trees and real SIEM queries.
Read more FeatureShift Mode: Real-Time SOC Simulation
Practice alert triage under realistic time pressure with SLA timers and noise injection.
Read more FeatureOperations: Guided Training Operations
Structured CTF-style investigation operations covering real-world attack scenarios.
Read more BlogSOCSimulator Blog: Security Training Insights
Articles on SOC analyst skills, detection engineering, and career development.
Read more