Access control method based on trust evaluation rule
Through self-learning trust evaluation method and model compression technology, combined with rules and self-learning engine, the problem of rule-based technology being unable to deal with unknown attacks and complex attack patterns is solved, achieving more efficient and reliable detection and defense effects, and reducing missed detections. and false positives, dynamically optimizing the rule base to deal with new threats.
Patent Information
- Application Number
- CN202410946807.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-16
- Publication Date
- 2024-10-08
AI Technical Summary
Rule-based trust assessment technology cannot effectively deal with unknown or new attacks. As the rule base expands, system complexity and management difficulty increase, and missed detections or false positives often occur, especially under dynamically changing attack patterns. .
Adopt the self-learning access trust assessment method, combine the rules and the output of the self-learning assessment, detect abnormal behaviors by establishing a trust model for normal business access, and use models such as parameter pruning, low-rank decomposition, and knowledge distillation when computing resources are limited. Compression technology enables lightweight self-learning trust assessment, and combines rule engines and self-learning engines to work together.
It improves the accuracy and reliability of detection, reduces missed detections and false positives, dynamically optimizes the rule base to deal with new threats, and improves the overall security and adaptive capabilities of the system.
Smart Images

Figure CN118748615A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of access control security protection based on trust evaluation rules, and in particular is an access control method based on trust evaluation rules. Background Art
[0002] Rule-based trust assessment technology has been developed in the field of network security for many years, mainly relying on predefined rules and patterns to detect untrusted access behaviors. In the early stages, this technology was mainly applied to simple network security scenarios to identify threats by matching known attack patterns. As the complexity and diversity of threats increase, the rule base is constantly expanded and updated to cope with new attack methods.
[0003] Although rule-based trust assessment technology performs well in some aspects, its limitations are becoming increasingly apparent. First, this technology relies on predefined rules, which means that it can only detect known threats and cannot effectively respond to unknown or new attacks. Second, as the rule base expands, the complexity and management difficulty of the system also increase, and maintaining and updating the rule base becomes a time-consuming and labor-intensive task. In addition, rule-based technology is stretched when dealing with dynamically changing attack patterns and highly complex attack behaviors, and often misses detection or false alarms. Summary of the invention
[0004] Trust assessment technology based on existing rules has the problem of missed detection and missed reporting when detecting new untrusted access. The present invention provides an access control method based on trust assessment rules and an access trust assessment method based on self-learning, which detects abnormal behavior by establishing a trust model for normal business access. At the same time, in order to cope with the challenge of limited computing resources, model compression technologies such as parameter pruning, low-rank decomposition and knowledge distillation are studied to achieve lightweight self-learning trust assessment, and the output of rules and self-learning assessment is combined to improve the accuracy and reliability of overall detection.
[0005] To achieve the above object, the present invention adopts the following technical solution: An access control method based on trust evaluation rules comprises the following steps: Step 1: The client application sends the request message to the proxy server, and then the request message is synchronously sent to the security control management software through the port mirroring of the proxy server; Step 2: The security control management software obtains the data packet in the request message through the data receiving module, and parses the data packet to disassemble the terminal device feature information, the sending end IP address, the sending port, the receiving end IP address, and the receiving port information, and filters the disassembled information to obtain valid data information and data packets that cannot be distinguished by pre-set rules and policies, wherein the terminal device feature information includes MAC address and disk serial number, and the valid data information includes handshake packets and data packets that can be distinguished by pre-set rules and policies; Step 3: The rule engine module of the security control management software determines the valid data information according to the pre-set rule strategy, determines whether the data packet in the request message is a legitimate request, and calls the API interface of the firewall according to the determination result to control whether the data packet is discarded or continues to be processed; Step 4: The data packets that cannot be identified by the preset rule strategy are forwarded to the self-learning engine module through the data forwarding module. The self-learning engine performs in-depth analysis and rule extraction on the data packets that cannot be identified by the preset rule strategy, and connects to its own rule library for rule matching to determine whether the data packets that cannot be identified by the preset rule strategy are legitimate requests, and calls the API interface of the firewall according to the determination result; Step 5: According to the self-learning engine rule algorithm, extract the behavioral patterns in the data packets that cannot be identified by the pre-set rule strategy, including behavior type, number of visits, frequency of occurrence, weight coefficient, and risk level, and determine whether to generate new rules and whether to update its own rule base through expert knowledge judgment.
[0006] Preferably, the proxy server integrates data of multi-channel client application systems. It simply transmits data packets and does not care about the application protocol. Therefore, the connectivity rate is high, the effect is stable, safe and efficient, and the speed is fast. The proxy server uniformly sends data packets to the firewall, and synchronously sends the packets to the security control management software through the port mirroring of the proxy server.
[0007] Preferably, the security control management software is used to make up for the problems of insufficient detection capability, missed detection and missed reporting of potential or new untrusted access behaviors in traditional rule-based trust assessment technology. Based on the rule trust assessment mechanism, a lightweight self-learning trust assessment software is developed, which mainly includes two modules: rule engine and self-learning engine.
[0008] Preferably, the rule engine includes a data receiving module, a first data parsing module, a data filtering module, a rule determination module, a data forwarding module, a firewall control module, etc.; wherein the data receiving module is responsible for receiving data packets distributed by the proxy software and performing simple data verification; the first data parsing module is responsible for parsing the data packets, disassembling the terminal device characteristic information (such as: MAC address, disk serial number, etc.), the sending end IP address, the sending port, the receiving end IP address, the receiving port and other information; the data filtering module is responsible for screening and filtering the data, and handing the data packets over to different modules for subsequent processing; the rule determination module performs behavioral judgment on the data packets according to the existing rule judgment criteria; the data forwarding module is responsible for forwarding the data packets that cannot be accurately judged by the existing rules to the self-learning engine module; the firewall control module calls the firewall API interface to control the firewall according to the judgment result of the management software.
[0009] Preferably, the self-learning engine module includes a second data parsing module, a rule extraction module, a rule matching module, and a rule base maintenance module; wherein the second data parsing module performs secondary analysis on the data packets forwarded by the rule engine module that cannot be distinguished by the preset rule strategy; the rule extraction module is used to extract rules from the data packets that cannot be distinguished by the preset rule strategy; the rule matching module matches the behavior rules extracted from the data packets that cannot be distinguished by the preset rule strategy with the rule base to determine whether the behavior rules are compliant; the rule base maintenance module is used to maintain the rule base and determine whether to update or optimize the rules in the base based on the algorithm.
[0010] Compared with the prior art, the present invention has the following beneficial effects: 1. Improve interception efficiency: Through the combination of rule engine and self-learning engine, the legitimacy of request messages can be quickly and accurately determined, effectively improving the interception efficiency of the system.
[0011] 2. Enhanced access security: Based on the dual protection of trust assessment rules and self-learning algorithms, it can more comprehensively identify and defend against known and unknown attacks, thereby improving the overall security of the system.
[0012] 3. Reduce missed detections and false alarms: The self-learning engine can reduce missed detections and false alarms of traditional rule evaluation technologies through deep analysis of data packets and dynamic updates of the rule base, thereby improving detection accuracy.
[0013] 4. Dynamic optimization of the rule base: Through the accumulation of large amounts of data and the extraction of behavioral patterns, the self-learning engine can continuously improve and optimize its own rule base to ensure that it always has the ability to respond to new threats.
[0014] 5. Lightweight design: In the case of limited computing resources, lightweight self-learning trust assessment is achieved through model compression technologies such as parameter pruning, low-rank decomposition and knowledge distillation, ensuring the efficient operation of the system.
[0015] 6. Expert knowledge fusion: The self-learning engine combines the results of expert knowledge judgment and data comparison, and can generate and update rules more intelligently, improving the system's adaptive ability and decision-making intelligence level. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 This is a schematic diagram of an application of an access control method based on trust evaluation rules of the present invention; Figure 2 A schematic diagram of a link structure of an access control method based on trust evaluation rules of the present invention; Figure 3 A schematic diagram of a data analysis system of an access control method based on trust evaluation rules of the present invention. DETAILED DESCRIPTION
[0017] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0018] refer to Figure 1-Figure 3 , showing the network architecture of the present invention in different forms, wherein, Figure 1 This is an application diagram of an access control method based on trust assessment rules of the present invention, which shows the overall process of the method in practical application, including the sending of client requests, the processing of proxy servers, the interaction process of firewalls and security control management software, and the collaborative work of rule engines and self-learning engines. Figure 2 This is a link structure diagram of an access control method based on trust assessment rules of the present invention, which describes in detail the connection relationship and data transmission path between the various components of the system, including the link structure between the client, proxy server, firewall, security control management software, rule engine and self-learning engine. Figure 3 This is a schematic diagram of a data analysis system for an access control method based on trust assessment rules of the present invention, showing the detailed process of data processing within the system, including data reception, parsing, filtering, rule identification, data forwarding, rule extraction and matching of a self-learning engine, and maintenance and update procedures of the rule base.
[0019] The present invention provides an access control method based on trust evaluation rules, which specifically comprises the following steps: Step 1: The client application sends the request message to the proxy server, and then the request message is synchronously sent to the security control management software through the port mirroring of the proxy server; Step 2: The security control management software obtains the data packet in the request message through the data receiving module, and parses the data packet to disassemble the terminal device feature information, the sending end IP address, the sending port, the receiving end IP address, and the receiving port information, and filters the disassembled information to obtain valid data information and data packets that cannot be distinguished by pre-set rules and policies, wherein the terminal device feature information includes MAC address and disk serial number, and the valid data information includes handshake packets and data packets that can be distinguished by pre-set rules and policies; Step 3: The rule engine module of the security control management software determines the valid data information according to the pre-set rule strategy, determines whether the data packet in the request message is a legitimate request, and calls the API interface of the firewall according to the determination result to control whether the data packet is discarded or continues to be processed; Step 4: The data packets that cannot be identified by the preset rule strategy are forwarded to the self-learning engine module through the data forwarding module. The self-learning engine performs in-depth analysis and rule extraction on the data packets that cannot be identified by the preset rule strategy, and connects to its own rule library for rule matching to determine whether the data packets that cannot be identified by the preset rule strategy are legitimate requests, and calls the API interface of the firewall according to the determination result; Step 5: According to the self-learning engine rule algorithm, extract the behavioral patterns in the data packets that cannot be identified by the pre-set rule strategy, including behavior type, number of visits, frequency of occurrence, weight coefficient, and risk level, and determine whether to generate new rules and whether to update its own rule base through expert knowledge judgment.
[0020] Among them, the proxy server integrates the data of multi-channel client application systems. It simply transmits data packets and does not care about the application protocol. Therefore, the connectivity rate is high, the effect is stable, safe and efficient, and the speed is fast. The proxy server sends the data packets to the firewall in a unified manner, and sends the packets to the security control management software synchronously through the port mirroring of the proxy server.
[0021] Among them, the security control management software is used to make up for the problems of insufficient detection capability, missed detection and missed reporting of potential or new untrusted access behaviors in traditional rule-based trust assessment technology. Based on the rule trust assessment mechanism, a lightweight self-learning trust assessment software is developed, which mainly includes two modules: rule engine and self-learning engine.
[0022] In this embodiment, the access control method based on trust evaluation rules realizes lightweight self-learning trust evaluation under the constraint of limited computing resources, and cooperates with the rule-based trust evaluation mechanism.
[0023] Among them, the rule engine includes a data receiving module, a data parsing module, a data filtering module, a rule judgment module, a data forwarding module, a firewall control module, etc.; among them, the data receiving module is responsible for receiving the data packets distributed by the agent software and performing simple data verification; the data parsing module is responsible for parsing the data packets and disassembling the terminal device feature information (such as: MAC address, disk serial number, etc.), the sending end IP address, the sending port, the receiving end IP address, the receiving port and other information; the data filtering module is responsible for screening and filtering the data, and handing over the data packets to different modules for subsequent processing; the rule judgment module judges the behavior of the data packets according to the existing rule judgment criteria; the data forwarding module is responsible for forwarding the data packets that cannot be accurately judged by the existing rules to the self-learning engine module; the firewall control module calls the firewall API interface to control the firewall according to the judgment results of the management software.
[0024] Among them, the self-learning engine includes a data parsing module, a rule extraction module, a rule matching module, a rule base maintenance module, etc.; among them, the data parsing module performs secondary parsing on the data packets forwarded by the rule engine; the rule extraction module is responsible for extracting rules from the data packet behavior; the rule matching module matches the packet behavior with the rule base to determine whether the behavior rules are compliant; the rule base maintenance module is responsible for maintaining the rule base and determining whether to update or optimize the rules in the base based on the algorithm.
[0025] In this embodiment, the access control method based on trust assessment rules studies an access trust assessment method based on self-learning, establishes a trust model for normal business access of intelligent equipment, and detects access behaviors that deviate from the normal baseline; studies a self-learning model compression method based on parameter pruning, low-rank decomposition and knowledge distillation under limited computing resources to form a lightweight self-learning trust assessment technology; studies the fusion technology of the joint output of rule trust assessment and self-learning trust assessment. This invention is supported by the National Key R&D Program Project 2021YFB3101902, and has shown advantages in intercepting malicious message attacks in practical applications.
[0026] In the description of the present invention, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "request", "analysis", "rule", and "connection" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be the internal connection 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.
[0027] The specific embodiments described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. An access control method based on trust evaluation rules, characterized in that: The following steps are involved: Step 1: The client application sends the request message to the proxy server, and then the request message is synchronously sent to the security control management software through the port mirroring of the proxy server; Step 2: The security control management software obtains the data packet in the request message through the data receiving module, and parses the data packet to disassemble the terminal device feature information, the sending end IP address, the sending port, the receiving end IP address, and the receiving port information, and filters the disassembled information to obtain valid data information and data packets that cannot be distinguished by pre-set rules and policies, wherein the terminal device feature information includes MAC address and disk serial number, and the valid data information includes handshake packets and data packets that can be distinguished by pre-set rules and policies; Step 3: The rule engine module of the security control management software determines the valid data information according to the pre-set rule strategy, determines whether the data packet in the request message is a legitimate request, and calls the API interface of the firewall according to the determination result to control whether the data packet is discarded or continues to be processed; Step 4: The data packets that cannot be identified by the preset rule strategy are forwarded to the self-learning engine module through the data forwarding module. The self-learning engine performs in-depth analysis and rule extraction on the data packets that cannot be identified by the preset rule strategy, and connects to its own rule library for rule matching to determine whether the data packets that cannot be identified by the preset rule strategy are legitimate requests, and calls the API interface of the firewall according to the determination result; Step 5: According to the self-learning engine rule algorithm, extract the behavioral patterns in the data packets that cannot be identified by the pre-set rule strategy, including behavior type, number of visits, frequency of occurrence, weight coefficient, and risk level, and determine whether to generate new rules and whether to update its own rule base through expert knowledge judgment.
2. The access control method based on trust evaluation rules according to claim 1, characterized in that: The proxy server integrates data of multi-channel client application systems.
3. The access control method based on trust evaluation rules according to claim 2, characterized in that: The rule engine module includes a data receiving module, a first data parsing module, a data filtering module, a rule identification module, a data forwarding module, and a firewall control module; wherein the data receiving module is used to receive data packets in the proxy server distribution request message and perform preliminary data verification; the first data parsing module is used to parse the data packets; the data filtering module is used to screen and filter the data packets and then distribute them to different modules for subsequent processing; the rule identification module is used to perform behavioral identification on valid data packets according to pre-set rule policies; the data forwarding module is used to forward data packets that cannot be identified by pre-set rule policies to the self-learning engine module; the firewall control module is used to call the firewall API interface and control the firewall according to the identification results of the security control management software.
4. The access control method based on trust evaluation rules according to claim 3, characterized in that: The self-learning engine module includes a second data analysis module, a rule extraction module, a rule matching module, and a rule base maintenance module; wherein the second data analysis module performs secondary analysis on the data packets forwarded by the rule engine module that cannot be distinguished by the preset rule strategy; the rule extraction module is used to extract rules from the data packets that cannot be distinguished by the preset rule strategy; the rule matching module matches the behavior rules extracted from the data packets that cannot be distinguished by the preset rule strategy with the rule base to determine whether the behavior rules are compliant; the rule base maintenance module is used to maintain the rule base and determine whether to update or optimize the rules in the base based on the algorithm.
Citation Information
Patent Citations
Intrusion detection system based on software defined security architecture
CN110224990A
Intrusion detection method and system for industrial control system
CN110535854A
Host intrusion prevention method, system and related device
CN111726364A
High-security heterogeneous redundant structure with intelligent learning ability
CN113746841A
Industrial control network abnormal flow detection method oriented to Modbus protocol
CN117411703A
