Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Situation Awareness
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
Help Center/ Host Security Service/ FAQs/ Brute-force Attack Defense/ How Do I Handle a Brute-force Attack Alarm?

How Do I Handle a Brute-force Attack Alarm?

Updated on 2025-01-21 GMT+08:00
  • If a brute-force attack succeeded, take immediate measures to prevent attackers from further actions, such as breaching data, performing DDoS attacks, or implanting ransomware, miners, or Trojans.
  • If a brute-force attack was blocked, take immediate measures to enhance your servers.

Mind map for troubleshooting

The following mind map describes how to handle a brute-force attack alarm.

Figure 1 Mind map for troubleshooting

Handling the Alarm of a Successful Brute-force Attack

If you received an alarm notification indicating that your account had been cracked, you are advised to harden your servers as soon as possible.

  1. Log in to the management console.
  2. In the upper left corner of the page, select a region, click , and choose Security & Compliance > HSS.
  3. Check whether the IP address that triggered the alarm is valid.

    1. In the navigation pane, choose Detection & Response > Alarms.
    2. In the Alarm Types area, select Abnormal User Behavior > Abnormal logins to view abnormal login alarm events.
    3. Click the alarm event name. On the details page that is displayed, check the login IP address.
      • If the IP address is from a normal user (for example, who entered incorrect password for multiple times but logged in before their account is blocked), your server is not intruded. In this case, you can click Handle and ignore the event.
      • If the IP address is invalid, your server may have been intruded.

        In this case, mark this event as handled, log in to the intruded server, and change its password to a stronger one. For details, see How Do I Set a Secure Password?

      Figure 2 Abnormal logins

  4. Check for and eliminate malicious programs.

    1. In the navigation pane, choose Detection & Response > Alarms.
    2. In the Alarm Types area, select Malware > Unclassified malware to filter the unclassified malware.
    3. In the Alarm Type column, select Malicious program and check alarm events.
      You can click an alarm name to view alarm event details.
      • If you find malicious programs implanted in your servers, locate them based on their process paths, users running them, and startup time.

        To kill a malicious program in an alarm event, click Handle in the Operation column of an alarm and select Isolate and kill.

      • If you have confirmed that all the malicious program alarms are false, go to 5.

  5. Check for suspicious account change records.

    1. In the navigation pane on the left, choose Asset Management > Server Fingerprints.
    2. Click the Account Information tab. Detect suspicious account change records to prevent attackers from creating accounts or escalating account permissions (for example, adding login permissions to an account). For details, see Managing Account Information.

  6. Check and handle invalid accounts.

    1. In the navigation pane, choose Detection & Response > Alarms.
    2. In the Alarm Types area, select Abnormal User Behavior > Invalid accounts. View and handle the invalid account alarms. For details, see Handling Server Alarms

  7. Check for and fix unsafe settings.

    Check for and fix weak password complexity policies and unsafe software settings on your servers. For details, see Fixing Unsafe Configurations.

  8. Harden your servers.

    For more information, see Hardening Security for SSH Logins to Linux ECSs.

Handling the Alarm of a Blocked Brute-force Attack

If you have enabled the HSS basic edition or higher, HSS will protect your servers against brute-force attacks.

In the basic edition and higher, you can configure a login security policy to specify the brute force cracking determination mode and blocking duration. For details, see Login Security Check

If you have not configured any login security detection policy, the following default login security policy is used: HSS will block an IP address if it has five or more brute-force attack attempts detected within 30 seconds, or 15 or more brute-force attack attempts detected within 3,600 seconds.

If you receive an alarm indicating that an attack source IP address is blocked, check whether the source IP address is a trusted IP address.

Constraints and Limitations

Windows
  • Authorize the Windows firewall when you enable protection for a Windows server. Do not disable the Windows firewall during the HSS in-service period. If the Windows firewall is disabled, HSS cannot block brute-force attack IP addresses.
  • If the Windows firewall is manually enabled, HSS may also fail to block brute-force attack IP addresses.

Procedure

  1. Log in to the management console.
  2. In the upper left corner of the page, select a region, click , and choose Security & Compliance > HSS.
  3. Choose Detection & Response > Alarms. Choose Abnormal User Behavior > Brute-force attacks to view account brute force events.

    Brute-force attack alarms will be generated if:
    • The system uses weak passwords, is under brute-force attacks, and attacker IP addresses are blocked.
    • Users fail to log in after several incorrect password attempts, and their IP addresses are blocked.

  4. Check whether the login IP address triggering the alarm is valid.

    • If the source IP address is valid,
      • To handle a false alarm, click Handle in the row of the alarm event. Mark this event as Ignore or Add to Login Whitelist.

        This does not unblock the IP address.

      • To unblock the IP address, click View Details under Blocked IP Addresses, select the IP address, and unblock it. Alternatively, you can just wait for it to be automatically unblocked when its blocking duration expires. The default blocking duration is 12 hours.
    • If the source IP address is invalid or unknown,

      Click Handle in the Operation column of the brute-force attack event and select Mark as handled.

      Immediately log in to your server and change your password to a stronger one. You can also enhance the defense against brute-force attacks by following the instructions provided in How Do I Defend Against Brute-force Attacks?

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback