Trojans and backdoors: disguised programs and the persistence they leave

A trojan poses as something useful; a backdoor gives continued access. How they arrive (fake installers, cracked software, malicious updates), where they persist, and how application control, autoruns review, and EDR telemetry find them.

Lesson 2 of 18 · 11 min read · practice only with authorization

Diagram

A fake installer on one laptop

Follow the path. One example at a time.

Step 1 of 4

Download

A user installs a “PDF converter” from a search ad.

Illustration: Download
# Download
# A user installs a “PDF converter” from a search ad.

The example on the open step is one illustration, or the fix you can paste into an application you own.

What this page is made of

3 pieces. Each one says what fails, who is affected, what you would notice, and what you change.

  1. Search-ad lures

    What fails
    Fake download sites buy ads for popular tool names.
    Who is affected
    Users installing software themselves.
    What you would notice
    Installers from download folders not in the software catalog.
    What you change
    Provide a software portal and allow-list applications.
  2. Run keys and services

    What fails
    Persistence often uses Run keys, services, and scheduled tasks.
    Who is affected
    The host.
    What you would notice
    Unsigned binaries in AppData registered to start.
    What you change
    Alert on new autoruns pointing into user-writable paths.
  3. Backdoored updates

    What fails
    Trusted software can ship a backdoor through a compromised update.
    Who is affected
    All customers of the vendor.
    What you would notice
    Vendor advisories and unusual outbound connections from trusted apps.
    What you change
    Monitor trusted apps’ network behavior too.

Triage collection

Before rebuilding, collect what an investigation needs: autoruns output, running processes with command lines, recent network connections, and the suspicious file’s hash. The KAPE and Velociraptor lessons in the tool library show how to collect this quickly.

Check yourself

Recognition and the fix. Nothing here is a procedure.

1 / 3

An unsigned helper.exe in AppData starts from a Run key. What is this?

Sibling techniques

Pages at the same depth, plus a lab and a glossary card for this one.

  1. MapMalware fundamentals: families, delivery, persistence, and the responseWhat malware categories describe, how infections usually start, where persistence hides on Windows, Linux, and macOS, and why rebuilding usually beats cleaning.

Practice

  1. LabTerminal labRead the files on a scoped host and name the failure in a finding.

Glossary

  1. CardTrojansSoftware the person meant to run also does something else.