Network security detection system based on data visualization
Through data visualization, the network security detection system solves the problems of incomplete data collection and high misjudgment rate in the existing technology, achieves accurate assessment and monitoring of network traffic and user behavior, and improves network security and response speed.
Patent Information
- Application Number
- CN202311702037.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-12
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2043-12-12
Smart Images

Figure CN117997586B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of network security detection, and in particular to a network security detection system based on data visualization. Background Art
[0002] With the rapid development and popularization of the Internet, network security issues have become increasingly prominent. Hacker attacks, malware, and data leaks have become major threats to businesses and individuals. In order to protect network systems from these threats, network security detection systems have become essential.
[0003] Traditional network security detection methods mainly rely on signature-based detection technology, which identifies and intercepts known threats by comparing known malicious code libraries. However, with the continuous mutation of malware and the emergence of new attack technologies, signature-based detection methods have become inadequate.
[0004] And the existing network security monitoring methods have the following problems:
[0005] Problem 1: When collecting various types of raw data related to network security, existing network security testing suffers from incomplete data acquisition and inconsistent data formats, which makes it impossible to accurately assess network security conditions;
[0006] Problem 2: When existing network security detection identifies and analyzes the network traffic status, there are problems with inaccurate data output and misjudgment, which leads to missed detection or false alarms of network security anomalies and affects the monitoring and feedback of network security status;
[0007] Question 3: It is difficult to accurately assess the security of user behavior during existing network security testing, resulting in the inability to ensure network security. Summary of the invention
[0008] The purpose of the present invention is to provide a network security detection system based on data visualization to solve the problems raised in the background technology.
[0009] The purpose of the present invention can be achieved through the following technical solutions: A network security detection system based on data visualization, comprising:
[0010] The data collection module is used to collect various types of raw data related to network security, including log files and user behavior information, and send the collected information to the feature data extraction module;
[0011] The feature data extraction module is used to perform data preprocessing on the log files in the collected raw data related to network security, thereby extracting network traffic data parameters related to network security and sending them to the database for storage;
[0012] The feature data extraction module is also used to perform data preprocessing on the user behavior information in the collected raw data related to network security, thereby extracting the user behavior data parameters related to network security and sending them to the database for storage;
[0013] The network traffic data detection module is used to identify and analyze the network security traffic status based on the output network traffic data parameters related to network security, and output the network traffic feature evaluation index and connection feature evaluation index accordingly, and send the two data to the network traffic security evaluation module;
[0014] The network traffic security assessment module is used to analyze and assess the abnormal state of the network based on the received network traffic characteristic assessment index and connection characteristic assessment index, and accordingly generate a positive abnormality signal or a false abnormality signal, and send it to the display terminal for visual explanation;
[0015] The network user behavior security assessment module is used to analyze the user behavior status of each user in the network based on the output user behavior data parameters related to network security, generate user behavior abnormality signals or user behavior normal signals, and send them to the display terminal for visual explanation.
[0016] Preferably, the data preprocessing of the log files in the collected original data related to network security is performed in the following specific processing manner:
[0017] Extract the network addresses of the sender and receiver of each data packet from the log file, thereby obtaining the source IP address and destination IP address of each data packet, and convert the source IP address and destination IP address of each captured data packet into a format that can be analyzed, that is, convert the source IP address and destination IP address of each data packet into a numerical form;
[0018] Extracting the transport layer port number of each data packet in the network protocol stack from the log file, thereby obtaining the port number of each data packet, and converting the port number of each captured data packet from type data to a numerical representation;
[0019] Extract the number of bytes of each data packet from the log file to obtain the data volume of each data packet. Standardize the data volume of each captured data packet, that is, linearly map the data volume of each data packet to the range of [0,1]. The specific processing process is: perform minimum-maximum standardization conversion on each data packet according to the set model: x' = (x-min) / (max-min), where x' is the standardized value, x is the original value, min is the minimum value of the original value, and max is the maximum value of the original value, thereby completing the standardization of the data volume of each data packet;
[0020] Extract the sending time and receiving time of each data packet from the log file, thereby obtaining the sending timestamp and receiving timestamp of each data packet, and convert the captured sending timestamp and receiving timestamp of each data packet into readable time. The specific conversion process is: first determine the corresponding value according to the unit of the sending timestamp and the receiving timestamp, then use the built-in function in the programming language to convert the sending timestamp and the receiving timestamp into a date and time format, and then format the date and time into a specific string format, thereby completing the conversion of the sending timestamp and the receiving timestamp into a readable time;
[0021] Extracting the actual data content carried in each data packet from the log file, wherein the actual data content carried is composed of the HTTP request amount and the file transfer amount, thereby obtaining the effective load of each data packet;
[0022] The network traffic data parameters related to network security are composed of the source IP address and destination IP address in numerical form, the port number in numerical representation form, the amount of data after normalization, the sending timestamp and receiving timestamp in readable time form, and the effective load.
[0023] Preferably, the identification and analysis of the network security traffic status is performed in the following specific analysis methods:
[0024] Based on the source IP address, target IP address, port number, and data volume in the network traffic data parameters related to network security, key feature parameters are extracted, and the key features include the inflow data volume, outflow data volume, and number of connections per second;
[0025] Set the monitoring period and divide it into several monitoring time points. Calculate the standard deviation of the three key characteristic parameters extracted at each monitoring time point in the monitoring period according to the set formula: , , , and thus the network inflow feedback value σ1 is obtained respectively i , outflow flow feedback value σ2 i , connection feedback value σ3 i , where lr ij It is expressed as the amount of inflow data per second of the corresponding data packet at each monitoring time point in the corresponding monitoring period, lc ij It is expressed as the outflow data volume of the corresponding data packet per second at each monitoring time point in the corresponding monitoring period, lk ij It is expressed as the number of connections per second of the corresponding data packet at each monitoring time point in the corresponding monitoring period, μ1 i It is expressed as the average value of the amount of data flowing into the corresponding data packet during the corresponding monitoring period, μ2 iIt is expressed as the average value of the outflow data volume of the corresponding data packet in the corresponding monitoring period, μ3 i It is represented by the average value of the number of connections of the corresponding data packet in the corresponding monitoring period, i is the number of the data packet, i=1, 2, 3...n1, j is the number of several monitoring time points divided in the corresponding monitoring period, j=1, 2, 3...n2, n1 and n2 are both positive integers;
[0026] Based on the output network's inflow flow feedback value and outflow flow feedback value, the two data are comprehensively analyzed according to the set data model: , thereby outputting the network's traffic feature evaluation index fcx, where a1 and a2 are represented as normalization factors;
[0027] Based on the output network connection feedback value, comprehensive analysis is performed according to the set data model: , thereby outputting the network's connection feature evaluation index cax, where a3 is represented as a normalization factor.
[0028] Preferably, the abnormal state of the network is analyzed and evaluated, and the specific analysis and evaluation method is:
[0029] According to the outputted network traffic characteristic evaluation index, a traffic characteristic threshold of the network traffic characteristic evaluation index is set, and the network traffic characteristic evaluation index is compared and analyzed with the preset traffic characteristic threshold. If the network traffic characteristic evaluation index exceeds the traffic characteristic threshold, the network traffic state is marked as an abnormally high traffic state, otherwise, the network traffic state is marked as a normal traffic state;
[0030] According to the output connection feature evaluation index of the network, a connection feature threshold of the connection feature evaluation index of the network is set, and the connection feature evaluation index of the network is compared and analyzed with the preset connection feature threshold. If the connection feature evaluation index of the network exceeds the connection feature threshold, the connection state of the network is marked as an abnormally frequent connection state, otherwise, the connection state of the network is marked as a normal connection state;
[0031] Based on the output abnormally high traffic state or abnormally frequent connection state, a retrospective verification instruction is output, and the abnormal state of the network is retrospectively verified and analyzed, and a positive abnormal signal or a misjudged abnormal signal is output accordingly.
[0032] Preferably, the abnormal state of the network is retroactively verified and analyzed, and the specific analysis method is:
[0033] Based on the sending timestamp and receiving timestamp in the network traffic data parameters related to network security output, according to the set data model: transmission time = receiving timestamp of data packet - sending timestamp of data packet, the transmission time of each data packet is obtained;
[0034] Delay time = data packet receiving timestamp - data packet sending timestamp - data packet transmission time in the network, thus obtaining the delay time of each data packet;
[0035] The transmission time and delay time of each data packet are tested multiple times, and the average is taken as the final result. Specifically, the number of tests is set to m times, so that the transmission time and delay time of each data packet under m tests are obtained, and they are recorded as TOT respectively. i m , PDT i m , calculate the mean of the transmission time and delay time of each data packet under m tests respectively, according to the formula: , , thus obtaining the transmission characteristic value tfv of each data packet i , delay characteristic value dev i ;
[0036] According to the set data model: , thereby outputting the comprehensive evaluation index epe of the transmission connection of the network, where b1 and b2 are respectively represented as normalization factors;
[0037] A transmission connection comprehensive threshold of the network's transmission connection comprehensive evaluation index is set, and the network's transmission connection comprehensive evaluation index is compared and analyzed with the preset transmission connection comprehensive threshold. If the network's transmission connection comprehensive evaluation index is greater than the connection feature threshold, a positive abnormal signal is generated, otherwise, a false abnormal signal is generated.
[0038] Preferably, the user behavior status of each user in the network is analyzed in the following specific manner:
[0039] Based on the output of the user behavior data parameters related to network security, the number of failed logins, the number of incorrect passwords, the number of login frequencies, the number of sensitive data accesses, the number of abnormal file uploads, and the number of abnormal file downloads, they are calculated and analyzed according to the set data model: , thereby outputting the network's user behavior safety assessment coefficient ubs;
[0040] A user behavior comparison threshold of the user behavior security assessment coefficient of the network is set, and the user behavior security assessment coefficient of the network is compared and analyzed with the preset user behavior comparison threshold. If the user behavior security assessment coefficient of the network exceeds the user behavior comparison threshold, a user behavior abnormality signal or a user behavior normal signal is generated.
[0041] Beneficial effects of the present invention:
[0042] By extracting key characteristic parameters and performing standard deviation calculation, the present invention can more accurately evaluate the network's inflow flow, outflow flow and connection status, which helps to monitor the network status in real time.
[0043] By combining the network traffic feature evaluation index and the connection feature evaluation index, and setting thresholds to judge and mark abnormal conditions, network anomalies can be discovered in a timely manner and corresponding processing can be made, thereby improving network security and response speed.
[0044] Based on multiple tests of transmission time and delay time, combined with the mean calculation of transmission characteristic values and delay characteristic values, accurate detection and evaluation of abnormal transmission connections are achieved, which helps to promptly discover and solve network transmission problems.
[0045] By calculating and analyzing the user behavior security assessment coefficient and comparing it with the preset user behavior comparison threshold, it is possible to effectively identify and mark abnormal user behavior, which helps to improve the comprehensiveness of network security management.
[0046] By visualizing the pre-processed data, the system can intuitively present the network traffic and user behavior, providing comprehensive information and decision support for security administrators. Administrators can formulate and adjust corresponding security policies and measures in a timely manner based on the output abnormal information.
[0047] Through comprehensive performance, anomaly detection, data visualization and real-time features and functions, it can provide comprehensive network security monitoring and analysis, help administrators to timely discover and respond to network security threats, and improve the security and reliability of the network. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] The present invention will be further described below in conjunction with the accompanying drawings.
[0049] Figure 1 It is a system block diagram of the present invention. DETAILED DESCRIPTION
[0050] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0051] Reference Figure 1 As shown, the present invention is a network security detection system based on data visualization, including: a data acquisition module, a feature data extraction module, a network traffic data detection module, a network traffic security assessment module, a network user behavior security assessment module, a display terminal and a database.
[0052] The data collection module is used to collect various types of raw data related to network security, and the raw data related to network security includes log files and user behavior information, and sends the collected various types of information to the feature data extraction module.
[0053] The feature data extraction module is used to perform data preprocessing on the log files in the collected raw data related to network security. The specific processing method is as follows:
[0054] Extract the network addresses of the sender and receiver of each data packet from the log file, thereby obtaining the source IP address and destination IP address of each data packet, and convert the source IP address and destination IP address of each captured data packet into a format that can be analyzed, that is, convert the source IP address and destination IP address of each data packet into a numerical form;
[0055] It should be noted that converting an IP address into a numerical form involves converting an IPv4 or IPv6 address into an integer. For an IPv4 address: first split the IPv4 address into four decimal numbers, convert them into binary form, then concatenate each binary number to obtain a 32-bit binary number, and finally convert the 32-bit binary number into the corresponding decimal number, thereby completing the conversion of the IPv4 address into a numerical form; for an IPv6 address, due to its longer length, it is generally converted using existing libraries or tools;
[0056] Extract the transport layer port number of each data packet in the network protocol stack from the log file, thereby obtaining the port number of each data packet and using it to identify different applications and services, and convert the port number of each captured data packet from type data to a numerical representation, that is, convert the port number of the corresponding data packet into a binary vector, in which only one element is 1 and the other elements are 0;
[0057] Extract the number of bytes of each data packet from the log file to obtain the data volume of each data packet. Standardize the data volume of each captured data packet, that is, linearly map the data volume of each data packet to the range of [0,1]. The specific processing process is: perform minimum-maximum standardization conversion on each data packet according to the set model: x' = (x-min) / (max-min), where x' is the standardized value, x is the original value, min is the minimum value of the original value, and max is the maximum value of the original value. In this way, the data volume of each data packet is standardized and the comparability between different data packet sizes is ensured.
[0058] Extract the sending time and receiving time of each data packet from the log file, thereby obtaining the sending timestamp and receiving timestamp of each data packet, and use them to analyze the timing characteristics of the data packet, and convert the captured sending timestamp and receiving timestamp of each data packet into readable time. The specific conversion process is: first determine the corresponding value according to the unit of the sending timestamp and the receiving timestamp, then use the built-in function in the programming language to convert the sending timestamp and the receiving timestamp into a date and time format, and then format the date and time into a specific string format, thereby completing the conversion of the sending timestamp and the receiving timestamp into a readable time;
[0059] Extracting the actual data content carried in each data packet from the log file, wherein the actual data content carried is composed of the HTTP request amount and the file transfer amount, thereby obtaining the effective load of each data packet;
[0060] The network traffic data parameters related to network security are composed of the source IP address and destination IP address in numerical form, the port number in numerical representation form, the standardized data volume, the sending timestamp and receiving timestamp in readable time form, and the effective load, and are sent to the database for storage.
[0061] The feature data extraction module is also used to pre-process the user behavior information in the collected raw data related to network security. The specific processing method is as follows:
[0062] By collecting the user's login and identity authentication behaviors, the number of failed logins, number of incorrect passwords, and login frequency of each user in the network are obtained, and they are recorded as lo k 、pw k , lf k , where k represents the number of each user, and k=1, 2, 3...K, K represents the maximum value and is a positive integer;
[0063] By collecting the user's data access and operation behaviors, and extracting the number of users' access to sensitive data and the number of uploads and downloads of abnormal files from the user's access to the system, application or database, read and write operations, and file upload and download behaviors, the sensitive data access times, abnormal file upload times, and abnormal file download times of each user in the network are obtained, and they are recorded as sv k 、fu k 、fd k ;
[0064] The user behavior data parameters related to network security are composed of the number of failed logins, number of incorrect passwords, login frequency, number of sensitive data accesses, number of abnormal file uploads, and number of abnormal file downloads, and are sent to the database for storage.
[0065] The network traffic data detection module is used to identify and analyze the network security traffic status based on the output network traffic data parameters related to network security. The specific analysis method is as follows:
[0066] Based on the source IP address, target IP address, port number, and data volume in the network traffic data parameters related to network security, key feature parameters are extracted, and the key features include the inflow data volume, outflow data volume, and number of connections per second;
[0067] Set the monitoring period and divide it into several monitoring time points. Calculate the standard deviation of the three key characteristic parameters extracted at each monitoring time point in the monitoring period according to the set formula: , , , and thus the network inflow feedback value σ1 is obtained respectively i , outflow flow feedback value σ2 i , connection feedback value σ3 i , where lr ij It is expressed as the amount of inflow data per second of the corresponding data packet at each monitoring time point in the corresponding monitoring period, lc ij It is expressed as the outflow data volume of the corresponding data packet per second at each monitoring time point in the corresponding monitoring period, lk ij It is expressed as the number of connections per second of the corresponding data packet at each monitoring time point in the corresponding monitoring period, μ1 i It is expressed as the average value of the amount of data flowing into the corresponding data packet during the corresponding monitoring period, μ2 i It is expressed as the average value of the outflow data volume of the corresponding data packet in the corresponding monitoring period, μ3 i It is represented by the average value of the number of connections of the corresponding data packet in the corresponding monitoring period, i is the number of the data packet, i=1, 2, 3...n1, j is the number of several monitoring time points divided in the corresponding monitoring period, j=1, 2, 3...n2, n1 and n2 are both positive integers;
[0068] Based on the output network's inflow flow feedback value and outflow flow feedback value, the two data are comprehensively analyzed according to the set data model: , thereby outputting the network's traffic feature evaluation index fcx, where a1 and a2 are represented as normalization factors;
[0069] Based on the output network connection feedback value, comprehensive analysis is performed according to the set data model: , thereby outputting the network's connection feature evaluation index cax, where a3 is represented as a normalization factor;
[0070] Based on this, the network's traffic feature evaluation index and connection feature evaluation index are output, and the two data are sent to the network traffic security evaluation module.
[0071] The network traffic security assessment module is used to analyze and evaluate the abnormal state of the network based on the received network traffic feature assessment index and connection feature assessment index. The specific analysis and evaluation method is as follows:
[0072] According to the outputted network traffic characteristic evaluation index, a traffic characteristic threshold of the network traffic characteristic evaluation index is set, and the network traffic characteristic evaluation index is compared and analyzed with the preset traffic characteristic threshold. If the network traffic characteristic evaluation index exceeds the traffic characteristic threshold, the network traffic state is marked as an abnormally high traffic state, otherwise, the network traffic state is marked as a normal traffic state;
[0073] According to the output connection feature evaluation index of the network, a connection feature threshold of the connection feature evaluation index of the network is set, and the connection feature evaluation index of the network is compared and analyzed with the preset connection feature threshold. If the connection feature evaluation index of the network exceeds the connection feature threshold, the connection state of the network is marked as an abnormally frequent connection state, otherwise, the connection state of the network is marked as a normal connection state;
[0074] Based on the output abnormally high traffic state or abnormally frequent connection state, a traceback verification instruction is output, and a traceback verification analysis is performed on the abnormal state of the network. The specific analysis method is as follows:
[0075] Based on the sending timestamp and receiving timestamp in the network traffic data parameters related to network security output, according to the set data model: transmission time = receiving timestamp of data packet - sending timestamp of data packet, the transmission time of each data packet is obtained;
[0076] Delay time = data packet receiving timestamp - data packet sending timestamp - data packet transmission time in the network, thus obtaining the delay time of each data packet;
[0077] The transmission time and delay time of each data packet are tested multiple times, and the average is taken as the final result. Specifically, the number of tests is set to m times, so that the transmission time and delay time of each data packet under m tests are obtained, and they are recorded as TOT respectively. i m , PDT i m , calculate the mean of the transmission time and delay time of each data packet under m tests respectively, according to the formula: , , thus obtaining the transmission characteristic value tfv of each data packet i , delay characteristic value devi ;
[0078] According to the set data model: , thereby outputting the comprehensive evaluation index epe of the transmission connection of the network, where b1 and b2 are respectively represented as normalization factors;
[0079] Setting a transmission connection comprehensive threshold of the transmission connection comprehensive evaluation index of the network, and comparing and analyzing the transmission connection comprehensive evaluation index of the network with the preset transmission connection comprehensive threshold, if the transmission connection comprehensive evaluation index of the network is greater than the connection feature threshold, a positive abnormal signal is generated, otherwise, a false abnormal signal is generated;
[0080] The generated positive abnormal signal or false abnormal signal is sent to the display terminal for visual explanation.
[0081] The network user behavior security assessment module is used to analyze the user behavior status of each user in the network based on the output user behavior data parameters related to network security. The specific analysis method is as follows:
[0082] Based on the output of the user behavior data parameters related to network security, the number of failed logins, the number of incorrect passwords, the number of login frequencies, the number of sensitive data accesses, the number of abnormal file uploads, and the number of abnormal file downloads, they are calculated and analyzed according to the set data model: , thereby outputting the network's user behavior safety assessment coefficient ubs;
[0083] Setting a user behavior comparison threshold of the user behavior security assessment coefficient of the network, and comparing and analyzing the user behavior security assessment coefficient of the network with the preset user behavior comparison threshold, if the user behavior security assessment coefficient of the network exceeds the user behavior comparison threshold, generating a user behavior abnormality signal or a user behavior normal signal;
[0084] The generated abnormal user behavior signal or normal user behavior signal is sent to the display terminal for visual explanation.
[0085] The above contents are merely examples and explanations of the structure of the present invention. The technicians in this technical field may make various modifications or additions to the specific embodiments described or replace them in a similar manner. As long as they do not deviate from the structure of the invention or exceed the scope defined by the claims, they should all fall within the protection scope of the present invention.
Claims
1. A network security detection system based on data visualization, characterized in that: include: The data collection module is used to collect various types of raw data related to network security, including log files and user behavior information, and send the collected information to the feature data extraction module; The feature data extraction module is used to perform data preprocessing on the log files in the collected raw data related to network security, thereby extracting network traffic data parameters related to network security; and is also used to perform data preprocessing on the user behavior information in the collected raw data related to network security, thereby extracting user behavior data parameters related to network security; The network traffic data detection module identifies and analyzes the network security traffic status based on the output network traffic data parameters related to network security, and outputs the network traffic feature evaluation index and connection feature evaluation index accordingly, and sends the two data to the network traffic security evaluation module; the network security traffic status is identified and analyzed, and the specific analysis method is as follows: Based on the source IP address, target IP address, port number, and data volume in the network traffic data parameters related to network security, key feature parameters are extracted, and the key features include the inflow data volume, outflow data volume, and number of connections per second; Set the monitoring period and divide it into several monitoring time points. Calculate the standard deviation of the three key characteristic parameters extracted at each monitoring time point in the monitoring period according to the set formula: , , , and thus the network inflow flow feedback value σ1 is obtained respectively i , outflow flow feedback value σ2 i , connection feedback value σ3 i , where lr ij It is expressed as the amount of inflow data per second of the corresponding data packet at each monitoring time point in the corresponding monitoring period, lc ij It is expressed as the outflow data volume of the corresponding data packet per second at each monitoring time point in the corresponding monitoring period, lk ij It is expressed as the number of connections per second of the corresponding data packet at each monitoring time point in the corresponding monitoring period, μ1 i It is expressed as the average value of the amount of data flowing into the corresponding data packet during the corresponding monitoring period, μ2 i It is expressed as the average value of the outflow data volume of the corresponding data packet in the corresponding monitoring period, μ3 i It is represented by the average value of the number of connections of the corresponding data packet in the corresponding monitoring period, i is the number of the data packet, i=1, 2, 3...n1, j is the number of several monitoring time points divided in the corresponding monitoring period, j=1, 2, 3...n2, n1 and n2 are both positive integers; Based on the output network's inflow flow feedback value and outflow flow feedback value, the two data are comprehensively analyzed according to the set data model: , thereby outputting the network's traffic feature evaluation index fcx, where a1 and a2 are represented as normalization factors; Based on the output network connection feedback value, comprehensive analysis is performed according to the set data model: , thereby outputting the network's connection feature evaluation index cax, where a3 is represented as a normalization factor; The network traffic security assessment module analyzes and assesses the abnormal state of the network based on the received network traffic characteristic assessment index and connection characteristic assessment index, generates a positive abnormality signal or a false abnormality signal, and sends it to the display terminal for visual explanation; The network user behavior security assessment module is used to analyze the user behavior status of each user in the network based on the output user behavior data parameters related to network security, generate user behavior abnormality signals or user behavior normal signals, and send them to the display terminal for visual explanation.
2. The network security detection system based on data visualization according to claim 1 is characterized in that: The data preprocessing of the log files in the collected original data related to network security is specifically performed in the following manner: Extract the network addresses of the sender and receiver of each data packet from the log file, thereby obtaining the source IP address and destination IP address of each data packet, and convert the source IP address and destination IP address of each captured data packet into a format that can be analyzed, that is, convert the source IP address and destination IP address of each data packet into a numerical form; Extracting the transport layer port number of each data packet in the network protocol stack from the log file, thereby obtaining the port number of each data packet, and converting the port number of each captured data packet from type data to a numerical representation; Extract the number of bytes of each data packet from the log file to obtain the data volume of each data packet. Standardize the data volume of each captured data packet, that is, linearly map the data volume of each data packet to the range of [0,1]. The specific processing process is: perform minimum-maximum standardization conversion on each data packet according to the set model: x' = (x - min) / (max - min), where x' is the standardized value, x is the original value, min is the minimum value of the original value, and max is the maximum value of the original value, thereby completing the standardization of the data volume of each data packet; Extract the sending time and receiving time of each data packet from the log file, thereby obtaining the sending timestamp and receiving timestamp of each data packet, and convert the captured sending timestamp and receiving timestamp of each data packet into readable time. The specific conversion process is: first determine the corresponding value according to the unit of the sending timestamp and the receiving timestamp, then use the built-in function in the programming language to convert the sending timestamp and the receiving timestamp into a date and time format, and then format the date and time into a specific string format, thereby completing the conversion of the sending timestamp and the receiving timestamp into a readable time; Extracting the actual data content carried in each data packet from the log file, wherein the actual data content carried is composed of the HTTP request amount and the file transfer amount, thereby obtaining the effective load of each data packet; The network traffic data parameters related to network security are composed of the source IP address and destination IP address in numerical form, the port number in numerical representation form, the amount of data after normalization, the sending timestamp and receiving timestamp in readable time form, and the effective load.
3. The network security detection system based on data visualization according to claim 1 is characterized in that: The data preprocessing of the user behavior information in the collected original data related to network security is specifically performed in the following manner: By collecting the user's login and identity authentication behaviors, the number of failed logins, number of incorrect passwords, and login frequency of each user in the network are obtained, and they are recorded as lo k 、pw k , lf k , where k represents the number of each user, and k=1, 2, 3...K, K represents the maximum value and is a positive integer; By collecting the user's data access and operation behaviors, and extracting the number of users' access to sensitive data and the number of uploads and downloads of abnormal files from the user's access to the system, application or database, read and write operations, and file upload and download behaviors, the sensitive data access times, abnormal file upload times, and abnormal file download times of each user in the network are obtained, and they are recorded as sv k 、fu k 、fd k ; User behavior data parameters related to network security are composed of the number of failed logins, number of incorrect passwords, login frequency, number of sensitive data accesses, number of abnormal file uploads, and number of abnormal file downloads.
4. The network security detection system based on data visualization according to claim 1 is characterized in that: The abnormal state of the network is analyzed and evaluated, and the specific analysis and evaluation method is: According to the outputted network traffic characteristic evaluation index, a traffic characteristic threshold of the network traffic characteristic evaluation index is set, and the network traffic characteristic evaluation index is compared and analyzed with the preset traffic characteristic threshold. If the network traffic characteristic evaluation index exceeds the traffic characteristic threshold, the network traffic state is marked as an abnormally high traffic state, otherwise, the network traffic state is marked as a normal traffic state; According to the output connection feature evaluation index of the network, a connection feature threshold of the connection feature evaluation index of the network is set, and the connection feature evaluation index of the network is compared and analyzed with the preset connection feature threshold. If the connection feature evaluation index of the network exceeds the connection feature threshold, the connection state of the network is marked as an abnormally frequent connection state, otherwise, the connection state of the network is marked as a normal connection state; Based on the output abnormally high traffic state or abnormally frequent connection state, a retrospective verification instruction is output, and the abnormal state of the network is retrospectively verified and analyzed, and a positive abnormal signal or a misjudged abnormal signal is output accordingly.
5. The network security detection system based on data visualization according to claim 4 is characterized in that: The specific analysis method of the retrospective verification analysis of the abnormal state of the network is as follows: Based on the sending timestamp and receiving timestamp in the network traffic data parameters related to network security output, according to the set data model: transmission time = receiving timestamp of data packet - sending timestamp of data packet, the transmission time of each data packet is obtained; Delay time = data packet receiving timestamp - data packet sending timestamp - data packet transmission time in the network, thus obtaining the delay time of each data packet; The transmission time and delay time of each data packet are tested multiple times, and the average is taken as the final result. Specifically, the number of tests is set to m times, so that the transmission time and delay time of each data packet under m tests are obtained, and they are recorded as TOT respectively. i m , PDT i m , calculate the mean of the transmission time and delay time of each data packet under m tests respectively, according to the formula: , , thus obtaining the transmission characteristic value tfv of each data packet i , delay characteristic value dev i ; According to the set data model: , thereby outputting the comprehensive evaluation index epe of the transmission connection of the network, where b1 and b2 are respectively represented as normalization factors; A transmission connection comprehensive threshold of the network's transmission connection comprehensive evaluation index is set, and the network's transmission connection comprehensive evaluation index is compared and analyzed with the preset transmission connection comprehensive threshold. If the network's transmission connection comprehensive evaluation index is greater than the connection feature threshold, a positive abnormal signal is generated, otherwise, a false abnormal signal is generated.
6. The network security detection system based on data visualization according to claim 3 is characterized in that: The user behavior status of each user in the network is analyzed in the following specific analysis methods: Based on the output of the user behavior data parameters related to network security, the number of failed logins, the number of incorrect passwords, the number of login frequencies, the number of sensitive data accesses, the number of abnormal file uploads, and the number of abnormal file downloads, they are calculated and analyzed according to the set data model: , thereby outputting the network's user behavior safety assessment coefficient ubs; A user behavior comparison threshold of the user behavior security assessment coefficient of the network is set, and the user behavior security assessment coefficient of the network is compared and analyzed with the preset user behavior comparison threshold. If the user behavior security assessment coefficient of the network exceeds the user behavior comparison threshold, a user behavior abnormality signal or a user behavior normal signal is generated.
Citation Information
Patent Citations
Flow-based abnormal communication behavior detection method and system
CN110149343A
Power distribution line fuse fault detection device
CN110703162A
Computer network monitoring system
CN117155625A
Artificial intelligence (AI) based cyber threat analyst to support a cyber security appliance
US20200358792A1
