A method for reinforcing a background monitoring machine
Through the automated background monitoring machine reinforcement method, the operation and maintenance problem of relying on manufacturers is solved, reinforcement detection and virus management of Windows and LINUX systems are realized, network security and operation and maintenance efficiency are improved, and the risk of virus attacks is reduced.
Patent Information
- Application Number
- CN202211567008.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-07
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2042-12-07
AI Technical Summary
The operation, maintenance and reinforcement of the existing back-end monitoring machines depend on the manufacturer, the quality is difficult to guarantee, they are vulnerable to external attacks or their own failures, and they lack the optimization of automatically generating system reports and virus databases.
Provides a backend monitoring machine reinforcement method that collects account information, port information and performance information of the server by judging the current system platform, and optimizes management through the management platform, including account security management, port management, version management, patch management, Virus detection and performance management utilize the division of labor between Agent and management platform to automate detection and processing.
It realizes the hardened detection of Windows system and LINUX system hosts, automatically manages accounts and anti-virus, generates system reports, improves network security, reduces the risk of virus attacks, and improves operation and maintenance efficiency.
Smart Images

Figure CN115941326B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of network security, and in particular to a method for reinforcing a background monitoring machine. Background Art
[0002] With the continuous promotion and application of information network technology in the field of power systems, modern power technology has been driven to develop from digital power grids to smart grids. Under the large-scale dispatching and operation and maintenance mode, power grid operation and maintenance is more dependent on the transmission of network information. The resulting network security issues of power monitoring systems have become increasingly prominent and have been elevated to an unprecedented level.
[0003] Substation host reinforcement is an important part of the network security of the power monitoring system. It is the main battlefield for network security inspections and attack and defense tests at all levels. The reinforcement of the substation host is an important indicator of network security detection of the monitoring system. However, there are still the following problems in actual work:
[0004] At present, the workstation hosts involved in the substation are mainly divided into two categories: Windows system and LINUX system. The specific content and operation methods of the reinforcement of these two types of system hosts are not the same. At the same time, we lack professional network security operation and maintenance personnel and mainly rely on maintenance manufacturers to reinforce the hosts. We cannot effectively control the process and quality of the work, and we only know the surface but not the inside.
[0005] The function of the background monitoring machine is to monitor the normal and faulty operating conditions of on-site equipment in the form of messages and images. When a system failure occurs, it can correctly feedback the fault phenomenon, find the cause in time, and facilitate daily maintenance work.
[0006] However, in daily maintenance work, the background machine often has blue screen, black screen, and the background monitoring system cannot be started. In addition to the hardware itself, most of the time it is because of artificial external computer viruses that damage the system program in the background monitoring machine, resulting in failure to start normally. The background monitoring machine collects substation data from the station control layer network, involving the core obligations of the power system. Once the virus is infected, the core business data of the power system in the substation will be at risk of leakage, and there is a risk of network attacks. When it is attacked by criminals, it is very easy to cause large-scale power outages, and the economic losses are difficult to estimate. At this stage, there is no monitoring tool for the background machine. After the background monitoring machine in the substation is damaged, the operating personnel cannot view the corresponding messages and detailed pictures when operating the power off and on, which seriously affects the work progress. Therefore, it is very necessary to reinforce the background monitoring machine. Summary of the invention
[0007] The purpose of this section is to summarize some aspects of embodiments of the present invention and briefly introduce some preferred embodiments. Some simplifications or omissions may be made in this section and the specification abstract and the invention title of this application to avoid blurring the purpose of this section, the specification abstract and the invention title, and such simplifications or omissions cannot be used to limit the scope of the present invention.
[0008] In view of the above-mentioned problems, the present invention is proposed.
[0009] Therefore, the technical problems solved by the present invention are: the operation and maintenance and reinforcement of the existing background monitoring machine depend on the manufacturer, the quality cannot be guaranteed, and it is vulnerable to losses caused by external attacks or its own failures, as well as the optimization problem of automatically generating system reports and virus libraries.
[0010] In order to solve the above technical problems, the present invention provides the following technical solutions: a method for reinforcing a background monitoring machine, comprising: determining the platform where the current system is located;
[0011] Collect account information, port information, and performance information on the server and report it to the management platform;
[0012] The management platform processes the collected information and strengthens the background monitoring machine through optimized management.
[0013] As a preferred solution of the background monitoring machine reinforcement method described in the present invention, the background monitoring machine reinforcement method is implemented in two parts: management platform and Agent; the current system platform includes: Windows system and LINUX system.
[0014] As a preferred solution of the background monitoring machine reinforcement method described in the present invention, the optimization management includes optimizing account security management, server port management, server version management, server patch management, server operation status management, server mainstream virus detection, server CPU, memory, hard disk, and traffic management.
[0015] As a preferred solution of the backend monitoring machine reinforcement method described in the present invention, the Agent determines the current system platform, executes corresponding instructions to collect user security information and reports it to the management platform; the management platform processes the collected information, warns non-compliant and threatening servers and notifies the management personnel;
[0016] The corresponding instructions executed by the account security management include Chage and Netuser commands; the security information includes password expiration information, user login logs, and user operation instructions.
[0017] As a preferred solution of the background monitoring machine reinforcement method described in the present invention, the server port management includes: the Agent determines the current system platform, executes corresponding instructions to collect the user's current port information and reports it to the management platform; the management platform classifies and presents the collected information, attributes the port information to the corresponding IP server, marks the high-risk, medium-risk and low-risk ports through memory and CPU occupancy, marks the high-risk, medium-risk and low-risk ports and provides closing operations, issues early warnings for high-risk ports that are not closed, and prompts the possible risk level; wherein the port information includes the current listening address, port number, protocol, port process, and process path.
[0018] As a preferred solution of the background monitoring machine reinforcement method described in the present invention, the server version management includes: the Agent determines the current system platform, executes corresponding instructions to collect system kernel information and release version information and reports it to the management platform for recording; the management platform links the system kernel version, release version with the system official website and security platform, and issues warnings and upgrade prompts for risky system versions.
[0019] As a preferred solution of the background monitoring machine reinforcement method described in the present invention, the server patch management includes: the Agent sends and installs patches, the management platform links the system kernel version, the distribution version with the system official website and the security platform, and issues warnings and upgrade prompts for risky system versions.
[0020] As a preferred solution of the background monitoring machine reinforcement method described in the present invention, the server operation status management includes: the Agent sends a ping command to the platform and obtains a pong response from the platform, the management platform completes network interaction with the server, and records TTL information.
[0021] As a preferred solution of the background monitoring machine reinforcement method described in the present invention, the server mainstream virus detection includes: the Agent scans the server hard disk every week, compares the characteristic information such as the mainstream virus name and file path, and combines the CPU, hard disk space and other conditions to detect whether the server is affected by the virus; the management platform completes network interaction with the server and records TTL information.
[0022] As a preferred solution of the background monitoring machine reinforcement method described in the present invention, the server CPU, memory, hard disk, and traffic management include: the Agent determines the current system platform, executes the top command to collect server CPU, memory, hard disk space and other information and reports it to the platform, the management platform classifies the collected information into corresponding servers, and issues early warnings and processing plans for servers with high performance indicators.
[0023] The beneficial effects of the present invention are as follows: the background monitoring machine reinforcement method provided by the present invention can respectively perform reinforcement detection on Windows system and LINUX system hosts, automatically perform account management and authentication authorization reinforcement detection, including detection of accounts, passwords, remote authorization and the like, and actively present the detection results to operation and maintenance personnel; automatically detect system log management, IP protocol management and other network parameter management strategies, and evaluate the security of the strategies, and give alarm prompts for strategies with low security; automatically detect port management status, and the detection results for high-risk ports are clear and understandable, and early warnings are given for high-risk ports that are not closed, and the possible risk levels are prompted; automatically perform anti-virus detection, detect the update status of pre-installed anti-virus software and virus database, which can solve the problems of long-term virus infection, freezing, and inability to start of existing background monitoring systems, and automatically generate system reports and virus databases. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor. Among them:
[0025] Figure 1 An overall flow chart of a backend monitoring machine reinforcement method provided by the first embodiment of the present invention;
[0026] Figure 2 A functional structure diagram of a host protection management platform in a backend monitoring machine reinforcement method provided by the first embodiment of the present invention;
[0027] Figure 3 A schematic diagram of CentOS server account security management in a backend monitoring machine reinforcement method provided by the first embodiment of the present invention;
[0028] Figure 4 A schematic diagram of Windows system account security management in a backend monitoring machine reinforcement method provided by the first embodiment of the present invention;
[0029] Figure 5 A schematic diagram of server port management in a backend monitoring machine reinforcement method provided by the first embodiment of the present invention;
[0030] Figure 6 A schematic diagram of server version management in a backend monitoring machine reinforcement method provided by the first embodiment of the present invention;
[0031] Figure 7A schematic diagram of server port management execution instructions in a backend monitoring machine reinforcement method provided by the first embodiment of the present invention;
[0032] Figure 8 A schematic diagram of a management platform UI interface in a backend monitoring machine reinforcement method provided by the first embodiment of the present invention;
[0033] Fig. 9 A schematic diagram of server port management in a backend monitoring machine reinforcement method provided by the first embodiment of the present invention;
[0034] Fig.10 A schematic diagram of the top command in a backend monitoring machine reinforcement method provided by the first embodiment of the present invention;
[0035] Fig.11 A schematic diagram of the df instruction in a backend monitoring machine reinforcement method provided in the first embodiment of the present invention. DETAILED DESCRIPTION
[0036] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.
[0037] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.
[0038] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor does it refer to a separate or selective embodiment that is mutually exclusive with other embodiments.
[0039] The present invention is described in detail with reference to schematic diagrams. When describing the embodiments of the present invention, for the sake of convenience, the cross-sectional diagrams showing the device structure will not be partially enlarged according to the general scale, and the schematic diagrams are only examples, which should not limit the scope of protection of the present invention. In addition, in actual production, the three-dimensional dimensions of length, width and depth should be included.
[0040] At the same time, in the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "upper, lower, inner and outer" are based on the directions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore cannot be understood as limiting the present invention. In addition, the terms "first, second or third" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.
[0041] In the present invention, unless otherwise clearly specified and limited, the terms "install, connect, connect" should be understood in a broad sense, for example: it can be a fixed connection, a detachable connection or an integral connection; it can also be a mechanical connection, an electrical connection or a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0042] Example 1
[0043] Reference Figure 1-11 , as an embodiment of the present invention, provides a backend monitoring machine reinforcement method, comprising:
[0044] S1: Determine the platform of the current system;
[0045] Furthermore, the Agent obtains the current server IP to determine the current system. The current system platform includes two categories: Windows system and LINUX system.
[0046] It should be noted that the specific content and operation methods of host hardening for these two types of systems are not exactly the same. This method first determines the platform of the current system, and executes corresponding instructions based on the corresponding platform. Hardening detection can be performed on Windows system and LINUX system hosts respectively.
[0047] S2: Collect account information, port information, and performance information on the server and report it to the management platform;
[0048] Furthermore, the collection of account information, port information, and performance information on the server and reporting to the management platform is achieved through the Agent. After the client collects and encrypts the data, it transmits it to the host monitoring end, which decrypts and displays the data. The data sent by the host monitoring end is encrypted and decrypted by the client. The management platform summarizes and presents all the data and provides a simple and convenient UI interface (such as Figure 8 ) Allow administrators to perform security maintenance on the server.
[0049] It should be noted that Agent is a small plug-in installed on the server, written in Java, and used for data information collection. The host security management platform is developed using the SpringCloudAlibaba microservice architecture, with nacos as the registration center, dubbo as the service governance framework, and Vue and Ele components used in the front end, with the front and back ends completely separated.
[0050] S3: The management platform processes the collected information and strengthens the background monitoring machine through optimized management;
[0051] Furthermore, optimization management includes optimizing account security management, server port management, server version management, server patch management, server operation status management, server mainstream virus detection, server CPU, memory, hard disk, and traffic management, as follows:
[0052] (1) Account security management
[0053] The Agent determines the current system platform, executes corresponding instructions to collect user security information and reports it to the management platform; the management platform analyzes the behavior and information security of the collected accounts, warns non-compliant and threatening servers and pops up notifications to management personnel.
[0054] like Figure 3-4 The corresponding instructions executed by account security management include Chage (effective management of passwords) and Netuser (effective management of passwords) commands; security information includes password expiration information, user login logs, and user operation instructions.
[0055] Account security management includes the detection of accounts, passwords, remote authorization and PAM authentication content (an efficient, flexible and convenient user-level authentication method), system log management, IP protocol management and other network parameter management. For example, the management platform can lock the account and require rectification before it can continue to be used.
[0056] (2) Server port management
[0057] Agent determines the current system platform and executes the corresponding instructions ( Figure 7 ) Collect the user's current port information and report it to the management platform; the management platform classifies the collected information according to the IP address ( Fig. 9 ) for classified presentation, assigning port information to corresponding IP servers, marking high-risk, medium-risk, and low-risk ports by memory and CPU usage, marking high-risk, medium-risk, and low-risk ports and providing closing operations, and providing pop-up warnings for high-risk ports that are not closed, with prompts of possible risk levels.
[0058] Among them, port information includes the current listening address, port number, protocol, port process, and process path; high-risk and high-risk abnormal ports are automatically closed by default, and can also be closed manually.
[0059] (3) Server version management
[0060] The agent determines the current system platform, executes corresponding instructions to collect server version information and reports it to the management platform for data storage and recording; the management platform links the system kernel version, distribution version with the system official website and security platform, and issues warnings and upgrade prompts for risky system versions.
[0061] Among them, server version information includes system CPU information, process management, kernel version, and release version information; the management platform links the system kernel version, release version with the system official website and security platform, and regularly obtains the system kernel version with risks from the system official website for platform storage; risks are identified based on linkage management, comparing version numbers, versions, patches, etc., and warnings and upgrade prompts are issued for system versions that are identified as having risks based on linkage management, comparing version numbers, versions, patches, etc.
[0062] (4) Server patch management
[0063] The Agent periodically detects important patches of the current server. The platform obtains the latest patch information in real time through the system official website. The Agent compares the version with the patch obtained by the platform through the system official website. If the version needs to be updated, the platform will list and display the patch information. The administrator manually issues and installs the patch. The management platform links the system kernel version, distribution version with the system official website and security platform, and issues warnings and upgrade prompts for risky system versions.
[0064] Furthermore, the host monitoring end periodically checks the server patch information by submitting system reports through the client. When the latest patch information is available, you can choose to manually install it with one click.
[0065] (5) Server operation status management
[0066] The agent sends a ping command to the platform (network diagnostic tool) and receives a pong response from the platform (network diagnostic tool). The management platform completes network interaction with the server and records TTL (the maximum number of network segments allowed to pass before a specified IP packet is discarded by the router) information to determine the server's offline and running status.
[0067] Furthermore, the management platform periodically pings all existing Agent servers. If no response is received after three repetitions, it is determined that the current Agent server is offline. The management platform displays the current server status and pops up a window to prompt the administrator.
[0068] (6) Server mainstream virus detection
[0069] The Agent scans the server hard disk every week to obtain the system kernel version with risks from the system official website, and automatically compares it with the current server version to see if it is included. If it is, an upgrade prompt will be displayed on the platform side as well as the risk prompt of the system official website, including the mainstream virus name, file path, virus characteristics, and virus behavior information; the detection server summarizes the detected information based on the CPU, hard disk space, etc. and reports it to the management platform, which records the analysis results and displays them as prompts; the management platform completes network interaction with the server and records TTL information.
[0070] Furthermore, if virus information is detected, the Agent automatically removes it and reports the platform clearing record, processing time, and virus information record database, and displays a pop-up notification to the platform administrator. After the host monitoring end finds that the virus information reported by the client is abnormal, it will issue the corresponding virus patch based on the virus information, and automatically install the patch or choose to install it manually based on the severity of the virus. The host monitoring end automatically updates the virus database information and encrypts and synchronizes it to the client. The client updates the virus database information and regularly scans and uploads the latest virus scan information.
[0071] (7) Server CPU, memory, hard disk, and traffic management
[0072] The Agent determines the current system platform and executes top (such as Fig.10 )、df(such as Fig.11 ) command collects information such as server CPU, memory, and hard disk space and reports it to the platform. The management platform classifies the collected information into corresponding servers according to IP addresses, and issues early warnings and processing plans for servers with high performance indicators. By analyzing the real-time reported data of server CPU, memory, and disk space, combined with preset values, early warning prompts are issued for servers that exceed the preset values, the top ten processes with the highest current memory usage are displayed, and process shutdown operations are provided.
[0073] Furthermore, the default values are set to 70% CPU usage, 70% memory usage, and 70% disk usage. Users can modify the default values according to the system operating status and usage requirements.
[0074] Example 2
[0075] The following is an embodiment of the present invention, which provides a method for reinforcing a background monitoring machine. In order to verify the beneficial effects of the present invention, a scientific demonstration is carried out through simulation comparison experiments.
[0076] Firstly, with respect to the above-mentioned embodiment method, the background monitoring machine reinforcement method is applied to the existing power grid background monitoring management information system of Liupanshui Power Supply Bureau of Guizhou Power Grid, and compared with the system before reinforcement.
[0077] Operating environment: Windows, LINUX system environment.
[0078] Testing process: Select different types of Trojan viruses from the controllable Trojan virus library to attack the test system before reinforcement. The attack types include account, registry, port, system vulnerability attacks, etc. Record the number of attacks and success rate, and record the frequency of system failures;
[0079] Reinforce the test system according to this method. After running the new system, use the same Trojan to attack the reinforced system, record the number of attacks and success rate, and record the frequency of system failures, the number of alarms, and the number of patches issued.
[0080] The final simulation results are:
[0081] Number of attacks / times Attack success rate / % Failure frequency / times Number of alarms / times After reinforcement 100 3 0 3 Before reinforcement 100 14 6 /
[0082] In summary, the data security of this system reinforcement method has been greatly improved compared with that before reinforcement. Compared with before reinforcement, the virus database update speed and scanning efficiency of this method have been greatly improved, the virus patch is issued quickly, the automatic installation efficiency is high, and the effective defense against virus attacks is improved.
[0083] Compared with the traditional method of relying on manufacturers to update virus database information, virus patches, and server patches, it greatly reduces manual maintenance costs, reduces the cost of human errors, and significantly improves server operation and maintenance efficiency, thereby improving the overall accuracy of virus alarms and the ability to resist virus attacks.
[0084] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.
Claims
1. A backend monitoring machine reinforcement method is implemented in two parts: a management platform and an Agent, and is characterized in that: include: Determine the platform of the current system. The Agent obtains the current server IP to determine the current system. The current system platform includes two categories: Windows system and LINUX system. Collect account information, port information, and performance information on the server and report it to the management platform; The management platform processes the collected information and strengthens the background monitoring machine through optimized management; The optimization management includes optimizing account security management, server port management, server version management, server patch management, server operation status management, server mainstream virus detection, server CPU, memory, hard disk, and traffic management; The server port management includes: the Agent executes corresponding instructions to collect the user's current port information and reports it to the management platform; the management platform classifies and presents the collected information, attributes the port information to the corresponding IP server, marks the high-risk, medium-risk and low-risk ports through memory and CPU occupancy, marks the high-risk, medium-risk and low-risk ports and provides closing operations, issues early warnings for high-risk ports that are not closed, and indicates the possible risk level; wherein the port information includes the current listening address, port number, protocol, port process, and process path; The server operation status management includes: the management platform regularly pings all existing Agent servers. If no response is received after three repetitions, it is determined that the current Agent server is offline. The management platform displays the current server status and pops up a window to remind the administrator, and records the TTL information.
2. The backend monitoring machine reinforcement method according to claim 1, characterized in that: The account security management includes: the Agent executes corresponding instructions to collect the user's security information and reports it to the management platform; the management platform processes the collected information, warns the non-compliant and threatening servers and notifies the management personnel; The corresponding instructions executed by the account security management include Chage and Netuser commands; the security information includes password expiration information, user login logs, and user operation instructions.
3. The backend monitoring machine reinforcement method according to claim 2, characterized in that: The server version management includes: the Agent executes corresponding instructions to collect system kernel information and release version information and reports it to the management platform for recording; the management platform links the system kernel version, release version with the system official website and security platform, and issues warnings and upgrade prompts for risky system versions.
4. The backend monitoring machine reinforcement method according to claim 3, characterized in that: The server patch management includes: Agent sends patches and installs them, the management platform links the system kernel version, release version with the system official website and security platform, and issues warnings and upgrade prompts for risky system versions.
5. The backend monitoring machine reinforcement method according to claim 4, characterized in that: The server mainstream virus detection includes: the Agent scans the server hard disk every week, compares the feature information such as the mainstream virus name and file path, and detects whether the server is affected by the virus in combination with the CPU, hard disk space and other conditions; the management platform completes network interaction with the server and records TTL information.
6. The backend monitoring machine reinforcement method according to claim 5, characterized in that: The server CPU, memory, hard disk, and traffic management includes: the Agent executes the top command to collect information such as the server CPU, memory, hard disk space, etc. and reports it to the platform. The management platform classifies the collected information into corresponding servers and issues early warnings and processing plans for servers with high performance indicators.
