APT attack protection system for analyzing and monitoring malicious network program
By combining static and dynamic analysis, rule base and virtual machine scheduling, abnormal traffic detection and other technologies in the APT attack protection system, the existing technology problems of low malware detection accuracy and difficulty in identifying encrypted data are solved, and efficient APT attack protection.
Patent Information
- Application Number
- CN202410710623.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-04
- Publication Date
- 2024-09-03
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing technologies cannot effectively defend against advanced persistent threat APT attacks, especially due to the lack of a complete malicious program analysis system and network monitoring and protection system, resulting in low accuracy and slow speed of malicious program detection, and it is difficult to identify encrypted data and unencrypted data. Inability to effectively detect attacks that have been dormant for a long time.
An APT attack protection system that analyzes and monitors network malicious programs is designed. It monitors software behavior through a combination of static and dynamic methods, and uses the hierarchical formulation of rule bases and intelligent scheduling of virtual machines to improve the speed and accuracy of malicious program detection. It also distinguishes encrypted and unencrypted data through ciphertext detection of abnormal traffic, and uses dynamic process optimization algorithms to improve the processing performance of the detection engine.
It improves the accuracy and speed of malicious program detection, enhances the protection ability against APT attacks, realizes intelligent identification and accurate detection of encrypted traffic, improves the ease of use, scalability and stability of the system, and has a large number of samples to continuously Analytical ability.
Smart Images

Figure CN118590280A
Abstract
Description
Technical Field
[0001] The present application relates to a network malicious APT attack protection system, and in particular to an APT attack protection system for parsing and monitoring network malicious programs, belonging to the technical field of network attack protection. Background Art
[0002] If general network virus attacks are regarded as conventional weapons, then advanced persistent threats (APT) can be regarded as a joint operation of multiple weapons in cyberspace. APT attacks use various attack methods, including network technology, programming technology, decompilation technology, password cracking, social engineering and other knowledge, to carry out continuous attacks on targets of great significance.
[0003] The characteristics of APT attacks include: First, the target of the attack is very clear and has great benefits. The benefits here are far beyond economic benefits. It is very likely to involve important core strategic resources such as enterprises, finance, politics, and military, and the impact caused is difficult to estimate. Second, APT attacks are often carefully planned, strictly organized, and collective actions with precise division of labor. The power mobilized by the attack is difficult for a single person to achieve, and it requires cooperation to complete. In addition, the attacker will clear the traces, making it difficult for the defender to find it afterwards. It is unaware that the harm caused by this is difficult to estimate. Third, the cycle of APT attacks is very long and highly concealed. APT attacks can last for a long time from initiation to completion of all deployments and then to various attacks. As long as they are not discovered, malicious attacks can lurk for a long time. During the attack, information collection, system scanning, and obtaining system control rights and other malicious attacks are continuously carried out until the purpose is achieved. Fourth, APT attacks use a variety of attack methods and absorb various attack methods, including exploiting O-day vulnerabilities and known vulnerabilities, overflow attacks, denial of service attacks, malicious program attacks, etc. Attacks are launched against the system from all directions. If only certain signature codes or intrusion detection are used to prevent them, the problem of protecting the system from APT attacks cannot be fundamentally solved.
[0004] According to the characteristics of APT attacks and the attack process, some targeted measures and means are proposed, including: 1) Collection stage: Collecting information and making plans are the work of attackers at this stage. The preventive measures at this stage are to detect and warn security threats, identify the attacker's sniffing and scanning of the target network, and take precautions in advance; at the same time, strengthen the security management of information systems. 2) Entry stage: The attacker will first invade a node with relatively weak security prevention in the target network, and take this node as the starting point for subsequent actions. At this stage, effective means can be used to identify attack behaviors; by reasonably configuring security strategies such as intrusion detection and firewalls, the attacker's common attack attempts can be cut off. 3) Penetration stage: At this stage, the attacker will use various attack methods to penetrate the target network. Prevention can be considered from the aspects of user system security domain planning, system user permissions and operation behavior auditing, and system security strategy optimization. 4) Harvest stage: After the attacker succeeds, the useful information obtained will be sent out through various disguises or encryptions. The output information flow should be focused on, including abnormal ciphertext. If abnormal phenomena and illegal connections occur, it may be the attacker's behavior.
[0005] APT attacks cannot be effectively prevented and detected by a single security technology. Only by combining various security technologies with security management mechanisms to form a protection system that can cope with multiple threats can we resist APT attacks.
[0006] The problems that the existing network APT attack protection system needs to solve and the key technical difficulties of this application include:
[0007] (1) APT attacks have clear targets and are often carefully planned, organized, and organized with precise division of labor. The impact caused is difficult to estimate, and the attackers will clear their tracks, making it difficult for defenders to find them afterwards. The damage caused by the attackers is also difficult to estimate. In response to APT attacks, the existing technology lacks a relatively complete malicious program analysis system and network monitoring and protection system, and cannot use a combination of static and dynamic methods to monitor software behavior, and the accuracy of malicious program detection is low; there is a lack of hierarchical formulation of rule libraries and intelligent scheduling of virtual machines, and the speed of malicious program detection is slow. There is a lack of a network monitoring and protection system that detects features first and then anomalies, and it is impossible to improve the detection efficiency through the joint action of the two. At the same time, there is a lack of corresponding countermeasures for the situation where the attacker's external data is mostly encrypted, and the protection system is imperfect.
[0008] (2) The cycle of APT attacks is very long and highly concealed. APT attacks can last for a long time from initiation to completion of all deployments and then to various attacks. It is difficult to detect with existing technologies. Malicious attacks can remain dormant for a long time. During the attack, information collection, system scanning, and system control are continuously carried out until the purpose is achieved, causing immeasurable losses. Existing technologies lack efficient network intrusion detection methods, lack ciphertext detection based on abnormal traffic, cannot distinguish encrypted data from unencrypted data, cannot detect APT attacks by judging whether the encryption behavior is legal, cannot use network monitoring and protection systems to bypass network traffic, lack the ability to summarize and analyze the character feature differences between plaintext and ciphertext data, cannot achieve intelligent identification and accurate detection of encrypted traffic by calculating the statistical features of traffic, lack dynamic process optimization algorithms, lack dynamic optimization of key processing processes such as protocol parsing and rule matching, and the overall processing performance of the detection engine is poor.
[0009] (3) APT attacks use a variety of attack methods and methods to attack the system from all aspects. Existing technologies only prevent attacks from certain signature codes or intrusion detection, which cannot fundamentally solve the problem of APT attack system protection. There is a lack of analysis of malicious programs and intelligent analysis and judgment that combines static features with dynamic behaviors. Existing network APT attack protection technologies lack key innovative technologies such as intelligent analysis, dynamic analysis of rules, file restoration of network traffic, and ciphertext detection based on abnormal traffic. The system is poor in usability, scalability, and stability, lacks the ability to detect network traffic security, and does not have the ability to continuously analyze a large number of samples. The APT attack protection capability needs to be improved. Summary of the invention
[0010] In response to APT attacks, this application proposes a relatively complete malicious program analysis system and network monitoring and protection system, establishes the design ideas and logical structure of the system, completes the overall design of the system, extracts malicious attack feature codes for dedicated networks, organizes and improves the feature library, and uses a combination of static and dynamic methods to monitor software behavior, improving the accuracy of malicious program detection; the hierarchical formulation of the rule library and the intelligent scheduling of virtual machines improve the speed of malicious program detection. In the network monitoring and protection system, feature detection is performed first and then anomaly detection, and the two work together to improve detection efficiency; at the same time, in view of the fact that the attacker's external data is mostly ciphertext, file restoration and ciphertext detection are performed to make the protection system more complete.
[0011] In order to achieve the above technical effects, the technical solutions adopted in this application are as follows:
[0012] The APT attack protection system for network malicious program analysis and monitoring provides data to the outside through WEB services and Syslog logs. The malicious program analysis subsystem accepts the sample file restored by the network monitoring engine and analyzes it. The analysis results are provided to users through WEB services. The network monitoring engine subsystem analyzes and restores network data packets, sends the restored sample files to the malicious program analysis subsystem, and sends the alarm log to the external display or big data analysis system through syslog;
[0013] The first is the analysis of malicious programs: intelligent analysis and judgment combining static features and dynamic behaviors. Static features include virus libraries, filler data, input tables, and specific strings. Through the intelligent analysis of these data, most known malicious programs are filtered out, providing valuable judgments for the analysis of unknown samples. The operation behaviors of the samples are summarized, classified, and modeled, and a behavior rule matching library is established. Related behaviors or behavior sequences are organized into rule units, and different weights and risk levels are set for different units. In this way, a good rule library is established, and then the captured registry operations, network operations, file operations, process thread operations, and memory operations are replaced according to the specified rules and matched with the behavior rule library. When the weight reaches a certain value, it is determined to be a malicious program. The threat of known vulnerabilities to dedicated systems is analyzed, and a detection engine is designed in the gateway or isolator to identify attacks on known vulnerabilities, and can also identify attacks on unknown vulnerabilities. The identification of attacks on unknown vulnerabilities is the identification of malicious programs. Malicious programs are sent to servers to exploit specific vulnerabilities to obtain permissions or conduct other malicious attacks.
[0014] The second is network intrusion detection: based on ciphertext detection of abnormal traffic, encrypted data is distinguished from unencrypted data. By judging whether the encryption behavior is legal, APT attacks can be detected. The network monitoring and protection system is used to bypass the network traffic, summarize and analyze the character features of plaintext data and ciphertext data, and calculate the statistical features of the traffic to achieve intelligent identification and accurate detection of encrypted traffic. The dynamic process optimization algorithm is used to dynamically optimize the key processing processes of protocol parsing and rule matching.
[0015] Preferably, the network monitoring engine is deployed in the user network in a bypass manner and accesses the network traffic to be detected. After capturing data packets, pre-processing screening and protocol parsing, various tests are performed on network messages through rule matching and abnormal behavior recognition technology. For known network attacks, the discovered security alarm information is reported. For unknown network attacks, the samples are submitted to the malicious program parsing module. The parsing detection engine first parses through the feature matching algorithm, and optimizes the key processing flows of protocol parsing and rule matching. At the same time, the detection engine uses a built-in compiler to directly compile the detection rules into executable machine programs, which are directly executed by the CPU.
[0016] Preferably, malware analysis: first determine the behavior characteristics of the malware, use this as a standard to search for the characteristic values of the malware, provide a basis for subsequent analysis and detection, and adopt a combination of static analysis and dynamic analysis;
[0017] First, dynamic analysis is performed to detect suspicious programs and determine the scope. Then, static analysis is used to detect programs in this scope to determine whether they are malicious programs. At the same time, dynamic analysis is performed in multiple environments to more comprehensively monitor malicious programs.
[0018] Preferably, the protection network is deployed:
[0019] 1) The eth0 interface of the network monitoring engine is the network traffic capture port, which is connected to the mirror port of the core switch to monitor the network traffic; eth1 is the control port, which is connected to the working network of this system;
[0020] 2) The network monitoring management end implements the control of the detection engine, implements the analysis of network packets and the configuration of related parameters, including detection rules, network segments, and events;
[0021] 3) The malicious program analysis system receives the sample file restored by the network monitoring and protection system from the captured network traffic and analyzes it;
[0022] 4) The entire system transmits data to external systems in the form of Syslog, ensuring network connectivity between the network monitoring and protection system management center and the network monitoring engine, the attacking machine and the attacked machine, the management center and the Syslog receiving server, the detection engine and the malicious program analysis system.
[0023] Preferably, a rule base is formulated: rule layering saves feature matching time, each feature only cares about the specified behavior, and quickly indexes the required resources;
[0024] The first layer is the behavior layer, which hides the underlying API parameters and data source issues and provides a unified feature interface for the upper layer.
[0025] The second layer is the feature layer, which matches malicious behavior features based on the behavior layer operations and the data provided, and displays malicious behaviors and the harm caused that users can understand;
[0026] The third layer is macro features, which summarize the comprehensive description of the sample based on one or more features and provide users with black and white judgment results of the sample;
[0027] Low-level rules intelligently trigger high-level rules: After a low-level rule is triggered and executed, it modifies the specified flag bit to notify the rule setter that the upper-level rule that depends on this rule is triggered, and calls the upper-level rule for processing;
[0028] Each rule is divided into filtering rules and feature rules. Filtering rules are used to modify and filter existing feature results, which is a rule upgrade. Feature rules are used to form new malicious features based on behavioral features or malicious features, which is a rule addition.
[0029] Dynamic addition, deletion, modification and search of rules: Each rule is a matching condition for a feature and can be dynamically added, deleted, modified and searched.
[0030] Preferably, static behavior monitoring: the behavior feature library consists of two parts, the first part extracts features based on the operational composition of the filling data, and the second part extracts features based on the source type of the filling data;
[0031] Find relevant features based on the context of the program to form an accurate behavioral feature, and improve detection efficiency from the following aspects: First, detect nearby data, using the jump range of the call instruction, which is generally not large, and the operand of the mov.add instruction is located in the FS segment; second, consider limiting the address range of execution and memory access, and only the program segment and stack can access executable data; third, set non-executable data in registers and stacks; fourth, GetPC Code is the beginning of filling data execution;
[0032] The execution of filling data needs to read the data in its own program, first self-position, determine its own virtual address in the memory, and self-position by obtaining the EIP value of the current entry address of the program. Then, the filling data calls the system API from the current process space to complete the predetermined goal. As long as the current process loads the dynamic link library file containing the API, GetProcAddress can be exported through the library file to obtain the entry address of the function and start calling the function. The GetProcAddress function address in kernel32.dll is obtained by reading the output table of kernel32.dll. The positioning of the output table starts from searching for MZ in the PE file.
[0033] Preferably, the virtual machine is adaptively scheduled: firstly, the document type to be detected is identified, a corresponding sandbox detection environment is selected according to the document type, and a corresponding virtual machine is started according to the running state of the virtual machine for dynamic parsing detection;
[0034] Based on the global requirements and possible changes of the sandbox environment, the sandbox environment is customized and added to the sandbox library for subsequent testing. At the same time, the platform system sets up manually specified sandbox environments to be tested, that is, after submitting the files to be tested, dynamic analysis is performed in the specified sandbox environment. The platform system intelligently recommends the appropriate sandbox environment based on the type of the submitted sample files;
[0035] The sample parsing process is optimized through multiple virtual machines. The sample parsing of multiple virtual machines is load balanced. The virtual scheduling is based on the Libvirt virtualization management tool to start, restore, and shut down the virtual machine. The virtual machine finds the virtual machine that meets the sample conditions among the existing virtual machines according to the system software environment required for sample allocation, and waits for the virtual machine with a small number of parsing, and then selects a suitable virtual machine from them to be assigned to the task.
[0036] Preferably, dynamic behavior monitoring: once static detection cannot verify whether a sample is suspicious, the sample needs to be handed over to a virtual detection environment to dynamically monitor the behavior of the sample during operation. Intelligent task scheduling customizes different analysis strategies according to the sample type;
[0037] The scheduler first places the sample in a virtual machine for monitoring and execution, and analyzes and evaluates the behaviors captured after the sample is executed. If the evaluation result determines that it is a malicious program, the sample analysis will stop; otherwise, it will continue to select other virtual machine environments with different system versions and different application software versions for analysis until the sample is determined to be a malicious program or all related environments are analyzed;
[0038] Dynamically monitor the behavior of the sample during operation. First, obtain the API call sequence and match it with the rule library to determine whether the document being detected contains malicious programs. Obtain the underlying API call sequence, hook the API in the agent, monitor the calls of these APIs during the sample operation, and record the relevant parameters to provide a basis for analyzing the behavior.
[0039] By monitoring the API, once the creation of the process CreateProcess and the detection of the debugger IsDebuggerPresent are found, they are considered suspicious. The monitored behavior at least includes registry access, API call status, network access status, and stack behavior.
[0040] Preferably, the detection engine of the network monitoring and protection system is deployed in the user network in a bypass manner, accesses the network traffic to be detected, and performs various tests on the network messages through rule matching and abnormal behavior identification after capturing data packets, pre-processing screening and protocol parsing; for known network attacks, the security alarm information found is reported, and for unknown network attacks, the samples are submitted to the malicious program parsing module for parsing;
[0041] Rule setting: allows administrators to add new custom rules, and the parsing system identifies new malicious behaviors based on the custom rule descriptions;
[0042] Custom rules support regular expressions and flexibly match each parameter of sample behavior. Custom rules include rule name, rule description, and whether to enable or not:
[0043] (1) The rule name represents the difference between different rules and is unique;
[0044] (2) The rule describes the malicious behavior content displayed in the analysis report after the rule is triggered;
[0045] (3) Whether to enable controls whether this rule is applied to malicious behavior identification. For custom rules that you want to back up, choose not to enable this rule;
[0046] Rule settings can be used to add, edit, and delete custom rules via the WEB.
[0047] Preferably, ciphertext detection based on abnormal traffic: distinguishing encrypted data from unencrypted data, and detecting APT attacks by judging whether the encryption behavior is legal;
[0048] Network monitoring defines encrypted traffic detection rules for specific IPs, ports, and time periods to exclude normal encrypted transmission traffic and implement intelligent detection of abnormal encrypted traffic. If encrypted communication suddenly appears on an uncommon port, or an IP that should not be encrypted suddenly sends an encrypted message, or encrypted information suddenly appears in a communication that should be plain text, an alarm should be issued and the suspicious IP and port that transmits abnormal encrypted traffic should be reported. For a certain stage of the encryption protocol, specific negotiation information is used to match and judge based on its characteristics.
[0049] This application establishes an encryption whitelist for running programs in the intranet, and determines the list of IP addresses and ports that are allowed to encrypt outbound data; at the same time, a network engine is used at the gateway to perform encryption detection on outbound data, identify abnormal encrypted transmission traffic, and distinguish the IP and port of encrypted information; then a comparison is performed to find illegally encrypted outbound data and its IP and port, and these suspicious IP and port information are reported. Abnormal encryption detection prevents malicious programs from transmitting data in an encrypted manner.
[0050] Compared with the prior art, the innovations and advantages of this application are:
[0051] (1) This application adopts key innovative technologies such as intelligent analysis, dynamic analysis of rules, file restoration of network traffic, and ciphertext detection based on abnormal traffic, which improves the ease of use, scalability, and stability of the system, realizes the security detection of network traffic, and has the ability to continuously analyze a large number of samples. It creatively proposes intelligent analysis and judgment combining static features and dynamic behaviors. Through the intelligent analysis of these data, most known malicious programs are filtered out, providing valuable judgments for the analysis of unknown samples. The rest of the work is completed by dynamic behavior analysis, which summarizes, classifies, and models the operation behaviors of the samples, and establishes a behavior rule matching library, such as Figure 1As shown in the model, related behaviors or behavior sequences are grouped into rule units, different weights and risk levels are set for different units, and a rule base is established accordingly. Then, the captured registry operations, network operations, file operations, process thread operations, and memory operations are replaced according to the specified rules and matched with the behavior rule base. When the weight reaches a certain value, it is determined to be a malicious program, and the analysis and identification capabilities of malicious programs are greatly improved.
[0052] (2) The present application creatively proposes a network intrusion detection method, which distinguishes encrypted data from unencrypted data based on ciphertext detection of abnormal traffic, and detects APT attacks by judging whether the encryption behavior is legal. The network monitoring and protection system is used to perform bypass monitoring of network traffic, summarize and analyze the character feature differences between plaintext data and ciphertext data, and calculate the statistical features of the traffic to achieve intelligent identification and accurate detection of encrypted traffic. The dynamic process optimization algorithm is used to dynamically optimize the key processing processes of protocol parsing and rule matching, which greatly improves the overall processing performance of the detection engine.
[0053] (3) In response to APT attacks, this application proposes a relatively complete malicious program analysis system and network monitoring and protection system, establishes the design ideas and logical structure of the system, completes the overall design of the system, constructs a malicious program analysis method and a network intrusion detection method, extracts malicious attack feature codes for dedicated networks, and organizes and improves the feature library. The malicious program analysis system uses a combination of static and dynamic methods to monitor software behavior, which improves the accuracy of malicious program detection; the hierarchical formulation of the rule library and the intelligent scheduling of virtual machines improve the speed of malicious program detection. In the network monitoring and protection system, feature detection is performed first and then anomaly detection, and the two work together to improve detection efficiency; at the same time, in view of the fact that the attacker's external data is mostly ciphertext, file restoration and ciphertext detection are performed to make the APT attack protection system more complete. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] Figure 1 It is a schematic diagram describing malicious behaviors of network malicious programs analysis and monitoring.
[0055] Figure 2 This is the top-level architecture design diagram of the APT protection system of this application.
[0056] Figure 3 This is a schematic diagram of the protection network deployment for this application.
[0057] Figure 4 It is a schematic diagram of the interface relationship between the modules of the system of this application.
[0058] Figure 5 This is the overall framework diagram of the malicious program analysis system of this application.
[0059] Figure 6 This is a malicious program analysis workflow diagram.
[0060] Figure 7 It is a schematic diagram of adaptive task allocation of virtual machines.
[0061] Figure 8 It is the system structure diagram of the network monitoring engine. DETAILED DESCRIPTION
[0062] The following, in conjunction with the accompanying drawings, further describes the technical solution of the APT attack protection system for network malicious program parsing and monitoring provided by the present application, so that technical personnel in the field can better understand the present application and implement it.
[0063] Provides in-depth customized protection against APT attacks on gateways or isolators, issues early warnings for unknown and known threats, effectively detects custom protocol security, sensitive data security, email security, and file security, and can analyze malicious programs, Trojans, and virus behaviors.
[0064] The first is the analysis of malicious programs: intelligent analysis and judgment combining static features and dynamic behaviors. Static features include virus database, fill data, input table, and specific strings. Through the intelligent analysis of these data, most known malicious programs are filtered out, providing valuable judgments for the analysis of unknown samples. The operation behaviors of the samples are summarized, classified, and modeled, and a behavior rule matching library is established. Related behaviors or behavior sequences are organized into rule units, and different weights and risk levels are set for different units. In this way, a good rule library is established, and then the captured behaviors such as registry operations, network operations, file operations, process thread operations, and memory operations are replaced according to the specified rules and matched with the behavior rule library. When the weight reaches a certain value, it is determined to be a malicious program. Research on known vulnerability (N-day) attack detection and unknown vulnerability (O-day) detection research. Analyze the threat of known vulnerabilities to dedicated systems, design a detection engine in the gateway or isolator, identify known vulnerability attacks, and better identify unknown vulnerability attacks. The identification of unknown vulnerability attacks is targeted at malicious program identification, sending malicious programs to servers, exploiting specific vulnerabilities, obtaining permissions or conducting other malicious attacks;
[0065] The second is network intrusion detection: based on ciphertext detection of abnormal traffic, encrypted data is distinguished from unencrypted data. By judging whether the encryption behavior is legal, APT attacks can be detected. The network monitoring and protection system is used to bypass the network traffic, summarize and analyze the character feature differences between plaintext data and ciphertext data, and calculate the statistical features of the traffic to achieve intelligent identification and accurate detection of encrypted traffic. The dynamic process optimization algorithm is used to dynamically optimize the key processing processes of protocol parsing and rule matching, which greatly improves the overall processing performance of the detection engine.
[0066] 1. APT attack protection system architecture
[0067] The top-level architecture design of the APT protection system in this application is as follows Figure 2 The whole system provides data to the outside through WEB services and Syslog logs. The malware analysis subsystem receives the sample files restored by the network monitoring engine and analyzes them. The analysis results are provided to users through WEB services. The network monitoring engine subsystem analyzes and restores network data packets, sends the restored sample files to the malware analysis subsystem, and sends the alarm logs to external display or big data analysis systems through syslog.
[0068] (I) System structure
[0069] The APT attack protection system consists of two parts: one is the network monitoring engine, and the other is malicious program analysis.
[0070] 1. Network monitoring engine
[0071] The network monitoring engine is deployed in the user network in a bypass mode, accessing the network traffic to be detected. After capturing data packets, pre-processing screening and protocol parsing, the network messages are tested through rule matching and abnormal behavior recognition technology. For known network attacks, the security alarm information found is reported. For unknown network attacks, the samples are submitted to the malicious program parsing module. The parsing detection engine first parses through the feature matching algorithm, and optimizes the key processing processes in protocol parsing and rule matching to improve the processing performance of the detection engine. At the same time, the detection engine uses a built-in compiler to directly compile the detection rules into executable machine programs, which are directly executed by the CPU, avoiding the interpretation and operation mode of existing technologies and improving detection performance.
[0072] 2 Analysis of malicious programs
[0073] First, determine the behavior characteristics of the malicious program, and use this as a standard to search for the characteristic values of the malicious program, providing a basis for subsequent analysis and detection, and adopt a combination of static analysis and dynamic analysis to improve the speed and accuracy of analysis and detection.
[0074] (1) Static analysis
[0075] Static analysis is to detect and analyze the binary form of the program, directly looking for feature codes, but not executing malicious programs. Feature codes are extracted from machine codes that are directly executed by the machine. Machine codes are the most basic instructions, which can bypass various programming languages and directly find the most basic judgment signs. It can not only detect classic malicious programs, but also detect mutated and disguised malicious programs, and can find all execution paths of the program. Therefore, static analysis has a high recognition rate and accuracy of malicious programs. However, the problem with static analysis is that the workload is large, the disassembly level is high, and the difficulty is high. If the malicious program is processed by shelling, polymorphism, etc., it will increase the difficulty of extracting feature codes. Current attack methods have also responded to static analysis, increasing the difficulty of feature extraction.
[0076] (2) Dynamic analysis
[0077] Dynamic parsing is the parsing of malicious programs during their execution. It is carried out in a safe operating environment. The malicious program runs in a specified environment, and the results caused by the malicious program can be fully grasped. It makes the malicious program fully exposed, so it is not affected by the malicious program packing and polymorphism, and its detection speed is fast and the results are more obvious. After the malicious program is executed, what is retained in the environment is the result of the program execution. It is the result of the comprehensive effect of various malicious programs and the accumulation of all attack behaviors. According to the characteristics of the malicious program, we can focus on the key operations, but dynamic parsing can only detect one execution path. Some malicious programs have multiple paths, that is, the malicious program performs different operations at different times or in different environments. This situation is more complicated, and it is difficult for us to detect all malicious operations at once. This requires submitting the malicious program to different environments for dynamic parsing to expose as many hazards of the malicious program as possible.
[0078] The above analysis has analyzed the advantages and disadvantages of static analysis and dynamic analysis. This application combines the two, takes advantage of their strengths and avoids their weaknesses, and maximizes the advantages of both, complementing each other's weaknesses and improving the effect of analysis and detection. First, dynamic analysis is performed to monitor suspicious programs and determine the scope; then static analysis is used to detect programs in this scope, and analyze and detect whether they are malicious programs. At the same time, dynamic analysis is performed in multiple environments to more comprehensively monitor malicious programs.
[0079] 2. Deployment of protection network
[0080] like Figure 3 1) The eth0 interface of the network monitoring engine is the network traffic capture port, which is connected to the mirror port of the core switch to monitor the network traffic; eth1 is the control port, which is connected to the working network of this system;
[0081] 2) The network monitoring management end implements the control of the detection engine, implements the analysis of network packets and the configuration of related parameters, including detection rules, network segments, and events;
[0082] 3) The malicious program analysis system receives the sample file restored by the network monitoring and protection system from the captured network traffic and analyzes it;
[0083] 4) The entire system transmits data to external systems in the form of Syslog, ensuring network connectivity between the network monitoring and protection system management center and the network monitoring engine, the attacking machine (or packet sending machine) and the attacked machine, the management center and the Syslog receiving server, the detection engine and the malicious program analysis system.
[0084] (III) External interface
[0085] The network monitoring and protection system captures network traffic, sends the attack event log generated after detection to the big data platform, and sends the extracted sample files to the malicious program analysis system. The interface relationship between system modules is as follows: Figure 4 shown.
[0086] 2. Malware Analysis System
[0087] Accept the submitted samples and hand them over to the task scheduling module for task scheduling. The task scheduling module loads the virtual machine to perform dynamic analysis and API call sequence monitoring, and saves the results. The intelligent analysis platform management system matches the results with rules, and performs weighted analysis with reference to the results of the static analysis engine, and displays the results.
[0088] Configure the rule base through system management, customize the rule base, manage task scheduling configuration, current task status, and queue task status.
[0089] The virtual machine management module manages the virtual machine sandbox environment, checks the virtual machine list, the status of the virtual machine, and configures the sandbox library, that is, matches the name / UUID of the virtual machine with its installed environment (including OS version, patch, application software version, etc.) for intelligent scheduling. The overall architecture of the malware analysis system is shown in the figure below: Figure 5 .
[0090] (I) Analysis of malicious programs
[0091] Accept the submitted suspicious samples and perform static and dynamic analysis on the samples in multiple dimensions. Static analysis includes detection of known viruses, file packing, import tables, and proprietary static feature matching. At the same time, filler data detection is used to detect whether the suspicious samples contain relevant filler data features. Dynamic analysis includes comprehensive analysis of file access, registry access, API call sequence, and network access. Suspicious sample behaviors are analyzed based on Trojan features, and multi-dimensional information is comprehensively evaluated to determine whether it is a known Trojan, an unknown Trojan, or a normal file.
[0092] Use a virtual machine to analyze suspicious samples. Through the task scheduling module, start the virtual machine, start the analysis monitoring module, load the sample for execution, monitor and record various program behaviors during the sample execution process, and shut down the virtual machine after the execution is completed. Perform a comprehensive analysis of the various information obtained and make a judgment based on the analysis judgment algorithm. All original analysis results are used as data for manual analysis by analysts.
[0093] like Figure 6 . Through system management, configure the malware analysis subsystem, manage task scheduling configuration, number of concurrent tasks, current task status, and queue task status.
[0094] In each virtual machine environment, a client agent is pre-installed. The client agent accepts the submitted sample files, receives the API call sequence monitoring program, starts the monitoring program, and after the monitoring is completed, the client agent returns and stores the monitoring data.
[0095] (II) Formulate a rule base
[0096] Rule layering saves feature matching time. Each feature only cares about the specified behavior and quickly indexes the required resources.
[0097] The first layer is the behavior layer, which hides the underlying API parameters and data source issues and provides a unified feature interface for the upper layer.
[0098] The second layer is the feature layer, which matches malicious behavior features based on the behavior layer operations and the data provided, and displays malicious behaviors and the harm caused that users can understand;
[0099] The third layer is macro features, which summarize the comprehensive description of the sample based on one or more features and provide users with black and white judgment results of the sample;
[0100] Low-level rules intelligently trigger high-level rules: After a low-level rule is triggered and executed, it modifies the specified flag bit to notify the rule setter that the upper-level rule that depends on this rule is triggered, and calls the upper-level rule for processing;
[0101] Each rule is divided into filtering rules and feature rules. Filtering rules are used to modify and filter existing feature results, which is a rule upgrade. Feature rules are used to form new malicious features based on behavioral features or malicious features, which is a rule addition.
[0102] Dynamic addition, deletion, modification and search of rules: Each rule is a matching condition for a feature and can be dynamically added, deleted, modified and searched.
[0103] 3. Static behavior monitoring
[0104] The behavior feature library consists of two parts. The first part extracts features based on the running structure of the filling data, and the second part extracts features based on the source type of the filling data.
[0105] Find relevant features based on the context of the program to form an accurate behavioral feature, and improve detection efficiency from the following aspects: First, detect nearby data, and use the call instruction whose jump range is generally not large, and the mov.add instruction, the operand is located in the FS segment; second, consider limiting the address range of execution and memory access, and only the program segment and stack can access executable data; third, set non-executable data in registers and stacks; fourth, GetPC Code is the beginning of fill data execution.
[0106] The execution of filling data needs to read the data in its own program, first self-position, determine its own virtual address in the memory, and perform self-positioning by obtaining the EIP value of the current entry address of the program. Then, the filling data calls the system API from the current process space to complete the predetermined goal (such as remotely downloading files and running them). As long as the current process loads the dynamic link library file containing the API, GetProcAddress can be exported through the library file to obtain the entry address of the function and start calling the function. The GetProcAddress function address in kernel32.dll is obtained by reading the output table of kernel32.dll. The positioning of the output table starts from searching for MZ (DOS file header feature) in the PE file.
[0107] (IV) Virtual Machine Adaptive Scheduling
[0108] First, identify the document type to be detected, select the corresponding sandbox detection environment according to the document type, and start the corresponding virtual machine for dynamic parsing and detection according to the running status of the virtual machine.
[0109] Based on the global requirements and possible change requirements of the sandbox environment, the sandbox environment is customized and added to the sandbox library for subsequent testing. At the same time, the platform system sets up manually specified sandbox environments to be tested. That is, after submitting the files to be tested, dynamic parsing is performed in the specified sandbox environment. The platform system intelligently recommends a suitable sandbox environment based on the type of sample files submitted.
[0110] The sample analysis process is optimized through multiple virtual machines. The sample analysis of multiple virtual machines is load balanced. The virtual scheduling is based on the Libvirt virtualization management tool to start, restore, and shut down the virtual machine. The virtual machine is allocated according to the system software environment required by the sample. It finds the virtual machine that meets the sample conditions in the existing virtual machines and waits for the analysis of the smaller number of virtual machines. Then a suitable virtual machine is selected from them and assigned to the task. The allocation diagram is shown in the figure. Figure 7 shown.
[0111] (V) Dynamic behavior monitoring
[0112] Once static detection cannot verify whether a sample is suspicious, the sample needs to be handed over to a virtual detection environment to dynamically monitor the behavior of the sample during operation. Intelligent task scheduling customizes different analysis strategies based on the sample type to improve the system's detection capabilities and analysis efficiency.
[0113] The scheduler first places the sample in a virtual machine for monitoring and execution, and parses and evaluates the behavior captured after the sample is executed. If the evaluation result is determined to be a malicious program, the sample parsing will stop; otherwise, other virtual machine environments with different system versions and different application software versions will continue to be selected for parsing until the sample is determined to be a malicious program or all related environments are parsed (determined by the parsing strategy).
[0114] Dynamically monitor the behavior of the sample during operation. First, obtain the API call sequence and match it with the rule library to determine whether the document being detected contains malicious programs. Obtain the underlying API call sequence, hook the API in the agent, monitor the calls of these APIs during the sample operation and record the relevant parameters to provide a basis for analyzing the behavior.
[0115] By monitoring the API, once the creation of the process CreateProcess and the detection of the debugger IsDebuggerPresent are found, they are considered suspicious. The monitored behavior at least includes registry access, API call status, network access status, and stack behavior.
[0116] 3. Network Monitoring and Protection System
[0117] The detection engine of the network monitoring and protection system is deployed in the user network in a bypass mode, accessing the network traffic to be detected. After capturing data packets, pre-processing screening and protocol parsing, it performs various tests on network packets through rule matching and abnormal behavior identification. For known network attacks, it reports the discovered security alarm information, and for unknown network attacks, it submits samples to the malicious program parsing module for parsing. The system structure of the network monitoring engine is as follows: Figure 8 shown.
[0118] Rule setting: allows administrators to add new custom rules. The parsing system identifies new malicious behaviors based on the custom rule descriptions, thus enhancing the system's ability to detect and parse malicious programs.
[0119] Custom rules support regular expressions and flexibly match each parameter of sample behavior. Custom rules include rule name, rule description, and whether to enable or not:
[0120] (1) The rule name represents the difference between different rules and is unique;
[0121] (2) The rule describes the malicious behavior content displayed in the analysis report after the rule is triggered;
[0122] (3) Whether to enable controls whether this rule is applied to malicious behavior identification. For custom rules that you want to back up, choose not to enable this rule, which will not affect the detection and parsing efficiency of the parsing system.
[0123] Rule settings can be used to add, edit, and delete custom rules via the WEB.
[0124] (I) Network monitoring and protection
[0125] The network monitoring engine adopts a process optimization approach to dynamically optimize key processing processes such as protocol parsing and rule matching, which greatly improves the overall processing performance of the detection engine.
[0126] The false alarm rate of anomaly detection is high because any activity that is different from normal behavior is considered suspicious. But anomaly detection can prevent unknown attacks. Feature detection has the effect of accurately detecting known attacks, but if there is no relevant attack feature in the feature library, no warning will be issued. This application combines the two types of detection and reasonably arranges the order of detection to improve the accuracy of detection, effectively reducing false alarms and missed reports, thus giving full play to the advantages of the two types of detection and forming a more efficient detection mechanism. First is feature detection, and then anomaly detection. After feature detection, some obvious known attacks are filtered out, which narrows the detection range for the subsequent anomaly detection, improves the efficiency of detection, and also improves accuracy. If anomaly detection is performed first, all suspicious behaviors will be detected and checked, which wastes detection resources and is inefficient.
[0127] (II) File transfer and restoration
[0128] Restore files transmitted in the network (including files downloaded or uploaded on the website, files transmitted by email, and files uploaded and downloaded by FTP), completely restore large files generated concurrently, and connect the restored files to the data leakage prevention system, AV anti-virus system and unknown malicious program analysis system to detect sensitive information leakage, zombie Trojans, worm viruses and unknown attacks.
[0129] (III) Ciphertext detection based on abnormal traffic
[0130] When APT attacks inject malicious programs or transmit data, they usually encrypt the data to prevent content-based parsing technology from parsing the data. If the encrypted data can be distinguished from the unencrypted data, and by judging whether the encryption behavior is legal, the APT attack can be detected.
[0131] Both plaintext and ciphertext have certain statistical characteristics. The network monitoring and protection system is used to perform bypass monitoring of network traffic, ciphertext detection based on abnormal traffic, and the characteristic differences between plaintext data and ciphertext data are summarized and analyzed to achieve intelligent identification and accurate detection of abnormal encrypted traffic.
[0132] The encryption of network traffic is essentially the implementation of the block encryption protocol. Block encryption is to hide the information of plaintext. The ciphertext has no obvious statistical characteristics and has good randomness. Block encryption requires that the ciphertext has diffusion and obfuscation. Diffusion means that if a bit of the plaintext or key is changed, about half of the bits of the ciphertext will change. Obfuscation means that the relevant plaintext characteristics cannot be obtained based on the characteristics of the ciphertext, and the ciphertext output for any plaintext is random. It is precisely these characteristics of the ciphertext that can provide clues for locating the ciphertext. Finding whether the data stream is random can be used as a criterion for judging the ciphertext information.
[0133] Network monitoring can define encrypted traffic detection rules for specific IP, port and time period to exclude normal encrypted transmission (such as https protocol, port 22, etc.) traffic and realize intelligent detection of abnormal encrypted traffic. If encrypted communication suddenly appears on a port that is not commonly used, or an IP that should not be encrypted suddenly sends out an encrypted message, or encrypted information suddenly appears in a communication that should be plain text transmission (for example, an encrypted link is established through port 80), it may be a disguised application, and an alarm should be issued, and the suspicious IP and port that transmits abnormal encrypted traffic should be reported. For a certain stage of the encryption protocol, its specific negotiation information is used to match and judge by its characteristics. For example, to judge the ciphertext encrypted by the SSL protocol, the first 2 bytes in the first message sent by the server to the terminal when the connection is established can be 10, the following 14 bits are the length of SSL, and the third byte is the type of information. The ciphertext of the SSL protocol can be identified by the characteristics when the connection is established.
[0134] This application establishes an encryption whitelist for running programs in the intranet, and determines the list of IP addresses and ports that are allowed to encrypt outbound data; at the same time, a network engine is used at the gateway to perform encryption detection on outbound data, identify abnormal encrypted transmission traffic, and distinguish the IP and port of encrypted information; then a comparison is performed to find illegally encrypted outbound data and its IP and port, and these suspicious IP and port information are reported. Abnormal encryption detection prevents malicious programs from transmitting data in an encrypted manner, and at the same time provides a new means for detecting malicious programs.
Claims
1. APT attack protection system for network malicious program analysis and monitoring, characterized by: Provide data to the outside through WEB services and Syslog logs. The malicious program analysis subsystem receives the sample files restored by the network monitoring engine and analyzes them. The analysis results are provided to users through WEB services. The network monitoring engine subsystem analyzes and restores network data packets, sends the restored sample files to the malicious program analysis subsystem, and sends the alarm logs to external display or big data analysis systems through syslog. The first is the analysis of malicious programs: intelligent analysis and judgment combining static features and dynamic behaviors. Static features include virus libraries, filler data, input tables, and specific strings. Through the intelligent analysis of these data, most known malicious programs are filtered out, providing valuable judgments for the analysis of unknown samples. The operation behaviors of the samples are summarized, classified, and modeled, and a behavior rule matching library is established. Related behaviors or behavior sequences are organized into rule units, and different weights and risk levels are set for different units. In this way, a good rule library is established, and then the captured registry operations, network operations, file operations, process thread operations, and memory operations are replaced according to the specified rules and matched with the behavior rule library. When the weight reaches a certain value, it is determined to be a malicious program. The threat of known vulnerabilities to dedicated systems is analyzed, and a detection engine is designed in the gateway or isolator to identify attacks on known vulnerabilities, and can also identify attacks on unknown vulnerabilities. The identification of attacks on unknown vulnerabilities is the identification of malicious programs. Malicious programs are sent to servers to exploit specific vulnerabilities to obtain permissions or conduct other malicious attacks. The second is network intrusion detection: based on ciphertext detection of abnormal traffic, encrypted data is distinguished from unencrypted data. By judging whether the encryption behavior is legal, APT attacks can be detected. The network monitoring and protection system is used to bypass the network traffic, summarize and analyze the character features of plaintext data and ciphertext data, and calculate the statistical features of the traffic to achieve intelligent identification and accurate detection of encrypted traffic. The dynamic process optimization algorithm is used to dynamically optimize the key processing processes of protocol parsing and rule matching.
2. The APT attack protection system for analyzing and monitoring network malicious programs according to claim 1 is characterized by: The network monitoring engine is deployed in the user network in a bypass mode and accesses the network traffic to be detected. After capturing data packets, pre-processing screening and protocol parsing, it performs various tests on network messages through rule matching and abnormal behavior recognition technology. For known network attacks, the discovered security alarm information is reported. For unknown network attacks, the samples are submitted to the malicious program parsing module. The parsing detection engine first parses through the feature matching algorithm, and optimizes the key processing processes of protocol parsing and rule matching. At the same time, the detection engine uses a built-in compiler to directly compile the detection rules into executable machine programs, which are directly executed by the CPU.
3. The APT attack protection system for analyzing and monitoring network malicious programs according to claim 1 is characterized in that: Malware analysis: First, determine the behavior characteristics of the malicious program, and use this as a standard to search for the characteristic values of the malicious program, providing a basis for subsequent analysis and detection, using a combination of static analysis and dynamic analysis; First, dynamic analysis is performed to detect suspicious programs and determine the scope. Then, static analysis is used to detect programs in this scope to determine whether they are malicious programs. At the same time, dynamic analysis is performed in multiple environments to more comprehensively monitor malicious programs.
4. The APT attack protection system for analyzing and monitoring network malicious programs according to claim 1 is characterized in that: Protection network deployment: 1) The eth0 interface of the network monitoring engine is the network traffic capture port, which is connected to the mirror port of the core switch to monitor the network traffic; eth1 is the control port, which is connected to the working network of this system; 2) The network monitoring management end implements the control of the detection engine, implements the analysis of network packets and the configuration of related parameters, including detection rules, network segments, and events; 3) The malicious program analysis system receives the sample file restored by the network monitoring and protection system from the captured network traffic and analyzes it; 4) The entire system transmits data to external systems in the form of Syslog, ensuring network connectivity between the network monitoring and protection system management center and the network monitoring engine, the attacking machine and the attacked machine, the management center and the Syslog receiving server, the detection engine and the malicious program analysis system.
5. The APT attack protection system for analyzing and monitoring network malicious programs according to claim 1 is characterized in that: Formulate a rule base: rule layering saves feature matching time. Each feature only cares about the specified behavior and quickly indexes the required resources. The first layer is the behavior layer, which hides the underlying API parameters and data source issues and provides a unified feature interface for the upper layer. The second layer is the feature layer, which matches malicious behavior features based on the behavior layer operations and the data provided, and displays malicious behaviors and the harm caused that users can understand; The third layer is macro features, which summarize the comprehensive description of the sample based on one or more features and provide users with black and white judgment results of the sample; Low-level rules intelligently trigger high-level rules: After a low-level rule is triggered and executed, it modifies the specified flag bit to notify the rule setter that the upper-level rule that depends on this rule is triggered, and calls the upper-level rule for processing; Each rule is divided into filtering rules and feature rules. Filtering rules are used to modify and filter existing feature results, which is a rule upgrade. Feature rules are used to form new malicious features based on behavioral features or malicious features, which is a rule addition. Dynamic addition, deletion, modification and search of rules: Each rule is a matching condition for a feature and can be dynamically added, deleted, modified and searched.
6. The APT attack protection system for analyzing and monitoring network malicious programs according to claim 1 is characterized in that: Static behavior monitoring: The behavior feature library consists of two parts. The first part extracts features based on the running structure of the filling data, and the second part extracts features based on the source type of the filling data. Find relevant features based on the context of the program to form an accurate behavioral feature, and improve detection efficiency from the following aspects: First, detect nearby data, using the jump range of the call instruction, which is generally not large, and the operand of the mov.add instruction is located in the FS segment; second, consider limiting the address range of execution and memory access, and only the program segment and stack can access executable data; third, set non-executable data in registers and stacks; fourth, GetPC Code is the beginning of filling data execution; The execution of filling data needs to read the data in its own program, first self-position, determine its own virtual address in the memory, and self-position by obtaining the EIP value of the current entry address of the program. Then, the filling data calls the system API from the current process space to complete the predetermined goal. As long as the current process loads the dynamic link library file containing the API, GetProcAddress can be exported through the library file to obtain the entry address of the function and start calling the function. The GetProcAddress function address in kernel32.dll is obtained by reading the output table of kernel32.dll. The positioning of the output table starts from searching for MZ in the PE file.
7. The APT attack protection system for analyzing and monitoring network malicious programs according to claim 1 is characterized in that: Adaptive virtual machine scheduling: First, identify the document type to be detected, select the corresponding sandbox detection environment according to the document type, and start the corresponding virtual machine for dynamic parsing and detection according to the virtual machine running status; Based on the global requirements and possible changes of the sandbox environment, the sandbox environment is customized and added to the sandbox library for subsequent testing. At the same time, the platform system sets up manually specified sandbox environments to be tested, that is, after submitting the files to be tested, dynamic analysis is performed in the specified sandbox environment. The platform system intelligently recommends the appropriate sandbox environment based on the type of the submitted sample files; The sample parsing process is optimized through multiple virtual machines. The sample parsing of multiple virtual machines is load balanced. The virtual scheduling is based on the Libvirt virtualization management tool to start, restore, and shut down the virtual machine. The virtual machine finds the virtual machine that meets the sample conditions among the existing virtual machines according to the system software environment required for sample allocation, and waits for the virtual machine with a small number of parsing, and then selects a suitable virtual machine from them to be assigned to the task.
8. The APT attack protection system for analyzing and monitoring network malicious programs according to claim 1 is characterized in that: Dynamic behavior monitoring: Once static detection cannot verify whether a sample is suspicious, the sample needs to be handed over to a virtual detection environment to dynamically monitor the behavior of the sample during operation. Intelligent task scheduling customizes different analysis strategies based on the sample type. The scheduler first places the sample in a virtual machine for monitoring and execution, and analyzes and evaluates the behaviors captured after the sample is executed. If the evaluation result determines that it is a malicious program, the sample analysis will stop; otherwise, it will continue to select other virtual machine environments with different system versions and different application software versions for analysis until the sample is determined to be a malicious program or all related environments are analyzed; Dynamically monitor the behavior of the sample during operation. First, obtain the API call sequence and match it with the rule library to determine whether the document being detected contains malicious programs. Obtain the underlying API call sequence, hook the API in the agent, monitor the calls of these APIs during the sample operation, and record the relevant parameters to provide a basis for analyzing the behavior. By monitoring the API, once the creation of the process CreateProcess and the detection of the debugger IsDebuggerPresent are found, they are considered suspicious. The monitored behavior at least includes registry access, API call status, network access status, and stack behavior.
9. The APT attack protection system for analyzing and monitoring network malicious programs according to claim 1 is characterized by: The detection engine of the network monitoring and protection system is deployed in the user network in a bypass mode, accesses the network traffic to be detected, and performs various tests on the network messages through rule matching and abnormal behavior identification after capturing data packets, pre-processing screening and protocol parsing. For known network attacks, the security alarm information found will be reported, and for unknown network attacks, the samples will be submitted to the malicious program parsing module for parsing. Rule setting: allows administrators to add new custom rules, and the parsing system identifies new malicious behaviors based on the custom rule descriptions; Custom rules support regular expressions and flexibly match each parameter of sample behavior. Custom rules include rule name, rule description, and whether to enable or not: (1) The rule name represents the difference between different rules and is unique; (2) The rule describes the malicious behavior content displayed in the analysis report after the rule is triggered; (3) Whether to enable controls whether this rule is applied to malicious behavior identification. For custom rules that you want to back up, choose not to enable this rule; Rule settings can be used to add, edit, and delete custom rules via the WEB.
10. The APT attack protection system for analyzing and monitoring network malicious programs according to claim 1 is characterized in that: Ciphertext detection based on abnormal traffic: distinguishes encrypted data from unencrypted data, and detects APT attacks by determining whether the encryption behavior is legal; Network monitoring defines encrypted traffic detection rules for specific IPs, ports, and time periods to exclude normal encrypted transmission traffic and implement intelligent detection of abnormal encrypted traffic. If encrypted communication suddenly appears on an uncommon port, or an IP that should not be encrypted suddenly sends an encrypted message, or encrypted information suddenly appears in a communication that should be plain text, an alarm should be issued and the suspicious IP and port that transmits abnormal encrypted traffic should be reported. For a certain stage of the encryption protocol, specific negotiation information is used to match and judge based on its characteristics. This application establishes an encryption whitelist for running programs in the intranet, and determines the list of IP addresses and ports that are allowed to encrypt outbound data; at the same time, a network engine is used at the gateway to perform encryption detection on outbound data, identify abnormal encrypted transmission traffic, and distinguish the IP and port of encrypted information; then a comparison is performed to find illegally encrypted outbound data and its IP and port, and these suspicious IP and port information are reported. Abnormal encryption detection prevents malicious programs from transmitting data in an encrypted manner.
Citation Information
Patent Citations
Virtual execution-based unknown malicious program offline detection system
CN106611122A
Trojan horse detection method based on computer memory analysis technology
CN109033828A
Network threat analysis method and system
CN110602044A
Malicious encrypted traffic identification method based on multi-granularity feature extraction
CN117978530A
Apt detection method, system, and device
WO2018099206A1
Cited By
Information acquisition, verification and monitoring method of substation equipment operation software
CN119201627A
Automatic testing method and system oriented to malicious application of ARM (Advanced RISC Machines) server
CN122845286A
