Security Operations

An analyst suspects an attacker created a hidden local account on a Linux host. Which file should the analyst review first to list all local user accounts?

Show the answer

Correct answerD. /etc/passwd

AWhy not this: it defines scheduled jobs, which may show persistence but not accounts.

BWhy not this: it logs authentication events, not the authoritative list of accounts.

CWhy not this: it maps hostnames to IP addresses and holds no account data.

DWhy this is right: it contains an entry for every local user account, including any newly created one.

/etc/passwd holds one entry per local account, so a new or unexpected account appears there. /var/log/auth.log records authentication events, which can show account activity but is not the list of accounts.