Post-exploitation and Lateral Movement

A tester on a compromised Linux jump host wants a list of other servers the admin has previously connected to over SSH. Which file in the admin's .ssh directory is MOST useful?

Show the answer

Correct answerC. known_hosts

AWhy not this: It lists public keys allowed to log in to this account, so it shows inbound access, not past destinations.

BWhy not this: It is the server daemon configuration, which holds settings and not a list of past connections.

CWhy this is right: It records the host keys of servers this user has connected to, revealing candidate targets.

DWhy not this: It holds the user's private key, which can authenticate to other hosts but does not name them.

The known_hosts file records the host keys of servers this user has connected to, so it points to likely lateral movement targets. The authorized_keys file lists keys allowed to log in to this account, not where the user has connected.