Post-exploitation and Lateral Movement

A tester has root on an SSH jump server where an administrator is logged in with agent forwarding enabled. The tester wants to reach other servers without cracking any passphrase. Which action is BEST?

Show the answer

Correct answerB. Authenticate onward through the forwarded agent's socket

AWhy not this: SSH sessions are encrypted with per-session keys, so a replayed capture cannot authenticate.

BWhy this is right: Root can use the forwarded agent socket to authenticate with the loaded keys without extracting them.

CWhy not this: known_hosts lists host public keys the user has connected to; it stores no credentials.

DWhy not this: Brute-forcing is noisy and slow, and the forwarded agent already offers a direct route.

With agent forwarding, the administrator's agent socket on the jump server lets root request signatures for the loaded keys and log in onward without seeing the private key. The known_hosts file holds only host keys, not credentials.