Using HSS to Prevent Weak Passwords
Scenarios
A weak password is short, common, or something that could be rapidly guessed by brute force attacks. Common weak passwords include but are not limited to the following:
- Common default system passwords, such as admin, root, Tomcat, and manager.
- Only digits, only letters, or a combination of numbers and letters, for example, admin123, 123456, and abcde.
- Passwords that have special meanings and can be easily guessed by others, such as the birthday, name, and mobile number.
- Multiple system accounts use the same password.
Weak passwords in the server system may bring the following risks:
- Information leakage: Attackers can intrude accounts and obtain users' privacy information and financial data through brute force cracking or password guessing.
- System damage: Attackers crack weak passwords to intrude the system and maliciously attack the system. For example, attackers can delete important data, implant malware, and maliciously modify programs, causing the system to break down or fail to run.
HSS can detect common weak passwords set in the server system and key software, including weak passwords of MySQL, FTP, Redis, and system accounts in the Linux system and weak passwords of system accounts in the Windows system. You are advised to use HSS to detect weak passwords in the server system, improve password security, and change passwords periodically to avoid security risks.
Prerequisites
HSS Professional, Enterprise, Premium, Web Tamper Protection, or Container Edition has been enabled for the server. For details, see HSS Access Overview.
How Do I Avoid Weak Password Risks?
- Check whether there are servers with weak passwords.
HSS can check whether the current server has weak passwords. The procedure is as follows:
- Configure a weak password detection policy.
- Log in to the management console.
- In the upper left corner of the page, select a region, click , and choose .
- In the navigation pane, choose Security Operations > Policies.
If your servers are managed by enterprise projects, you can select the target enterprise project to view or operate the asset and detection information.
- Click the name of the policy group to access the policy detail list.
HSS provides multiple preset policy groups. After protection is enabled for a server, the server is bound to a preset policy group by default. You can also click Copy in the Operation column of a policy group. For details, see Creating a Custom Policy Group.
- Locate the row that contains the Weak Password Detection policy and click enable in the Operation column.
- Click the name of a weak password detection policy.
- Customize the scan time and interval for weak password detection. For details about the parameters, see Table 1.
Table 1 Parameter description Parameter
Description
Scan Time
Time point when detections are performed. It can be accurate to the minute.
Random Deviation Time (s)
Random deviation time of the weak password based on Scan Time. The value range is 0 to 7200s.
Scan Days
Days in a week when weak passwords are scanned. You can select one or more days.
User-defined Weak Passwords
You can add a password that may have been leaked to this weak password text box to prevent server accounts from using the password.
Enter only one weak password per line. Up to 300 weak passwords can be added.
- Confirm the information and click OK.
If All projects are selected for an enterprise project and the policy of the default policy group is modified, you can click Save and Apply to Other Projects to apply the modification to other policies of the same version.
- (Optional) Deploy a policy for the server.
If you configure a weak password policy based on a newly created custom policy group in 1.a, you need to deploy the new policy group and apply it to the target server after creating and configuring the policy group. For details, see Deploying a Protection Policy.
- Check for weak passwords.
HSS automatically performs a check for all server common weak passwords at 01:00 every day.
If you have customized the time and period for automatic weak password detection in a. Configure a weak password detection policy, HSS automatically detects common weak passwords based on the configured time and period.
- View the weak password check result.
- In the navigation tree on the left, choose Risk Management > Baseline Checks. The Baseline Checks page is displayed.
If your servers are managed by enterprise projects, you can select the target enterprise project to view or operate the asset and detection information.
- Click Common Weak Password Detection tab. In the list, you can view the existing weak passwords.
- In the navigation tree on the left, choose Risk Management > Baseline Checks. The Baseline Checks page is displayed.
- Configure a weak password detection policy.
- Change weak passwords to enhance password security.
Check the server, account name, account type, and usage duration of the weak password detected from the 1.d. Log in to the server and change the password. For more information, see How Do I Set a Secure Password?.
- Change the password periodically.
You are advised to change the password every 90 days.
How Do I Set a Secure Password?
- Recommended password complexity
To ensure password security, you are advised to set the password based on the following rules:
- Consists of 8 to 26 characters.
- Contains at least three of the following character types:
- Uppercase letter
- Lowercase letter
- Digits
- Special characters for Windows ECSs: ! @ $ % ^ - _ = + [ { ( ) } ] : , . / ? ~ # *
- Special characters for Linux ECSs: ! @ $ % ^ - _ = + [ { } ] : , . / ? ~ # *
- The password cannot contain the username or the username spelled backwards.
- For Windows servers, the password cannot contain more than two consecutive characters of the username.
- Common methods for changing system passwords
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot