How Does HSS Intercept Brute Force Attacks?

Types of Detectable Brute Force Attacks

HSS can detect the following types of brute force attacks:

If MySQL or VSFTP is installed on your server, after HSS is enabled, the agent will add rules to iptables to prevent MySQL and VSFTP brute force attacks. When detecting a brute-force attack, HSS will add the source IP address to the blocking list. The added rules are highlighted below.
Figure 1 Added rules

Existing iptables rules are used for blocking brute-force attacks. You are advised to keep them. If they are deleted, HSS will not be able to protect MySQL or VSFTP from brute-force attacks.

How Brute Force Attacks Are Intercepted

Brute-force attacks are a type of common intrusion attacks. Attackers submit many server passwords until eventually guessing correctly and gaining control over a server.

HSS uses brute-force detection algorithms and an IP address blacklist to effectively prevent brute-force attacks and block attacking IP addresses. The blocking duration is 12 hours. If a blocked IP address does not perform brute-force attacks in the default blocking duration, it will be automatically unblocked.

If HSS detects account cracking attacks on servers using Kunpeng EulerOS (EulerOS with ARM), it does not block the source IP addresses and only generates alarms. The SSH login IP address whitelist does not take effect for such servers.

Alarm Policies

Viewing Brute Force Cracking Detection Results

  1. Log in to the management console.
  2. In the navigation pane, choose Detection > Alarms.
  3. View the brute force cracking detection result of the server or container.

    • View the brute force cracking detection result of the server.
      1. Click the Server Alarms tab.
      2. In the Alarm Types area, select Abnormal User Behavior > Brute-force attacks to view alarm event records on the protected server.
      3. Click View Details in the Blocked IP Addresses area to view the blocked attack source IP address, attack type, blocking status, blocking times, blocking start time, and latest blocking time.
        • Blocked indicates the brute-force attack has been blocked by HSS.
        • Canceled indicates you have unblocked the source IP address of the brute force attack.

          The default blocking duration is 12 hours. If a blocked IP address does not perform brute-force attacks in the default blocking duration, it will be automatically unblocked.

    • View the brute force cracking detection result of a container.
      1. Click the Container Alarms tab.
      2. In the Alarm Types area, select Abnormal User Behavior > Brute-force attacks to view alarm event records on the protected container.

Managing Blocked IP Addresses