GRC Careers

HomeResourcesTrojans

CS-012 · Malware

Trojans

Malware disguised as something useful that runs harmful code once a user installs it.

Executive Summary

A Trojan is malware that disguises itself as legitimate or desirable software to trick a user into installing and running it. Named after the Trojan horse, it relies on deception rather than self-replication. Once executed it can open a backdoor, steal data, download more malware, or give an attacker remote control of the device.

What It Is

A Trojan, sometimes called a Trojan horse, is malicious software that pretends to be something the user wants, such as a free tool, a game, a cracked application, a software update, or an email attachment. The user is deceived into installing it, which is the whole point of the technique. Unlike a virus or a worm, a Trojan does not spread by itself. It depends entirely on social engineering to get onto a system. Trojans are often described by what they do rather than how they spread, which is why professionals talk about categories such as remote access Trojans that give an attacker control, banking Trojans that steal financial credentials, downloaders that pull in additional malware, and droppers that install other payloads.

Why It Matters

Trojans are one of the most common ways attackers gain their initial foothold on a system, precisely because they exploit human trust rather than a technical flaw. A convincing disguise can bypass a cautious user and lead to stolen credentials, drained accounts, ransomware deployment, or long-term hidden access. Because the delivery relies on deception, no patch alone fixes the problem, which makes user awareness and layered controls essential. For security professionals, recognizing Trojan tactics is central to understanding how intrusions begin and how to shut them down early.

How It Works

A Trojan reaches a victim through a channel that looks trustworthy, such as a download site, a phishing email attachment, a fake update prompt, or bundled software. The user installs or runs it, believing it is legitimate. At that point the hidden malicious code executes with whatever privileges the user has. Depending on its type, the Trojan may open a backdoor for remote control, log keystrokes, exfiltrate files, or download and install additional malware. Many Trojans work to remain hidden by disguising their processes, establishing persistence so they survive a reboot, and communicating quietly with an attacker-controlled server for instructions. Because a Trojan cannot replicate on its own, attackers often distribute it at scale through spam campaigns, malicious ads, and compromised websites.

Architecture Diagram

Attacker disguises malware as useful softwareUser is tricked into installing itHidden malicious code executesBackdoor, theft, or download activatesAttacker gains access or data
A Trojan relies on deception: the user installs seemingly useful software, and hidden code then runs to serve the attacker.

Visual Workflow

An attacker packages malicious code inside something that looks legitimate.The Trojan is delivered through phishing, downloads, fake updates, or bundled software.The user is deceived into installing or running it.Hidden code executes with the user's privileges.The Trojan opens a backdoor, steals data, or downloads more malware.It establishes persistence and communicates with the attacker for instructions.

Common Attacks

Common Mistakes

Best Practices

Quick Checklist

Recommended Tools

Endpoint Detection and Response (EDR)
Detects malicious behavior after execution and enables containment
Application allow-listing
Prevents unapproved programs, including Trojans, from running
Sandbox or detonation service
Safely runs a suspicious installer to reveal hidden behavior
Network monitoring
Flags unexpected outbound connections used for command and control

Industry Standards

NIST SP 800-83
Guidance on preventing and handling malware, including deceptive installers
NIST SP 800-61
Incident handling framework for containing and recovering from compromise
MITRE ATT&CK
Catalogs adversary techniques such as command and control and persistence

Career Relevance

Trojans are a core topic for SOC analysts and incident responders who investigate how an intrusion started and what the malware did after execution. Malware analysts reverse engineer Trojans to understand their capabilities, and security engineers design allow-listing and least-privilege controls to block them. GRC professionals use this understanding to evaluate malware and awareness controls. The AI-Governance-Jobs.com audience benefits from recognizing how deception drives real intrusions.

Interview Questions

Related Certifications

CompTIA Security+ ISC2 Certified in Cybersecurity (CC) GIAC Reverse Engineering Malware (GREM)

Further Reading

Key Takeaways

Download PDFDownload PNG

FAQ

Why is it called a Trojan?

The name comes from the ancient story of the Trojan horse, a gift that concealed hidden attackers. The malware works the same way: it looks like something desirable but conceals harmful code.

Can a Trojan spread on its own?

No. Unlike viruses and worms, a Trojan cannot self-replicate. It relies on tricking a user into installing it, which is why security awareness is such an important defense.

What is a remote access Trojan?

A remote access Trojan, or RAT, is a Trojan that gives an attacker hidden remote control of the infected device, often allowing them to run commands, steal files, and monitor activity.

Get all 116 reference sheets
The complete AGJ Cybersecurity Professional Reference Library, print-ready PDFs and PNGs.
Browse the library

Related Careers

Related certifications

CompTIA Security+ISC2 Certified in Cybersecurity (CC)GIAC Reverse Engineering Malware (GREM)

Current openings

Live openings appear on the web version. Browse the job board for current GRC and security roles.
Browse all jobs

Suggested learning path

  1. Ground the basics with CS-001 Cybersecurity
  2. Study this sheet: Trojans
  3. Go deeper: Computer Viruses
  4. Go deeper: Worms
  5. Validate it: work toward CompTIA Security+
  6. Find the role: browse current openings

Related sheets

More in Malware

Share this LinkedIn Facebook X Email