A network security analysis method and system based on big data
By obtaining network security indicators and abnormal behavior data, calculating the weight coefficient for security analysis, the problem of inefficiency in the existing technology that requires model establishment is solved, and efficient network security analysis is achieved.
Patent Information
- Application Number
- CN202310991462.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-08
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2043-08-08
AI Technical Summary
The existing network security analysis methods require the establishment of a model in advance and collect data based on the protocols and IP addresses of different communication devices, resulting in low analysis efficiency.
By obtaining the basic network configuration, generating network security indicators, obtaining network interaction information and performing big data technology screening, sending it to the cloud server to obtain abnormal behavior data, calculating weight coefficients for security analysis, and directly conducting analysis based on data, avoiding the step of model building.
It improves the efficiency of network security analysis and realizes security analysis directly based on network communication acquisition, without the need to establish a model, which significantly improves the analysis speed and accuracy.
Smart Images

Figure CN117097521B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electronic information, and in particular to a network security analysis method and system based on big data. Background Art
[0002] In recent years, with the progress of society and the improvement of Internet technology, it has become more and more convenient to obtain information. Now that the Internet is very developed, the related protection technologies for information security and network security have also become a hot research field. With the advent of the era of information explosion, big data has penetrated into many industries and business functional areas today and has become an important production factor.
[0003] The existing network security analysis method generally collects network data from the device and then uses the corresponding learning model to perform risk assessment to obtain the corresponding network security status. However, for the existing solutions, the parameters of network communication settings such as communication protocols and IP addresses for different communication devices are different. Therefore, before conducting security analysis, it is necessary to establish a corresponding model in advance, and then collect corresponding data based on the type of model. It is impossible to directly perform corresponding analysis based on the data, so the analysis efficiency is low.
[0004] In view of the above technologies, finding a network security analysis method based on big data with higher analysis efficiency is an urgent problem to be solved by technicians in this field. Summary of the invention
[0005] The purpose of the present invention is to provide a network security analysis method and system based on big data, which can solve the different parameters of network communication settings such as communication protocols and IP addresses for different communication devices. Therefore, before conducting a security analysis, it is necessary to establish a corresponding model in advance, and then perform corresponding data collection based on the type of model. It is impossible to perform corresponding analysis directly based on the data, so the analysis efficiency is low.
[0006] The present invention is achieved in that:
[0007] In a first aspect, an embodiment of the present application provides a network security analysis method based on big data, comprising the following steps:
[0008] Obtaining basic network configuration and generating corresponding network security indicators based on the basic network configuration, wherein the basic network configuration includes an IP address and a network communication protocol;
[0009] Acquire network interaction information generated by network communication, and filter the network interaction information according to preset standards based on big data technology, wherein the network interaction information includes metadata, network sessions, data flows, and corresponding data packets;
[0010] Sending the filtered network interaction information to a cloud server, and acquiring abnormal behavior data sent by the cloud server, wherein the abnormal behavior data is data obtained by matching and docking the network interaction information with the cloud server;
[0011] A corresponding weight coefficient is calculated based on the network security index and the abnormal behavior data, and a corresponding security analysis is performed on the screened network interaction information based on the weight coefficient to obtain a corresponding security analysis result.
[0012] Based on the first aspect, generating a corresponding network security indicator based on the basic network configuration includes:
[0013] The obtained IP address is layered based on the service information in the network communication protocol to obtain multiple layers, and the corresponding address entropy value in each layer is calculated and obtained;
[0014] The obtained address entropy value is converted to generate the network security indicator.
[0015] Based on the first aspect, the filtering of the network interaction information according to preset standards based on big data technology includes:
[0016] Use big data technology to distribute and process network interaction information, and obtain the standard length range of the corresponding data packet based on sample information;
[0017] Determining whether the data packets in each of the network interaction information after distributed processing are within the standard length range;
[0018] If so, determining that the network interaction information meets a preset standard, and outputting the corresponding network interaction information;
[0019] If not, it is determined that the network interaction information is discrete data, and the corresponding network interaction information is filtered out.
[0020] Based on the first aspect, sending the filtered network interaction information to a cloud server and obtaining abnormal behavior data sent by the cloud server includes:
[0021] The cloud server group classifies the network interaction information according to the metadata and labels the network conversation to obtain corresponding keywords;
[0022] A signal corresponding to the abnormal behavior is obtained based on the keyword and matched with the data stream to obtain the abnormal behavior data.
[0023] Based on the first aspect, before acquiring the network interaction information generated by the network communication and screening the network interaction information according to a preset standard based on the big data technology, the method further includes:
[0024] Capturing the log generated by the communication port of the network communication according to the basic network configuration, and judging whether the communication status of the communication port meets the preset requirements based on the log;
[0025] If yes, then entering the step of obtaining the network interaction information generated by the network communication, and screening the network interaction information according to the preset standard based on the big data technology;
[0026] If not, it is determined that the communication state of the communication port is unstable, and the communication port is adjusted based on the log.
[0027] In a second aspect, the present application also provides a network security analysis system based on big data, comprising:
[0028] A network security indicator module, used to obtain basic network configuration and generate corresponding network security indicators based on the basic network configuration, wherein the basic network configuration includes an IP address and a network communication protocol;
[0029] A network interaction information module is used to obtain network interaction information generated by network communication and filter the network interaction information according to preset standards based on big data technology. The network interaction information includes metadata, network sessions, data flows and corresponding data packets.
[0030] An abnormal behavior data module, used to send the filtered network interaction information to a cloud server, and obtain abnormal behavior data sent by the cloud server, wherein the abnormal behavior data is data obtained by matching and docking the network interaction information with the cloud server;
[0031] The security analysis module is used to calculate the corresponding weight coefficient based on the network security index and the abnormal behavior data, and perform corresponding security analysis on the screened network interaction information based on the weight coefficient to obtain the corresponding security analysis result.
[0032] In a third aspect, the present application provides an electronic device, comprising a memory for storing one or more programs; a processor; when the one or more programs are executed by the processor, the method as described in any one of the first aspects is implemented.
[0033] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method as described in any one of the above-mentioned first aspects.
[0034] Compared with the prior art, the present invention has at least the following advantages or beneficial effects:
[0035] The present application provides a network security analysis method based on big data, which obtains the basic network configuration, generates corresponding network security indicators based on the basic network configuration, obtains network interaction information generated by network communication, and filters the network interaction information according to preset standards based on big data technology, sends the filtered network interaction information to the cloud server, and obtains abnormal behavior data sent by the cloud server. The corresponding weight coefficient is calculated based on the network security indicators and abnormal behavior data, and the corresponding security analysis is performed on the filtered network interaction information based on the weight coefficient to obtain the corresponding security analysis result. Compared with previous solutions, since the method provided by the present application can realize the corresponding security analysis directly based on the interaction information collected by network communication through big data technology and cloud servers, since there is no need to establish a model, and the corresponding basic network configuration is directly used to generate the weight coefficient, the efficiency of network security analysis is further improved.
[0036] The present invention also provides a network security analysis system based on big data, an electronic device and a computer-readable storage medium. Since the above-mentioned network security analysis system based on big data, the electronic device and the computer-readable storage medium correspond to the above-mentioned network security analysis method based on big data, the beneficial effects are the same as above. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0038] Figure 1 A flowchart of a network security analysis method based on big data provided in an embodiment of the present application;
[0039] Figure 2 A flowchart of a network security analysis method based on big data provided by another embodiment of the present application;
[0040] Figure 3 A structural diagram of a network security analysis system based on big data provided in an embodiment of the present application;
[0041] Figure 4 A structural block diagram of an electronic device provided in an embodiment of the present application.
[0042] Icon: 1. Network security indicator module; 2. Network interaction information module; 3. Abnormal behavior data module; 4. Security analysis module; 101. Memory; 102. Processor; 103. Communication interface. DETAILED DESCRIPTION
[0043] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations.
[0044] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0045] In conjunction with the accompanying drawings, some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0046] Example
[0047] Figure 1 A flowchart of a network security analysis method based on big data provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the network security analysis method based on big data includes the following steps:
[0048] S10: Obtain basic network configuration, and generate corresponding network security indicators based on the basic network configuration.
[0049] It should be noted that the basic network configuration includes an IP address and a network communication protocol. In this embodiment, the specific network communication protocol and the corresponding IP address content are not limited. It can be understood that this solution can detect multiple devices at the same time, so the IP addresses obtained in the basic network configuration can be multiple. In this embodiment, the specific method for generating network security indicators is not limited. It can be understood that the corresponding network security indicators can be preliminarily obtained based on the corresponding network communication protocol.
[0050] S11: Acquire network interaction information generated by network communication, and filter the network interaction information according to preset standards based on big data technology.
[0051] It should be noted that network interaction information includes metadata, network sessions, data streams and corresponding data packets. It can be understood that network communication is carried out through communication ports, so specific data collection is also collected through communication ports. The method for screening the content of network interaction information based on big data technology is not specifically limited in this application, so the content of the corresponding preset standards is not limited. It can be understood that the corresponding standards can be further limitations on the content of network sessions or data packets, such as keywords contained in network sessions and standards for the corresponding data packet content, etc.
[0052] S12: Send the filtered network interaction information to the cloud server, and obtain the abnormal behavior data sent by the cloud server;
[0053] It should be noted that, in this embodiment, the specific method for generating abnormal behavior data is not limited. It can be understood that the corresponding abnormal behavior data is generated by the corresponding cloud server processing the network interaction information.
[0054] S13: Calculate corresponding weight coefficients based on network security indicators and abnormal behavior data, and perform corresponding security analysis on the screened network interaction information based on the weight coefficients to obtain corresponding security analysis results.
[0055] It should be noted that the specific method of calculating the weight coefficient is not specifically limited in this embodiment. It can be understood that for the weight data mentioned above, it is the weight content corresponding to the different abnormal behaviors caused by different network interaction information in the network security index, which can be expressed accordingly by establishing a corresponding function.
[0056] The present embodiment provides a network security analysis method based on big data, which obtains the basic network configuration, generates corresponding network security indicators based on the basic network configuration, obtains network interaction information generated by network communication, and filters the network interaction information according to preset standards based on big data technology, sends the filtered network interaction information to the cloud server, and obtains abnormal behavior data sent by the cloud server. The corresponding weight coefficient is calculated based on the network security indicators and abnormal behavior data, and the corresponding security analysis is performed on the filtered network interaction information based on the weight coefficient to obtain the corresponding security analysis result. Compared with previous solutions, since the method provided by the present application can realize the corresponding security analysis directly based on the interaction information collected by network communication through big data technology and cloud servers, since there is no need to establish a model, and the corresponding basic network configuration is directly used to generate the weight coefficient, the efficiency of network security analysis is further improved.
[0057] The above embodiments do not limit how to establish the corresponding network security indicators. For example, in some embodiments of the present application, generating the corresponding network security indicators based on the basic network configuration includes:
[0058] The obtained IP addresses are layered based on the service information in the network communication protocol to obtain multiple levels, and the corresponding address entropy values in each level are calculated;
[0059] The obtained address entropy value is converted to generate the corresponding network security indicator.
[0060] It should be noted that in this embodiment, by limiting the stratification based on the corresponding IP address and acquiring the corresponding network security indicators based on the corresponding entropy value, in order to facilitate the collection, the generally adopted network communication protocol is through the SYSLOG protocol and the Flow protocol. In the calculation process, global calculation and calculation of each level can be used separately, and the corresponding deviation value can be obtained, so as to further obtain the corresponding security indicator, so as to locate the abnormality by comparing the entropy values of the addresses of each level. Accurate and efficient security situation analysis is achieved.
[0061] The above embodiments do not limit the specific method for screening network interaction information. Figure 2 A method for screening network interaction information provided in an embodiment of the present application is illustratively, in some embodiments of the present application, such as Figure 2 As shown, the network interaction information is screened according to preset standards based on big data technology, including:
[0062] S11-1: Use big data technology to perform distributed storage and processing on network interaction information, and obtain the standard length range of the corresponding data packet based on the sample information;
[0063] S11-2: Determine whether the data packets in the network interaction information after distributed processing are within the standard length range. If so, proceed to S11-3; if not, proceed to S11-4;
[0064] S11-3: Determine that the network interaction information meets a preset standard, and output the corresponding network interaction information;
[0065] S11-4: Determine that the network interaction information is discrete data, and filter out the corresponding network interaction information.
[0066] In this embodiment, a corresponding screening scheme is defined. By judging the length of the corresponding data packet, it is determined whether the corresponding network interaction information is discrete data, and the corresponding discrete data is filtered out, thereby further improving the security analysis efficiency of the corresponding scheme.
[0067] The above embodiments do not limit the specific method for generating abnormal behavior data in the cloud server. For example, in some embodiments of the present application, sending the filtered network interaction information to the cloud server and obtaining the abnormal behavior data sent by the cloud server include:
[0068] The cloud server group classifies the network interaction information according to the metadata and annotates the network conversation to obtain the corresponding keywords;
[0069] Based on the key words, the signal corresponding to the abnormal behavior is obtained and matched with the data stream to obtain the abnormal behavior data.
[0070] It should be understood that the above-mentioned corresponding abnormal behavior signal has been generated in advance in the cloud server, so the abnormal behavior information is based on the above-mentioned abnormal behavior information.
[0071] Considering the influence of the corresponding network communication state on the present solution, illustratively, in some embodiments of the present application, before obtaining the network interaction information generated by the network communication and filtering the network interaction information according to the preset criteria based on the big data technology, it also includes:
[0072] Capture the logs generated by the communication port of the network communication according to the basic network configuration, and determine whether the communication status of the communication port meets the preset requirements based on the logs;
[0073] If yes, then enter the step of obtaining network interaction information generated by network communication, and screening the network interaction information according to preset standards based on big data technology;
[0074] If not, it is determined that the communication state of the communication port is unstable, and the communication port is adjusted based on the log.
[0075] In this embodiment, it is defined that the communication status of the corresponding communication port is detected in advance through logs, so as to ensure the stability of communication, so that the detection results can be generated more efficiently and more accurately, thereby preventing inaccurate detection results caused by network reasons of the communication port.
[0076] Based on the same inventive concept, Figure 3 A structural diagram of a network security analysis system based on big data provided in an embodiment of the present application, such as Figure 3 As shown, the system includes:
[0077] The network security indicator module 1 is used to obtain the basic network configuration and generate corresponding network security indicators based on the basic network configuration. The basic network configuration includes IP address and network communication protocol;
[0078] Network interaction information module 2, used to obtain network interaction information generated by network communication, and filter the network interaction information according to preset standards based on big data technology, the network interaction information includes metadata, network sessions, data flows and corresponding data packets;
[0079] Abnormal behavior data module 3, used to send the filtered network interaction information to the cloud server, and obtain the abnormal behavior data sent by the cloud server, the abnormal behavior data is the data obtained by matching and docking the network interaction information through the cloud server;
[0080] The security analysis module 4 is used to calculate the corresponding weight coefficient based on the network security index and the abnormal behavior data, and perform corresponding security analysis on the screened network interaction information based on the weight coefficient to obtain the corresponding security analysis result.
[0081] For the specific implementation process of the above system and the corresponding beneficial effects, please refer to the network security analysis method based on big data provided in the embodiment of the present application, which will not be repeated here.
[0082] See also Figure 4 , Figure 4 A block diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device includes a memory 101, a processor 102 and a communication interface 103, and the memory 101, the processor 102 and the communication interface 103 are electrically connected to each other directly or indirectly to realize data transmission or interaction. For example, these components can be electrically connected to each other through one or more communication buses or signal lines. The memory 101 can be used to store software programs and modules, such as program instructions / modules corresponding to a network security analysis system based on big data provided in an embodiment of the present application, and the processor 102 executes various functional applications and data processing by executing software programs and modules stored in the memory 101. The communication interface 103 can be used for signaling or data communication with other node devices.
[0083] Among them, the memory 101 can be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable read-only memory (EEPROM), etc.
[0084] The processor 102 may be an integrated circuit chip with signal processing capability. The processor 102 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0085] Understandably, Figure 4 The structure shown is for illustration only. The electronic device may also include Figure 4 More or fewer components as shown, or with Figure 4 Different configurations are shown. Figure 4 Each component shown in the figure can be implemented by hardware, software or a combination thereof.
[0086] Finally, the present application also provides an embodiment corresponding to a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps recorded in the above method embodiment are implemented.
[0087] It is understandable that if the method in the above embodiment 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 to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.
[0088] In summary, the embodiments of the present application provide an electronic device and a computer-readable storage medium. The specific embodiments and corresponding beneficial effects are described in the above method section and will not be elaborated here.
[0089] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
[0090] It will be apparent to those skilled in the art that the present application is not limited to the details of the exemplary embodiments described above, and that the present application can be implemented in other specific forms without departing from the spirit or essential features of the present application. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the present application is defined by the appended claims rather than the above description, and it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims be included in the present application. Any reference numeral in a claim should not be considered as limiting the claim to which it relates.
Claims
1. A network security analysis method based on big data, It is characterized in that The following steps are involved: Obtaining basic network configuration and generating corresponding network security indicators based on the basic network configuration, wherein the basic network configuration includes an IP address and a network communication protocol; Acquire network interaction information generated by network communication, and filter the network interaction information according to preset standards based on big data technology, wherein the network interaction information includes metadata, network sessions, data flows, and corresponding data packets; Sending the filtered network interaction information to a cloud server, and acquiring abnormal behavior data sent by the cloud server, wherein the abnormal behavior data is data obtained by matching and docking the network interaction information with the cloud server; Calculating a corresponding weight coefficient based on the network security index and the abnormal behavior data, and performing a corresponding security analysis on the screened network interaction information based on the weight coefficient to obtain a corresponding security analysis result; Generating corresponding network security indicators based on the basic network configuration includes: The obtained IP address is layered based on the service information in the network communication protocol to obtain multiple layers, and the corresponding address entropy value in each layer is calculated and obtained; Converting the acquired address entropy value to generate the network security indicator; The screening of the network interaction information according to preset standards based on big data technology includes: Use big data technology to distribute and process network interaction information, and obtain the standard length range of the corresponding data packet based on sample information; Determining whether the data packets in each of the network interaction information after distributed processing are within the standard length range; If so, determining that the network interaction information meets a preset standard, and outputting the corresponding network interaction information; If not, it is determined that the network interaction information is discrete data, and the corresponding network interaction information is filtered out.
2. A network security analysis method based on big data as claimed in claim 1, It is characterized in that The step of sending the filtered network interaction information to a cloud server and obtaining abnormal behavior data sent by the cloud server includes: The cloud server group classifies the network interaction information according to the metadata and labels the network conversation to obtain corresponding keywords; A signal corresponding to the abnormal behavior is obtained based on the keyword and matched with the data stream to obtain the abnormal behavior data.
3. A network security analysis method based on big data as claimed in claim 1 or 2, It is characterized in that Before acquiring the network interaction information generated by the network communication and screening the network interaction information according to the preset standard based on the big data technology, the method further includes: Capturing the log generated by the communication port of the network communication according to the basic network configuration, and judging whether the communication status of the communication port meets the preset requirements based on the log; If yes, then entering the step of obtaining the network interaction information generated by the network communication, and screening the network interaction information according to the preset standard based on the big data technology; If not, it is determined that the communication state of the communication port is unstable, and the communication port is adjusted based on the log.
4. A network security analysis system based on big data, It is characterized in that include: A network security indicator module, used to obtain basic network configuration and generate corresponding network security indicators based on the basic network configuration, wherein the basic network configuration includes an IP address and a network communication protocol; A network interaction information module is used to obtain network interaction information generated by network communication and filter the network interaction information according to preset standards based on big data technology. The network interaction information includes metadata, network sessions, data flows and corresponding data packets. An abnormal behavior data module, used to send the filtered network interaction information to a cloud server, and obtain abnormal behavior data sent by the cloud server, wherein the abnormal behavior data is data obtained by matching and docking the network interaction information with the cloud server; A security analysis module, configured to calculate a corresponding weight coefficient based on the network security index and the abnormal behavior data, and perform a corresponding security analysis on the screened network interaction information based on the weight coefficient to obtain a corresponding security analysis result; Generating the corresponding network security index based on the basic network configuration includes: stratifying the obtained IP address based on the service information in the network communication protocol to obtain multiple levels, and calculating and obtaining the corresponding address entropy value in each level; converting the obtained address entropy value to generate the network security index; The screening of the network interaction information according to preset standards based on big data technology includes: using big data technology to distribute and process the network interaction information, and obtaining the standard length range of the corresponding data packet based on sample information; judging whether the data packet in each of the network interaction information after distributed processing is within the standard length range; if so, determining that the network interaction information meets the preset standard, and outputting the corresponding network interaction information; if not, determining that the network interaction information is discrete data, and filtering out the corresponding network interaction information.
5. An electronic device, It is characterized in that include: A memory for storing one or more programs; processor; When the one or more programs are executed by the processor, the method as claimed in claim 1 or 2 is implemented.
6. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the method as claimed in claim 1 or 2 is implemented.
Citation Information
Patent Citations
Network security situation analyzing method
CN104601604A
Scoring method and device for enterprise network safety situation awareness
CN110620696A
Network security monitoring method and device based on big data, equipment and storage medium
CN111092852A
Network overall security situation monitoring method and system, terminal and storage medium
CN111245819A
Blockchain payment processing method based on blockchain finance and blockchain payment platform
CN112070508A
Cited By
Network security analysis management system based on big data
CN120150988A
