Deze pagina is nog niet beschikbaar in uw eigen taal. We werken er hard aan om meer taalversies toe te voegen. Bedankt voor uw steun.
- What's New
- Product Bulletin
- Service Overview
- Billing
- Getting Started
-
User Guide
- Creating a User and Granting Permissions
- Granting Permissions on Associated Cloud Services
- Accessing HSS
- Checking the Dashboard
-
Asset Management
- Asset Management
- Server Fingerprints
- Container Fingerprints
- Server Management
-
Container Management
- Viewing the Container Node Protection Status
- Exporting the Container Node List
- Managing Local Images
- Managing SWR Private Images
- Managing SWR Shared Images
- Managing SWR Enterprise Edition Images
- Viewing Container Information
- Handling Unsafe Containers
- Uninstalling the Agent from a Cluster
- Disabling Protection for Container Edition
- Protection Quota Management
- Risk Management
- Server Protection
-
Container Protection
-
Container Firewalls
- Container Firewall Overview
- Configuring a Network Defense Policy (for a Cluster Using the Container Tunnel Network Model)
- Configuring a Network Defense Policy (for a Cluster Using the VPC Tunnel Network Model)
- Configuring a Network Defense Policy (for a Cluster Using the Cloud Native Network 2.0 Model)
- Container Cluster Protection
-
Container Firewalls
- Detection and Response
- Security Operations
- Installation and Configuration on Servers
- Installation and Configuration on Containers
- Plug-in Settings
- Audit
- Monitoring
- Permissions Management
-
Best Practices
-
Suggestions on How to Fix Official Disclosed Vulnerabilities Provided by HSS
- Git Credential Disclosure Vulnerability (CVE-2020-5260)
- SaltStack Remote Command Execution Vulnerabilities (CVE-2020-11651 and CVE-2020-11652)
- OpenSSL High-risk Vulnerability (CVE-2020-1967)
- Adobe Font Manager Library Remote Code Execution Vulnerability (CVE-2020-1020/CVE-2020-0938)
- Windows Kernel Elevation of Privilege Vulnerability (CVE-2020-1027)
- Windows CryptoAPI Spoofing Vulnerability (CVE-2020-0601)
- Third-Party Servers Accessing HSS Through a Direct Connect and Proxy Servers
- Installing the HSS Agent Using CBH
- Using HSS to Improve Server Login Security
- Using HSS and CBR to Defend Against Ransomware
-
Suggestions on How to Fix Official Disclosed Vulnerabilities Provided by HSS
-
API Reference
- Before You Start
- Calling APIs
-
API Description
-
Asset Management
- Collecting Asset Statistics, Including Accounts, Ports, and Processes
- Querying the Account List
- Querying Open Port Statistics
- Querying the Process List
- Querying the Software List
- Querying Automatic Startup Item Information
- Querying the Server List of an Account
- Querying the Open Port List of a Single Server
- Querying the Server List of the Software
- Querying the Service List of Auto-Started Items
- Obtaining the Account Change History
- Obtaining the Historical Change Records of Software Information
- Obtaining the Historical Change Records of Auto-started Items
- Ransomware Prevention
-
Baseline Management
- Querying the Weak Password Detection Result List
- Querying the Password Complexity Policy Detection Report
- Querying the Result List of Server Security Configuration Check
- Querying the Check Result of a Security Configuration Item
- Querying the Checklist of a Security Configuration Item
- Querying the List of Affected Servers of a Security Configuration Item
- Querying the Report of a Check Item in a Security Configuration Check
- Quota Management
- Intrusion Detection
- Server Management
- Policy Management
- Vulnerability Management
- Web Tamper Protection
- Tag Management
-
Asset Management
- Appendixes
- Change History
-
FAQs
-
About HSS
- What Is Host Security?
- What Is Container Security?
- What Is Web Tamper Protection?
- What Are the Relationships Between Images, Containers, and Applications?
- How Do I Use HSS?
- Can HSS Protect Local IDC Servers?
- Is HSS in Conflict with Any Other Security Software?
- What Are the Differences Between HSS and WAF?
- Can HSS Be Used Across Accounts?
- What Is the HSS Agent?
- Can HSS Be Used Across Clouds?
- Can I Upgrade My HSS Edition?
- Can HSS Automatically Detect and Remove Viruses?
-
Agent
- Is the Agent in Conflict with Any Other Security Software?
- How Do I Uninstall the Agent?
- What Should I Do If Agent Installation Failed?
- How Do I Fix an Abnormal Agent?
- What Is the Default Agent Installation Path?
- How Many CPU and Memory Resources Are Occupied by the Agent When It Performs Scans?
- Do Different HSS Editions Share the Same Agent?
- How Do I View Servers Where No Agents Have Been Installed?
- What Resources Will Be Accessed by the Agent After It Is Installed on a Server?
- How Do I Use Images to Install Agents in Batches?
- What Do I Do If I Cannot Access the Download Link of the Windows Or Linux Agent?
- What Do I Do If Agent Upgrade Fails and the Message "File replacement failed" Is Displayed?
-
Vulnerability Management
- How Do I Fix Vulnerabilities?
- What Do I Do If an Alarm Still Exists After I Fixed a Vulnerability?
- Why a Server Displayed in Vulnerability Information Does Not Exist?
- Do I Need to Restart a Server After Its Vulnerabilities Are Fixed?
- Can I Check the Vulnerability and Baseline Fix History on HSS?
- What Do I Do If Vulnerability Fix Failed?
- Why Can't I Select a Server During Manual Vulnerability Scanning or Batch Vulnerability Fixing?
- What Do I Do If a Vulnerability Scan Fails?
-
Detection & Response
- How Do I View and Handle HSS Alarm Notifications?
- What Do I Do If My Servers Are Subjected to a Mining Attack?
- Why a Process Is Still Isolated After It Was Whitelisted?
- Why an Attack Is Not Detected by HSS?
- Can I Unblock an IP Address Blocked by HSS, and How?
- Why a Blocked IP Address Is Automatically Unblocked?
- How Often Is Malware Scan and Removal?
- What Do I Do If an IP Address Is Blocked by HSS?
- How Do I Defend Against Ransomware Attacks?
- How Do I Add High-risk Command Execution Alarms to the Whitelist?
- Why Doesn't HSS Generate Alarms for Some Web Shell Files?
- Abnormal Logins
-
Brute-force Attack Defense
- How Does HSS Intercept Brute Force Attacks?
- How Do I Handle a Brute-force Attack Alarm?
- How Do I Defend Against Brute-force Attacks?
- How Do I Unblock an IP Address?
- What Do I Do If HSS Frequently Reports Brute-force Alarms?
- What Do I Do If a Huawei Cloud IP Address Trigger a Brute-force Attack Alarm?
- What Do I Do If the Port in Brute-force Attack Records Is Not Updated?
-
Baseline Inspection
- Why Are Weak Password Alarms Generated After the Weak Password Detection Policy Is Disabled?
- How Do I Install a PAM and Set a Proper Password Complexity Policy in a Linux OS?
- How Do I Set a Proper Password Complexity Policy in a Windows OS?
- How Do I Handle Unsafe Configurations?
- How Do I View Configuration Check Reports?
- How Do I Handle a Weak Password Alarm?
- How Do I Set a Secure Password?
-
Web Tamper Protection
- Why Do I Need to Add a Protected Directory?
- How Do I Modify a Protected Directory?
- What Should I Do If WTP Cannot Be Enabled?
- How Do I Modify a File After WTP Is Enabled?
- What Can I Do If I Enabled Dynamic WTP But Its Status Is Enabled but not in effect?
- What Are the Differences Between the Web Tamper Protection Functions of HSS and WAF?
-
Container Security
- How Do I Disable Node Protection?
- How Do I Enable Node Protection?
- How Do I Enable the API Server Audit for an On-Premises Kubernetes Container?
- What Do I Do If the Container Cluster Protection Plug-in Fails to Be Uninstalled?
- What Do I Do If the Cluster Connection Component (ANP-Agent) Failed to Be Deployed?
- What Do I Do If Cluster Permissions Are Abnormal?
- Ransomware Prevention
-
Security Configurations
- How Do I Clear the SSH Login IP Address Whitelist Configured in HSS?
- What Can I Do If I Cannot Remotely Log In to a Server via SSH?
- How Do I Use 2FA?
- What Do I Do If I Cannot Enable 2FA?
- Why Can't I Receive a Verification Code After 2FA Is Enabled?
- Why Does My Login Fail After I Enable 2FA?
- How Do I Add a Mobile Number or Email Address for 2FA?
- If I Choose to Use Verification Code for 2FA, How Do I Get the Code?
- Will I Be Billed for Alarm Notifications and SMS?
- Why No Topics Are Available for Me to Choose When I Configure Alarm Notifications?
- Can I Disable HSS Alarm Notifications?
- How Do I Modify Alarm Notification Items?
- How Do I Disable the SELinux Firewall?
-
Protection Quota
- How Do I Extend the Validity Period of HSS Quotas?
- How Do I Filter Unprotected Servers?
- Why Can't I Find the Servers I Purchased on the Console?
- What Do I Do If My Quotas Are Insufficient and I Failed to Enable Protection?
- How Do I Allocate My Quota?
- If I Change the OS of a Protected Server, Does It Affect My HSS Quota?
- Why Doesn't an HSS Edition Take Effect After Purchase?
- How Do I Change the Protection Quota Edition Bound to a Server?
-
Others
- How Do I Use the Windows Remote Desktop Connection Tool to Connect to a Windows Server?
- How Do I Check HSS Log Files?
- How Do I Enable Logging for Login Failures?
- How Do I Clear an Alarm on Critical File Changes?
- Is HSS Available as Offline Software?
- Why Can't I View All Projects in the Enterprise Project Drop-down List?
- How Do I Enable or Disable HSS Self-Protection?
- What Do I Do If Windows Self-Protection Cannot Be Disabled?
- Why Is a Deleted ECS Still Displayed in the HSS Server List?
-
About HSS
Installing the Agent on Huawei Cloud Servers
Scenario
You can enable HSS for servers only after installing the agent. This section describes how to install the agent on Huawei Cloud servers.
For details about how to install an agent on a third-party server, see Connecting a Third-Party Server to HSS Using Direct Connect and a Proxy Server.
Prerequisites
- Perform the operations in Checking the Installation Environment to ensure agent installation is not affected by DNS server addresses, third-party security software, or the outbound port settings of security groups.
- Before installing the agent on the HSS console, grant the VPCOperatePolicy and VPCEPOperatePolicy permissions to HSS. For details, see Granting Permissions on Associated Cloud Services.
Constraints
- The HSS agent will be automatically installed on Workspace 23.6.0 or later. If your Workspace version is earlier than 23.6.0, you can manually install the agent by referring to this section.
- When you install the agent for multiple servers in batches on the console, the system randomly selects a server in the same VPC as the executor.
Agent Installation Methods
HSS provides two installation methods. For details about their differences, see Table 1.
Agent Installation Method |
Description |
---|---|
Installing the Agent on Huawei Cloud Servers on the HSS Console |
This method is convenient and more efficient than installing the agent using commands. You need to provide HSS with the server account password or key for installing the agent. HSS does not save the password file you upload. |
You need to log in to the server and run commands or a script to install the agent. This method is more complex and slower than installation on the GUI. |
Installing the Agent on Huawei Cloud Servers on the HSS Console
You can install the agent on the HSS console. Various installation methods are as follows.
Using the Account and Password to Install the Agent on a Single Huawei Cloud Server
- Log in to the management console.
- In the upper left corner of the page, select a region, click
, and choose Security & Compliance > HSS.
- In the navigation pane, choose Installation & Configuration > Server Install & Config.
NOTE:
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 Agents tab.
- In the upper right corner of the page, click Install HSS Agent.
- Select ECS and click Configure Now.
- Select an installation method.
- Install Mode: GUI
- Server Authentication Mode: Account and password
- Scale: Single
- Select a server and click Next.
- Enter the account information and password as prompted.
- Linux
Enter information based on whether the server can be logged in using the root account.
- If Allow direct connection with root permissions is selected:
The root account can be used to directly log in to the server. After you enter the root user password and login port, HSS will use your root account to install the agent for the server.
- If Allow direct connection with root permissions is deselected:
The root account cannot be used to directly log in to the server. You can enter another account for login. (The root user password is used for privilege escalation.) HSS will use the provided account information to install the agent for the server.
Figure 1 Entering the account and password (Linux) - If Allow direct connection with root permissions is selected:
- Windows
Enter the username and password.
Figure 2 Entering the account and password (Windows)
- Linux
- Confirm the information and click OK.
You can view the Agent Status column to check the agent installation progress. If the Agent Status is Online, the agent has been installed.
Using the Account and Password to Install the Agent on Muptiple Huawei Cloud Servers
- Log in to the management console.
- In the upper left corner of the page, select a region, click
, and choose Security & Compliance > HSS.
- In the navigation pane, choose Installation & Configuration > Server Install & Config.
NOTE:
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 Agents tab.
- In the upper right corner of the page, click Install HSS Agent.
- Select ECS and click Configure Now.
- Select an installation method.
- Install Mode: GUI
- Server Authentication Mode: Account and password
- Scale: Batch
- Upload the installation template.
- Click Download Template to download the batch installation template to your local PC.
Figure 3 Downloading the batch installation template
- Open the downloaded importTemplate.xlsx file, fill in server information as required, and save the file.
- Click Select File and upload the importTemplate.xlsx file.
HSS will automatically parse the file and identify the servers you entered. If the parsing fails, you can click View Failed Servers and check the failure cause.
- Click Download Template to download the batch installation template to your local PC.
- Confirm the information and click OK.
You can view the Agent Status column to check the agent installation progress. If the Agent Status is Online, the agent has been installed.
Using DEW to Install the Agent on One or More Huawei Cloud Servers
- Log in to the management console.
- In the upper left corner of the page, select a region, click
, and choose Security & Compliance > HSS.
- In the navigation pane, choose Installation & Configuration > Server Install & Config.
NOTE:
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 Agents tab.
- In the upper right corner of the page, click Install HSS Agent.
- Select ECS and click Configure Now.
- Select an installation method.
- Install Mode: GUI
- Server Authentication Mode: Key
- Key Source: DEW
- Select servers and click OK.
The list of available servers only shows the servers that have been bound to DEW.
Figure 4 Selecting servers - Locate the row that contains the target server and check the agent installation progress in the Agent Status column.
If the Agent Status is Online, the agent has been installed.
Installing the Agent on One or More Huawei Cloud Servers Using a User-created Key (Linux Only)
- Log in to the management console.
- In the upper left corner of the page, select a region, click
, and choose Security & Compliance > HSS.
- In the navigation pane, choose Installation & Configuration > Server Install & Config.
NOTE:
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 Agents tab.
- In the upper right corner of the page, click Install HSS Agent.
- Select ECS and click Configure Now.
- Select an installation method.
- Install Mode: GUI
- Server Authentication Mode: Key
- Key Source: User-created key (Linux only)
- Upload the installation template.
- Click Download Template to download the batch installation template to your local PC.
Figure 5 Downloading the batch installation template
- Open the downloaded importTemplate.xlsx file, fill in server information as required, and save the file.
- Click Select File and upload the importTemplate.xlsx file.
HSS will automatically parse the file and identify the servers you entered. If the parsing fails, you can click View Failed Servers and check the failure cause.
- Click Download Template to download the batch installation template to your local PC.
- Confirm the information and click OK.
- Locate the row that contains the target server and check the agent installation progress in the Agent Status column.
If the Agent Status is Online, the agent has been installed.
Using Commands to Install the Agent on Huawei Cloud Servers
The HSS agent can be installed using commands. You can install the agent on different OSs. Various installation methods are as follows.
Using Commands to Install the Agent on a Single Huawei Cloud Linux Server
- Log in to the management console.
- In the upper left corner of the page, select a region, click
, and choose Security & Compliance > HSS.
- In the navigation pane, choose Installation & Configuration > Server Install & Config.
NOTE:
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 Agents tab.
- In the upper right corner of the page, click Install HSS Agent.
- Select ECS and click Configure Now.
- Select an installation method.
- Install Mode: Commands
- Server OS: Linux
- Scale: Single
- Install the agent as prompted.
- On the console page, click
in the Install HSS Agent dialog box to copy the installation command.
Figure 6 Copying the installation command - Log in to the server as the root user and paste the installation command.
If the command output shown in Figure 7 is displayed, the agent has been installed.
- On the console page, click
Using Commands to Install the Agent on Multiple Huawei Cloud Linux Servers
- Log in to the management console.
- In the upper left corner of the page, select a region, click
, and choose Security & Compliance > HSS.
- In the navigation pane, choose Installation & Configuration > Server Install & Config.
NOTE:
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 Agents tab.
- In the upper right corner of the page, click Install HSS Agent.
- Select ECS and click Configure Now.
- Select an installation method.
- Install Mode: Commands
- Server OS: Linux
- Scale: Batch
- Server Authentication Mode: Select Account and password or Key as needed.
- Install the agent as prompted.
Perform the following operations on any server.
- On the console, click linux-host-list.csv in the Install HSS Agent dialog box to download the template.
Figure 8 Downloading linux-host-list.csv
- Enter the server information based on the requirements in the linux-host-list.csv template and save the template.
Ensure that the entered server verification information is consistent with the verification mode selected in 7.
- Use the root account to remotely log in to any target server.
- Use the SSH client to upload the template file linux-host-list.csv to the /tmp directory on the server.
- Return to the HSS console and click
to copy the installation command.
Figure 9 Copying the installation command - Paste and run the installation command on the server to install the agent.
If the information shown in Figure 10 is displayed, the installation is complete.
- On the console, click linux-host-list.csv in the Install HSS Agent dialog box to download the template.
Using the Script to Install the Agent on a Single Huawei Cloud Windows Server
- Log in to the management console.
- In the upper left corner of the page, select a region, click
, and choose Security & Compliance > HSS.
- In the navigation pane, choose Installation & Configuration > Server Install & Config.
NOTE:
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 Agents tab.
- In the upper right corner of the page, click Install HSS Agent.
- Select ECS and click Configure Now.
- Select an installation method.
- Install Mode: Commands
- Server OS: Windows
- Scale: Single
- Install the agent as prompted.
- On the console, click installAgent.ps1 in the Install HSS Agent dialog box to download the installation script.
Figure 11 Downloading installAgent.ps1
- Copy the installAgent.ps1 file to C:\Users\Administrator.
- Right-click installAgent.ps1 and choose Run with PowerShell.
- (Optional) In the dialog box that is displayed, enter Y to run the script to install the agent.
If no dialog box is displayed, skip this step.
Figure 12 Changing the execution policy - After the execution, open the Task Manager and check whether hostguard.exe and hostwatch.exe exist. If they do, the agent has been installed.
Figure 13 Agent installed
- On the console, click installAgent.ps1 in the Install HSS Agent dialog box to download the installation script.
Using the Script to Install the Agent on Multiple Huawei Cloud Windows Servers
- Log in to the management console.
- In the upper left corner of the page, select a region, click
, and choose Security & Compliance > HSS.
- In the navigation pane, choose Installation & Configuration > Server Install & Config.
NOTE:
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 Agents tab.
- In the upper right corner of the page, click Install HSS Agent.
- Select ECS and click Configure Now.
- Select an installation method.
- Install Mode: Commands
- Server OS: Windows
- Scale: Batch
- Install the agent as prompted.
NOTICE:
- Perform the following operations on any server.
- To install the agent, the server where the script is executed needs to access the port 5985 on other servers. Modify the inbound rules of the security groups on those servers to allow such access, or HSS will temporarily modify their security group rules while installing the agent. After the agent is installed, the modified settings will be deleted.
- On the console, click windows-host-list.xlsx in the Install HSS Agent dialog box to download the template to the local PC.
Figure 14 Downloading windows-host-list.xlsx
- Enter server information based on the requirements in the windows-host-list.xlsx template and save it.
- Return to the HSS console and click BatchInstallAgent.ps1 to download the installation script.
Figure 15 Downloading BatchInstallAgent.ps1
- Copy the windows-host-list.xlsx and BatchInstallAgent.ps1 files to C:\Users\Administrator.
- Right-click BatchInstallAgent.ps1 and choose Run with PowerShell.
- (Optional) In the dialog box that is displayed, enter Y to run the script to install the agent.
If no dialog box is displayed, skip this step.
Figure 16 Changing the execution policy - After the script is executed successfully, check whether the BatchInstallAgent.log file exists in C:\Users\Administrator.
If the BatchInstallAgent.log file exists, the agent has been installed.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.