Server Security Agent Overview
What Is a Server Security Agent?
A server security agent is a security client provided by HSS and installed on servers. It exchanges data between the servers and HSS, implementing security checks and protection for servers. If no agent is installed, HSS cannot be used.
Agent Working Principles
- Data collection: It collects information about server OSs, processes, software, open ports, and more.
- Detection and defense: It monitors abnormal behaviors, malicious programs, vulnerabilities, and risks on servers, and identifies and blocks intrusions in time.
- Execution: It receives and implements security policies, applies protection settings, performs scans, and runs fixing commands sent from the HSS console.
- Status synchronization: It synchronizes its own status, asset status, and task execution results to the HSS console.
Relationship Between the Process and Agent Status
- The agent sends periodic heartbeat packets to the cloud server (typically every few minutes). If no heartbeat is received within the specified timeout period, the agent status changes to offline.
- If an agent remains offline for an extended duration (for example, continuous offline status for 30 minutes, or at least 3 offline events detected within a 30-minute window), the system consolidates the offline alarm details and notifies users via SMS or email based on your notification settings.
- You can view the agent status on the console. For details, see Checking Server Protection Status.
- If the agent status is abnormal, you can rectify the fault by referring to How Do I Fix an Abnormal Agent?
OSs Supported by the Server Security Agent
Currently, some mainstream OSs are supported. For details, see OS Restrictions.
Agent installation on an unsupported OS may fail or incur compatibility issues, including but not limited to server exceptions, unstable performance, vulnerability scan failures, and false positives.
For stability and security purposes, you are advised to install the agent on supported OSs.
Processes of the Server Security Agent
- Linux The account of the agent is root. Table 1 lists the running processes on a Linux server.
Table 1 Agent running process on a Linux server Agent Process Name
Function
Path
hostguard
Detects security issues, protects the system, and monitors the agent.
/usr/local/hostguard/bin/hostguard
hostwatch
Monitors the agent process.
/usr/local/hostguard/bin/hostwatch
upgrade
Upgrades the agent.
/usr/local/hostguard/bin/upgrade
- Windows The account of the agent is system. Table 2 lists the running processes on a Windows server.
Table 2 Agent running process on a Windows server Agent Process Name
Function
Path
hostguard.exe
Detects security issues, protects the system, and monitors the agent.
C:\Program Files\HostGuard\HostGuard.exe
hostwatch.exe
Monitors the agent process.
C:\Program Files\HostGuard\HostWatch.exe
upgrade.exe
Upgrades the agent.
C:\Program Files\HostGuard\upgrade.exe
Differences Between the Server Security Agent, Container Security Agent, and Serverless Security Agent
The server security agent and container security agent are the same software deployed in different ways and used in different scenarios. They have the same code, communication mechanism, and detection capabilities.
The serverless security agent uses a coding system different from the one used by the other two. The detection capabilities of the serverless security agent are also different from them.
For details about the differences, see Table 3.
| Category | Server Security Agent | Container Security Agent | Serverless Security Agent |
|---|---|---|---|
| Deployment location | It can be installed on ECSs, BMSs, third-party cloud servers, and on-premises IDC servers. One agent should be installed on each server. | It can be installed on container hosts (nodes). One agent should be installed on each node. | It can be installed on workload instances. One agent should be installed on each workload instance. |
| Deployment mode |
For details, see Installing the HSS Agent. |
| Inject a hostguard sidecar container template into a workload so that both the service container and hostguard container can run in the pod generated by the workload. The hostguard container can monitor and protect the service containers that coexist with it. |
| Detection capabilities | Its capabilities depend on the edition of the HSS quota bound to a server. You are advised to use the basic, professional, premium, and web tamper protection editions. For details about the capabilities provided by each edition, see Features. | Its capabilities depend on the edition of the HSS quota bound to a container. The container edition is recommended. Only the container edition provides local image security scan, container firewall, container cluster protection, container escape detection, and cluster environment security check functions. For details about the capabilities provided by the container edition, see Features. | Currently, the following protection capabilities are provided: asset stocktaking, container escape detection, process anomaly detection, and real-time process reporting. NOTE: Serverless security is in an open beta test (OBT) and free for now. |
| Scenario | Server protection | Container protection | Serverless asset protection |
What is your overall rating for this page?
Thank 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