Probe-based asset monitoring method and system, and storage medium
By deploying server probes in an IT environment and communicating with the analysis platform, performing asset discovery and vulnerability scanning, the problem that traditional monitoring mode is difficult to achieve real-time monitoring is solved, and accurate and comprehensive asset monitoring and risk identification of IT facilities are achieved. Improves security and management efficiency.
Patent Information
- Application Number
- CN202410835644.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-11
- Publication Date
- 2024-11-29
AI Technical Summary
The traditional IT facility monitoring and deployment model is difficult to achieve real-time and accurate asset discovery and monitoring, and it is impossible to effectively manage and ensure the security of the organization's internal assets. Especially in a complex IT environment, it is difficult to timely detect user violations and potential risks.
Using probe-based asset monitoring methods and systems, by deploying server probes at network nodes, using key authentication to communicate with analysis platforms, perform asset discovery, monitoring and vulnerability scanning tasks, and real-time monitoring of the probe state maintained through heartbeat detection , combined with SNMP and redis caching technology, achieve comprehensive identification and vulnerability assessment of assets.
It realizes accurate and comprehensive monitoring and detection of assets, quickly identify risky assets, improves asset management efficiency and security guarantees, and maintains real-time control under the complexity of the IT environment.
Smart Images

Figure CN119051880A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of network asset monitoring, and in particular relates to a probe-based asset monitoring method, system and storage medium. Background Art
[0002] With the deepening of informatization construction, the normal operation of government organizations or enterprises and institutions is increasingly dependent on IT facilities. Computer hosts and network equipment have gradually become important information carriers and transmission channels for various organizations. In fact, many security risks come from within the organization. For some units with high security requirements, how to effectively monitor and manage internal assets, timely discover users' arbitrary modification of internal assets, unauthorized access, information leakage and other illegal behaviors, and track and collect evidence of related events has become extremely important, which is an important means to solve the internal asset and network security of the organization.
[0003] However, with the development of business and technology, the IT environment is becoming increasingly complex, the scale of IT facilities is constantly expanding, and business changes are becoming more frequent. The traditional monitoring deployment model is gradually becoming inadequate and outdated. Therefore, it is urgent to achieve real-time and accurate asset discovery and monitoring to ensure asset security and controllability, so as to improve the management efficiency of internal assets. Summary of the invention
[0004] In view of the above background, the present invention aims to provide a probe-based asset monitoring method, system and storage medium. The specific technical solution is as follows.
[0005] In a first aspect, the present invention provides an asset monitoring method, comprising deploying a server probe in a bypass of a network node, After being authenticated by the analysis platform through a key, the server probe receives the policies and tasks issued by the analysis platform, including asset discovery, asset monitoring and vulnerability scanning; the server probe executes asset discovery and vulnerability scanning tasks according to the policies, and polls the asset operation status according to the monitoring template, and reports the task execution results and status monitoring information to the analysis platform in a preset form through a preset interface; The server probe sends heartbeat information to the analysis platform at preset intervals. If the analysis platform does not receive the server probe heartbeat for three consecutive periods, the server probe is marked as offline. If the server probe cannot connect to the analysis platform for three consecutive heartbeats, the analysis platform is marked as offline. When the analysis platform is offline, the server probe does not report any data but continues to send heartbeat information.
[0006] Preferably, when the above analysis platform performs license authorization for the server probe, the number of accessible probes is controlled, and each probe connected occupies one authorization; In addition, when the server probe is deployed and started for the first time, a license is used to establish a connection with the analysis platform and authenticate access. Only after successful access can the system's business and policy configuration be performed, otherwise only network and basic settings can be performed. Before accessing the analysis platform, the server probe does not report data, and the system detection engine and functions are unavailable.
[0007] Preferably, during the communication between the server probe and the analysis platform, key information must be carried for verification, and the key information is carried in the http header.
[0008] Preferably, the above-mentioned asset discovery includes: Configure the scanning network segment and SNMP parameter information of the asset discovery task and select the server probe to send the scanning task; The server probe creates a scan task based on the task configuration information, starts the scan, and writes the scan process and progress into the scan progress document; Obtain scanning progress regularly, and report progress information to the analysis platform and store it in the database; After the asset scanning task is completed, the scanning results are stored in the database, and the server probe is notified to report the scanning results to the analysis platform. The scanned asset information is stored in redis according to the redis cache structure; The analysis platform combines traffic and log data to automatically learn scanned assets, save the self-learned assets to the database, update the asset cache, and update the latest asset list.
[0009] Furthermore, the above asset discovery also includes: Scan the entire network according to the configured SNMP routers or switches, find out the surviving assets, and calculate the connection relationship between the assets; Scan the given network segment, check the survivability of assets, and calculate the connection relationship; Identify and discover open services, operating systems, MAC addresses, and host name information on a single asset.
[0010] Preferably, the above-mentioned asset monitoring includes: Configure the asset monitoring template, select the server probe and monitoring template, and issue the monitoring template policy to the server probe; The monitoring interface of the server probe saves the monitoring template and reloads the template strategy, periodically obtains the preset monitoring data and writes it to the database, and sends the monitoring data to the analysis platform to update the operating data information obtained by the monitoring.
[0011] Preferably, the asset vulnerability scan includes: Configure vulnerability scanning policies, including single scanning policies or cyclic scanning policies, and select the server probe to send the scanning policy; The server probe creates and starts a scan task. After the task is executed, the scan report is sent to the analysis platform and the missed scan report is imported into the database. Calculate asset vulnerability and update asset vulnerability information and asset vulnerability assessment scores.
[0012] In a second aspect, an asset monitoring system is provided, comprising: The analysis platform performs unified control and management of server probes, issues policies and tasks to server probes, and receives information reported by probes; Server probes are centrally managed by the analysis platform, receive policies and tasks, execute tasks, and report information to the analysis platform; The analysis platform and the server probe communicate through authentication using a unique key and maintain heartbeat detection.
[0013] Preferably, the server probe receives the strategies and tasks issued by the analysis platform after being authenticated by the key, and the tasks include asset discovery, asset monitoring and vulnerability scanning; the server probe executes the asset discovery and vulnerability scanning tasks according to the strategies, and polls the asset operation status according to the monitoring template, and reports the task execution results and status monitoring information to the analysis platform in a preset form through a preset interface; In addition, the server probe sends heartbeat information to the analysis platform at preset intervals. If the analysis platform does not receive the server probe heartbeat for three consecutive periods, the server probe is marked as offline. If the server probe cannot connect to the analysis platform for three consecutive heartbeats, the analysis platform is marked as offline. When the analysis platform is offline, the server probe does not report any data, but continues to send heartbeat information.
[0014] In a third aspect, a computer-readable storage medium is also proposed, on which a computer program is stored. When the computer program is executed by a processor, the asset monitoring method as described above is implemented.
[0015] The present invention adopting the above technical solution has at least the following beneficial effects: the server probes are uniformly controlled and managed by the analysis platform, and the server probes communicate with the analysis platform through a unique key and maintain heartbeat detection. Each probe reports its own operating performance status to the analysis platform; the analysis platform adapts and issues instructions and policies to the available probes, and the server probes complete the corresponding scanning or detection tasks according to the issued policies, and report the task results to the analysis platform. This technical solution can accurately and comprehensively discover, monitor and detect assets, quickly identify risky assets, and is conducive to efficient asset management and control and security. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1This is a schematic diagram of network deployment of a server probe in an asset monitoring method as a first embodiment of the present invention; Figure 2 The following is a schematic diagram of a vulnerability scanning process according to the first embodiment; Figure 3 This is a schematic diagram of the operating architecture of an asset monitoring system embodiment of the present invention. DETAILED DESCRIPTION
[0017] The present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the relevant contents of the present application, rather than to limit the application. It is also necessary to explain that, for ease of description, only the parts related to the application are shown in the accompanying drawings.
[0018] For ease of understanding, some technical terms involved in the embodiments of the present invention are explained below: SNMP (Simple Network Management Protocol) is a widely used network management protocol that enables network administrators to manage network performance, discover and solve network problems, and plan network growth. SNMP provides a set of standard methods for network devices (such as routers, switches, servers, printers, etc.) to communicate with network management systems. Through SNMP, administrators can remotely monitor the status of network devices, receive fault alerts, modify device configurations, collect network traffic statistics, etc., which is essential for the maintenance and management of large networks.
[0019] The asset attribute information collection includes, but is not limited to, the asset's device type, device manufacturer, system information (such as operating system version information, device type information, system name, manufacturer information, etc.), port information (system open remote port information), service information (system real-time running services, such as rsync, DHCP services, etc.), middleware information (application middleware, such as Tomcat, Apache ActiveMQ, MySQL, etc.), program application framework information (frameworks used for program development or application, such as Apache Struts, Spring Framework, etc.), application software information (system currently running application software, such as Web application WordPress, system application OpenSSH, etc.), etc.
[0020] Nmap detection is a typical representative of network asset detection tools based on response protocol stack fingerprints. This tool sends SYN packets and constructed packets of other layers of protocols (IP, UDP, ICMP) to the target assets, and performs host discovery and identification of ports, services, operating systems, etc. based on the characteristics of the response packets.
[0021] Server probes, also known as system monitoring probes or network monitoring probes, are software components or hardware devices used to remotely or locally monitor the operating status and performance of servers and network devices. They help administrators ensure stable server operation and promptly identify and resolve potential problems by regularly collecting and analyzing data. Example
[0022] This embodiment discloses an asset monitoring method, including deploying a server probe in a bypass manner at a network node, such as Figure 1 As shown; Among them: the server probe, after being authenticated by the analysis platform through the key, receives the strategies and tasks issued by the analysis platform, and the tasks include asset discovery, asset monitoring and vulnerability scanning; the server probe executes the asset discovery and vulnerability scanning tasks according to the strategy, and polls the asset operation status according to the monitoring template, and reports the task execution results and status monitoring information to the analysis platform in a preset form through the preset interface; The server probe sends heartbeat information to the analysis platform at preset intervals. If the analysis platform does not receive the server probe heartbeat for three consecutive periods, the server probe is marked as offline. If the server probe cannot connect to the analysis platform for three consecutive heartbeats, the analysis platform is marked as offline. When the analysis platform is offline, the server probe does not report any data but continues to send heartbeat information.
[0023] Preferably, when the above analysis platform performs license authorization for the server probe, the number of accessible probes is controlled, and each probe connected occupies one authorization; In addition, when the server probe is deployed and started for the first time, a license is used to establish a connection with the analysis platform and authenticate access. Only after successful access can the system's business and policy configuration be performed, otherwise only network and basic settings can be performed. Before accessing the analysis platform, the server probe does not report data, and the system detection engine and functions are unavailable.
[0024] As a preferred implementation, during the communication between the server probe and the analysis platform, key information must be carried for verification, and the key information is carried in the http header.
[0025] The specific process of asset discovery includes: Configure the asset scanning network segment and SNMP parameter information; select the server probe to issue the asset discovery task; the server probe engine creates a scanning task and starts socscan to start scanning; the scanning process and progress are written to the scanning progress document; the server probe starts to obtain the scanning progress regularly (every 5 seconds) and reports the obtained scanning task progress and other information to the analysis platform; the analysis platform stores the scanning progress information in the database so that the administrator can view the scanning progress; after the asset scanning is completed, the scanning results are stored in the database and the server probe engine is notified; the server probe reports the scanning results to the analysis platform and the probe management engine; the probe management engine stores the received asset information in redis; combined with traffic and log data, it automatically learns the scanned assets, saves the completed assets to the database, and updates the asset cache; the latest learned asset list can be viewed.
[0026] The specific process of asset monitoring includes: configuring asset monitoring templates, selecting server probes and monitoring templates, and issuing monitoring template policies to the server probes; the monitoring interface of the server probes saves the monitoring templates and reloads the template policies, periodically obtains preset monitoring data, and writes it to the database, while sending the monitoring data to the analysis platform and updating the operating data information obtained by the monitoring.
[0027] like Figure 2 As shown in the figure, the specific process of asset vulnerability scanning includes: 1. The policy management module configures vulnerability scanning policies, which can be configured as single scanning policies or cyclic scanning policies; 2. The analysis end probe management engine sends the scanning strategy to the server probe engine; 3. The probe engine calls the WEB interface of the leak scanning subsystem to create / delete scanning tasks; 4. The leak scanning engine starts and executes the scanning task. After the execution is completed, the scanning results are sent to the analysis platform probe management interface; 5. After receiving the scan report, the probe management on the analysis platform executes the vulnerability report import interface of the analysis platform to import the vulnerability report into the database; 6. The system vulnerability calculation engine automatically calculates asset vulnerability, and the asset vulnerability module associates vulnerability information to display asset vulnerability information and asset vulnerability assessment scores.
[0028] The analysis platform provides a restful interface. After the leak scan task is completed, the probe end will report the scan report as an attachment, including vulnerability information and port opening information, which will be parsed and stored in the analysis platform. Example
[0029] like Figure 3 As shown, an asset monitoring system includes: The analysis platform performs unified control and management of server probes, issues policies and tasks to server probes, and receives information reported by probes; Server probes are centrally managed by the analysis platform, receive policies and tasks, execute tasks, and report information to the analysis platform; The analysis platform and the server probe communicate through authentication using a unique key and maintain heartbeat detection.
[0030] Preferably, the server probe receives the strategies and tasks issued by the analysis platform after being authenticated by the key, and the tasks include asset discovery, asset monitoring and vulnerability scanning; the server probe executes the asset discovery and vulnerability scanning tasks according to the strategies, and polls the asset operation status according to the monitoring template, and reports the task execution results and status monitoring information to the analysis platform in a preset form through a preset interface; In addition, the server probe sends heartbeat information to the analysis platform at preset intervals. If the analysis platform does not receive the server probe heartbeat for three consecutive periods, the server probe is marked as offline. If the server probe cannot connect to the analysis platform for three consecutive heartbeats, the analysis platform is marked as offline. When the analysis platform is offline, the server probe does not report any data, but continues to send heartbeat information.
[0031] When the analysis platform authorizes the server probe with a license, it controls the number of probes that can be connected. Each connected probe occupies one authorization. When the server probe is deployed and started for the first time, it first uses the license to establish a connection with the analysis platform and perform authentication access. Only after successful access can the system's business and policy configuration be performed, otherwise only network and basic settings can be performed. Before accessing the analysis platform, the server probe does not report data, and the system detection engine and functions are unavailable.
[0032] Also, during the communication between the server probe and the analysis platform, key information must be carried for verification, and the key information is carried in the http header.
[0033] As a preferred implementation method, the asset discovery process includes: configuring the scanning network segment and SNMP parameter information of the asset discovery task and selecting the server probe to issue the scanning task; the server probe creates a scanning task according to the task configuration information, starts the scan, and writes the scanning process and progress into the scanning progress document; regularly obtains the scanning progress, and reports the progress information to the analysis platform and stores it in the database; after the asset scanning task is completed, the scanning results are stored in the database, and the server probe is notified to report the scanning results to the analysis platform, and the scanned asset information is stored in redis according to the redis cache structure; the analysis platform combines traffic and log data to automatically learn the scanned assets, and saves the self-learning assets to the database, updates the asset cache, and updates the latest asset list.
[0034] Furthermore, asset discovery also includes: scanning the entire network according to the configured SNMP routers or switches, finding surviving assets, and calculating the connection relationship between assets; scanning according to a given network segment, checking the survivability of assets, and calculating the connection relationship; identifying and discovering open services, operating systems, MAC addresses, and host name information on a single asset.
[0035] As a preferred implementation method, the asset monitoring process includes: configuring asset monitoring templates, selecting server probes and monitoring templates, and issuing monitoring template policies to the server probes; the monitoring interface of the server probes saves the monitoring templates and reloads the template policies, periodically obtains preset monitoring data, and writes it to the database, while sending the monitoring data to the analysis platform and updating the operating data information obtained by the monitoring.
[0036] As a preferred implementation method, the asset vulnerability scanning process includes: configuring vulnerability scanning strategies, including single scanning strategies or cyclic scanning strategies, and selecting server probes to issue scanning strategies; the server probes create and start scanning tasks, and after execution, send the scanning report to the analysis platform and import the missing scan report into the database; calculate asset vulnerabilities, and update asset vulnerability information and asset vulnerability assessment scores.
[0037] At the same time, a person of ordinary skill in the art can understand that all or part of the steps in the above-mentioned embodiment method or system can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc.
[0038] The technical solution of the embodiment of the present invention as described above uses the analysis platform to uniformly control and manage the server probes. The server probes and the analysis platform communicate through authentication using a unique key and maintain heartbeat detection. Each probe reports its own operating performance status to the analysis platform; the analysis platform adapts and issues instructions and policies to the available probes, and the server probes complete the corresponding scanning or detection tasks according to the issued policies, and report the task results to the analysis platform. This technical solution can accurately and comprehensively discover, monitor and detect assets, quickly identify risky assets, and is conducive to efficient asset management and control and security.
[0039] The above description of the above disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but will conform to the broadest scope consistent with the principles disclosed herein.
Claims
1. An asset monitoring method, comprising deploying a server probe in a network node bypass, characterized in that: The server probe, after being authenticated by the analysis platform through a key, receives the policies and tasks issued by the analysis platform, the tasks including asset discovery, asset monitoring and vulnerability scanning; The server probe executes asset discovery and vulnerability scanning tasks according to the strategy, polls the asset operation status according to the monitoring template, and reports the task execution results and status monitoring information to the analysis platform in a preset form through the preset interface; The server probe sends heartbeat information to the analysis platform at preset intervals. If the analysis platform does not receive the server probe heartbeat for three consecutive periods, the server probe is marked as offline. If the server probe cannot connect to the analysis platform for three consecutive heartbeats, the analysis platform is marked as offline. When the analysis platform is offline, the server probe does not report any data but continues to send heartbeat information.
2. The asset monitoring method according to claim 1, characterized in that: When the analysis platform performs license authorization on the server probe, the number of accessible probes is controlled. Each probe connected occupies one authorization. When the server probe is deployed and started for the first time, it first uses the license to establish a connection with the analysis platform and performs authentication access; The system's business and policy configurations can only be performed after successful access, otherwise only network and basic settings can be performed; before accessing the analysis platform, the server probe does not report data, and the system detection engine and functions are unavailable.
3. The asset monitoring method according to claim 2, characterized in that: During the communication between the server probe and the analysis platform, key information must be carried for verification, and the key information is carried in the http header.
4. The asset monitoring method according to claim 1, characterized in that: The asset discovery includes: Configure the scanning network segment and SNMP parameter information of the asset discovery task and select the server probe to send the scanning task; The server probe creates a scan task based on the task configuration information, starts the scan, and writes the scan process and progress into the scan progress document; Obtain scanning progress regularly, and report progress information to the analysis platform and store it in the database; After the asset scanning task is completed, the scanning results are stored in the database, and the server probe is notified to report the scanning results to the analysis platform. The scanned asset information is stored in redis according to the redis cache structure; The analysis platform combines traffic and log data to automatically learn scanned assets, save the self-learned assets to the database, update the asset cache, and update the latest asset list.
5. The asset monitoring method according to claim 4, characterized in that: The asset discovery includes: Scan the entire network according to the configured SNMP routers or switches, find out the surviving assets, and calculate the connection relationship between the assets; Scan the given network segment, check the survivability of assets, and calculate the connection relationship; Identify and discover open services, operating systems, MAC addresses, and host name information on a single asset.
6. The asset monitoring method according to claim 1, characterized in that: The asset monitoring includes: Configure the asset monitoring template, select the server probe and monitoring template, and issue the monitoring template policy to the server probe; The monitoring interface of the server probe saves the monitoring template and reloads the template strategy, periodically obtains the preset monitoring data and writes it to the database, and sends the monitoring data to the analysis platform to update the operating data information obtained by the monitoring.
7. The asset monitoring method according to claim 1, characterized in that: The asset vulnerability scan includes: Configure vulnerability scanning policies, including single scanning policies or cyclic scanning policies, and select the server probe to send the scanning policy; The server probe creates and starts a scan task. After the task is executed, the scan report is sent to the analysis platform and the missed scan report is imported into the database. Calculate asset vulnerability and update asset vulnerability information and asset vulnerability assessment scores.
8. An asset monitoring system, characterized in that: The system includes: The analysis platform performs unified control and management of server probes, issues policies and tasks to server probes, and receives information reported by probes; Server probes are centrally managed by the analysis platform, receive policies and tasks, execute tasks, and report information to the analysis platform; The analysis platform and the server probe communicate through authentication using a unique key and maintain heartbeat detection.
9. The asset monitoring system according to claim 8, characterized in that: The server probe, after being authenticated by the analysis platform through a key, receives the policies and tasks issued by the analysis platform, the tasks including asset discovery, asset monitoring and vulnerability scanning; The server probe executes asset discovery and vulnerability scanning tasks according to the strategy, polls the asset operation status according to the monitoring template, and reports the task execution results and status monitoring information to the analysis platform in a preset form through the preset interface; The server probe sends heartbeat information to the analysis platform at preset intervals. If the analysis platform does not receive the server probe heartbeat for three consecutive periods, the server probe is marked as offline. If the server probe cannot connect to the analysis platform for three consecutive heartbeats, the analysis platform is marked as offline. When the analysis platform is offline, the server probe does not report any data but continues to send heartbeat information.
10. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the asset monitoring method according to any one of claims 1 to 7 is implemented.
