AI safe learning engine system and implementation method
Through the application of the AI security learning engine system, combined with the analysis capabilities of the AI engine and multiple security engines, the problem of traditional network security measures being difficult to deal with high-threat attacks is solved, the identification and response efficiency of network security is improved, and the difficulty of operation and maintenance is reduced. and cost.
Patent Information
- Application Number
- CN202310344929.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-03
- Publication Date
- 2024-10-15
AI Technical Summary
Traditional network security measures cannot effectively deal with the problems of difficult to reflect business value, high difficulty in operation and maintenance, serious shortage of security personnel, and helplessness against high-threat attacks, especially unknown and latest APT attacks.
The AI security learning engine system developed using AI irregular algorithms collects five major categories of security information through the information input and information collection layers, and uses AI engine, DNS security engine, memory security engine, http security engine and file in the information processing and analysis layer. The identification security engine performs big data analysis to achieve accurate identification and processing of network traffic, suspicious files, suspicious processes, suspicious memory stack information, and suspicious business logs.
It effectively reduces the difficulty of network security operation and maintenance, improves the ability to identify and respond to high-threat attacks, avoids the bypass problem of traditional rule engines, solves the risk of non-file high-end security attacks, and uses data analysis processes to solidify common security analysis data. scene.
Smart Images

Figure CN118779870A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to an AI security learning engine system and an implementation method, and belongs to the technical field of network security. Background Art
[0002] Cybersecurity is the cornerstone of digital transformation and development of enterprises, and is the guarantee for the long-term survival of enterprises. With the advent of the digital wave, the digital assets of enterprises are becoming increasingly large, and it is increasingly difficult to support the increasing security threats from inside and outside the enterprise based on traditional manual security means and processes. The pain points of traditional security learning are: 1. Commercial value is difficult to reflect Enterprise security construction requires a lot of costs, but generally speaking, enterprise security construction cannot bring any profits to the enterprise, unless the enterprise suffers from data leakage, violation of policies and regulations, etc., which may cause major economic losses, its value can be reflected. However, network security is very important, and how to balance the cost investment and the value brought is an important issue that enterprises need to consider.
[0003] 2. Operation and maintenance is very difficult With the deployment of a large number of security devices, a huge amount of logs, alarms and security incident information is received every day. Analysts need tools to organize data and find useful information. In the face of security incidents, if they are not handled in time, they are likely to bring great security risks; at the same time, if the security incidents are not handled reasonably, the response time and response results cannot be guaranteed.
[0004] 3. Serious lack of security personnel In the State of IT's annual global survey, ESG (Enterprise Strategy Group) asked respondents which areas of deficiencies are most likely to cause problems. Since 2014, respondents have been saying that deficiencies in cybersecurity skills are the biggest problem. By 2018, more than 50% of people identified the lack of cybersecurity skills as the biggest problem. Security practitioners are lacking in both quantity and technology, which makes it difficult to effectively discover and control security risks.
[0005] 4. Helpless against high-threat attacks such as APT Traditional rule-based security risk assessment is helpless against unknown and latest APT attacks because there is no preset effective feature rule library. Summary of the invention
[0006] In order to solve the above technical problems, the present invention provides an AI security learning engine system and implementation method based on the development and application of AI rule-free algorithms to effectively solve such problems. The specific technical solutions are as follows: An AI security learning engine system includes an information input and information collection layer and an information processing and analysis layer. The information input and information collection layer collects five types of meta-security information, namely network traffic, suspicious files, suspicious processes, suspicious memory stack information and suspicious business logs; the information processing and analysis layer includes five security big data analysis engines, namely, an AI engine, a DNS security engine, a memory security engine, an http security engine and a file identification security engine.
[0007] Furthermore, the network traffic refers to the amount of data and data information transmitted by network devices on the network, which can be classified into Packet-level, Flow-level and Stream-level: The Packet-level traffic classification is the characteristics of the data packet and its arrival process, including the distribution of data packet size and the distribution of data packet arrival time intervals; the Flow-level traffic classification is the characteristics of the flow and its arrival process, including a TCP connection or a UDP stream, where a flow is a five-tuple consisting of source IP address, source port, destination IP address, destination port, and application protocol; the Stream-level traffic classification is the host pair and the application traffic between them, which is a three-tuple consisting of source IP address, destination IP address, and application protocol.
[0008] Furthermore, the metric for network traffic classification is the accuracy of a certain classification technology or classification model in classifying unknown data objects, including true positive (TP), false negative (FN), false positive (FP), and true negative (TN): The true positive (TP) represents the number of positive samples correctly predicted by the classification model, that is, the number of samples belonging to category A and predicted to be category A; the false negative (FN) represents the number of positive samples incorrectly predicted as negative by the classification model, that is, the number of samples belonging to category A but predicted not to belong to category A; the false positive (FP) represents the number of negative samples incorrectly predicted as positive by the classification model, that is, the number of samples that do not belong to category A but are predicted to belong to category A; the true negative (TN) represents the number of negative samples correctly predicted by the classification model, that is, the number of samples that do not belong to category A and are predicted not to belong to category A.
[0009] Furthermore, the network traffic classification method evaluates its classification results by recall, precision and accuracy: The recall rate (recall) is TP / (TP+FN), which indicates the proportion of correctly predicted samples in category A; the precision (precision) is TP / (TP+FP), which indicates the proportion of samples that actually belong to category A among all samples predicted to be in category A; the accuracy (accuracy) is (TP+TN) / (TP+TN+FP+FN), which indicates the proportion of samples correctly predicted by the classification model in the total samples.
[0010] Furthermore, the suspicious memory stack information is a type of buffer overflow, the buffer is the memory used internally in a computer program or for storing user input data, the overflow is the data in the computer program exceeding the allocated memory space, the buffer overflow is the computer failing to perform effective detection on the received input data, and when filling the buffer with data, the buffer capacity exceeds the buffer capacity itself, causing the data to overflow into the memory space outside the allocated space, so that the overflowed data covers the data in other memory spaces.
[0011] Furthermore, the DNS security engine is a security engine that analyzes, detects, and alerts DNS traffic, blocks enterprise employees and systems from connecting to known malicious Internet locations, and provides feedback to the enterprise security team on potential threats such as botnets and APTs on their networks. Its core function is to monitor and block malicious domain names based on threat intelligence. It has a built-in library of millions of malicious domain names, and can perform regularized detection of more than ten types of threats such as APT attacks, ransomware, secret-stealing Trojans, botnets, etc. It can accurately identify and locate malicious domain name requests on the intranet and block them in a timely manner. Unknown threat monitoring based on DNS behavior provides professional and high-level technical support for the final confirmation of unknown threats through automated data processing technology based on artificial intelligence self-learning. All unknown threats analyzed by big data will be manually intervened by professional personnel to achieve detailed analysis and confirm the means, targets and purpose of the attack.
[0012] A method for implementing an AI security learning engine system, wherein the suspicious file is a file whose behavior is suspicious and needs to be confirmed, comprising the following steps: 1. Collect detailed information: Identify the system containing the suspicious file and document the relevant system details. Collect some basic file details and attributes of the suspicious file, including the operating system, version, kernel version, patch level, file system and the full path when the suspicious file is found. 2. Calculate hash value: Generate an encrypted hash value or "digital fingerprint" for the suspicious file. The generation method is as follows: Linux system: md5sum filename; Save the generated hash value to a file: md5sum filename>md5_filename.txt or md5sumfilename>>malware-hashes.txt; 3. Comparison: Use the CTPH algorithm and ssdeep tool to compare suspicious files with known malicious file samples to generate a file similarity index. The CTPH algorithm calculates a series of checksums of random sizes for a file. The usage of the ssdeep tool is as follows: ssdeep filename: Generate hash value and full path; ssdeep filename>>destPathandhashlistname; ssdeep -m hashlist filename gives a similarity score; 4. Scanning: Use anti-virus and anti-spyware software to scan suspicious files to determine whether the file contains signatures of known malicious samples: the anti-virus software includes ClamAV, Avast, F-Port and AntiVir, and the scanning services include VirusTotal, Jotti Online Malware Scanner and VirScan; 5. Extraction and Analysis: Extract and analyze suspicious files by reviewing any embedded ASCII or Unicode strings contained in the files, and identifying and reviewing any file metadata and symbolic information: Use the strings command to extract strings. If you want to change the minimum string length displayed by the strings tool, you can use the -n option; Use Unicode encoding or the -e option to extract strings that are not encoded in ASCII form; Use the -a (all) option to check for suspicious files; Use less or more command to display in pages through pipes: strings -a filename | more; Check file dependencies using dynamic linking or static linking.
[0013] Furthermore, the suspicious process is an abnormal business process suspected to be an illegal Trojan virus, and the troubleshooting instruction for the suspicious process is: tasklist--Displays all currently running processes tasklist / f / im()--Delete a process / f refers to forced deletion / im refers to the memory image of the process, enter the PID of the process in brackets dir xxx--can check whether a disk contains the file del / fxxx--Force deletion of a file dir / ah--Displays hidden files in the directory where the user is located. a stands for attribute, and h stands for hidden, that is, the attribute is a hidden file. del / ah / fxxx--Force deletion of hidden files attrib-sr-hxxx--Remove the hidden attribute of a file and make it visible.
[0014] Furthermore, the application process of the AI engine includes: 1. Create a data set and import data; 2. AI development: AI development includes data processing, model development, model training, model evaluation and application development; 3. Iterative optimization: The iterative optimization includes data processing, model training, application construction and application deployment; 4. AI applications support automated and semi-automated data screening functions, automated data pre-labeling, and auxiliary automated labeling tools.
[0015] Commonly used AI algorithms for graphics, text, etc. are built in, such as BERT (Bidirectional Encoder Representations from Transformers), which is a bidirectional encoder of Transformer, designed to pre-train deep bidirectional representations from unlabeled text through conditional calculations shared in left and right contexts. Therefore, the pre-trained BERT model can be fine-tuned with only one additional output layer, generating the latest models for various natural language processing tasks.
[0016] Furthermore, the core implementation of the memory safety engine includes: Vulnerability detection: abnormal access to memory is not based on features, but on abnormal behavior. Specific behavior results are analyzed for memory corruption vulnerabilities and web-level vulnerabilities. Fileless attacks: Many attacks on Windows platforms are fileless attacks. These attacks are basically in memory and will not land. They are detected inside the interpreter. Webshell detection: Through RASP technology, many memory horse attacks can be detected, and it has reached the domestic first-class level; Special scenario breakthrough: Breakthrough some common attack scenarios of customers, such as domain control, phishing emails, etc. These attacks are also matched with fileless and vulnerability detection capabilities, and the lateral movement behavior after the attack is launched can also be detected. Beneficial Effects
[0017] Compared with the prior art, the present invention uses an AI engine to avoid the bypass shortcomings of traditional rule engines; adopts memory stack security analysis to solve the risk of non-file-based high-end security attacks; and uses a data analysis process engine to solidify common security analysis data scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 It is a schematic diagram of the present invention; Figure 2 It is an application flow chart of the AI engine of the present invention. Implementation
[0019] The present invention will now be described in further detail with reference to the accompanying drawings.
[0020] like Figure 1 As shown, the AI security learning engine system includes an information input and information collection layer, and an information processing and analysis layer.
[0021] The information input and information collection layer collects five types of meta-security information, namely network traffic, suspicious files, suspicious processes, suspicious memory stack information, and suspicious business logs: Network traffic refers to the amount of data and data information transmitted on the network by network devices such as switches or routers. It is classified into Packet-level, Flow-level and Stream-level: Packet-level traffic classification is based on the characteristics of packets and their arrival process, including the distribution of packet size and the distribution of packet arrival time intervals. Flow-level traffic classification is based on the characteristics of the flow and its arrival process, including a TCP connection or a UDP flow, where a flow is a five-tuple consisting of source IP address, source port, destination IP address, destination port, and application protocol; Stream-level traffic is classified into host pairs and the application traffic between them, which is a triple consisting of source IP address, destination IP address, and application protocol. It is suitable for studying the long-term traffic statistical characteristics of the backbone network at a coarser granularity.
[0022] The metric for network traffic classification is the accuracy of a classification technology or classification model in classifying unknown data objects. The evaluation criteria commonly used to measure classification accuracy include true positive (TP), false negative (FN), false positive (FP), and true negative (TN): True positive (TP) refers to the number of positive samples correctly predicted by the classification model, that is, the number of samples belonging to category A and predicted to be category A; False negative (FN) refers to the number of positive samples that are mistakenly predicted as negative by the classification model, that is, the number of samples that belong to category A but are predicted not to belong to category A; False positive (FP) refers to the number of negative samples that are mistakenly predicted as positive by the classification model, that is, the number of samples that do not belong to category A but are predicted to belong to category A; True negative (TN) refers to the number of negative samples correctly predicted by the classification model, that is, the number of samples that do not belong to category A and are predicted to not belong to category A.
[0023] In addition, the network traffic classification method evaluates its classification results through recall, precision and accuracy: Recall is TP / (TP+FN), which indicates the proportion of correctly predicted samples in category A. Precision is TP / (TP+FP), which indicates the proportion of samples that actually belong to category A among all samples predicted to be category A. Many traffic classification studies use flow accuracy or byte accuracy as the metric for their experimental results. Flow accuracy indicates the proportion of correctly classified flows, while byte accuracy focuses more on the number of bytes carried by correctly classified flows. Accuracy is (TP+TN) / (TP+TN+FP+FN), which indicates the proportion of samples correctly predicted by the classification model to the total number of samples.
[0024] Suspicious files are files with suspicious behaviors that need to be confirmed. Antivirus software usually calls some files / processes with virus signatures or Trojan behaviors suspicious files before they are fully confirmed. The following steps are included: 1. Collect detailed information: Identify the system containing the suspicious file and document the relevant system details. Collect some basic file details and attributes of the suspicious file, including the operating system, version, kernel version, patch level, file system and the full path when the suspicious file is found. 2. Calculate hash value: Generate an encrypted hash value or "digital fingerprint" for the suspicious file. The generation method is as follows: Linux system: md5sum filename; Save the generated hash value to a file: md5sum filename>md5_filename.txt or md5sumfilename>>malware-hashes.txt; 3. Comparison: Use the CTPH algorithm and ssdeep tool to compare suspicious files with known malicious file samples to generate a file similarity index. The CTPH algorithm calculates a series of checksums of random sizes for a file, which is used to associate files that are not completely identical but very similar in file content. The usage of the ssdeep tool is as follows: ssdeep filename: Generate hash value and full path; ssdeep filename>>destPathandhashlistname; ssdeep -m hashlist filename gives a similarity score; Scan: Use anti-virus and anti-spyware software to scan suspicious files to determine whether the file contains signatures of known malicious samples: Anti-virus software includes ClamAV, Avast, F-Port and AntiVir, and scanning services include VirusTotal, Jotti Online Malware Scanner and VirScan; 5. Extraction and Analysis: Extract and analyze suspicious files by reviewing any embedded ASCII or Unicode strings contained in the files, and identifying and reviewing any file metadata and symbolic information: Use the strings command to extract strings. If you want to change the minimum string length displayed by the strings tool, you can use the -n option; Use Unicode encoding or the -e option to extract strings that are not encoded in ASCII form; Use the -a (all) option to check for suspicious files; Use less or more command to display in pages through pipes: strings -a filename | more; Check file dependencies using dynamic linking or static linking.
[0025] Suspicious processes are abnormal business processes that are suspected to be illegal Trojan viruses. We need to check suspicious processes. Since viruses often create one or more processes, we need to identify which processes are created by the virus and then delete the suspicious processes.
[0026] The troubleshooting instructions for suspicious processes are: tasklist--Displays all currently running processes tasklist / f / im()--Delete a process / f refers to forced deletion / im refers to the memory image of the process, enter the PID of the process in brackets dir xxx--can check whether a disk contains the file del / fxxx--Force deletion of a file dir / ah--Displays hidden files in the directory where the user is located. a stands for attribute, and h stands for hidden, that is, the attribute is a hidden file. del / ah / fxxx--Force deletion of hidden files attrib-sr-hxxx--Remove the hidden attribute of a file and make it visible Suspicious memory stack information is the most dangerous type of buffer overflow. The buffer is the memory used internally by the computer program or used to store user input data. Overflow means that the data in the computer program exceeds the allocated memory space. Buffer overflow means that the computer does not effectively detect the received input data (ideally, the program checks the data length and does not allow characters that exceed the buffer length to be input). When filling the buffer with data, the buffer capacity exceeds the buffer capacity, causing the data to overflow to the memory space outside the allocated space, so that the overflowed data overwrites the data in other memory spaces. Use a simple example to understand buffer overflow: suppose a login page sets the memory size of the user name to 8 bytes. When a 10-byte user name is entered, there are 2 extra bytes that cause the buffer to overflow.
[0027] A buffer overflow attack targets a program design flaw by writing content into the program input buffer that causes it to overflow (usually data that exceeds the maximum amount of data the buffer can hold), thereby destroying the program's stack and causing the program to execute other instructions instead, achieving the purpose of the attack.
[0028] The most dangerous of buffer overflows is stack overflow, because an intruder can use stack overflow to change the address of the return program when the function returns, so that it jumps to an arbitrary address. One of the hazards is program crash leading to denial of service, and the other is jumping and executing a malicious code, such as obtaining system permissions. The vulnerability impacts include unstable program behavior, system crash, memory access error, code overwrite, unauthorized data access, temporary privilege behavior, data theft and data loss.
[0029] A stack is a linear data structure that follows a specific order in which operations are performed, either LIFO (Last In, First Out) or FILO (First In, Last Out). The stack resides in the process memory of the system and has a fixed storage capacity and a last-in, first-out data structure. The stack manages all memory allocation and deallocation functions without manual intervention, and overflow occurs when memory input exceeds the stack limit, resulting in data exploitation.
[0030] The causes of stack overflow include variable out-of-bounds or infinite recursion. Variable out-of-bounds means too many variables are declared in the stack space, resulting in overflow; infinite recursion means infinite recursion leading to local variable overflow.
[0031] Suspicious business logs are logs of servers and related applications that need to be checked and analyzed when network anomalies occur in the user's information system or there may be malicious attacks. Suspicious business logs are used to confirm whether the application has been attacked by hackers. The attack type includes a series of tracing analyses such as type, attacking IP, and whether a webshell or control system has been implanted.
[0032] There are two methods for analyzing suspicious business logs: The first method is to determine the time range of the attack, use this as a clue, find suspicious logs within this time range, conduct further investigation, and finally identify the attacker and restore the attack process. The second type: After attacking a website, attackers usually leave a backdoor to maintain permissions to facilitate further access. We can find this file and use it as a clue to conduct analysis.
[0033] Analysis tools for suspicious business logs include iislogviewer or text editors in Windows, combined query and analysis of Linux shell commands, or commands combined with grep and awk.
[0034] The analysis instructions for suspicious business logs include: 1. List the IP commands with the most log file accesses: cut-d- -f 1 log_file|uniq-c|sort-rn, The IP command extracts IP fields from the log file log_file and displays them in order. The parameter after -d indicates the separator character used for each field, and -f 1 indicates the displayed field type. If the first column of log_file is IPuniq –c indicates the number of repetitions in each column of the output. 2. Check how many IP addresses have visited that day: awk'{print $1}'log_file|sort|uniq|wc -l; 3. Check the number of times a page is visited: grep " / index.php" log_file | wc -l; 4. Check how many pages each IP has visited: awk'{++S[$1]}END{for(a in S)print a,S[a]}'log_file; 5. Sort the number of pages accessed by each IP address from small to large: awk'{++S[$1]}END{for(a in S)print S[a],a}'log_file|sort -n; 6. Check which pages a certain IP has visited: grep^111.111.111.111 log_file|awk'{print$1,$7}'; 7. Remove the pages of the search engine statistics for the day: awk'{print$12,$1}'log_file|grep^\"Mozilla|awk'{print$2}'|sort|uniq|wc -l The information processing and analysis layer implements specific security analysis capabilities, including five major security big data analysis engines: AI engine, DNS security engine, memory security engine, http security engine, and file identification security engine; like Figure 2 As shown in the figure, the application process of the AI engine includes: 1. Create a data set and import data; 2. AI development: AI development includes data processing, model development, model training, model evaluation and application development; 3. Iterative optimization: Iterative optimization includes data processing, model training, application construction and application deployment; 4. AI applications support automated and semi-automated data screening functions, automated data pre-labeling, and auxiliary automated labeling tools.
[0035] Commonly used AI algorithms for graphics, text, etc. are built in, such as BERT (Bidirectional Encoder Representations from Transformers), which is a bidirectional encoder of Transformer, designed to pre-train deep bidirectional representations from unlabeled text through conditional calculations shared in left and right contexts. Therefore, the pre-trained BERT model can be fine-tuned with only one additional output layer, generating the latest models for various natural language processing tasks.
[0036] The DNS Security Engine is a security engine that analyzes, detects, and alerts DNS traffic. It can promptly block enterprise employees and systems from connecting to known malicious Internet locations, nipping threats in the bud before malicious connections are established, and immediately provide feedback to the enterprise security team about potential threats such as botnets and APTs on their networks. Enterprises can ensure that their employees and systems are not accessed to destinations that may endanger communications, proprietary information, customer private data, etc.
[0037] The core function of the DNS security engine is to monitor and block malicious domain names based on threat intelligence. It has a built-in library of millions of malicious domain names, which can perform regular detection on more than ten threats such as APT attacks, ransomware, secret-stealing Trojans, botnets, etc., accurately identify and locate malicious domain name request behaviors in the intranet and block them in time.
[0038] Unknown threat monitoring based on DNS behavior provides professional and high-level technical support for the final confirmation of unknown threats through automated data processing technology based on artificial intelligence self-learning. All unknown threats analyzed by big data will be manually intervened by professional personnel to achieve detailed analysis and confirm the means, targets and purpose of the attack.
[0039] Flexible and configurable blocking policy engine: Based on the policy engine of source IP and access domain name, users can flexibly define blocking policies to meet the needs of various security scenarios; support active and standby deployment methods, and centrally manage policies.
[0040] Retention and analysis of full DNS logs: Collecting and analyzing DNS response data (Passive DNS) enables customers to quickly identify malicious sites and combat phishing and malware. Especially when there is a large amount of DNS response data, it can greatly reduce data storage and increase data value.
[0041] Memory security engine, with the continuous evolution of attack and defense technologies, in order to evade mature file detection and killing technologies, attackers began to migrate attack payloads from disk to memory. Bypassing traditional file detection and killing technologies at the principle level, the attack behavior is more covert. During the entire attack process, only some files or even no files are landed, which brings huge challenges to the detection and response of the defender.
[0042] In actual attack and defense scenarios, mainstream memory backdoors can be roughly divided into two categories: 1. Web memory malware evolved from Webshell technology, among which Java memory malware and .NET memory malware are the most common; 2. Some fileless attack methods used by popular hacker remote control tools (Cobalt Strike, Metasploit, etc.). For example, advanced attack methods such as reflective DLL injection and PowerShell script execution are used to inject backdoor programs into system processes; The core implementation of the memory safety engine includes: Vulnerability detection: abnormal access to memory is not based on features, but on abnormal behavior. Specific behavior results are analyzed for memory corruption vulnerabilities and web-level vulnerabilities. Fileless attacks: Many attacks on Windows platforms are fileless attacks. These attacks are basically in memory and will not land. They are detected inside the interpreter. Webshell detection: Through RASP technology, many memory horse attacks can be detected, and it has reached the domestic first-class level; Special scenario breakthrough: Breakthroughs in some common attack scenarios of some customers, such as domain control, phishing emails, etc. These attacks are also matched with fileless and vulnerability detection capabilities. At the same time, the lateral movement behavior after the attack can be detected.
[0043] The http security engine uses nginx+ModSecurity to implement a WAF (web application firewall), thereby realizing the http application layer security protection engine. The security protection rules use the OWASP ModSecurity Core Rule Set (CRS), which is a set of common attack detection rules for ModSecurity or compatible web application firewalls; CRS is designed to protect web applications from a variety of attacks, including the OWASP top ten, while minimizing false alarms.
[0044] Based on the above-mentioned ideal embodiments of the present invention, the relevant staff can make various changes and modifications without departing from the technical concept of the present invention through the above-mentioned description. The technical scope of the present invention is not limited to the contents of the specification.
Claims
1. An AI security learning engine system, Features: It includes an information input and information collection layer, and an information processing and analysis layer. The information input and information collection layer collects five types of meta-security information, namely network traffic, suspicious files, suspicious processes, suspicious memory stack information and suspicious business logs; the information processing and analysis layer includes five security big data analysis engines, namely, AI engine, DNS security engine, memory security engine, http security engine and file identification security engine.
2. The AI security learning engine system and implementation method according to claim 1, Features: The network traffic refers to the amount of data and data information transmitted by network devices on the network, which can be classified into Packet-level, Flow-level and Stream-level: The Packet-level traffic classification is the characteristics of the data packet and its arrival process, including the distribution of data packet size and the distribution of data packet arrival time intervals; the Flow-level traffic classification is the characteristics of the flow and its arrival process, including a TCP connection or a UDP stream, where a flow is a five-tuple consisting of source IP address, source port, destination IP address, destination port, and application protocol; the Stream-level traffic classification is the host pair and the application traffic between them, which is a three-tuple consisting of source IP address, destination IP address, and application protocol.
3. The AI security learning engine system and implementation method according to claim 1, Features: The metric for network traffic classification is the accuracy of a certain classification technology or classification model in classifying unknown data objects, including true positive (TP), false negative (FN), false positive (FP), and true negative (TN): The true positive (TP) represents the number of positive samples correctly predicted by the classification model, that is, the number of samples belonging to category A and predicted to be category A; the false negative (FN) represents the number of positive samples incorrectly predicted as negative by the classification model, that is, the number of samples belonging to category A but predicted not to belong to category A; the false positive (FP) represents the number of negative samples incorrectly predicted as positive by the classification model, that is, the number of samples that do not belong to category A but are predicted to belong to category A; the true negative (TN) represents the number of negative samples correctly predicted by the classification model, that is, the number of samples that do not belong to category A and are predicted not to belong to category A.
4. The AI security learning engine system and implementation method according to claim 3, Features: The network traffic classification method described above evaluates its classification results by recall, precision, and accuracy: The recall rate (recall) is TP / (TP+FN), which indicates the proportion of correctly predicted samples in category A; the precision (precision) is TP / (TP+FP), which indicates the proportion of samples that actually belong to category A among all samples predicted to be in category A; the accuracy (accuracy) is (TP+TN) / (TP+TN+FP+FN), which indicates the proportion of samples correctly predicted by the classification model in the total samples.
5. The AI security learning engine system and implementation method according to claim 1, Features: The suspicious memory stack information is a type of buffer overflow. The buffer is the memory used internally in a computer program or for storing user input data. The overflow is when the data in the computer program exceeds the allocated memory space. The buffer overflow is when the computer does not perform effective detection on the received input data, and when filling the buffer with data, the buffer capacity exceeds the buffer capacity, causing the data to overflow into the memory space outside the allocated space, so that the overflowed data covers the data in other memory spaces.
6. The AI security learning engine system and implementation method according to claim 1, Features: The DNS security engine is a security engine that analyzes, detects, and alerts DNS traffic, blocks enterprise employees and systems from connecting to known malicious Internet locations, and provides feedback to the enterprise security team on potential threats such as botnets and APTs on their networks. Its core function is to monitor and block malicious domain names based on threat intelligence. It has a built-in library of millions of malicious domain names, and can perform regularized detection of more than ten types of threats such as APT attacks, ransomware, secret-stealing Trojans, botnets, etc. It can accurately identify and locate malicious domain name requests on the intranet and block them in a timely manner. Unknown threat monitoring based on DNS behavior provides professional and high-level technical support for the final confirmation of unknown threats through automated data processing technology based on artificial intelligence self-learning. All unknown threats analyzed by big data will be manually intervened by professional personnel to achieve detailed analysis and confirm the means, targets and purpose of the attack.
7. A method for implementing the AI security learning engine system according to any one of claims 1 to 6, Features: The suspicious file is a file whose behavior is suspicious and needs to be confirmed, including the following steps:
1. Collect detailed information: Identify the system containing the suspicious file and document the relevant system details. Collect some basic file details and attributes of the suspicious file, including the operating system, version, kernel version, patch level, file system and the full path when the suspicious file is found.
2. Calculate hash value: Generate an encrypted hash value or "digital fingerprint" for the suspicious file. The generation method is as follows: Linux system: md5sum filename; Save the generated hash value to a file: md5sum filename > md5_filename.txt or md5sumfilename >>malware-hashes.txt; 3. Comparison: Use the CTPH algorithm and ssdeep tool to compare suspicious files with known malicious file samples to generate a file similarity index. The CTPH algorithm calculates a series of checksums of random sizes for a file. The usage of the ssdeep tool is as follows: ssdeep filename: Generate hash value and full path; ssdeep filename >> destPathandhashlistname; ssdeep -m hashlist filename gives a similarity score; 4. Scanning: Use anti-virus and anti-spyware software to scan suspicious files to determine whether the file contains signatures of known malicious samples: the anti-virus software includes ClamAV, Avast, F-Port and AntiVir, and the scanning services include VirusTotal, Jotti Online Malware Scanner and VirScan; 5. Extraction and Analysis: Extract and analyze suspicious files by reviewing any embedded ASCII or Unicode strings contained in the files, and identifying and reviewing any file metadata and symbolic information: Use the strings command to extract strings. If you want to change the minimum string length displayed by the strings tool, you can use the -n option; Use Unicode encoding or the -e option to extract strings that are not encoded in ASCII form; Use the -a (all) option to check for suspicious files; Use less or more command to display in pages through pipes: strings -a filename | more; Check file dependencies using dynamic linking or static linking.
8. The implementation method of the AI security learning engine system according to claim 7, Features: The suspicious process is an abnormal business process suspected to be an illegal Trojan virus. The troubleshooting instructions for the suspicious process are: tasklist--Displays all currently running processes tasklist / f / im()--Delete a process / f refers to forced deletion / im refers to the memory image of the process, enter the PID of the process in brackets dir xxx--can check whether a disk contains the file del / fxxx--Force deletion of a file dir / ah--Displays hidden files in the directory where the user is located. a stands for attribute, and h stands for hidden, that is, the attribute is a hidden file. del / ah / fxxx--Force deletion of hidden files attrib-sr-hxxx--Remove the hidden attribute of a file and make it visible.
9. The implementation method of the AI security learning engine system according to claim 7, Features: The application process of the AI engine includes: 1) Create a data set and import data; 2) AI development: AI development includes data processing, model development, model training, model evaluation and application development; 3) Iterative optimization: The iterative optimization includes data processing, model training, application construction and application deployment; 4) AI applications support automated and semi-automated data screening functions, automated data pre-labeling, and auxiliary automated labeling tools.
10. The implementation method of the AI security learning engine system according to claim 7, Features: The core implementation of the memory safety engine includes: Vulnerability detection: abnormal access to memory is not based on features, but on abnormal behavior. Specific behavior results are analyzed for memory corruption vulnerabilities and web-level vulnerabilities. Fileless attacks: Many attacks on Windows platforms are fileless attacks. These attacks are basically in memory and will not land. They are detected inside the interpreter. Webshell detection: Through RASP technology, many memory horse attacks can be detected, and it has reached the domestic first-class level; Special scenario breakthrough: Breakthroughs in some common attack scenarios of some customers, such as domain control, phishing emails, etc. These attacks are also matched with fileless and vulnerability detection capabilities. At the same time, the lateral movement behavior after the attack can be detected.
Citation Information
Cited By
Protection processing method and system for viruses and sensitive information of mobile storage device
CN120257276A
Method and system for protecting mobile storage device from viruses and sensitive information
CN120257276B
