Updated on 2024-08-02 GMT+08:00

Baseline Inspection Overview

Baseline Inspection includes password complexity policy detection, common weak password detection, and configuration check. It can detect insecure password configurations and risky configurations in key software on servers, and provide rectification suggestions for detected risks, helping you correctly handle risky configurations on servers.

Baseline Inspection Content

Item

Description

Supported Check Mode

Supported HSS Version

Unsafe configuration

Check the unsafe Tomcat, Nginx, SSH login, and system configurations found by HSS.

Currently, the following check standards and types are supported:

  • For Linux,
    • Cloud security practices: Apache2, Docker, MongoDB, Redis, MySQL5, Nginx, Tomcat, SSH, vsftp, CentOS7, EulerOS, EulerOS_ext, Kubernetes-Node, Kubernetes-Master, HCE1.1, and HCE2.0.
    • DJCP MLPS compliance: Apache 2, MongoDB, MySQL 5, Nginx, Tomcat, CentOS 6, CentOS 7, CentOS 8, Debian 9, Debian 10, Debian 11, Red Hat 6, Red Hat 7, Red Hat 8, Ubuntu 12, Ubuntu 14, Ubuntu 16, Ubuntu 18, Alma, SUSE 12, SUSE 15, and HCE 1.1
    • General security standard: HCE 1.1
    NOTE:

    The MySQL baseline detection of Linux OS is based on the MySQL 5 security configuration specifications. If MySQL 8 is installed on your server, the following check items are not displayed in the detection results, because they are discarded in that version. The detection results are displayed only on the server whose MySQL version is 5.

    Rule: Do not set old_passwords to 1.

    Rule: Set secure_auth to 1 or ON.

    Rule: Do not set skip_secure_auth.

    Rule: Set log_warnings to 2.

    Rule: Configure the MySQL binlog clearing policy.

    Rule: The sql_mode parameter contains NO_AUTO_CREATE_USER.

    Rule: Use the MySQL audit plug-in.

  • For Windows,

    The cloud security practice baseline can check MongoDB, Apache2, MySQL, Nginx, Redis, Tomcat, Windows_2008, Windows_2012, Windows_2016, Windows_2019, and SqlServer.

  • Automated baseline checks
  • Manual baseline checks

Enterprise, premium, WTP, and container edition

Password complexity policies

Check whether your password complexity policy of Linux system account is proper and modify it based on suggestions provided by HSS, improving password security.

Manual baseline checks

All versions

Common weak passwords

Weak passwords defined in the common weak password library. You can check for accounts and remind users to change them.

Linux supports weak password detection for MySQL, FTP, Redis, and system accounts. Windows supports weak password detection for system accounts.

  • Automated baseline checks
  • Manually Performing a Baseline Check

All

Usage Process

Table 1 Usage process

No.

Operation

Description

1

Performing baseline inspection

The baseline inspection supports automatic and manual baseline checks.

  • Automatic baseline check: HSS automatically performs a check for all server configurations and common weak passwords at 01:00 every day.

    Premium edition, web tamper protection edition, and container edition allow you to customize the automatic detection period for configurations. For details, see Configuration Check.

    Premium edition, web tamper protection edition, and container edition allow you to customize the automatic detection period for weak passwords. For details, see Weak Password Scan.

  • Manual baseline inspection: To view the real-time baseline risks of a specified server, you can manually perform a baseline inspection.

2

Viewing and processing baseline inspection results

After the baseline inspection is complete, you need to view and handle baseline configuration risks.