CAS-001 · Question #514
A security administrator is shown the following log excerpt from a Unix system: 2013 Oct 10 07:14:57 web14 sshd[1632]: Failed password for root from 198.51.100.23 port 37914 ssh2 2013 Oct 10…
The correct answer is C. Isolate the system immediately and begin forensic analysis on the host. E. A remote attacker has guessed the root password using a dictionary attack. The log shows five failed password attempts for root from a single IP address in rapid succession, immediately followed by a successful login. This pattern is characteristic of a dictionary or brute-force password attack (E) - an automated tool cycling through common or…
Question
A security administrator is shown the following log excerpt from a Unix system:
2013 Oct 10 07:14:57 web14 sshd[1632]: Failed password for root from 198.51.100.23 port 37914 ssh2 2013 Oct 10 07:14:57 web14 sshd[1635]: Failed password for root from 198.51.100.23 port 37915 ssh2 2013 Oct 10 07:14:58 web14 sshd[1638]: Failed password for root from 198.51.100.23 port 37916 ssh2 2013 Oct 10 07:15:59 web14 sshd[1640]: Failed password for root from 198.51.100.23 port 37918 ssh2 2013 Oct 10 07:16:00 web14 sshd[1641]: Failed password for root from 198.51.100.23 port 37920 ssh2 2013 Oct 10 07:16:00 web14 sshd[1642]: Successful login for root from 198.51.100.23 port 37924 ssh2 Which of the following is the MOST likely explanation of what is occurring and the BEST immediate response? (Select TWO).
Options
- AAn authorized administrator has logged into the root account remotely.
- BThe administrator should disable remote root logins.
- CIsolate the system immediately and begin forensic analysis on the host.
- DA remote attacker has compromised the root account using a buffer overflow in sshd.
- EA remote attacker has guessed the root password using a dictionary attack.
- FUse iptables to immediately DROP connections from the IP 198.51.100.23.
- GA remote attacker has compromised the private key of the root account.
- HChange the root password immediately to a password not found in a dictionary.
How the community answered
(41 responses)- A5% (2)
- C59% (24)
- D2% (1)
- F10% (4)
- G2% (1)
- H22% (9)
Explanation
The log shows five failed password attempts for root from a single IP address in rapid succession, immediately followed by a successful login. This pattern is characteristic of a dictionary or brute-force password attack (E) - an automated tool cycling through common or dictionary passwords until one succeeds. It is not a buffer overflow (D), which would not appear in the authentication log this way, nor a private key compromise (G), which would not involve password failures. Since root has been successfully compromised, the immediate best response is to isolate the system and begin forensic analysis (C) to determine what the attacker did, what was exfiltrated, and whether persistence was established. Simply changing the password (H) or blocking the IP (F) are insufficient responses to an already-confirmed root compromise.
Topics
Community Discussion
No community discussion yet for this question.