Professor Franklin
Accessibility settings

Preferences are saved in this browser when storage is available.

Getting Started

Chapter 4 · Reading 4 of 12

Trojan Horse

Security+ SY0-801 · Objectives 2.5

A technician finds a new document viewer on the advising desk computer. Staff remember downloading it from a search result to open an advising form. The viewer does display documents. It also installed a background service that starts for every user and connects to an unfamiliar address each hour. Does the fact that it works mean it is safe? What would show whether it is a Trojan?

Deception is the defining feature

A Trojan is malware disguised as legitimate software so that a person installs it willingly. The name comes from the wooden horse in Greek legend. Unlike a virus or worm, a Trojan does not replicate. It depends on persuasion. That is why many Trojans really do perform their advertised function. A viewer that works earns trust, and nobody looks for the extra component.

A tall wooden horse statue with a ladder against its side, under a blue sky.
Figure 1. A replica of the Trojan Horse on the waterfront in Çanakkale, Turkey, near the site of ancient Troy. The original story is the model for every Trojan: a welcome gift with something hidden inside.Photo: Adam Jones, Wikimedia Commons, CC BY-SA 2.0. Resized from the original.

Trojans commonly arrive as free utilities, cracked software, fake updates, browser extensions and apps from unofficial stores. Search advertising that places a fake download site above the real one is a frequent route.

What the hidden component does

The payload a Trojan carries determines its impact. Common types include:

  • Remote access Trojan (RAT). Gives the attacker remote control, including file access, screen capture and sometimes the camera and microphone.
  • Backdoor. Creates a hidden way back into the system that bypasses normal authentication.
  • Downloader or dropper. Retrieves or unpacks further malware. It is often the first stage of a larger attack, such as ransomware.
  • Infostealer and banking Trojan. Collects saved passwords, browser cookies and financial details. Stolen session cookies can let an attacker use accounts without passwords.

Many Trojans enroll the computer in a botnet, a group of compromised machines, called bots, that take instructions from the attacker’s command and control (C2) infrastructure. Botnets send spam, launch distributed denial-of-service attacks and serve as relays. Modern C2 traffic usually hides inside ordinary encrypted web traffic. Regular check-ins to the same unfamiliar destination, known as beaconing, are a useful clue.

Compare promises with behavior

Figure 2. Does each behavior match the viewer’s stated purpose?
Observed behaviorExplained by “open a selected form”?
Displays the advising formYes This is the advertised function
Reads the selected fileYes Needed to display it
Installs a service that starts for every userNo Persistence with no business need
Connects to an unfamiliar address every hourNo Regular check-ins suggest beaconing to C2

The investigation question is whether the software’s behavior matches its stated purpose. List what the advising office needed the viewer to do. Opening a selected form requires reading that file. It does not explain a service that starts for every user or an hourly connection to an unknown address.

Check the evidence in order:

  • Source. Where was it downloaded? Compare with the vendor’s official site.
  • Signature. Is the installer digitally signed, and by whom? A valid signature shows who published the code. It does not prove the code is harmless, and attackers sometimes sign malware with stolen certificates.
  • Permissions and persistence. What did installation add: services, scheduled tasks, startup entries?
  • Network activity. Which process makes the connection, how often and to where?

An unfamiliar destination alone does not prove a Trojan. Legitimate software checks for updates and sends usage data. The case becomes clear when the unexplained component, its persistence and its network behavior line up with no business justification.

Respond and prevent the next one

Preserve the installer, the added files and the connection records before removal. If other computers have the same software, determine whether staff installed the same download or whether something spread on its own. That distinction separates a Trojan from a worm. Prevention combines technical and human controls. Application allow listing permits only approved software to run, and removing local administrator rights stops most user installations. An easy request process for approved tools gives staff a safer alternative to searching the web.

Return to the viewer. It works, but it also installed a persistent service with an unexplained hourly connection. Until the vendor or an approved integration explains that component, treat it as a Trojan, isolate the workstation and check the other advising computers. The next reading, Worms, covers malware that does not need anyone to install it.

Installer manifest diff

Inspect the three records, then use the evidence to answer the question.

1. Advertised role

The installer claims a business purpose.

Published manifest lists a document viewer

2. Observed behavior

The process contacts an unexpected service.

Device log shows a new background collector

3. Review

Compare origin and activity with approved use.

No approval exists for collecting clipboard data

Apply the reading

A utility appears to work but contacts an unexpected service. What evidence would help you assess it?

Compare your reasoning

Check its origin, approved purpose, and process-linked network activity. An unfamiliar destination alone does not establish a Trojan infection.