nerdexam
Mile2_Security

ML0-320 · Question #163

One of your clients has been the victim of a brute force attack against their SSH server. They ask you what could be done to protect their Linux servers. You propose the use of IP Tables (the built…

The correct answer is C. iptables-A INPUT -p tcp -dport 22 -m state -state NEW -m recent -update -second 60 -hitcount4 -. See the full explanation below for the reasoning.

Question

One of your clients has been the victim of a brute force attack against their SSH server. They ask you what could be done to protect their Linux servers. You propose the use of IP Tables (the built in kernel firewall) to limit connection attempts to protect their servers. You agree with your client to limit connections to the SSH port to a maximum of only three trials per minutes consideirng there is only one administrator who has a valid need to connect remotely onto this port. If the threshold of three connectors is exceeded, the attacker will have to wait for another 60 seconds before it will resume allowing connections again. Which of the following IP Tables entry would meet your clients needs?

Options

  • Aiptables-A INPUT -p tcp -dport 23 -m state -state NEW -m recent -update -second 60 -hitcount4 -
  • Biptables-A INPUT -p tcp -dport 22 -m state -state NEW -m recent -update -second 60 -hit count3 -
  • Ciptables-A INPUT -p tcp -dport 22 -m state -state NEW -m recent -update -second 60 -hitcount4 -
  • Diptables-A OUTPUT -p tcp -dport 23 -m state -state NEW -m recent -update -second 60 -hitcount4

How the community answered

(55 responses)
  • A
    11% (6)
  • B
    2% (1)
  • C
    82% (45)
  • D
    5% (3)

Community Discussion

No community discussion yet for this question.

Full ML0-320 Practice