2.4
In progress
Backdoors and Remote Access Trojans
Summary
A backdoor is any hidden way into a system that bypasses normal authentication. Remote access Trojans install backdoors that let attackers control hosts remotely, and many compromised hosts controlled together form a botnet. Compromised hosts communicate with the attacker through command and control (C2) channels.
Detailed explanation
- Backdoor: A hidden method of accessing a system that bypasses normal security, created by malware, an attacker or sometimes left by developers.
- Remote access Trojan (RAT): Malware that gives an attacker full remote control, including files, screen, camera and keystrokes.
- Bot: A compromised computer that can be controlled remotely as part of a larger group. Also called a zombie.
- Botnet: A network of bots controlled by an attacker, used for DDoS attacks, spam, credential stuffing and spreading malware.
- Command and control (C2): The infrastructure and communication channel an attacker uses to send commands to compromised hosts and receive data.
Indicators
- Beaconing: Regular, periodic outbound connections to the same external host.
- Unusual ports or protocols: Traffic on unexpected ports, or C2 hidden in DNS, HTTPS or social media traffic.
- Unknown listening services: New services or open ports on a host.
Defenses
- Controls: Egress filtering, DNS filtering, monitoring for beaconing in flow and proxy logs, EDR and blocking known C2 indicators from threat feeds.
Important terms
taken from the text above- Backdoor
- A hidden method of accessing a system that bypasses normal security, created by malware, an attacker or sometimes left by developers.
- Remote access Trojan (RAT)
- Malware that gives an attacker full remote control, including files, screen, camera and keystrokes.
- Bot
- A compromised computer that can be controlled remotely as part of a larger group. Also called a zombie.
- Botnet
- A network of bots controlled by an attacker, used for DDoS attacks, spam, credential stuffing and spreading malware.
- Command and control (C2)
- The infrastructure and communication channel an attacker uses to send commands to compromised hosts and receive data.
- Beaconing
- Regular, periodic outbound connections to the same external host.
- Unusual ports or protocols
- Traffic on unexpected ports, or C2 hidden in DNS, HTTPS or social media traffic.
- Unknown listening services
- New services or open ports on a host.
What I should remember
- Backdoor: Hidden access that bypasses authentication.
- Botnet: Many compromised hosts controlled together.
- C2: Channel between attacker and compromised hosts.
- Beaconing: Regular outbound check-ins that signal C2.