Malicious internet protocol address analysis method, device and equipment and readable storage medium
Patent Information
- Application Number
- CN202410805549.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-20
- Publication Date
- 2024-09-06
Smart Images

Figure CN118611949A
Abstract
Description
Technical Field
[0001] The present application relates to the field of network security technology, and in particular to a malicious Internet Protocol address analysis method, device, equipment and readable storage medium. Background Art
[0002] A cyberattack is any action aimed at damaging, disrupting, gaining unauthorized access to, or illegally exploiting a computer system, network, or data. In recent years, cyberattacks have become highly targeted, complex, and organized, making the cybersecurity situation increasingly severe. In order to effectively respond to these challenges, security analysts must be able to quickly identify, prevent, and handle various threats in cyberspace. In this context, in-depth feature analysis of IP addresses becomes crucial, which not only helps to understand potential threats, but also optimizes defense strategies.
[0003] In the related art, when analyzing the characteristics of IP addresses, it is generally based on a large amount of traffic data, and malicious IPs with attack behaviors are screened out. However, processing and analyzing a large amount of data requires a lot of time and computing resources, resulting in a slow analysis process and low processing efficiency. On the other hand, traffic data may contain a lot of noise and irrelevant information. These interfering data will affect the analysis process, resulting in reduced accuracy of the analysis. Summary of the invention
[0004] The main purpose of the embodiments of the present application is to propose a malicious Internet Protocol address analysis method, device, equipment and readable storage medium, which can improve the efficiency and accuracy of malicious Internet Protocol address analysis.
[0005] To achieve the above-mentioned purpose, a first aspect of an embodiment of the present application proposes a malicious Internet Protocol address analysis method, the method comprising:
[0006] Building a trapping environment for capturing malicious attack behaviors, and activating the trapping environment;
[0007] Determining malicious Internet Protocol addresses that initiate malicious attacks on the entrapped environment, and obtaining attack information of each malicious Internet Protocol address from the entrapped environment;
[0008] For each of the malicious Internet Protocol addresses, querying historical indicator information of the malicious Internet Protocol address from a preset threat database;
[0009] Performing feature fusion on the attack information according to the historical indicator information to obtain fusion feature information of each malicious Internet Protocol address;
[0010] Based on the multiple fusion feature information corresponding to the multiple malicious Internet Protocol addresses, the attack attributes of the multiple malicious Internet Protocol addresses are analyzed in each feature dimension to obtain malicious Internet Protocol address analysis results in each feature dimension.
[0011] Accordingly, a second aspect of an embodiment of the present application provides a malicious Internet Protocol address analysis device, the device comprising:
[0012] An activation module is used to build a trapping environment for capturing malicious attack behaviors and activate the trapping environment;
[0013] An acquisition module, used for determining a malicious Internet Protocol address that launches a malicious attack on the trapping environment, and acquiring attack information of each malicious Internet Protocol address from the trapping environment;
[0014] A query module, configured to query historical indicator information of each malicious Internet Protocol address from a preset threat database;
[0015] A fusion module, used to perform feature fusion on the attack information according to the historical indicator information to obtain fusion feature information of each malicious Internet Protocol address;
[0016] The analysis module is used to analyze the attack attributes of the multiple malicious Internet Protocol addresses in each feature dimension based on the multiple fused feature information corresponding to the multiple malicious Internet Protocol addresses, and obtain the malicious Internet Protocol address analysis results in each feature dimension.
[0017] In some implementations, the acquisition module is further used to:
[0018] Based on the trapping environment, determining the access log and attack behavior record of each malicious Internet Protocol address in the trapping environment;
[0019] For each of the malicious Internet Protocol addresses, extract multiple access features of the malicious Internet Protocol address from the access log, and extract multiple behavior features of the malicious Internet Protocol address from the attack behavior record; wherein the access features include the access time, access target and access method of the malicious Internet Protocol address to the entrapped environment, and the behavior features include the attack type, attack target and attack time of the malicious Internet Protocol address to the entrapped environment;
[0020] The plurality of access features and the plurality of behavior features are concatenated to obtain attack information corresponding to the malicious Internet Protocol address.
[0021] In some implementations, the acquisition module is further used to:
[0022] Obtaining a splicing order set for the access feature and the behavior feature;
[0023] For each malicious Internet Protocol address, multiple access features and multiple behavior features are sequentially spliced in accordance with the splicing order to obtain attack information corresponding to the malicious Internet Protocol address.
[0024] In some implementations, the query module is further used to:
[0025] For each malicious Internet Protocol address, query the geographic information, historical attack times and threat index of the malicious Internet Protocol address from a preset threat intelligence library;
[0026] Based on the historical attack times and the threat index, the maliciousness level of the malicious Internet Protocol address is determined, and the geographic information and the maliciousness level are used as historical indicator information of the malicious Internet Protocol address.
[0027] In some embodiments, the analysis module is further used to:
[0028] Obtain the target time period and corresponding feature dimensions for malicious Internet Protocol address analysis;
[0029] Determine, in the target time period, a plurality of fused feature information of a plurality of malicious Internet Protocol addresses corresponding to the feature dimension;
[0030] For each of the feature dimensions, extracting a plurality of target features corresponding to the feature dimension from a plurality of the fused feature information corresponding to a plurality of malicious Internet Protocol addresses;
[0031] Based on the multiple target features, attack attributes of the multiple malicious Internet Protocol addresses are analyzed to obtain malicious Internet Protocol address analysis results corresponding to each feature dimension.
[0032] In some embodiments, the analysis module is further used to:
[0033] Grouping the plurality of target features to obtain at least one feature group corresponding to the feature dimension;
[0034] Determine a first target feature according to the number of the target features in each of the feature groups;
[0035] According to the multiple first target features corresponding to the multiple feature dimensions, the malicious Internet Protocol address analysis results corresponding to each of the feature dimensions are obtained.
[0036] In some implementations, the malicious Internet Protocol address analysis device further includes a marking module, which is used to:
[0037] When querying the historical indicator information of the malicious Internet Protocol address from a preset threat database for each malicious Internet Protocol address fails, marking the malicious Internet Protocol address to obtain a first Internet Protocol address;
[0038] Acquire a plurality of second Internet Protocol addresses of the same category as the first Internet Protocol address from the threat database, and determine first geographic information, a first historical attack count, and a first threat index of each of the second Internet Protocol addresses;
[0039] Cluster analysis is performed on the plurality of first geographic information, the plurality of first historical attack times and the plurality of first threat indexes respectively to obtain historical indicator information of the first Internet Protocol address.
[0040] In some embodiments, the enabling module is further configured to:
[0041] Get the current business type;
[0042] According to the business type, the scenario category of the trapping environment that needs to be built is determined, and the corresponding trapping environment is simulated based on the scenario category.
[0043] Correspondingly, the third aspect embodiment of the present application proposes a computer device, which includes a memory and a processor, the memory stores a computer program, and the processor implements the malicious Internet Protocol address analysis method described in any one of the first aspect embodiments of the present application when executing the computer program.
[0044] Correspondingly, the fourth aspect embodiment of the present application proposes a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the malicious Internet Protocol address analysis method described in any one of the first aspect embodiments of the present application.
[0045] The embodiment of the present application builds a trapping environment for capturing malicious attack behaviors and enables the trapping environment; determines the malicious Internet Protocol address that launches a malicious attack on the trapping environment, and obtains the attack information of each malicious Internet Protocol address from the trapping environment; for each malicious Internet Protocol address, queries the historical indicator information of the malicious Internet Protocol address from a pre-set threat database; performs feature fusion on the attack information according to the historical indicator information to obtain the fusion feature information of each malicious Internet Protocol address; based on the multiple fusion feature information corresponding to the multiple malicious Internet Protocol addresses, analyzes the attack attributes of the multiple malicious Internet Protocol addresses under each feature dimension, and obtains the analysis results of the malicious Internet Protocol addresses under each feature dimension. In this way, malicious Internet Protocol addresses can be actively attracted by building a trapping environment, and there is no need to screen based on a large amount of traffic data, thereby improving the efficiency of malicious Internet Protocol address analysis. In addition, the present application can also combine the attack information of the malicious Internet Protocol address when attacking the trapping environment obtained in real time with the historical indicator information of the malicious Internet Protocol address set in advance, thereby realizing a comprehensive analysis of malicious Internet Protocol addresses in multiple feature dimensions, thereby improving the accuracy of malicious Internet Protocol address analysis. In summary, the present application can improve the efficiency and accuracy of malicious Internet Protocol address analysis. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 It is a schematic diagram of the architecture of a malicious Internet Protocol address analysis system provided in an embodiment of the present application;
[0047] Figure 2 is a flow chart of a malicious Internet Protocol address analysis method provided by an embodiment of the present application;
[0048] Figure 3 It is an overall flow chart of the malicious Internet Protocol address analysis method provided by the embodiment of the present application;
[0049] Figure 4 It is a functional module diagram of a malicious Internet Protocol address analysis device provided in an embodiment of the present application;
[0050] Figure 5 It is a schematic diagram of the hardware structure of the computer device provided in the embodiment of the present application. DETAILED DESCRIPTION
[0051] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0052] It should be noted that, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart. The terms "first", "second", etc. in the specification, claims and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0053] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0054] A cyberattack is any action aimed at damaging, disrupting, gaining unauthorized access to, or illegally exploiting a computer system, network, or data. In recent years, cyberattacks have become highly targeted, complex, and organized, making the cybersecurity situation increasingly severe. In order to effectively respond to these challenges, security analysts must be able to quickly identify, prevent, and handle various threats in cyberspace. In this context, in-depth feature analysis of IP addresses becomes crucial, which not only helps to understand potential threats, but also optimizes defense strategies.
[0055] In the related art, when analyzing the characteristics of IP addresses, it is generally based on a large amount of traffic data, and malicious IPs with attack behaviors are screened out. However, processing and analyzing a large amount of data requires a lot of time and computing resources, resulting in a slow analysis process and low processing efficiency. On the other hand, traffic data may contain a lot of noise and irrelevant information. These interfering data will affect the analysis process, resulting in reduced accuracy of the analysis.
[0056] Based on this, the embodiments of the present application provide a malicious Internet Protocol address analysis method, apparatus, device and readable storage medium, which can improve the efficiency and accuracy of malicious Internet Protocol address analysis.
[0057] The malicious Internet Protocol address analysis method, apparatus, device and readable storage medium provided in the embodiments of the present application are specifically described through the following embodiments. First, the malicious Internet Protocol address analysis system in the embodiments of the present application is described.
[0058] Please refer to Figure 1 An embodiment of the present application proposes a malicious Internet Protocol address analysis system. In some implementations, the malicious Internet Protocol address analysis system includes a terminal 11 and a server 12.
[0059] Exemplarily, the terminal 11 may be a user interaction device, such as a personal computer, a mobile device, etc. A security analyst or system administrator may perform a series of monitoring, management, and configuration operations through the terminal 11. For example, the terminal 11 may be used to input business scenario parameters, formulate trapping strategies, etc. The terminal 11 may also be used to display the results of malicious Internet protocol address analysis, including statistical information, analysis reports, etc.
[0060] Specifically, the server 12 is the core hardware device of the malicious Internet Protocol address analysis system, responsible for processing data and providing related services. The server 12 can configure a trapping environment, such as configuring a honeypot or honeynet, collect data from a honeypot, honeynet or other trapping environment, and store the data for subsequent analysis. In addition, the server 12 can also run software to analyze attack attributes, including extracting key information from access logs and behavior records, statistical calculations, and integrating access features and behavior features, and provide the analysis results to the terminal 11, which can be notified in the form of generating reports, alarms, and notifications.
[0061] The malicious Internet Protocol address analysis method in the embodiment of the present application can be illustrated by the following embodiment.
[0062] It should be noted that in each specific implementation of the present application, when it comes to the need to perform relevant processing based on data related to user identity or characteristics such as user information, user behavior data, user historical data, and user location information, the user's permission or consent will be obtained first. Moreover, the collection, use, and processing of these data will comply with relevant laws, regulations, and standards. In addition, when the embodiment of the present application needs to obtain the user's sensitive personal information, the user's separate permission or separate consent will be obtained through a pop-up window or by jumping to a confirmation page. After clearly obtaining the user's separate permission or separate consent, the necessary user-related data for enabling the normal operation of the embodiment of the present application will be obtained.
[0063] In the embodiment of the present application, the malicious Internet Protocol address analysis device will be described from the perspective of the malicious Internet Protocol address analysis device, which can be specifically integrated into a computer device. Figure 2 , Figure 2 This is a flowchart of the steps of the malicious Internet Protocol address analysis method provided in the embodiment of the present application. The embodiment of the present application takes the malicious Internet Protocol address analysis device as an example, in which the malicious Internet Protocol address analysis device is specifically integrated on a terminal or a server. When the processor on the terminal or the server executes the program instructions corresponding to the malicious Internet Protocol address analysis method, the specific process is as follows:
[0064] Step 101: build a trapping environment for capturing malicious attack behaviors, and enable the trapping environment.
[0065] It is understandable that in order to quickly collect malicious Internet Protocol addresses, a trapping environment can be built to attract malicious Internet Protocol addresses to launch attacks on the trapping environment, thereby discovering potential vulnerabilities and risks.
[0066] Among them, the entrapment environment can be a simulated network environment or system, and the entrapment environment can be a honeypot network, which is designed to attract malicious Internet Protocol addresses to launch attacks, and while capturing the malicious attack behavior of the malicious Internet Protocol addresses, collect the attack methods, attack targets and vulnerabilities exposed during the attack used by the malicious Internet Protocol addresses for analysis and identification of potential vulnerabilities or threats.
[0067] In some implementations, the type and characteristics of the trapping environment can be determined according to actual needs and goals, such as selecting a simulated Web server, database system, or other application environment as a scenario type, and then building a corresponding environment according to the scenario type determined by the design, including setting up a simulated server, virtual machine, network configuration, etc. Further, various baits or traps can be set in the trapping environment, such as a fake user interface, weakness simulation, etc., to attract attackers to attack, and then the trapping environment is enabled, and the running status of the trapping environment is regularly detected.
[0068] In some embodiments, the trapping environment can be dynamically adjusted to cope with changes in malicious Internet Protocol addresses and capture as many malicious Internet Protocol addresses as possible. Exemplarily, multiple malicious Internet Protocol addresses that launch attacks in a first time period can be determined from the trapping environment, and then the attack objects of each malicious Internet Protocol address in the trapping environment in the first time period are counted to obtain the target attack object with the largest number of attack objects, and the number of target attack objects is increased in the trapping environment. Furthermore, different types of honeypot systems can be deployed in different time periods, such as switching from low-interaction honeypots to high-interaction honeypots, to increase the flexibility of trapping.
[0069] It is understandable that, since different business types face different threats and attack methods, it is necessary to determine the environmental category of the entrapment environment according to the business type, so that the constructed entrapment environment can be more targeted and capture more malicious Internet Protocol addresses efficiently and accurately.
[0070] (101.1) Obtain the current business type;
[0071] (101.2) Determine the environmental category of the trapping environment to be built based on the business type, and simulate the corresponding trapping environment based on the environmental category.
[0072] The service type may be a classification of a series of interactions and operations performed by a system or a user. For example, in the field of network security, service types may include web browsing, data transmission, email services, online transactions, etc.
[0073] The environment category may be a simulation environment classification set for possible attack types or attack methods when setting up a trapping environment. For example, the environment category may include a DDoS attack environment, a phishing attack environment, a vulnerability exploitation environment, etc.
[0074] Exemplarily, when the business type is Web service, the environment category can be determined as cross-site scripting attack. After that, the corresponding trapping environment of the cross-site scripting attack can be simulated, such as Web pages that are vulnerable to cross-site scripting attacks, such as search boxes, comment areas, etc., and the content input by users can be monitored. When malicious scripts are detected, the attack behavior of the malicious Internet Protocol address is recorded through the trapping environment; when the business type is a database system, the environment category can be determined as Structured Query Language (SQL) injection trapping, and the trapping environment can be simulated as a vulnerability point that is vulnerable to SQL injection attacks, such as user input, form submission, etc. By setting up a fake database, when the attacker tries to inject malicious code, the attack behavior of the malicious Internet Protocol address is recorded.
[0075] Furthermore, when there are multiple business environments, the main environment categories of multiple business environments can be merged, and the trapping environment can be adjusted according to the importance of each business environment. For example, the main environment categories of Web services and database services can be merged to build a comprehensive trapping environment, and then the trapping environment can be adjusted according to the importance of the two business environments. For example, if the Web service has more user interactions and higher external visibility, more resources may be used for the trapping environment that simulates cross-site scripting attacks.
[0076] By building specific trapping environments for different business types, the system can more effectively identify and prevent various network attacks, allowing the system to detect malicious behavior in real time and efficiently, and promptly record the attacker's malicious Internet Protocol address, providing important information for subsequent response and prevention measures.
[0077] Step 102, determining malicious Internet Protocol addresses that initiate malicious attacks on the trapping environment, and obtaining attack information of each malicious Internet Protocol address from the trapping environment.
[0078] It is understandable that when a user launches an attack on a trapping environment, attack information of a corresponding malicious Internet Protocol address can be obtained from the trapping environment, so as to facilitate subsequent analysis of each malicious Internet Protocol address.
[0079] The malicious Internet Protocol address may be the Internet Protocol address of a device that launches a malicious network attack. In the field of network security, an Internet Protocol address can be used to uniquely identify a device on the Internet. Therefore, when a device launches an attack on a trapping environment, the Internet Protocol address of the device is considered a malicious Internet Protocol address.
[0080] Among them, the attack information can be detailed data of all attack activities associated with malicious Internet Protocol addresses recorded in the trapping environment or other detection modules associated with the trapping environment. The attack information can be obtained based on the storage module in the trapping environment when the attacker launches an attack on the trapping environment, and can be specifically obtained based on the access log and the attack behavior record. It can be understood that the attack information is the relevant data obtained when the attack is launched on the trapping environment in the current time period, and belongs to the dynamic dimension information. By obtaining the attack information, the corresponding malicious Internet Protocol address can be quickly and accurately analyzed.
[0081] Specifically, the trapping environment will record all network traffic that interacts with it. By analyzing the traffic pattern, when the trapping environment detects attack behavior from a malicious Internet Protocol address, it will record the attack information for further analysis later.
[0082] Through the above method, the attack information of the malicious Internet Protocol address that attacks the trapping environment can be obtained, so as to facilitate the subsequent efficient and accurate analysis of the malicious Internet Protocol address according to the attack information.
[0083] In some implementations, in order to obtain more comprehensive attack information, the access log and attack behavior record of the entrapped environment may be analyzed based on the malicious Internet Protocol address, and multiple useful access features and behavior features may be extracted to facilitate subsequent comprehensive analysis of the malicious Internet Protocol address. The step 102 of "obtaining attack information of each malicious Internet Protocol address from the entrapped environment" includes:
[0084] (102.1) Based on the entrapped environment, determine the access log and attack behavior record of each malicious Internet Protocol address in the entrapped environment;
[0085] (102.2) for each malicious Internet Protocol address, extracting multiple access features of the malicious Internet Protocol address from the access log, and extracting multiple behavior features of the malicious Internet Protocol address from the attack behavior record; wherein the access feature includes the time, target, and method of access of the malicious Internet Protocol address to the entrapped environment, and the behavior feature includes the type, target, and time of attack of the malicious Internet Protocol address to the entrapped environment;
[0086] (102.3) Multiple access features and multiple behavior features are combined to obtain attack information corresponding to the malicious Internet Protocol address.
[0087] The access log may record detailed information about a user or system's access to network resources, typically including the visitor's Internet Protocol address, access time, access frequency, target page visited, and access method used, such as the Hypertext Transfer Protocol (HTTP) request method.
[0088] Among them, the attack behavior record can be a record of detailed information on the malicious behavior or attack event issued by the attacker, including the attacker's malicious Internet Protocol address, attack type (such as SQL injection, DDoS attack, etc.), attack target, attack time, attack type, etc.
[0089] The access feature may be a specific attribute related to the access behavior, which is used to describe the behavior pattern of the visitor. For example, the access feature may be the access time, access target, access method, etc.
[0090] Among them, the behavior characteristics may be specific attributes related to the attack behavior, which are used to describe the behavior pattern of the attacker. The behavior characteristics may include the attack type, attack target, attack time, etc.
[0091] The access time may be a specific timestamp of the visitor accessing the trapping environment, which may be accurate to seconds or milliseconds.
[0092] The access target may be a network resource or page accessed by a visitor in a trapping environment, and may be a URL, a file path, or other network service.
[0093] The access mode may be a technology or method used by a visitor to access the trapping environment, such as HTTP GET, POST request, etc.
[0094] The attack type may be a specific attack method or technique used by an attacker to attack the entrapped environment, such as SQL injection, cross-site scripting attack, denial of service attack, etc.
[0095] The attack target may be a specific target that the attacker attempts to attack or destroy, or may be a website or network resource simulated in a trap environment.
[0096] The attack time may be a timestamp when the attacker attacks the trap environment, which is usually accurate to seconds or milliseconds.
[0097] It is understandable that by determining the corresponding access features and behavior features through access logs and attack behavior records, features that can efficiently and accurately analyze malicious Internet Protocol addresses can be determined from a large amount of traffic data. For example, the malicious Internet Protocol address 192.168.1.102 tried to connect to a simulated server in the trapping environment at 2023-11-07 15:33:45, and tried multiple connection methods (such as HTTP), and attacked the simulated server by launching a DDoS attack, and the attack time was 2023-11-07 15:34:00.
[0098] Furthermore, for the malicious Internet Protocol address 192.168.1.102, its access features can be extracted from the access log, such as the access time is 2023-11-07 15:33:45, the access target is the simulated server, and the access method is HTTP. At the same time, its behavioral features can be extracted from the attack behavior record, such as the attack type is a DDoS attack, the attack target is the same simulated server, the attack time is 2023-11-0715:34:00, etc., and the extracted multiple access features and multiple behavioral features are spliced. It can be understood that without departing from the concept of the present application, the specific categories of access features and behavioral features extracted from the access log and attack behavior record can be determined according to actual needs, and the present application does not impose specific restrictions on this.
[0099] Through the above method, relevant feature information of malicious Internet Protocol addresses can be obtained quickly and accurately, so as to facilitate the subsequent statistics of the features of each malicious Internet Protocol address through multiple different feature dimensions.
[0100] It is understandable that in order to facilitate the subsequent rapid determination of the location of the corresponding target feature according to the feature dimension, multiple access features and multiple behavior features of the malicious Internet Protocol address can be spliced in a preset splicing order to store each access feature or behavior feature in a preset location. For example, (102.3) may include:
[0101] (102.3.1) Obtain the concatenation order for access characteristics and behavior characteristics;
[0102] (102.3.2) For each malicious Internet Protocol address, multiple access features and multiple behavior features are sequentially spliced in a splicing order to obtain attack information corresponding to the malicious Internet Protocol address.
[0103] Among them, the splicing order can be an arrangement order or combination method between features when combining multiple access features and multiple behavior features. For example, for example: the access log records that the malicious Internet Protocol address A accessed the target B through the method M within the time T with the frequency F, and then B, M, T, F were extracted. At the same time, the behavior record records that the malicious Internet Protocol address A launched an attack event E of type D by exploiting the Common Vulnerabilities and Exposures (CVE) or Common Weakness Enumeration (CWE) existing in the target B. At this time, the feature analysis module will collect all feature information of the IP and obtain a preset splicing order. For example, the splicing order is B, M, T, F, CVE, CWE, D, E, and the attack information can be spliced as B, M, T, F, CVE, CWE, D, E.
[0104] In some embodiments, in order to quickly summarize the corresponding features, an index can be added to the spliced access features or behavior features, so as to quickly determine the corresponding target features according to the index. For example, the following indexes can be added to the attack information for malicious Internet Protocol address A: (1) B1, (2) M1, (3) T1, (4) F1, (5) CVE1, (6) CWE1, (7) D1, (8) E1; the following indexes can be added to the attack information for malicious Internet Protocol address B: (1) B2, (2) M3, (3) T4, (4) F4, (5) CVE4, (6) CWE4, (7) D4, (8) E4, then B1 and B2 can be extracted according to index (1), and M1 and M2 can be extracted according to index (2). By adding indexes to the attack information, when facing a large number of malicious Internet Protocol addresses, multiple features of multiple malicious Internet Protocol addresses under a certain feature dimension can be quickly and accurately extracted through the index, thereby improving the efficiency and accuracy of the analysis of malicious Internet Protocol addresses.
[0105] Step 103: for each malicious Internet Protocol address, query the historical indicator information of the malicious Internet Protocol address from a preset threat database.
[0106] It is understandable that in order to obtain more comprehensive data to facilitate an all-round analysis of malicious Internet Protocol addresses, historical indicator information of malicious Internet Protocol addresses can be queried from the threat database for each malicious Internet Protocol address, so as to accurately analyze the malicious Internet Protocol addresses through official data.
[0107] Among them, the threat intelligence library can be a public threat intelligence platform, an internal data warehouse, and an organization that provides malicious Internet Protocol address detection services.
[0108] The historical indicator information may be detailed data describing the past behavior of a malicious Internet Protocol address or a verified indicator. For example, the historical indicator information may be the number of attacks launched by the malicious Internet Protocol address, its geographic location, and its rating in the threat intelligence library (i.e., threat index).
[0109] For example, a SQL query statement may be written, with the malicious Internet Protocol address as the query condition, to query the corresponding historical indicator information in the threat database. The query statement may include the malicious Internet Protocol address, the number of historical attacks, the geographic location, the threat index and other related fields, which are not limited here.
[0110] Through the above method, the historical indicator information of the malicious Internet Protocol address can be obtained, so as to supplement the information of the malicious Internet Protocol address with the historical indicator information to improve the accurate judgment of the malicious Internet Protocol address.
[0111] In some implementations, in order to obtain more comprehensive data to accurately analyze malicious Internet Protocol addresses, useful data may be extracted from the threat intelligence library and the extracted data may be quickly processed to improve the efficiency and accuracy of data processing. Step 103 may include:
[0112] (103.1) for each malicious Internet Protocol address, query the geographic information, historical attack times and threat index of the malicious Internet Protocol address from a pre-set threat intelligence library;
[0113] (103.2) Determine the maliciousness of the malicious Internet Protocol address based on the historical attack count and threat index, and use the geographic information and maliciousness as historical indicator information of the malicious Internet Protocol address.
[0114] Geographic information can be geographic location data related to malicious Internet Protocol addresses, and can include information such as the registration area, city, postal code, longitude and latitude of the malicious Internet Protocol address. Geographic information helps technicians understand the possible source and propagation path of malicious behavior, so as to better formulate defense strategies and conduct risk assessments.
[0115] The historical attack count may be the number of attacks launched by the malicious Internet Protocol address in the past period of time, and the historical attack count may be used to reflect the frequency of attack behaviors of the malicious Internet Protocol address.
[0116] Among them, the threat index can be a comprehensive score for quantifying the maliciousness index of the malicious Internet Protocol address. The threat index can be determined based on multiple factors, such as the complexity of the target attacked by the malicious Internet Protocol address, the importance of the target attacked, the abnormality of the traffic pattern, etc.
[0117] The maliciousness level can be an indicator based on the comprehensive evaluation of the number of historical attacks and the threat index. When the number of historical attacks is small and the threat index is low, the maliciousness level is also low; when the number of historical attacks is large and the threat index is high, the maliciousness level is also high. For example, in addition to being determined based on the number of historical attacks and the threat index, the maliciousness level can also be determined based on the attack success rate. When the number of historical attacks is small, the threat index is low, and the attack success rate is low, the maliciousness level is also low; when the number of historical attacks is large, the threat index is high, and the attack success rate is high, the maliciousness level is also high.
[0118] Exemplarily, based on the number of historical attacks and the threat index, the maliciousness of the malicious Internet Protocol address can be determined. Specifically, if the number of historical attacks of the malicious Internet Protocol address is high, such as higher than the first threshold, and the threat index is high, such as higher than the second threshold, then it can be determined that the maliciousness of the malicious Internet Protocol address is also high.
[0119] By analyzing the geographic information, historical attack times, and threat index of malicious Internet Protocol addresses, technical personnel can better understand the source of attacks and conduct a comprehensive analysis of malicious Internet Protocol addresses based on their historical indicator information and attack information.
[0120] It is understandable that, since some newly generated malicious Internet Protocol addresses do not exist in the public or pre-set threat database, it is impossible to obtain the static dimension information of the malicious Internet Protocol address, and it is difficult to comprehensively analyze the malicious Internet Protocol address. The malicious behaviors of similar malicious Internet Protocol addresses often have the same pattern. Therefore, in order to improve the accuracy of the analysis of newly generated or unrecorded malicious Internet Protocol addresses, similar malicious Internet Protocol addresses of the malicious Internet Protocol address can be searched in the threat database, and analysis can be performed based on at least one similar malicious Internet Protocol address, and the analysis result is used as the analysis result of the newly generated malicious Internet Protocol address. For example, the malicious Internet Protocol address analysis method can also include:
[0121] (A.1) when querying historical indicator information of the malicious Internet Protocol address from a preset threat database for each malicious Internet Protocol address fails, marking the malicious Internet Protocol address to obtain a first Internet Protocol address;
[0122] (A.2) obtaining a plurality of second Internet Protocol addresses of the same category as the first Internet Protocol address from a threat database, and determining first geographic information, a first number of historical attacks, and a first threat index of each second Internet Protocol address;
[0123] (A.3) Cluster analysis is performed on the plurality of first geographic information, the plurality of first historical attack times, and the plurality of first threat indexes to obtain historical indicator information of the first Internet Protocol address.
[0124] The first Internet Protocol address may be a malicious Internet Protocol address that cannot be found in the threat database, that is, a malicious Internet Protocol address that has never appeared or has appeared but not recorded.
[0125] The second Internet Protocol address may be an Internet Protocol address that has been recorded in the threat database and is of the same category as the first Internet Protocol address.
[0126] The first geographic information may be geographic location information related to the first Internet Protocol address. The first geographic information may include a city, longitude and latitude, etc. For a newly generated or unrecorded first Internet Protocol address, if its geographic information cannot be directly obtained, it can be inferred by analyzing the geographic information of a similar second Internet Protocol address.
[0127] The first historical attack count may be the number of past attack behaviors associated with the first Internet Protocol address. The first historical attack count may help analysts determine the activity level and threat level of the corresponding malicious Internet Protocol address. For a newly generated or unrecorded first Internet Protocol address, its historical attack count is usually unknown, but it can be estimated by analyzing the historical attack counts of similar Internet Protocol addresses.
[0128] The first threat index may be a quantitative indicator for evaluating the potential threat level of the first Internet Protocol address. The first threat index may be determined based on a variety of factors, such as attack frequency, number of successful attacks, sensitivity of the attack target, etc. The higher the threat index, the more likely the malicious behavior of the corresponding malicious Internet Protocol address is to cause serious damage. For a newly generated or unrecorded first Internet Protocol address, its threat level may be evaluated by analyzing the threat index of similar addresses.
[0129] Exemplarily, when the first Internet Protocol address attempts to perform an SQL injection attack on the trapping environment of an online website, and the first Internet Protocol address is not recorded in the threat database, at this time, the second Internet Protocol address that has participated in multiple SQL injection attacks can be searched in the threat database. Further, the first geographic information, the first historical attack number and the first threat index of the second Internet Protocol address can be obtained, and then cluster analysis is performed on the first geographic information, the first historical attack number and the first threat index respectively, and the category with the largest number is selected as the final cluster analysis result. For example, for the first geographic information, if the first geographic information of 27 second Internet Protocol addresses all comes from place A, the first geographic information of 2 second Internet Protocol addresses comes from place B, and the first geographic information of 1 second Internet Protocol address comes from place C, it can be seen that place A can be used as the cluster analysis result, that is, place A is used as the geographic information of the first Internet Protocol address. Similarly, the clustering process of the first historical attack number and the first threat index is the same as that of the first geographic information, which can be referred to above and will not be repeated here.
[0130] In some implementations, multiple first geographic information together with the attack information of the first Internet Protocol address may also be input into a pre-trained machine learning model, and cluster analysis and prediction may be performed on the first geographic information, thereby determining the geographic information of the first Internet Protocol address, thereby improving the efficiency and accuracy of clustering. Similarly, the clustering process of the first historical attack count and the first threat index is the same as that of the first geographic information, which may be referred to above and will not be described in detail here.
[0131] Furthermore, after determining the geographic information, historical attack times and threat index of the first Internet Protocol address through cluster analysis, the maliciousness of the first Internet Protocol address can be determined based on the historical attack times and threat index, and the geographic information and maliciousness can be used as historical indicator information of the first Internet Protocol address.
[0132] It can be understood that by performing cluster analysis on the relevant data of the second Internet Protocol address of the same type as the first Internet Protocol address, the historical indicator information of the first Internet Protocol address can be effectively predicted and determined, thereby improving the system's ability to evaluate and respond to unknown malicious behaviors, that is, it can improve the system's ability to identify and respond to potential network threats and improve the accuracy of analysis of malicious Internet Protocol addresses.
[0133] Step 104, performing feature fusion on the attack information according to the historical indicator information to obtain fused feature information of each malicious Internet Protocol address.
[0134] It is understandable that the historical indicator information can be feature-fused with the attack information to achieve the fusion of static information and dynamic information of malicious Internet Protocol addresses, so as to conduct a more accurate and comprehensive analysis of malicious Internet Protocol addresses.
[0135] The fused feature information may be feature information obtained by supplementing the attack information with historical indicator information.
[0136] In some implementations, when the attack information is supplemented according to the historical indicator information, the historical indicator information and the attack information may be arranged and spliced in a preset order to obtain fused feature information.
[0137] Exemplarily, the historical indicator information and attack information may be classified and stored to obtain fused feature information. For example, the access time, access target, and access method may be classified as access features, the attack type, attack target, attack time, CWE, and CVE may be classified as behavior features, and the geographic location and maliciousness may be classified as intelligence features.
[0138] Through the above method, the dynamic information and static information of malicious Internet Protocol addresses from different sources can be fully integrated to facilitate a more in-depth analysis of the malicious Internet Protocol addresses in the future.
[0139] Step 105 , based on the multiple fusion feature information corresponding to the multiple malicious Internet Protocol addresses, respectively analyze the attack attributes of the multiple malicious Internet Protocol addresses in each feature dimension to obtain the malicious Internet Protocol address analysis results in each feature dimension.
[0140] It is understandable that in order to fully explore potential attack methods and attack intentions, multiple malicious Internet Protocol addresses can be analyzed and counted in different feature dimensions to improve the efficiency and accuracy of the analysis of malicious Internet Protocol addresses.
[0141] Among them, the feature dimension can be a feature considered when analyzing malicious Internet Protocol addresses. The feature dimension can include access features such as the time, target, and method of access of the malicious Internet Protocol address to the trapping environment, and each access feature can be a feature dimension; the feature dimension can also include the attack type, target, and time of the malicious Internet Protocol address to the trapping environment, and each behavior feature can be a feature dimension. The feature dimension can also be geographic information and maliciousness, etc. According to each feature dimension, each malicious Internet Protocol address can be summarized to achieve analysis of malicious Internet Protocol addresses in different dimensions.
[0142] The attack attribute may be a behavior characteristic exhibited by multiple malicious Internet Protocol addresses.
[0143] The malicious Internet Protocol address analysis result may be a comprehensive analysis of all malicious Internet Protocol addresses that attack the entrapped environment, or an analysis of all malicious Internet Protocol addresses that attack the entrapped environment under different feature dimensions. For example, the malicious Internet Protocol address analysis result may be the number of malicious Internet Protocol addresses under each dimension, and so on.
[0144] It can be understood that by analyzing malicious Internet Protocol addresses under various feature dimensions, the attack attributes of malicious Internet Protocol addresses can be effectively analyzed, such as the attack preferences and attack types of malicious Internet Protocol addresses, so as to effectively help technical personnel make corresponding protection decisions.
[0145] In some embodiments, in order to perform different dimensional analysis and statistics on multiple malicious Internet Protocol addresses and comprehensively explore potential attack methods and attack intentions, multiple malicious Internet Protocol addresses may be statistically analyzed through multiple feature dimensions to discover the common attack characteristics of most malicious Internet Protocol addresses based on the statistical analysis results. For example, step 105 may include:
[0146] (105.1) Obtaining a target time period and corresponding feature dimensions for malicious Internet Protocol address analysis;
[0147] (105.2) determining multiple fusion feature information of multiple malicious Internet Protocol addresses corresponding to the feature dimension in the target time period;
[0148] (105.3) for each feature dimension, extracting multiple target features corresponding to the feature dimension from multiple fused feature information corresponding to multiple malicious Internet Protocol addresses;
[0149] (105.4) Analyze the attack attributes of multiple malicious Internet Protocol addresses based on multiple target features to obtain malicious Internet Protocol address analysis results corresponding to each feature dimension.
[0150] The target time period may be a specific time range for malicious Internet Protocol address analysis, such as the time period from when the trapping environment is turned on to the current time, or the time period from when the malicious Internet Protocol address starts to launch an attack to the current time, and so on.
[0151] The target feature may be a feature extracted from multiple fused feature information of multiple malicious Internet Protocol addresses in a target time period according to a preset dimension. For example, malicious Internet Protocol address 1, malicious Internet Protocol address 2, and malicious Internet Protocol address 3 that attack the trapping environment may be determined between 12:00 and 16:00, and then the target feature may be extracted from the fused feature information of malicious Internet Protocol address 1, malicious Internet Protocol address 2, and malicious Internet Protocol address 3 according to dimension 1.
[0152] For example, if the feature dimensions are the same C segment analysis, geographic location analysis, attack type analysis, and attack target analysis. For the same C segment analysis, multiple malicious Internet Protocol addresses can be grouped in the same C segment to mine malicious Internet Protocol addresses from the same attacker or attack organization. After multiple malicious Internet Protocol addresses are grouped in the same C segment, the number of malicious Internet Protocol addresses under different C segments, access targets, access times, attack targets, attack times, attack types, etc. can be counted, and the statistical results are used as the malicious Internet Protocol address analysis results under the feature dimension of the same C segment analysis.
[0153] For geographic location analysis, multiple malicious Internet Protocol addresses can be grouped according to their geographic locations to count the geographic location distribution information of malicious Internet Protocol addresses. After multiple malicious Internet Protocol addresses are grouped with the same geographic location, the number of malicious Internet Protocol addresses in different geographic locations, access targets, access times, attack targets, attack times, attack types, etc. can be counted, and the statistical results are used as the malicious Internet Protocol address analysis results under the characteristic dimension of the geographic location analysis.
[0154] For attack type analysis, multiple malicious Internet Protocol addresses can be grouped according to their attack types to collect statistics on the attack type distribution information of the malicious Internet Protocol addresses. After multiple malicious Internet Protocol addresses are grouped with the same attack type, the number of malicious Internet Protocol addresses under different attack types, access targets, access times, attack targets, attack times, etc. can be counted, and the statistical results can be used as the malicious Internet Protocol address analysis results under the characteristic dimension of the attack type analysis.
[0155] For attack target analysis, multiple malicious Internet Protocol addresses can be grouped according to their attack targets to count the attack target distribution information of the malicious Internet Protocol addresses. After multiple malicious Internet Protocol addresses are grouped with the same attack target, the number of malicious Internet Protocol addresses under different attack targets, access targets, access times, attack targets, attack times, etc. can be counted, and the statistical results are used as the malicious Internet Protocol address analysis results under the feature dimension of the attack target analysis.
[0156] The malicious Internet Protocol addresses that launch attacks can be counted and analyzed in more detailed manner under multiple feature dimensions to help identify the same source or organization, understand the geographical distribution of malicious Internet Protocol addresses, the distribution of attack types, and the distribution of attack targets, thereby providing a scientific basis for formulating targeted security protection strategies.
[0157] It is understandable that in order to quickly analyze the distribution of each malicious Internet Protocol address in each feature dimension, malicious Internet Protocol addresses with the same attack attributes can be grouped in each feature dimension. For example, (105.4) may include:
[0158] (105.4.1) grouping multiple target features to obtain at least one feature group corresponding to the feature dimension;
[0159] (105.4.2) determining a first target feature based on the number of target features in each feature group;
[0160] (105.4.3) Based on the multiple first target features corresponding to the multiple feature dimensions, the malicious Internet Protocol address analysis results corresponding to each feature dimension are obtained.
[0161] The feature grouping may be the result of grouping malicious Internet Protocol addresses according to attribute differences under each feature dimension.
[0162] Among them, the first target feature can be a feature group that ranks first according to the number of malicious Internet Protocol addresses in the feature dimension.
[0163] For example, in the case where the feature dimension is geographic location, if there are 8 malicious Internet Protocol addresses, namely addresses 1 to 8, and their specific corresponding geographic locations are: address 1 corresponds to geographic location A, address 2 corresponds to geographic location A, address 3 corresponds to geographic location B, address 4 corresponds to geographic location C, address 5 corresponds to geographic location B, address 6 corresponds to geographic location A, address 7 corresponds to geographic location A, and address 8 corresponds to geographic location A, then three feature groups are obtained, namely geographic location A, geographic location B and geographic location C.
[0164] It can be understood that since one malicious Internet Protocol address corresponds to one feature dimension, the number of malicious Internet Protocol addresses is also the number of target features. It can be seen that the number of target features in geographic location A is 5, the number of target features in geographic location B is 2, and the number of target features in geographic location C is 1. Therefore, geographic location A has the largest number of target features, and geographic location A can be determined as the first target feature.
[0165] Exemplarily, the malicious Internet protocol address analysis results corresponding to each feature dimension can be obtained according to the multiple first target features corresponding to the multiple feature dimensions. For example, for the same C segment analysis, the attack organization A is selected as the first target feature, for the geographic location analysis, the geographic location A is selected as the first target feature, for the attack type analysis, SQL injection is selected as the first target feature, for the attack target analysis, web page A is selected as the first target feature, and so on. Then, the malicious Internet protocol analysis results are generated according to the multiple first target features.
[0166] Furthermore, the target feature with the largest number in each feature group can be determined as the first target feature, the target feature with the second largest number in each feature group can be determined as the second target feature, and the target feature with the third largest number in each feature group can be determined as the third target feature. In the malicious Internet Protocol address analysis results, the first target feature, the second target feature and the third target feature can be displayed in descending order of quantity.
[0167] Please follow Figure 3 , for example, will be combined Figure 3 The overall process of this application is analyzed. First, a trapping environment can be built according to the business type, and after the malicious Internet Protocol address launches an attack on the trapping environment, the access log and attack behavior record of the malicious Internet Protocol address can be obtained, and multiple access features and behavior features of the malicious Internet Protocol address can be extracted based on the access log and attack behavior record. Afterwards, the historical indicator information corresponding to the malicious Internet Protocol address is searched in the threat database according to the malicious Internet Protocol address, such as geographic information, malicious degree, etc., and the attack information is supplemented based on the historical indicator information to obtain fusion feature information, thereby obtaining more comprehensive relevant information about the malicious Internet Protocol address. In addition, when the historical indicator information of a malicious Internet Protocol address cannot be queried in the threat database, the malicious Internet Protocol address can be marked, and the historical indicator information of the marked malicious Internet Protocol address can be predicted based on the historical indicator information of similar malicious Internet Protocol addresses as the malicious Internet Protocol address.
[0168] Furthermore, after obtaining multiple feature dimensions corresponding to multiple malicious Internet Protocol addresses, the malicious Internet Protocol addresses can be analyzed under multiple feature dimensions, thereby performing analysis and statistics of the multiple malicious Internet Protocol addresses in different dimensions to comprehensively explore potential attack methods and attack intentions.
[0169] The embodiment of the present application builds a trapping environment for capturing malicious attack behaviors and enables the trapping environment; determines the malicious Internet Protocol address that launches a malicious attack on the trapping environment, and obtains the attack information of each malicious Internet Protocol address from the trapping environment; for each malicious Internet Protocol address, queries the historical indicator information of the malicious Internet Protocol address from a pre-set threat database; performs feature fusion on the attack information according to the historical indicator information to obtain the fusion feature information of each malicious Internet Protocol address; based on the multiple fusion feature information corresponding to the multiple malicious Internet Protocol addresses, analyzes the attack attributes of the multiple malicious Internet Protocol addresses under each feature dimension, and obtains the analysis results of the malicious Internet Protocol addresses under each feature dimension. In this way, malicious Internet Protocol addresses can be actively attracted by building a trapping environment, and there is no need to screen based on a large amount of traffic data, thereby improving the efficiency of malicious Internet Protocol address analysis. In addition, the present application can also combine the attack information of the malicious Internet Protocol address when attacking the trapping environment obtained in real time with the historical indicator information of the malicious Internet Protocol address set in advance, thereby realizing a comprehensive analysis of malicious Internet Protocol addresses in multiple feature dimensions, thereby improving the accuracy of malicious Internet Protocol address analysis. In summary, the present application can improve the efficiency and accuracy of malicious Internet Protocol address analysis.
[0170] See also Figure 4 The embodiment of the present application further provides a malicious Internet Protocol address analysis device, which can implement the above-mentioned malicious Internet Protocol address analysis method, and the malicious Internet Protocol address analysis device includes:
[0171] Activate module 41, used for setting up a trapping environment for capturing malicious attack behaviors, and activate the trapping environment;
[0172] An acquisition module 42, for determining a malicious Internet Protocol address that initiates a malicious attack on the entrapped environment, and acquiring attack information of each malicious Internet Protocol address from the entrapped environment;
[0173] A query module 43, for querying historical indicator information of malicious Internet Protocol addresses from a preset threat database for each malicious Internet Protocol address;
[0174] A fusion module 44 is used to perform feature fusion on the attack information according to the historical indicator information to obtain fusion feature information of each malicious Internet protocol address;
[0175] The analysis module 45 is used to analyze the attack attributes of the multiple malicious Internet Protocol addresses in each feature dimension based on the multiple fused feature information corresponding to the multiple malicious Internet Protocol addresses, and obtain the malicious Internet Protocol address analysis results in each feature dimension.
[0176] The specific implementation of the malicious Internet Protocol address analysis device is basically the same as the specific implementation of the malicious Internet Protocol address analysis method described above, and will not be repeated here. Under the premise of meeting the requirements of the embodiment of this application, the malicious Internet Protocol address analysis device can also be provided with other functional modules to implement the malicious Internet Protocol address analysis method in the above embodiment.
[0177] The embodiment of the present application also provides a computer device, the computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the above-mentioned malicious Internet protocol address analysis method when executing the computer program. The computer device can be any intelligent terminal including a tablet computer, a car computer, etc.
[0178] See also Figure 5 , Figure 5 The hardware structure of a computer device according to another embodiment is shown, and the computer device includes:
[0179] The processor 51 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;
[0180] The memory 52 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 52 can store an operating system and other application programs. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 52, and the processor 51 calls and executes the malicious Internet protocol address analysis method of the embodiment of this application;
[0181] Input / output interface 53, used to implement information input and output;
[0182] The communication interface 54 is used to realize the communication interaction between the device and other devices. The communication can be realized through a wired manner (such as USB, network cable, etc.) or a wireless manner (such as mobile network, WI FI, Bluetooth, etc.);
[0183] A bus 55 that transmits information between the various components of the device (e.g., the processor 51, the memory 52, the input / output interface 53, and the communication interface 54);
[0184] The processor 51 , the memory 52 , the input / output interface 53 and the communication interface 54 are connected to each other in communication within the device via a bus 55 .
[0185] An embodiment of the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the above-mentioned malicious Internet Protocol address analysis method is implemented.
[0186] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0187] The embodiments described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0188] Those skilled in the art will appreciate that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.
[0189] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0190] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.
[0191] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0192] It should be understood that in the present application, "at least one (item)" and "several" refer to one or more, and "plurality" refers to two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0193] In the several embodiments provided in the present application, it should be understood that the disclosed systems and methods can be implemented in other ways. For example, the system embodiments described above are merely schematic. For example, the division of the above units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0194] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0195] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0196] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including multiple instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store programs.
[0197] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but the scope of the rights of the present invention is not limited thereto. Any modification, equivalent substitution and improvement made by a person skilled in the art without departing from the scope and essence of the present invention should be within the scope of the rights of the present invention.
Claims
1. A method for analyzing malicious Internet protocol addresses, characterized in that: The method comprises: Building a trapping environment for capturing malicious attack behaviors, and activating the trapping environment; Determining malicious Internet Protocol addresses that initiate malicious attacks on the entrapped environment, and obtaining attack information of each malicious Internet Protocol address from the entrapped environment; For each of the malicious Internet Protocol addresses, querying historical indicator information of the malicious Internet Protocol address from a preset threat database; Performing feature fusion on the attack information according to the historical indicator information to obtain fusion feature information of each malicious Internet Protocol address; Based on the multiple fusion feature information corresponding to the multiple malicious Internet Protocol addresses, attack attributes of the multiple malicious Internet Protocol addresses are analyzed in each feature dimension to obtain malicious Internet Protocol address analysis results in each feature dimension.
2. The malicious Internet protocol address analysis method according to claim 1, characterized in that: The acquiring the attack information of each malicious Internet Protocol address from the trapping environment includes: Based on the trapping environment, determining the access log and attack behavior record of each malicious Internet Protocol address in the trapping environment; For each of the malicious Internet Protocol addresses, extract multiple access features of the malicious Internet Protocol address from the access log, and extract multiple behavior features of the malicious Internet Protocol address from the attack behavior record; wherein the access features include the access time, access target and access method of the malicious Internet Protocol address to the entrapped environment, and the behavior features include the attack type, attack target and attack time of the malicious Internet Protocol address to the entrapped environment; The plurality of access features and the plurality of behavior features are concatenated to obtain attack information corresponding to the malicious Internet Protocol address.
3. The malicious Internet protocol address analysis method according to claim 2, characterized in that: The step of combining the plurality of access features and the plurality of behavior features to obtain attack information corresponding to the malicious Internet Protocol address includes: Obtaining a splicing order set for the access feature and the behavior feature; For each malicious Internet Protocol address, multiple access features and multiple behavior features are sequentially spliced in accordance with the splicing order to obtain attack information corresponding to the malicious Internet Protocol address.
4. The malicious Internet protocol address analysis method according to claim 1, characterized in that: The step of querying historical indicator information of each malicious Internet Protocol address from a preset threat database includes: For each malicious Internet Protocol address, query the geographic information, historical attack times and threat index of the malicious Internet Protocol address from a preset threat intelligence library; Based on the historical attack times and the threat index, the maliciousness level of the malicious Internet Protocol address is determined, and the geographic information and the maliciousness level are used as historical indicator information of the malicious Internet Protocol address.
5. The malicious Internet protocol address analysis method according to claim 4, characterized in that: The method of analyzing the attack attributes of the multiple malicious Internet Protocol addresses in each feature dimension based on the multiple fused feature information corresponding to the multiple malicious Internet Protocol addresses to obtain the malicious Internet Protocol address analysis results in each feature dimension includes: Obtain the target time period and corresponding feature dimensions for malicious Internet Protocol address analysis; Determine, in the target time period, a plurality of fused feature information of a plurality of malicious Internet Protocol addresses corresponding to the feature dimension; For each of the feature dimensions, extracting a plurality of target features corresponding to the feature dimension from a plurality of the fused feature information corresponding to a plurality of malicious Internet Protocol addresses; Based on the multiple target features, attack attributes of the multiple malicious Internet Protocol addresses are analyzed to obtain malicious Internet Protocol address analysis results corresponding to each feature dimension.
6. The malicious Internet protocol address analysis method according to claim 5, characterized in that: The analyzing the attack attributes of the plurality of malicious Internet Protocol addresses based on the plurality of target features to obtain malicious Internet Protocol address analysis results corresponding to each of the feature dimensions includes: Grouping the plurality of target features to obtain at least one feature group corresponding to the feature dimension; Determine a first target feature according to the number of the target features in each of the feature groups; According to the multiple first target features corresponding to the multiple feature dimensions, the malicious Internet Protocol address analysis results corresponding to each of the feature dimensions are obtained.
7. The malicious Internet protocol address analysis method according to claim 1, characterized in that: The method further comprises: When querying the historical indicator information of the malicious Internet Protocol address from a preset threat database for each malicious Internet Protocol address fails, marking the malicious Internet Protocol address to obtain a first Internet Protocol address; Acquire a plurality of second Internet Protocol addresses of the same category as the first Internet Protocol address from the threat database, and determine first geographic information, a first historical attack count, and a first threat index of each of the second Internet Protocol addresses; Cluster analysis is performed on the plurality of first geographic information, the plurality of first historical attack times and the plurality of first threat indexes respectively to obtain historical indicator information of the first Internet Protocol address.
8. The malicious Internet protocol address analysis method according to claim 1, characterized in that: The said setting up of a trapping environment for capturing malicious attack behaviors includes: Get the current business type; According to the business type, the scenario category of the trapping environment that needs to be built is determined, and the corresponding trapping environment is simulated based on the scenario category.
9. A malicious Internet protocol address analysis device, characterized in that: The device comprises: An activation module is used to build a trapping environment for capturing malicious attack behaviors and activate the trapping environment; An acquisition module, used for determining a malicious Internet Protocol address that launches a malicious attack on the trapping environment, and acquiring attack information of each malicious Internet Protocol address from the trapping environment; A query module, configured to query historical indicator information of each malicious Internet Protocol address from a preset threat database; A fusion module, used to perform feature fusion on the attack information according to the historical indicator information to obtain fusion feature information of each malicious Internet Protocol address; The analysis module is used to analyze the attack attributes of the multiple malicious Internet Protocol addresses in each feature dimension based on the multiple fused feature information corresponding to the multiple malicious Internet Protocol addresses, and obtain the malicious Internet Protocol address analysis results in each feature dimension.
10. A computer device, characterized in that: The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the malicious Internet Protocol address analysis method according to any one of claims 1 to 8 when executing the computer program.
11. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the malicious Internet Protocol address analysis method described in any one of claims 1 to 8 is implemented.
Citation Information
Cited By
Address security assessment model training method and device, equipment and medium
CN119484152A
Network protocol address risk identification and processing method, device and system
CN122394966A
Method, device and system for risk identification and processing of network protocol addresses
CN122394966B
