nerdexam
CompTIA

SY0-501 · Question #559

A security analyst is investigating a security breach. Upon inspection of the audit an access logs, the analyst notices the host was accessed and the /etc/passwd file was modified with a new entry…

The correct answer is B. Backdoor D. Netstat. The attacker created a backdoor account by adding a root-level user to /etc/passwd, and netstat can reveal active or listening connections indicating an ongoing attack.

Submitted by fatima_kr· Mar 4, 2026Threats, vulnerabilities, and mitigations

Question

A security analyst is investigating a security breach. Upon inspection of the audit an access logs, the analyst notices the host was accessed and the /etc/passwd file was modified with a new entry for username "gotcha" and user ID of 0. Which of the following are the MOST likely attack vector and tool the analyst should use to determine if the attack is still ongoing? (Select TWO)

Options

  • ALogic bomb
  • BBackdoor
  • CKeylogger
  • DNetstat
  • ETracert
  • FPing

How the community answered

(25 responses)
  • B
    72% (18)
  • C
    8% (2)
  • E
    4% (1)
  • F
    16% (4)

Why each option

The attacker created a backdoor account by adding a root-level user to /etc/passwd, and netstat can reveal active or listening connections indicating an ongoing attack.

ALogic bomb

A logic bomb is malicious code that executes when specific conditions are met; it does not align with the observed attack of creating a persistent privileged user account in /etc/passwd.

BBackdoorCorrect

Adding a user with UID 0 to /etc/passwd is a classic backdoor technique, granting the attacker persistent root-level access to the system without needing to exploit a vulnerability again on subsequent logins.

CKeylogger

A keylogger captures keystrokes to steal credentials but does not explain the creation of a new UID 0 account in /etc/passwd, making it an unlikely attack vector in this scenario.

DNetstatCorrect

Netstat displays active network connections, listening ports, and established sessions, allowing the analyst to identify any suspicious or unauthorized connections that indicate the attacker may still be connected or has left a listening service running.

ETracert

Tracert (traceroute) maps the network path between hosts and is used for network path diagnostics, not for identifying active or ongoing unauthorized connections on a compromised host.

FPing

Ping tests basic ICMP reachability to a host and provides no information about active sessions, open ports, or whether an attacker is currently connected to the system.

Concept tested: Backdoor account creation and active connection analysis

Source: https://attack.mitre.org/techniques/T1136/

Topics

#backdoor#privilege escalation#forensic analysis#netstat

Community Discussion

No community discussion yet for this question.

Full SY0-501 Practice