A network security defense method, system, device and medium
Extract and analyze the characteristic parameters of the connection request through the network port lock, generate detection strategies and use the threat attack database to achieve active detection and defense of potential threats, solve the inefficiency of the passive response mechanism of traditional security defense products, and improve the network Safe coping skills.
Patent Information
- Application Number
- CN202411001052.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-25
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-07-25
AI Technical Summary
Traditional security defense products cannot effectively deal with advanced persistent threats (APT). Their response mechanisms are passive and inefficient, and cannot proactively detect and defend against potential threats.
Extract the characteristic parameters in the connection request of unauthorized devices through the network port lock, filter and divide them into a reference matrix and an impact matrix, generate parameter attributes, generate detection strategies based on these attributes, use the threat attack database to determine potential threats, and implement active defense strategies , including real-time network port permission adjustment and parameter configuration.
It achieves active detection and active defense of potential threats, improves the response speed and efficiency of network security, can respond to new threats more effectively, and reduces the impact on the network.
Smart Images

Figure CN118523971B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of network information security defense technology, and in particular to a network security defense method, system, device and medium. Background Art
[0002] With the popularization of the Internet, cyber attacks are becoming more frequent. Traditional security defense products rely on passive defense strategies, such as firewalls and antivirus software, to protect against known threats and only remedy new threats after they occur and cause a huge impact. Traditional security defense products cannot effectively deal with advanced persistent threats (APTs). Summary of the invention
[0003] The present application provides a network security defense method, system, device and medium, which solves the technical problem of inefficient and passive response mechanism to potential threats in related technologies, and achieves the technical effect of active detection and active defense of potential threats.
[0004] In order to achieve the above objectives, the main technical solutions adopted in this application include:
[0005] In a first aspect, an embodiment of the present application provides a network security defense method, the method comprising: using a network port lock to extract characteristic parameters in a connection request of an unauthorized device; screening out reference characteristic parameters and influencing characteristic parameters from the characteristic parameters, and dividing the reference characteristic parameters into multiple reference matrices, and dividing the influencing characteristic parameters into multiple influencing matrices; for any reference matrix, generating influence weights of the multiple influencing matrices on the reference matrix, and based on the influence weights of each of the reference matrices, generating parameter attributes of the characteristic parameters, and generating a detection strategy corresponding to the parameter attributes according to the parameter attributes; detecting the characteristic parameters through the detection strategy to obtain a detection result; based on the detection result, determining the potential threat present in the connection request using a threat attack database; determining the active defense strategy of the network port lock according to the potential threat, and transmitting it to the network port lock for real-time network port authority adjustment and network port parameter configuration.
[0006] The network security defense method proposed in the embodiment of the present application utilizes a network port lock to extract characteristic parameters in a connection request of an unauthorized device, screens out reference characteristic parameters and influencing characteristic parameters from the characteristic parameters, divides the reference characteristic parameters into multiple reference matrices, and divides the influencing characteristic parameters into multiple influencing matrices. For each reference matrix, multiple influencing weights of the influencing matrices on the reference matrix are generated, and based on the influencing weights, parameter attributes of the characteristic parameters are generated to make the expression of the characteristic parameters more accurate. A detection strategy is generated based on the parameter attributes, and a detection result is obtained. Based on the detection result, a threat attack database is used to determine the potential threats in the connection request. Based on the potential threats, an active defense strategy of the network port lock is determined and transmitted to the network port lock for real-time network port authority adjustment and network port parameter configuration, thereby realizing active detection and active defense of potential threats and solving the technical problem of inefficient and passive response mechanism to potential threats in related technologies.
[0007] Optionally, the use of the network port lock to extract characteristic parameters in the connection request of the unauthorized device specifically includes: using the network port lock to call the built-in traffic monitor, and performing real-time traffic analysis on the connection request to obtain the traffic characteristic parameters of the connection request; using the network port lock to reference the user behavior database, and analyzing the behavior data related to the connection request to obtain the behavior characteristic parameters of the connection request; using the network port lock to query the device identification information of the connected device, and obtain the information of the unauthorized device to obtain the device characteristic parameters of the connection request; using the network port lock to access the historical records, and retrieve the historical data related to the unauthorized device to obtain the historical characteristic parameters of the connection request.
[0008] By extracting characteristic parameters from connection requests of unauthorized devices, including traffic characteristic parameters, behavior characteristic parameters, device characteristic parameters, and historical characteristic parameters, it is helpful to accurately identify abnormal data in connection requests, laying the foundation for active detection and active identification of potential threats.
[0009] Optionally, the reference characteristic parameters include historical characteristic parameters, and the influencing characteristic parameters include behavioral characteristic parameters.
[0010] Optionally, generating a detection strategy corresponding to the parameter attribute based on the parameter attribute specifically includes: inputting the parameter attribute into a feature detection model, so as to process the parameter attribute using the feature detection model to obtain a detection strategy for detecting the connection request, wherein the feature detection model is trained by machine learning using multiple sets of training data, and each of the multiple sets of training data includes: sample parameter attributes, and a sample detection strategy corresponding to the sample parameter attributes.
[0011] The detection strategy obtained through machine learning training realizes the intelligent identification of abnormal data. New abnormal data through continuous monitoring can be used for continuous learning and optimization of detection strategies.
[0012] Optionally, the specific steps of constructing the threat attack database include: obtaining threat attack information, the threat attack information including at least: attack behavior, attack method, attack tool, and attack technology; determining a first attack feature of the threat attack information, and classifying the threat attack information based on the first attack feature to classify the threat attack information belonging to the same category as a threat attack group; and establishing the threat attack database based on the threat attack group.
[0013] The threat attack database constructed through the above steps realizes correlation analysis and detection of network data to detect potential threats that may exist.
[0014] Optionally, based on the detection result, determining the potential threat present in the connection request using a threat attack database specifically includes: obtaining attack behavior information present in the access request based on the detection result; determining a second attack feature of the attack behavior information; matching the second attack feature with the first attack feature of each threat attack group in the threat attack database to obtain a matching result; and determining that the attack behavior information is the potential threat when the matching result indicates that the second attack feature is the same as the first attack feature.
[0015] Among them, the threat attack database provides descriptions and analyses of various security threats, which is conducive to the rapid identification and response of potential threats.
[0016] Optionally, determining the active defense strategy of the network port lock based on the potential threat specifically includes: according to the type of the potential threat, guiding the attack behavior in the connection request to a configured virtual environment, wherein the virtual environment is configured according to the type of the potential threat and contains weaknesses corresponding to the attack behavior.
[0017] By constructing a virtual environment corresponding to the weaknesses, similar attacks are attracted and more attack behavior information is collected to optimize the guidance mechanism of the virtual environment.
[0018] Optionally, in the virtual environment, the attack behavior and the corresponding timestamp are recorded and stored in a chain using blockchain, wherein the attack behavior includes the interaction data of the attack path, attack means and attack traffic in the virtual environment.
[0019] By utilizing the immutability and timestamp characteristics of data on the blockchain, the exact time of each attack by the attacker is recorded, ensuring the authenticity, security and integrity of the data during the transmission process.
[0020] Optionally, determining the active defense strategy of the network port lock according to the potential threat further includes: generating a prediction report according to the potential threat; and determining the active defense strategy of the network port lock according to the prediction report.
[0021] Among them, the prediction report includes the attacker's attack level, attack path, attack mode and attack intention, which are used to determine the attacker's possible future attack actions.
[0022] Optionally, generating a prediction report based on the potential threat includes: constructing a prediction network including a convolutional layer, a pooling layer and a fully connected layer connected in sequence according to the attack behavior in the potential threat; and applying the prediction network to predict the potential threat to obtain a prediction report.
[0023] Based on the convolutional neural network architecture, a prediction network is built to predict the possible future attack behaviors of potential threats and obtain a prediction report. Based on the prediction report, risk assessment and defense strategy recommendations are provided.
[0024] By detecting the attack time and attack path of potential threats, a prediction report is generated based on the attack time and attack path, including the various steps and links of the attacker's invasion, the purpose, means and impact of the attack, etc. Determine the defense strategy for potential threats based on the prediction report.
[0025] Optionally, based on the potential threat, the active defense strategy of the network port lock is determined and passed to the network port lock for real-time network port permission adjustment and network port parameter configuration, specifically including: passing the active defense strategy to the network port lock, so that the network port lock adjusts the network access control list and firewall rules in real time according to the defense strategy, and dynamically controls network traffic and access requests.
[0026] Optionally, the defense strategy includes one or more of measures to distract the attack source, measures to block the attack source, or measures to track the attack source.
[0027] In a second aspect, an embodiment of the present application provides a network security defense system.
[0028] A network security defense system provided by an embodiment of the present application extracts characteristic parameters in a connection request of an unauthorized device through a characteristic extraction module, generates parameter attributes of the characteristic parameters through a weight generation module, thereby achieving a more accurate expression of the characteristic parameters, and based on the parameter attributes, generates a detection strategy corresponding to the parameter attributes through a detection module, detects the characteristic parameters through the detection strategy, and obtains a detection result. Based on the detection result, a threat attack database is used to determine potential threats in the connection request, and based on the potential threats, an active defense module is used to determine an active defense strategy of a network port lock, and the strategy is transmitted to the network port lock for real-time network port authority adjustment and network port parameter configuration, thereby achieving active detection and active defense of potential threats, and solving the technical problem of inefficient and passive response mechanisms to potential threats in related technologies.
[0029] Optionally, the feature extraction module specifically includes: a traffic feature extraction unit, which is used to use the network port lock to call the built-in traffic monitor, and perform real-time traffic analysis on the connection request to obtain the traffic feature parameters of the connection request; a behavior feature extraction unit, which is used to use the network port lock to reference the user behavior database, and analyze the behavior data related to the connection request to obtain the behavior feature parameters of the connection request; a device feature extraction unit, which is used to use the network port lock to query the device identification information of the connected device, and obtain the information of the unauthorized device to obtain the device feature parameters of the connection request; a historical data retrieval unit, which is used to access the historical records using the network port lock, and retrieve the historical data related to the unauthorized device to obtain the historical feature parameters of the connection request.
[0030] The traffic feature extraction unit, behavior feature extraction unit, device feature extraction unit and historical data retrieval unit in the feature extraction module are used to extract feature parameters in the connection request of unauthorized devices, including traffic feature parameters, behavior feature parameters, device feature parameters and historical feature parameters, which is conducive to accurately identifying abnormal data in the connection request and lays the foundation for active detection and active identification of potential threats.
[0031] Optionally, the detection module is specifically used to input the feature parameters into a feature detection model, so as to process the feature parameters using the feature detection model to obtain a detection strategy for detecting the connection request, wherein the feature detection model is trained using multiple sets of training data through machine learning, and each of the multiple sets of training data includes: sample feature parameters, and a sample detection strategy corresponding to the sample feature parameters.
[0032] In the detection module, the detection strategy is obtained through machine learning training, which realizes the intelligent identification of abnormal data. New abnormal data through continuous monitoring can be used for continuous learning and optimization of the detection strategy.
[0033] Optionally, the threat attack database is specifically used for: obtaining threat attack information, the threat attack information including at least attack behavior, attack method, attack tool, and attack technology; determining a first attack feature of the threat attack information, and classifying the threat attack information based on the first attack feature to classify the threat attack information belonging to the same category as a threat attack group; and establishing the threat attack database based on the threat attack group.
[0034] The threat attack database provides descriptions and analysis of various security threats, which is conducive to the rapid identification and response of potential threats. Through the threat attack database, correlation analysis and detection of network data are realized to detect potential threats.
[0035] Optionally, the detection module is specifically used for: obtaining the attack behavior information present in the access request based on the detection result; determining a second attack feature of the attack behavior information; matching the second attack feature with the first attack feature of each threat attack group in the threat attack database to obtain a matching result; and determining that the attack behavior information is the potential threat when the matching result indicates that the second attack feature is the same as the first attack feature.
[0036] Among them, the threat attack database provides descriptions and analyses of various security threats, which is conducive to the rapid identification and response of potential threats.
[0037] Optionally, the defense strategy is used to guide the attack behavior in the connection request to a configured virtual environment according to the type of the potential threat, wherein the virtual environment is configured according to the type of the potential threat and contains weaknesses corresponding to the attack behavior.
[0038] The virtual environment contains vulnerabilities corresponding to attack behaviors to attract similar attacks and collect more attack behavior information to optimize the guidance mechanism of the virtual environment.
[0039] Optionally, the virtual environment is used to record the attack behavior and the corresponding timestamp, and use blockchain for chain storage, wherein the attack behavior includes the interaction data of the attack path, attack means and attack traffic in the virtual environment.
[0040] By utilizing the immutability and timestamp characteristics of data on the blockchain, the exact time of each attack by the attacker is recorded, ensuring the authenticity, security and integrity of the data during the transmission process.
[0041] Optionally, the active defense module is specifically used to transmit the active defense strategy to the network port lock, so that the network port lock adjusts the network access control list and firewall rules in real time according to the defense strategy, and dynamically controls network traffic and access requests. The defense strategy includes one or more measures of distracting the attention of the attack source, blocking the attack source, or tracking the attack source.
[0042] Optionally, the active defense module is specifically configured to: generate a prediction report according to the potential threat; and determine an active defense strategy of the network port lock according to the prediction report.
[0043] Optionally, the active defense module is used to construct a prediction network including a convolutional layer, a pooling layer and a fully connected layer connected in sequence according to the attack behavior in the potential threat; and is used to apply the prediction network to predict the potential threat and obtain a prediction report.
[0044] The dynamic response mechanism of real-time adjustment and dynamic control in the active defense module ensures that as the threat environment changes, the network port lock can adapt to new threats and adjust itself. When attacked, the access control list and firewall rules can be changed quickly to ensure that only verified and trusted network traffic is allowed to minimize the impact on the network and improve overall network security.
[0045] In a third aspect, an embodiment of the present application provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the above-mentioned network security defense method by executing the computer instructions.
[0046] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which computer instructions are stored, and the computer instructions are used to enable a computer to execute the above-mentioned network security defense method.
[0047] In a fifth aspect, an embodiment of the present application provides a computer program product, including computer instructions, which are used to enable a computer to execute the above-mentioned network security defense method. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the specific implementation methods of the present application or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0049] Figure 1A flowchart of a network security defense method provided in an embodiment of the present application;
[0050] Figure 2 A schematic diagram of a characteristic parameter matrix provided in an embodiment of the present application;
[0051] Figure 3 A flowchart of a method for determining a potential threat in a connection request provided by an embodiment of the present application;
[0052] Figure 4 A schematic diagram of a network security defense system provided in an embodiment of the present application;
[0053] Figure 5 A schematic diagram of a feature extraction module provided in an embodiment of the present application;
[0054] Figure 6 A schematic diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0055] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.
[0056] In the related technologies, traditional security defense products have a relatively passive response strategy to potential threats, and only take remedial measures after new threats occur and cause a huge impact. For example, antivirus software and firewalls protect against known threats, and can only sense and capture them after being attacked, put their features in the virus database, and respond by upgrading the antivirus software. Traditional security defense products cannot effectively defend against targeted attacks such as malware variants and malware packers. At the same time, with the continuous construction of the virus database, traditional defense products not only increase the demand for memory, but also become inefficient in application.
[0057] The network security defense method provided in this specification can be applied to electronic devices with page display functions. The electronic devices may include notebooks, desktop computers, smart phones, smart wearable devices (virtual reality glasses, smart watches, etc.), tablet computers, etc. Of course, the network security defense method provided in this specification can also be applied to applications running in the above-mentioned electronic devices.
[0058] An embodiment of the present application provides a network security defense method. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0059] The present application provides a network security defense method, such as Figure 1 As shown, the method comprises the following steps:
[0060] Step S101: extract characteristic parameters in a connection request of an unauthorized device using a network port lock.
[0061] In an embodiment of the present application, the network port lock is used to extract the characteristic parameters of the connection request, including basic information such as the source IP address, target IP address, port number, timestamp and protocol type. Through these attributes, the basic network identity characteristics of the connection request are obtained.
[0062] Step S103, select reference characteristic parameters and influencing characteristic parameters from the characteristic parameters, divide the reference characteristic parameters into multiple reference matrices, and divide the influencing characteristic parameters into multiple influencing matrices. For any reference matrix, generate the influencing weights of the multiple influencing matrices on the reference matrix, and generate the parameter attributes of the characteristic parameters based on the influencing weights of each reference matrix.
[0063] In an embodiment of the present application, the reference characteristic parameters are divided into multiple reference matrices, for example, a first reference matrix q1, a second reference matrix q2, and a third reference matrix q3. The influence characteristic parameters are divided into multiple influence matrices, for example, a first influence matrix k1, a second influence matrix k2, and a third influence matrix k3. For any reference matrix, for example, the specific steps of generating the influence weights of the multiple influence matrices on the reference matrix q3 include: performing dot products on q3 and each influence matrix (k1, k2, k3), respectively, to obtain dot product results s1, s2, and s3, respectively, and adding the dot product results to obtain the influence weight of q3. According to the above method, the influence weights of the first reference matrix q1, the second reference matrix q2, and the third reference matrix q3 are calculated respectively, and are recorded as the first influence weight, the second influence weight, and the third influence weight, respectively.
[0064] like Figure 2 As shown, based on the characteristic parameters, a characteristic parameter matrix M is constructed, and the characteristic parameter matrix M is divided into a first matrix, a second matrix, and a third matrix. Each of the first matrix, the second matrix, and the third matrix includes a reference matrix and an influence matrix. Figure 2As shown, the first matrix includes a first reference matrix and a first influence matrix, the second matrix includes a second reference matrix and a second influence matrix, and the third matrix includes a third reference matrix and a third influence matrix.
[0065] Multiply the first matrix by the first influence weight to obtain matrix M1, multiply the second matrix by the second influence weight to obtain matrix M2, multiply the third matrix by the third influence weight to obtain matrix M3, merge M1, M2, and M3 to obtain a merged matrix, which is the parameter attribute. The dimension of the matrix of the parameter attribute is consistent with the matrix M of the feature parameter.
[0066] By generating parameter attributes of feature parameters, the feature parameter expression is made more accurate.
[0067] Step S105: generating a detection strategy corresponding to the parameter attribute according to the parameter attribute.
[0068] In the embodiment of the present application, the behavior and characteristics of abnormal data are identified by analyzing and modeling the parameter attributes, training is performed by machine learning, a detection strategy is generated, and the detection strategy is used to identify similar abnormal data.
[0069] For example, detection strategies are usually determined or generated based on known attack characteristics and attack behaviors. Detection strategies can be used to detect specific network traffic patterns, behavioral characteristics of malware, and ways to exploit system vulnerabilities. The determination of detection strategies usually relies on the experience and expertise of security experts, who analyze the latest threat intelligence and attack events to determine new detection strategies. At the same time, some security vendors will also provide updated detection strategies to respond to emerging threats. In addition, some security systems can also automatically generate detection strategies through technologies such as machine learning and behavioral analysis to discover new threat behaviors. In short, the determination and generation of detection strategies is usually a process that combines manual analysis and automation technology.
[0070] Step S107, detecting the characteristic parameters by using the detection strategy to obtain a detection result.
[0071] In the embodiment of the present application, the attack mode and attack behavior in the abnormal data are detected through the detection strategy to discover the abnormal behavior therein.
[0072] For example, when a character string that meets the specified rules or is not included in the known features in the command line of an executed command or process is detected as abnormal behavior; or, if the network port lock detects that the source IP address of the request frequently tries different ports in a short period of time, it is identified as a potential port scanning behavior and detected as abnormal behavior.
[0073] Step S109: Based on the detection result, determine the potential threat in the connection request using a threat attack database.
[0074] The detection result is compared with the data in the threat attack database. If the threat attack database contains the same threat attack information as the detection result, the detection result is determined as a potential threat.
[0075] Step S111, according to the potential threat, determine the active defense strategy of the network port lock, and transmit it to the network port lock for real-time network port authority adjustment and network port parameter configuration.
[0076] For example, a smart network port lock is installed at the physical network port of a network device. When an access request is determined to be a potential threat, the network port lock is triggered to immediately disconnect the physical connection of the access request.
[0077] For example, the network port lock adjusts the ingress traffic filtering rules to allow only certain known safe IP address ranges to pass. During policy enforcement, the performance and traffic patterns of the network interface are continuously monitored.
[0078] For example, the network port lock uses the network access control list (ACL) to adjust the policy. Determine which types of data packets are safe and which may indicate malicious attempts, and then control the traffic based on the source address, destination address, port number, and protocol type. Get information from the decisions of the network access control list (ACL) to further strengthen security protection through firewall rules. Define application layer filtering and close unnecessary ports to prevent potential intrusion attempts.
[0079] The network security defense method provided in the present embodiment uses a network port lock to extract characteristic parameters in the connection request of an unauthorized device, screens out reference characteristic parameters and influencing characteristic parameters from the characteristic parameters, divides the reference characteristic parameters into multiple reference matrices, and divides the influencing characteristic parameters into multiple influencing matrices. For each reference matrix, multiple influencing weights of the influencing matrices on the reference matrix are generated, and based on the influencing weights, parameter attributes of the characteristic parameters are generated to make the expression of the characteristic parameters more accurate. A detection strategy is generated based on the parameter attributes, and a detection result is obtained. Based on the detection result, a threat attack database is used to determine the potential threat in the connection request. Based on the potential threat, an active defense strategy of the network port lock is determined and transmitted to the network port lock for real-time network port authority adjustment and network port parameter configuration, thereby realizing active detection and active defense of potential threats and solving the technical problem of inefficient and passive response mechanism to potential threats in related technologies.
[0080] In some embodiments, the network port lock is used to extract characteristic parameters in the connection request of the unauthorized device, specifically including: using the network port lock to call the built-in traffic monitor and perform real-time traffic analysis on the connection request, that is, real-time analysis of the data packet size, request frequency, session duration and load content of the connection request to obtain the traffic characteristic parameters of the connection request. Using the network port lock to reference the user behavior database and analyze the behavior data related to the connection request, the behavior data includes the number of login attempts, common commands and other data, to obtain the behavior characteristic parameters of the connection request. Using the network port lock to query the device identification information of the connecting device and obtain the information of the unauthorized device, that is, obtain information including MAC address, device type, operating system, to obtain the device characteristic parameters of the connection request. Using the network port lock to access the historical record, and retrieve the historical data related to the unauthorized device, that is, historical security events and request records, to obtain the historical characteristic parameters of the connection request for current analysis.
[0081] In some embodiments, the reference characteristic parameters include historical characteristic parameters, and the influencing characteristic parameters include behavioral characteristic parameters.
[0082] By extracting characteristic parameters from connection requests of unauthorized devices, including traffic characteristic parameters, behavior characteristic parameters, device characteristic parameters, and historical characteristic parameters, it is helpful to accurately identify abnormal data in connection requests, laying the foundation for active detection and active identification of potential threats.
[0083] In some embodiments, based on the parameter attributes, a detection strategy corresponding to the parameter attributes is generated, specifically including: inputting the parameter attributes into a feature detection model to process the parameter attributes using the feature detection model to obtain a detection strategy for detecting the connection request, wherein the feature detection model is trained using multiple sets of training data through machine learning, and each of the multiple sets of training data includes: sample parameter attributes, and a sample detection strategy corresponding to the sample parameter attributes.
[0084] The detection strategy obtained through machine learning training realizes the intelligent identification of abnormal data. New abnormal data through continuous monitoring can be used for continuous learning and optimization of detection strategies.
[0085] In some embodiments, the specific steps of constructing the threat attack database include: obtaining threat attack information, the threat attack information including at least: attack behavior, attack method, attack tool, and attack technology; determining a first attack feature of the threat attack information, and classifying the threat attack information based on the first attack feature to classify the threat attack information belonging to the same category as a threat attack group; and establishing the threat attack database based on the threat attack group.
[0086] For example, a threat attack database can be constructed through the following steps: 1) Obtain the latest threat attack information, including known attack technologies, attack methods, attack tools, and other information; 2) Threat attack classification modeling: Based on MITRE ATT&CK, i.e., Intruder Tactics, Techniques, and Shared Knowledge Base, the latest threat attack information obtained is classified and modeled to determine the characteristics of various attack methods and attack technologies; 3) Different attack methods and attack technologies are combined and associated to form a threat attack database.
[0087] The threat attack database constructed through the above steps realizes correlation analysis and detection of network data to detect potential threats that may exist.
[0088] In some embodiments, Figure 3 As shown, based on the detection result, the potential threat present in the connection request is determined using the threat attack database, specifically including: step S201, acquiring the attack behavior information present in the access request based on the detection result; step S203, determining the second attack feature of the attack behavior information; step S205, matching the second attack feature with the first attack feature of each threat attack group in the threat attack database to obtain a matching result; step S207, when the matching result indicates that the second attack feature is the same as the first attack feature, determining that the attack behavior information is the potential threat.
[0089] Among them, the threat attack database provides descriptions and analyses of various security threats, which is conducive to the rapid identification and response of potential threats.
[0090] In some embodiments, determining the active defense strategy of the network port lock based on the potential threat specifically includes: according to the type of the potential threat, guiding the attack behavior in the connection request to a configured virtual environment, wherein the virtual environment is configured according to the type of the potential threat and contains weaknesses corresponding to the attack behavior.
[0091] By constructing a virtual environment corresponding to the weaknesses, similar attacks are attracted and more attack behavior information is collected to optimize the guidance mechanism of the virtual environment.
[0092] In some embodiments, honeypot technology is used to deploy fake network resources, and simulated vulnerable target systems are configured in the fake network resources to induce attack behavior. Honeypot parameters are adjusted to ensure that their appearance is similar to that of real vulnerable systems, thereby reducing the difference between virtual environments and real environments.
[0093] The honeypot technology is used to configure a virtual environment containing vulnerabilities corresponding to the type of potential threats, that is, to configure corresponding virtual services and virtual applications. The configuration of the virtual environment is specifically to determine whether there is a virtual environment containing vulnerabilities corresponding to the type of potential threats in the fake network resources. If so, a match is made directly. If not, a new virtual environment containing vulnerabilities corresponding to the type of potential threats is constructed.
[0094] By designing virtual environments for different potential threat types, attack behaviors are lured in. The virtual environment is dynamically constructed, corresponding fake services and applications are configured for each threat type, and network routing policies are configured to redirect the identified attack behaviors to the corresponding virtual environment. In the virtual environment, the attack behaviors and corresponding timestamps are monitored and recorded, and chained storage is performed using blockchain, wherein the attack behaviors include the attack path, attack means, and interaction data of the attack traffic in the virtual environment.
[0095] In some embodiments, in the virtual environment, the attack behavior and the corresponding timestamp are recorded and chained using blockchain, wherein the attack behavior includes the attack path, attack means, and interactive data of the attack traffic in the virtual environment. The immutability and timestamp characteristics of the data on the blockchain are used to record the exact time when each attack behavior of the attacker occurs, ensuring the authenticity, security, and integrity of the data during transmission.
[0096] In the virtual environment, the attack behavior and the corresponding timestamp are monitored and recorded, including: recording time attributes, including the specific date and time of the attack, the duration, and the frequency of the attack. Such time information helps determine the activity pattern and potential activity time window of the attack. Recording technical characteristics, including the tools and software used in the attack, the vulnerability exploitation type, and the command sequence, to determine the skill level and common tactics of the attacker. Such data helps to understand the attacker's technical preferences and capabilities. Recording target selection information, including the target IP address and port, service type, and operating system version, to analyze the attacker's preferences for selecting targets and potential attack motivations. Recording attack behavior pattern data, including lateral movement behavior, persistence mechanism, and data theft activities, to identify the attacker's behavioral characteristics and intentions within the network. Analyzing the attack effects, including system interruptions, signs of data leakage, and abnormal resource usage, to determine the impact and potential destructiveness of the attack. Recording defense bypass information to determine whether the attacker attempts to bypass security measures and what evasion techniques are used, and to evaluate the attacker's adaptability and response strategies.
[0097] In some embodiments, the defense strategy is optimized based on the recorded attack behavior data, such as optimizing the boot mechanism and honeypot settings of the virtual environment.
[0098] In a virtual environment, use data capture tools and techniques, such as network sniffers and logging tools, to obtain data on all attack activities that occur in the virtual environment. Use log management systems and protocol analyzers to obtain log information in the virtual environment, determine the completeness and accuracy of log records, and ensure that both normal operations and abnormal activities are recorded in detail and are easy to audit and review. Set up automated response rules or create pre-defined response processes to obtain information on attack behaviors detected in the virtual environment, determine whether the system can respond to attack events in a timely manner, and take necessary measures to mitigate the impact of attacks.
[0099] In some embodiments, a log management system and a protocol analyzer are applied to obtain log information in a virtual environment, and automated response rules are set. When abnormal data is detected, the administrator is notified via email or text message to take timely and necessary defensive measures.
[0100] In some embodiments, determining the active defense strategy of the network port lock according to the potential threat also includes: generating a prediction report according to the potential threat; and determining the active defense strategy of the network port lock according to the prediction report. The prediction report includes the attacker's attack level, attack path, attack mode and attack intention, which are used to determine the attacker's possible future attack actions.
[0101] In some embodiments, a prediction report is generated based on potential threats, specifically including: constructing a prediction network comprising sequentially connected convolutional layers, pooling layers, and fully connected layers based on the attack behaviors in the potential threats; and applying the prediction network to predict the potential threats to obtain a prediction report.
[0102] Based on the convolutional neural network architecture, a prediction network is constructed to predict the possible future attack actions of potential threats and obtain a prediction report. Based on the prediction report, risk assessment and defense strategy recommendations are provided. In some embodiments, based on the potential threat, the active defense strategy of the network port lock is determined and transmitted to the network port lock for real-time network port permission adjustment and network port parameter configuration, specifically including: transmitting the active defense strategy to the network port lock, so that the network port lock adjusts the network access control list and firewall rules in real time according to the defense strategy, and dynamically controls network traffic and access requests.
[0103] The defense strategy includes one or more of measures to distract the attention of the attack source, measures to block the attack source, or measures to track the attack source.
[0104] The dynamic response mechanism of real-time adjustment and dynamic control ensures that as the threat environment changes, the network port lock can adapt to new threats and adjust itself. When attacked, the access control list and firewall rules can be changed quickly to ensure that only verified and trusted network traffic is allowed to minimize the impact on the network and improve overall network security.
[0105] See also Figure 4 The present application also provides a network security defense system, including:
[0106] The feature extraction module 100 is used to extract feature parameters in the connection request of the unauthorized device by using the network port lock;
[0107] The weight generation module 200 is used to select reference feature parameters and influencing feature parameters from the feature parameters, and divide the reference feature parameters into multiple reference matrices, and divide the influencing feature parameters into multiple influencing matrices; for any reference matrix, generate the influencing weights of the multiple influencing matrices on the reference matrix, and generate parameter attributes of the feature parameters based on the influencing weights of each of the reference matrices;
[0108] The detection module 300 is used to generate a detection strategy corresponding to the parameter attribute according to the parameter attribute; to detect the characteristic parameter according to the detection strategy to obtain a detection result; and to determine the potential threat existing in the connection request using a threat attack database based on the detection result;
[0109] The active defense module 400 is used to determine the active defense strategy of the network port lock according to the potential threat, and transmit it to the network port lock for real-time network port authority adjustment and network port parameter configuration.
[0110] A network security defense system provided by an embodiment of the present application extracts characteristic parameters in a connection request of an unauthorized device through a characteristic extraction module 100, generates parameter attributes of the characteristic parameters through a weight generation module 200, and realizes a more accurate expression of the characteristic parameters. Based on the parameter attributes, a detection strategy corresponding to the parameter attributes is generated through a detection module 300, and the characteristic parameters are detected through the detection strategy to obtain a detection result. Based on the detection result, a threat attack database is used to determine potential threats in the connection request. Based on the potential threats, an active defense strategy of the network port lock is determined through an active defense module 400, and is transmitted to the network port lock for real-time network port authority adjustment and network port parameter configuration, thereby realizing active detection and active defense of potential threats and solving the technical problem of inefficient and passive response mechanism to potential threats in related technologies.
[0111] In some embodiments, Figure 5 As shown, the feature extraction module 100 specifically includes:
[0112] The flow characteristic extraction unit 101 is used to call the built-in flow monitor by using the network port lock, and perform real-time flow analysis on the connection request to obtain flow characteristic parameters of the connection request;
[0113] The behavior feature extraction unit 102 is used to use the network port lock to refer to the user behavior database and analyze the behavior data related to the connection request to obtain the behavior feature parameters of the connection request;
[0114] The device feature extraction unit 103 is used to query the device identification information of the connected device using the network port lock and obtain the information of the unauthorized device to obtain the device feature parameters of the connection request;
[0115] The historical data retrieval unit 104 is used to access the historical records using the network port lock and retrieve the historical data related to the unauthorized device to obtain the historical characteristic parameters of the connection request.
[0116] In some embodiments, the reference characteristic parameters include historical characteristic parameters, and the influencing characteristic parameters include behavioral characteristic parameters.
[0117] The feature extraction module 100 extracts feature parameters in the connection request of the unauthorized device, including traffic feature parameters, behavior feature parameters, device feature parameters, and historical feature parameters, which is conducive to accurately identifying abnormal data in the connection request and lays the foundation for active detection and active identification of potential threats.
[0118] In some embodiments, the detection module 300 is specifically used to input the parameter attributes into a feature detection model, so as to process the parameter attributes using the feature detection model to obtain a detection strategy for detecting the connection request, wherein the feature detection model is trained using multiple sets of training data through machine learning, and each of the multiple sets of training data includes: sample parameter attributes, and a sample detection strategy corresponding to the sample parameter attributes.
[0119] In the detection module 300, the detection strategy is obtained through the training method of machine learning, which realizes the intelligent identification of abnormal data. The new abnormal data through continuous monitoring can be used for continuous learning and optimization of the detection strategy.
[0120] In some embodiments, the threat attack database is specifically used for: obtaining threat attack information, wherein the threat attack information includes at least attack behavior, attack method, attack tool, and attack technology; determining a first attack feature of the threat attack information, and classifying the threat attack information based on the first attack feature to classify the threat attack information belonging to the same category as a threat attack group; and establishing the threat attack database based on the threat attack group.
[0121] The threat attack database provides descriptions and analysis of various security threats, which is conducive to the rapid identification and response of potential threats. Through the threat attack database, correlation analysis and detection of network data are realized to detect potential threats.
[0122] In some embodiments, the detection module 300 is specifically:
[0123] Used to obtain attack behavior information present in the access request based on the detection result;
[0124] A second attack feature for determining the attack behavior information;
[0125] used to match the second attack feature with the first attack feature of each of the threat attack groups in the threat attack database to obtain a matching result;
[0126] Used to determine that the attack behavior information is the potential threat when the matching result indicates that the second attack feature is the same as the first attack feature.
[0127] Among them, the threat attack database provides descriptions and analyses of various security threats, which is conducive to the rapid identification and response of potential threats.
[0128] In some embodiments, the defense strategy is used to direct the attack behavior in the connection request to a configured virtual environment according to the type of the potential threat, wherein the virtual environment is configured according to the type of the potential threat and contains vulnerabilities corresponding to the attack behavior.
[0129] By including a virtual environment with corresponding weaknesses, similar attacks are attracted and more attack behavior information is collected to optimize the guidance mechanism of the virtual environment.
[0130] In some embodiments, the virtual environment is used to record the attack behavior and the corresponding timestamp, and use blockchain for chain storage, wherein the attack behavior includes the attack path, attack means and interaction data of the attack traffic in the virtual environment.
[0131] By utilizing the immutability and timestamp characteristics of data on the blockchain, the exact time of each attack by the attacker is recorded, ensuring the authenticity, security and integrity of the data during the transmission process.
[0132] In some embodiments, the active defense module 400 is specifically used to transmit the active defense strategy to the network port lock, so that the network port lock adjusts the network access control list and firewall rules in real time according to the defense strategy, and dynamically controls network traffic and access requests.
[0133] The defense strategy includes one or more of measures to distract the attention of the attack source, measures to block the attack source, or measures to track the attack source.
[0134] In some embodiments, the active defense module 400 is used to construct a prediction network comprising a convolutional layer, a pooling layer and a fully connected layer connected in sequence according to the attack behavior in the potential threat; and is used to apply the prediction network to predict the potential threat and obtain a prediction report.
[0135] In some embodiments, the active defense module 400 is specifically configured to: generate a prediction report according to the potential threat; and determine an active defense strategy of the network port lock according to the prediction report.
[0136] The dynamic response mechanism of real-time adjustment and dynamic control in the active defense module 400 ensures that as the threat environment changes, the network port lock can adapt to new threats and adjust itself. When attacked, the access control list and firewall rules can be quickly changed to ensure that only verified and trusted network traffic is allowed to minimize the impact on the network and improve overall network security.
[0137] The network security defense system in this embodiment is presented in the form of functional units, where the units refer to ASIC (Application Specific Integrated Circuit) circuits, processors and memories that execute one or more software or fixed programs, and / or other devices that can provide the above functions.
[0138] See also Figure 6 , Figure 6 is a schematic diagram of the structure of a computer device provided in an embodiment of the present application, such as Figure 6 As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are connected to each other using different buses for communication, and can be installed on a common motherboard or installed in other ways as needed. The processor 10 can be a central processing unit, a network processor or a combination thereof. Among them, the processor 10 can further include a hardware chip. The above-mentioned hardware chip can be a dedicated integrated circuit, a programmable logic device or a combination thereof. The above-mentioned programmable logic device can be a complex programmable logic device, a field programmable gate array, a general array logic or any combination thereof.
[0139] The memory 20 stores instructions executable by at least one processor 10, so that the at least one processor 10 executes the method shown in the above embodiment.
[0140] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0141] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.
[0142] The computer device further comprises a communication interface 30 for the computer device to communicate with other devices or a communication network.
[0143] The embodiment of the present application also provides a computer-readable storage medium. The above method according to the embodiment of the present application can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0144] The embodiment of the present application provides a computer program product, which includes computer instructions, which are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the method of any embodiment of the present application.
[0145] Although the embodiments of the present application are described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present application, and such modifications and variations are all within the scope defined by the appended claims.
[0146] The systems, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0147] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0148] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0149] The present application is described with reference to the flowcharts and / or block diagrams of the methods, systems, and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0150] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0151] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0152] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0153] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0154] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
[0155] Although the embodiments of the present application have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present application, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A network security defense method, characterized in that: The method comprises: The network port lock is used to extract characteristic parameters in the connection request of the unauthorized device, specifically including: using the network port lock to call the built-in traffic monitor, and performing real-time traffic analysis on the connection request to obtain the traffic characteristic parameters of the connection request; using the network port lock to reference the user behavior database, and analyzing the behavior data related to the connection request to obtain the behavior characteristic parameters of the connection request; using the network port lock to query the device identification information of the connecting device, and obtain the information of the unauthorized device, to obtain the device characteristic parameters of the connection request; using the network port lock to access the historical record, and retrieve the historical data related to the unauthorized device to obtain the historical characteristic parameters of the connection request; Filtering out reference characteristic parameters and influencing characteristic parameters from the characteristic parameters, constructing a characteristic parameter matrix based on the characteristic parameters, dividing the characteristic parameter matrix into a first matrix, a second matrix, and a third matrix, and dividing the reference characteristic parameters into a plurality of reference matrices, including a first reference matrix, a second reference matrix, and a third reference matrix, and dividing the influencing characteristic parameters into a plurality of influencing matrices, including a first influencing matrix, a second influencing matrix, and a third influencing matrix, wherein each of the first matrix, the second matrix, and the third matrix includes a reference matrix and an influencing matrix; For any reference matrix, generate the influence weights of the multiple influence matrices on the reference matrix, including performing dot products on any reference matrix and each influence matrix respectively to obtain dot product results respectively, add the dot product results to obtain the influence weights of the corresponding reference matrices, including the first influence weight of the first reference matrix, the second influence weight of the second reference matrix, and the third influence weight of the third reference matrix, and based on the influence weights of each of the reference matrices, generate parameter attributes of the feature parameters, including: multiplying the first matrix by the first influence weight to obtain a matrix M1, multiplying the second matrix by the second influence weight to obtain a matrix M2, multiplying the third matrix by the third influence weight to obtain a matrix M3, merging M1, M2, and M3 to obtain a merged matrix, which is the parameter attribute; and generating a detection strategy corresponding to the parameter attribute according to the parameter attribute, wherein the detection strategy is usually determined or generated according to known attack characteristics and attack behaviors, and the detection strategy can be used to detect specific network traffic patterns, behavior characteristics of malware, and ways of exploiting system vulnerabilities; Detecting the characteristic parameters by using the detection strategy to obtain a detection result; Based on the detection result, determine the potential threat present in the connection request using a threat attack database, wherein the threat attack database provides descriptions and analyses of various security threats; Based on the potential threat, the active defense strategy of the network port lock is determined and transmitted to the network port lock for real-time network port authority adjustment and network port parameter configuration. The defense strategy includes one or more measures of distracting the attention of the attack source, blocking the attack source, or tracking the attack source.
2. The method according to claim 1, characterized in that The reference characteristic parameters include historical characteristic parameters, and the influencing characteristic parameters include behavioral characteristic parameters.
3. The method according to claim 1, characterized in that Generating, according to the parameter attribute, a detection strategy corresponding to the parameter attribute specifically includes: The parameter attributes are input into a feature detection model so as to process the parameter attributes using the feature detection model to obtain a detection strategy for detecting the connection request, wherein the feature detection model is trained by machine learning using multiple sets of training data, and each of the multiple sets of training data includes: sample parameter attributes and a sample detection strategy corresponding to the sample parameter attributes.
4. The method according to claim 1, characterized in that: The specific steps of constructing the threat attack database include: Acquire threat attack information, wherein the threat attack information includes at least: attack behavior, attack method, attack tool, and attack technology; Determine a first attack feature of the threat attack information, and classify the threat attack information based on the first attack feature to classify the threat attack information belonging to the same category as a threat attack group; and establish the threat attack database based on the threat attack group.
5. The method according to claim 4, characterized in that Determining the potential threat in the connection request based on the detection result using a threat attack database specifically includes: Acquire attack behavior information present in the connection request based on the detection result; Determining a second attack feature of the attack behavior information; Matching the second attack feature with the first attack feature of each of the threat attack groups in the threat attack database to obtain a matching result; When the matching result indicates that the second attack feature is the same as the first attack feature, the attack behavior information is determined to be the potential threat.
6. The method according to claim 1, characterized in that Determining the active defense strategy of the network port lock according to the potential threat specifically includes: According to the type of the potential threat, the attack behavior in the connection request is directed to a configured virtual environment, wherein the virtual environment is configured according to the type of the potential threat and contains weaknesses corresponding to the attack behavior.
7. The method according to claim 6, characterized in that In the virtual environment, the attack behavior and the corresponding timestamp are recorded and chainedly stored using blockchain, wherein the attack behavior includes the attack path, attack means, and interactive data of the attack traffic in the virtual environment.
8. The method according to claim 1, characterized in that Determining the active defense strategy of the network port lock according to the potential threat also includes: Generate a forecast report based on the potential threats; An active defense strategy of the network port lock is determined according to the prediction report.
9. The method according to claim 8, characterized in that The generating of a prediction report according to the potential threat specifically includes: Constructing a prediction network including sequentially connected convolutional layers, pooling layers, and fully connected layers according to the attack behaviors in the potential threats; The prediction network is used to predict the potential threat and obtain a prediction report.
10. The method according to claim 1, characterized in that The active defense strategy of the network port lock is determined according to the potential threat, and is transmitted to the network port lock for real-time network port authority adjustment and network port parameter configuration, specifically including: The active defense strategy is transmitted to the network port lock, so that the network port lock adjusts the network access control list and firewall rules in real time according to the defense strategy, and dynamically controls network traffic and access requests.
11. A network security defense system, characterized in that: include: The feature extraction module is used to extract the feature parameters in the connection request of the unauthorized device by using the network port lock, specifically including: using the network port lock to call the built-in traffic monitor, and performing real-time traffic analysis on the connection request to obtain the traffic feature parameters of the connection request; using the network port lock to reference the user behavior database, and analyzing the behavior data related to the connection request to obtain the behavior feature parameters of the connection request; using the network port lock to query the device identification information of the connecting device, and obtain the information of the unauthorized device, to obtain the device feature parameters of the connection request; using the network port lock to access the historical record, and retrieve the historical data related to the unauthorized device to obtain the historical feature parameters of the connection request; A weight generation module, used to screen out reference feature parameters and influencing feature parameters from the feature parameters, construct a feature parameter matrix based on the feature parameters, divide the feature parameter matrix into a first matrix, a second matrix, and a third matrix, and divide the reference feature parameters into multiple reference matrices, including a first reference matrix, a second reference matrix, and a third reference matrix, and divide the influencing feature parameters into multiple influencing matrices, including a first influencing matrix, a second influencing matrix, and a third influencing matrix, wherein each of the first matrix, the second matrix, and the third matrix includes a reference matrix and an influencing matrix; and used to generate, for any reference matrix, a weight generation module for the multiple influencing matrices on the reference matrix. The influence weights include performing dot products on any reference matrix and each influence matrix to obtain dot product results, adding the dot product results to obtain the influence weights of the corresponding reference matrices, including a first influence weight of the first reference matrix, a second influence weight of the second reference matrix, and a third influence weight of the third reference matrix, and generating parameter attributes of the feature parameters based on the influence weights of the reference matrices, including: multiplying the first matrix by the first influence weight to obtain a matrix M1, multiplying the second matrix by the second influence weight to obtain a matrix M2, multiplying the third matrix by the third influence weight to obtain a matrix M3, and merging M1, M2, and M3 to obtain a merged matrix, which is the parameter attribute; A detection module, used to generate a detection strategy corresponding to the parameter attribute according to the parameter attribute, wherein the detection strategy is usually determined or generated according to known attack characteristics and attack behaviors, and the detection strategy can be used to detect specific network traffic patterns, behavioral characteristics of malware, and ways of exploiting system vulnerabilities; used to detect the characteristic parameters through the detection strategy to obtain a detection result; used to determine the potential threat existing in the connection request based on the detection result using a threat attack database, wherein the threat attack database provides a description and analysis of various security threats; The active defense module is used to determine the active defense strategy of the network port lock according to the potential threat, and transmit it to the network port lock for real-time network port authority adjustment and network port parameter configuration. The defense strategy includes one or more measures of distracting the attention of the attack source, blocking the attack source or tracking the attack source.
12. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the network security defense method according to any one of claims 1 to 10 by executing the computer instructions.
13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the network security defense method according to any one of claims 1 to 10.
14. A computer program product, characterized in that The method comprises computer instructions, wherein the computer instructions are used to enable a computer to execute the network security defense method according to any one of claims 1 to 10.
Citation Information
Patent Citations
Power network security protection method based on zero trust
CN115189927A
5G edge computing security access control system and method based on cross-layer zero trust
CN115696332A
Network security threat detection method and device, and computer program product
CN118233207A
Presentation of threat history associated with network activity
US20160173446A1
Automated Real-time Multi-dimensional Cybersecurity Threat Modeling
US20210021636A1
