A data leakage detection method
Through the data leakage detection method, the data information of the detection equipment is obtained, the degree of leakage is determined according to the preset rules, and early warning or alarm information is generated, which solves the shortcomings of data leakage detection and analysis in the existing technology and achieves effective identification and analysis of leaked data. deal with.
Patent Information
- Application Number
- CN202210760597.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-30
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2042-06-30
AI Technical Summary
Existing technology is difficult to effectively detect and analyze the type of leaked data, the degree of leakage, and the reasons for the leakage after a data leak, and there is a lack of corresponding detection methods and analysis methods.
Provide a data leakage detection method that obtains the data information of the current detection device, determines the degree of leakage based on preset judgment rules, and generates early warning information or alarm information based on the degree of leakage, and analyzes using analysis methods to identify the type and cause of the leaked data. .
It realizes the detection and analysis of data leakage, can effectively identify the type, extent and cause of leaked data, and improves the efficiency and accuracy of post-data leakage processing.
Smart Images

Figure CN115242462B
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer network technology, and in particular to a data leakage detection method. Background Art
[0002] With the increasing popularity of smart terminals and the expansion of network coverage, the application breadth and scale of use of various network devices are also expanding. Network devices and terminals or other network devices can access each other through the network.
[0003] At present, the main purpose or object of network access is to access the corresponding information in each network, such as parsing the IP address of the accessed network or device, accessing the accessed network or device to access or obtain the information in it. When confidential, sensitive or protected information is exposed to unauthorized access, data leakage will occur. Due to the explosive development of new technologies such as the Internet and big data, data leakage incidents occur frequently, and data security has become the most concerned issue for people nowadays.
[0004] Traditionally, conventional DLP technology is used to prevent data leakage. DLP stands for Data Leakage Prevention, which is a strategy that uses certain technical means to prevent the company's designated data or information assets from leaking out of the company in a form that violates security policies. Conventional technical means include document encryption, database encryption, hard disk encryption, database firewalls, and so on.
[0005] As mentioned above, DLP technology is to actively encrypt or protect data or information. Its main purpose is to prevent data leakage. However, due to the rapid development of network technology, the current active prevention methods are difficult to achieve 100% data leakage prevention effect. Some confidential, sensitive or protected information will still be leaked for various reasons, causing data leakage. After the data is leaked, it is necessary to locate the leaked data and analyze the type, degree and cause of the leaked data. However, there is currently a lack of corresponding detection or analysis methods for the leaked data after the leak.
[0006] Therefore, in order to solve the above problems, providing a data leakage detection method capable of detecting and analyzing leaked data is an issue that needs to be urgently resolved by those skilled in the art. Summary of the invention
[0007] In order to detect data leakage after it occurs, and analyze the type, degree, and cause of leakage of the leaked data, the present application provides a data leakage detection method, comprising the following steps:
[0008] Get the data information of the current detection equipment;
[0009] According to the detection rules, obtaining the leaked data in the data information;
[0010] Obtain all data types of the leaked data;
[0011] According to each of the data types, obtaining corresponding preset determination rules;
[0012] Determining the leakage degree of each of the leaked data according to the preset determination rule;
[0013] If any one of the leakage levels is greater than the corresponding first leakage threshold, the current detection device is determined to be at the first leakage level and corresponding warning information is generated;
[0014] If any one of the leakage levels is greater than the corresponding second leakage threshold, the current detection device is determined to be at the second leakage level and a corresponding alarm message is generated;
[0015] According to a preset analysis method, the early warning information and / or the alarm information are analyzed to generate an analysis result.
[0016] Through the above technical scheme, the degree of leakage is determined by obtaining the leakage data of the data information of the current detection device and the preset judgment rules, and the first leakage level or the second leakage level is determined according to the size relationship between the leakage program and the first leakage threshold or the second leakage threshold, and early warning information and alarm information are generated respectively, so as to be analyzed in combination with the preset analysis method, so that data leakage can be detected, and the type of leaked data, the degree of leakage, and the cause of leakage can be analyzed.
[0017] Optionally, the acquiring data information of the current detection device includes:
[0018] Get the engine type of the detection engine;
[0019] According to the engine type, obtain the corresponding scanning range;
[0020] According to the scanning range, obtaining a network device within the scanning range as a current detection device;
[0021] Determine whether the current detection device has any unauthorized service;
[0022] If the current detection device has unauthorized services, the corresponding data information of the current detection device is obtained.
[0023] Through the above technical solution, a method of obtaining a scanning range according to the engine type of the detection engine is adopted to obtain the current detection device within the scanning range, and obtain the data information of the current detection device on which an unauthorized service exists, so that the current detection device on which the unauthorized service corresponds can be obtained according to different engine types, ensuring that the acquired data information is acquired from the current detection device on which the unauthorized service exists that matches the current detection engine, thereby improving the acquisition efficiency or determination efficiency.
[0024] Optionally, obtaining the leaked data in the data information according to the detection rule includes:
[0025] Obtaining a detection rule corresponding to the unauthorized service;
[0026] According to the detection rule, the leaked data in the data information is obtained.
[0027] Through the above technical solution, detection rules corresponding to unauthorized services are used to obtain leakage data, so that the detection rules can correspond to different unauthorized services, and corresponding types of leakage data can be obtained according to different unauthorized services, thereby improving acquisition efficiency or judgment efficiency.
[0028] Optionally, after determining the leakage degree of each of the leakage data according to the preset determination rule, the method further includes:
[0029] If the number of the leakage degrees greater than the corresponding first leakage threshold is greater than a preset number, it is determined that the current detection device is at the second leakage level and the corresponding alarm information is generated.
[0030] Through the above technical solution, if the number of leakage degrees greater than the corresponding first leakage threshold is greater than the preset number, when the number of leakage degrees satisfying the first leakage level is too large, the current detection device can be directly judged as the second leakage level, and the effect of effectively judging the second leakage level can be achieved when there are multiple leakage degrees that are only greater than the first leakage threshold but are all less than the second leakage threshold.
[0031] Optionally, if any one of the leakage degrees is greater than a corresponding first leakage threshold, determining that the current detection device is at a first leakage level and generating corresponding warning information includes:
[0032] If any of the leakage degrees is greater than its corresponding first leakage threshold, then an internal result type is recorded once, and probability statistics are performed according to the internal result type to obtain a probability statistical result;
[0033] If the probability statistics result is greater than the probability statistics preset value, the current detection device is determined to be at the first leakage level and corresponding warning information is generated.
[0034] Through the above technical solution, if any leakage degree is greater than the corresponding first leakage threshold, the internal result type is recorded once and probability statistics are performed. The current detection device whose obtained probability statistical result is greater than the probability statistical preset value is judged as the first leakage level, thereby reducing the probability of accidental misjudgment caused by some non-leakage factors.
[0035] Optionally, determining the leakage degree of each of the leaked data according to the preset determination rule includes:
[0036] Extracting various leakage factors from the leakage data;
[0037] According to the preset judgment rule, obtaining the leakage weight corresponding to the leakage factor;
[0038] The leakage degree of each of the leakage data is determined according to the leakage factor and the leakage weight.
[0039] Through the above technical solution, a method of obtaining leakage weights corresponding to leakage factors is adopted, and the leakage factors and leakage weights are used as synchronization factors for determining the degree of leakage, so that the leakage weights can be adjusted according to actual needs or actual conditions, thereby improving the flexibility of leakage degree judgment, so as to meet the variability of leakage degree judgment of each leakage factor in each environment.
[0040] Optionally, after determining the leakage degree of each leakage data according to the leakage factor and the leakage weight, the method further includes:
[0041] Obtain a first threshold coefficient and a second threshold coefficient;
[0042] Obtaining the first leakage threshold and the second leakage threshold according to the leakage factor, the leakage weight, the first threshold coefficient, and the second threshold coefficient;
[0043] The second threshold coefficient is greater than the first threshold coefficient.
[0044] Through the above technical solution, a method of setting and obtaining a first threshold coefficient and a second threshold coefficient greater than the first threshold coefficient is adopted, so that the purpose of obtaining a first leakage threshold and a second leakage threshold greater than the first leakage threshold can be achieved under the premise of the same leakage factor and leakage weight, and the first leakage threshold and the second leakage threshold can be adjusted in real time according to the first threshold coefficient and the second threshold coefficient.
[0045] Optionally, after determining the leakage degree of each of the leakage data according to the preset determination rule, the method further includes:
[0046] Obtaining historical leakage records of the current detection device corresponding to the leakage degree;
[0047] If the leakage degree of any one of the current detection devices is greater than the corresponding first leakage threshold and there is the historical leakage record, the current detection device is determined to be at the second leakage level and a corresponding alarm message is generated.
[0048] Through the above technical solution, by obtaining historical leakage records, the current detection device that has a historical leakage record and the leakage degree is greater than the corresponding first leakage threshold is directly judged as the second leakage level, thereby achieving the effect of improving the leakage level judgment according to the historical leakage record, so that the attention of the current detection device that has a historical leakage record and still has a certain leakage degree can be increased.
[0049] Optionally, after obtaining the historical leakage record of the current detection device corresponding to the leakage degree, the method further includes:
[0050] According to the data type corresponding to the historical leakage record, it is preferentially determined whether the corresponding leakage data is greater than the corresponding first leakage threshold.
[0051] Through the above technical solution, the data type in the historical leakage record is judged first, so as to improve the efficiency of judging the leakage degree, so as to obtain the leakage situation of the current detection device relatively quickly.
[0052] Optionally, if any one of the leakage degrees is greater than a corresponding first leakage threshold, determining that the current detection device is at a first leakage level and generating corresponding warning information includes:
[0053] If any one of the leakage degrees is greater than the corresponding first leakage threshold, the corresponding data type is used as the adjustment type;
[0054] Obtaining an adjustment plan corresponding to the adjustment type;
[0055] Perform corresponding adjustment operations on the corresponding current detection equipment according to the adjustment scheme;
[0056] Determining whether the data information corresponding to the adjusted current detection device and the adjustment type includes the leaked data;
[0057] If the leaked data exists, determining the leakage degree of the leaked data;
[0058] If any one of the leakage levels is greater than the corresponding first leakage threshold, the current detection device is determined to be at the first leakage level and corresponding warning information is generated;
[0059] If any one of the leakage levels is greater than the corresponding second leakage threshold, the current detection device is restored to the state before adjustment and returns to the initial step.
[0060] Through the above technical solution, an adjustment scheme corresponding to the data type of the leaked data greater than the corresponding first leakage threshold is adopted, and it is judged whether the data information corresponding to the adjusted adjustment type includes the leaked data, and the leakage degree is determined again according to the judgment result, so that real-time adjustment of the leaked data greater than the corresponding first leakage threshold can be made, and corresponding subsequent processing can be performed according to the adjusted leakage degree, thereby improving the real-time processing efficiency of the leaked data to a certain extent.
[0061] To summarize, the present application adopts the method of obtaining the leakage data of the data information of the current detection device and the preset judgment rules to determine the degree of leakage, and determines it as the first leakage level or the second leakage level according to the size relationship between the leakage program and the first leakage threshold or the second leakage threshold, and generates early warning information and alarm information respectively, so as to combine the preset analysis method for analysis, so that data leakage can be detected, and the type, degree of leakage and cause of leakage of the leaked data can be analyzed, thereby providing corresponding detection means or analysis means for the leaked data after the leakage. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] Figure 1 It is a flowchart of one implementation method of the data leakage detection method of the embodiment of the present application;
[0063] Figure 2 It is a flowchart of one implementation method of the data leakage detection method of the embodiment of the present application;
[0064] Figure 3 It is a flowchart of one implementation method of the data leakage detection method of the embodiment of the present application;
[0065] Figure 4 It is a flowchart of one implementation method of the data leakage detection method of the embodiment of the present application;
[0066] Figure 5 It is a flowchart of one implementation method of the data leakage detection method of the embodiment of the present application;
[0067] Figure 6 It is a flowchart of one implementation method of the data leakage detection method of the embodiment of the present application;
[0068] Figure 7 It is a flowchart of one implementation method of the data leakage detection method of the embodiment of the present application;
[0069] Figure 8 It is a flowchart of one implementation method of the data leakage detection method of the embodiment of the present application;
[0070] Fig. 9 It is a flowchart of one implementation method of the data leakage detection method of the embodiment of the present application;
[0071] Fig.10 It is a flowchart of one implementation method of the data leakage detection method of the embodiment of the present application. DETAILED DESCRIPTION
[0072] In order to enable those skilled in the art to better understand the technical solutions in the present application, the technical solutions 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 only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work should fall within the scope of protection of the present application.
[0073] The present application embodiment provides a data leakage detection method, such as Figure 1 As shown, the following steps are included:
[0074] S01. Obtain data information of the current detection equipment;
[0075] S02. Obtaining leaked data from data information according to detection rules;
[0076] S03. Obtain all data types of leaked data;
[0077] S04. According to each data type, obtain the corresponding preset judgment rules;
[0078] S05. Determine the degree of leakage of each leaked data according to the preset judgment rules;
[0079] S06. If any one of the leakage levels is greater than the corresponding first leakage threshold, the current detection device is determined to be at the first leakage level and a corresponding warning message is generated;
[0080] S07. If any one of the leakage levels is greater than the corresponding second leakage threshold, the current detection device is determined to be at the second leakage level and a corresponding alarm message is generated;
[0081] S08. Analyze the early warning information and / or alarm information according to the preset analysis method and generate analysis results.
[0082] In this embodiment, the current detection device in step S01 is the device to be detected corresponding to the current data leakage detection, and the acquired data information is all the data information that can be acquired by the current detection device, including normal data and possible leakage data.
[0083] The detection rules in step S02 are pre-set and stored application and data leakage detection rules. According to the detection rules, the data information is detected to obtain the required leakage rules. Of course, in actual application, if there is no leakage in the current detection device, then step S02 cannot obtain the leaked data. In this case, the execution of the step is directly terminated, and the acquisition of leaked data and subsequent steps are no longer performed. You can choose to end this data leakage detection task, or select another device to be detected as the current detection device.
[0084] The data type in step S03 refers to the data type corresponding to various data in the leaked data, for example, in this embodiment, it includes certificate information, information title, asset domain name and device IP.
[0085] Step S04 is to obtain the corresponding preset judgment rules according to each data type. This judgment rule is also a pre-set and stored rule. The specific correspondence can be that each data type corresponds to a separate preset judgment rule, or it can be a preset judgment rule corresponding to a combination of multiple data types.
[0086] The leakage degree in step S05 is determined based on the preset judgment rules corresponding to the data type combined with the leakage data. In this embodiment, it includes a first leakage level and a second leakage level. Of course, if there is no leakage in the current detection device, the leakage degree is zero or empty, and the corresponding leakage level is the safety level.
[0087] According to the leakage program and the judgment results of the preset first leakage threshold and the second leakage threshold, in this embodiment, subsequent processing is performed in two cases, as shown in step S05 and step S06.
[0088] Step S06 is when one or more leakage levels are greater than the first leakage threshold, the current detection device is determined to be at the first leakage level, and corresponding warning information is generated. In this embodiment, the warning information includes the leakage data, data type, certificate information, information title, asset domain name, device IP, detection time and other information of the current detection device, and may also include the receiving destination IP of the warning information, so that it can be sent to the receiving destination according to the receiving destination IP when necessary.
[0089] Step S07 is when one or more leakage levels are greater than the second leakage threshold, the current detection device is determined to be at the second leakage level, and corresponding alarm information is generated. In this embodiment, the alarm information includes the leakage data, data type, certificate information, information title, asset domain name, device IP, detection time and other information of the current detection device, and may also include the receiving destination IP of the alarm information, so that it can be sent to the receiving destination according to the receiving destination IP when necessary.
[0090] Step S08 is to analyze the early warning information and / or alarm information according to the preset analysis method. The preset analysis method is a pre-set and stored analysis method for analyzing the warning information. Separate analysis settings can be made according to the early warning information and the alarm information, or the same set of analysis settings can be shared. In this embodiment, the preset analysis method with the same set of analysis settings is used. Of course, it is also possible to choose to analyze only the alarm information without analyzing the early warning information. Moreover, during the analysis, the IP address of the corresponding current detection device and the user name involved in the data leakage are bound to the analysis result, and the analysis data is associated with the asset status of the IP, so as to confirm who leaked which data, how many leaked, and how big the leakage is.
[0091] It should be noted that in this embodiment, the first leakage threshold is less than the second leakage threshold, and if there is no leakage greater than the first leakage threshold, it indicates that although there is leakage data in the current detection device, it is not enough to form the expected data leakage risk, so in this embodiment, no additional judgment is made for this situation or no additional warning information is generated. Moreover, if it is not greater than the first leakage threshold, it will definitely not be greater than the second leakage threshold, so for the leakage data that is not greater than the first leakage threshold, it can be selected to be stored in the data center for subsequent viewing or processing.
[0092] In addition, for the current detection device that has been determined to be at the first leakage level, whether it is necessary to combine the second leakage threshold for further judgment, or after judging that the leakage level is greater than the second leakage threshold, whether it is necessary to retain the first leakage level determined previously, and whether it is necessary to delete the existing warning information after generating the alarm information, can be selected according to actual needs. In this embodiment, if the current detection device is initially determined to be at the first leakage level and the warning information is generated, but is subsequently determined to be at the second leakage level and the alarm information is generated, only the second leakage level and the alarm information are retained, and the first leakage level and the warning information that have been formed are deleted.
[0093] Since the warning information and alarm information correspond to different leakage thresholds, of course, the leakage risk levels they represent are also different. In actual application, the recipient can give priority to viewing or processing the alarm information, and the warning information can be only viewed without processing, or the warning information can be processed after all the alarm information is processed. The specific processing order and processing method can be selected according to actual needs, which will not be repeated here.
[0094] The data leakage detection method provided in this embodiment adopts the method of obtaining the leakage data of the data information of the current detection device and the preset judgment rules to determine the degree of leakage, and judges it as the first leakage level or the second leakage level according to the size relationship between the leakage program and the first leakage threshold or the second leakage threshold, and generates early warning information and alarm information respectively, so as to analyze in combination with the preset analysis method, so that data leakage can be detected, and the type of leakage data, the degree of leakage, and the cause of leakage can be analyzed.
[0095] In one implementation of this embodiment, Figure 2 As shown, step S01, i.e. obtaining the data information of the current detection device, includes:
[0096] S11. Obtain the engine type of the detection engine;
[0097] S12. Obtain the corresponding scanning range according to the engine type;
[0098] S13. According to the scanning range, obtain the network device within the scanning range as the current detection device;
[0099] S14. Determine whether there is any unauthorized service in the current detection device;
[0100] S15. If the current detection device has unauthorized services, obtain the corresponding data information of the current detection device.
[0101] The detection engine in step S11 can be any one of FOFA Pro, Zoomeye, and Shodan, and different detection engines have different corresponding scanning ranges or scanning methods, so it is necessary to first determine and obtain the type of engine currently used or required, so as to obtain the corresponding scanning range in step S12.
[0102] The network devices within the scanning range in step S13 are the devices that need to be detected currently, while other network devices outside the scanning range are not within the scope of this detection, thereby reducing the scope of scanning and subsequent acquisition or analysis.
[0103] The unauthorized service in step S14 refers to an unauthorized service or application, or an unlicensed network port or interface. Since general data leakage is due to the above-mentioned unauthorized risks, in order to improve scanning efficiency, it is possible to consider further limiting the scanning scope to the current detection device where the unauthorized service exists. Therefore, in S15, only the data information of the current detection device where the unauthorized service exists needs to be obtained, which effectively reduces the amount of data information obtained and has little impact on the data leakage detection effect.
[0104] In this embodiment, the unauthorized service may be Elasticsearch, Mongodb, Couchdb, Solr, etc. Of course, other types may also be included, and the specific types are not repeated here. For the current detection device without unauthorized services, data acquisition is not performed on it in this embodiment.
[0105] The data leakage detection method provided in this embodiment adopts a method of obtaining a scanning range according to the engine type of the detection engine, obtaining the current detection device within the scanning range, and obtaining data information of the current detection device with unauthorized services, so that the current detection device with corresponding unauthorized services can be obtained according to different engine types, ensuring that the acquired data information is acquired from the current detection device with unauthorized services that matches the current detection engine, thereby improving acquisition efficiency or judgment efficiency.
[0106] In one implementation of this embodiment, Figure 3 As shown, step S02, that is, obtaining the leaked data in the data information according to the detection rule, includes:
[0107] S21. Obtain detection rules corresponding to unauthorized services;
[0108] S22. Obtain leaked data from the data information according to the detection rules.
[0109] Among them, the detection rules in step S21 are detection rules corresponding to unauthorized services. The two can be in a one-to-one correspondence, or a one-to-many or many-to-many relationship. The specific type or quantity can be selected according to actual needs.
[0110] The leakage data obtained in step S22 is obtained according to the selected or obtained detection rules, and must conform to the original purpose of the selected detection rules.
[0111] In actual application, it can be carried out according to different detection periods or detection environments. For example, the current detection environment is a network application environment using the Windows system, and the detection period is a period of frequent data leakage in the region corresponding to the scanning range. For example, the corresponding region is Europe and the United States, and the Christmas period is relatively a period of frequent data leakage. At this time, the detection rules are the detection rules corresponding to the Windows environment during the Christmas period in Europe and the United States. The specific settings will not be repeated here.
[0112] The data leakage detection method provided in this embodiment adopts the detection rules corresponding to the unauthorized service to obtain the leakage data, so that the detection rules can correspond to different unauthorized services, and the corresponding types of leakage data can be obtained according to different unauthorized services, thereby improving the acquisition efficiency or judgment efficiency.
[0113] In one implementation of this embodiment, Figure 4 As shown, after determining the leakage degree of each leakage data according to the preset determination rule in step S05, the following steps are further included:
[0114] S31. If the number of leakage levels greater than the corresponding first leakage threshold is greater than a preset number, the current detection device is determined to be at the second leakage level and a corresponding alarm message is generated.
[0115] In actual application, in some cases it is necessary to continuously monitor the current detection device that has generated warning information. If the number of leakage levels greater than the corresponding first leakage threshold is greater than the preset number, the corresponding current detection device is directly judged to be the second leakage level and an alarm message is generated.
[0116] It should be noted that step S05, step S06, and step S31 can be performed simultaneously, or the execution order can be selected according to actual needs, or whether to execute other steps can be selected according to the current results. For example, if the current detection device has reached the corresponding situation of step S31, step S05 will not be executed, and step S06 will not be executed, that is, it is prioritized to determine whether the leakage degree is greater than the corresponding first leakage threshold. After the discovery, the current detection device is not temporarily determined as the first leakage level, but continues to determine whether all leakage degrees are greater than the corresponding first leakage threshold and obtain the corresponding number, and then determine whether to directly determine the current detection device as the second leakage level. If the number is not greater than the preset number, continue to determine whether these leakage degrees are greater than the second leakage threshold, and then choose to determine whether the current detection device is the first leakage level or the second leakage level based on the result.
[0117] The data leakage detection method provided in this embodiment adopts a method in which if the number of leakage degrees greater than the corresponding first leakage threshold is greater than a preset number, when the number of leakage degrees satisfying the first leakage level is too large, the current detection device can be directly determined as the second leakage level, and the effect of effectively determining the second leakage level can be achieved when there are multiple leakage degrees that are only greater than the first leakage threshold but are all less than the second leakage threshold.
[0118] In one implementation of this embodiment, Figure 5 As shown, step S06, that is, if any one of the leakage levels is greater than the corresponding first leakage threshold, the current detection device is determined to be at the first leakage level and the corresponding warning information is generated, including:
[0119] S41. If any one of the leakage levels is greater than its corresponding first leakage threshold, then record the internal result type once, and perform probability statistics based on the internal result type to obtain a probability statistical result;
[0120] S42. If the probability statistics result is greater than the probability statistics preset value, the current detection device is determined to be at the first leakage level and corresponding warning information is generated.
[0121] In actual application, a leakage level greater than the corresponding first leakage threshold once or once cannot be immediately determined as the first leakage level, and probability statistics are still needed. For example, although a leakage level is greater than the first leakage level in this detection, it may be caused by accidental factors such as errors in the current judgment algorithm. After the end of this detection cycle, the judgment algorithm itself has returned to normal, that is, the actual leakage level is not greater than the first leakage level, which indicates that there is no need to generate early warning information without this data information.
[0122] For the situation where the leakage degree exceeds the pre-first leakage threshold in a certain cycle due to external factors or non-fault factors, and returns to normal in the next cycle, there is no need to generate warning information due to occasional changes. Therefore, the leakage degree in a certain cycle is greater than its corresponding first leakage threshold, which is recorded as an internal result type. Probability statistics are performed based on the number of times the internal result type appears. When the probability statistical result reaches a certain critical value, it means that the internal result type is not caused by accidental external factors or non-fault factors, but that the leakage degree of the current detection equipment is objectively the first leakage level.
[0123] It should be noted that the above-mentioned probability statistics judgment can also be used for the second leakage level. The principle and reason are basically the same as those mentioned above and will not be repeated here. If the corresponding probability statistics result is not greater than the probability statistics preset value, you can choose to continue the detection or temporarily suspend the detection of the current detection device, and return to re-detect the current detection device after a certain period of time.
[0124] The data leakage detection method provided in this embodiment records the internal result type once and performs probability statistics when any leakage degree is greater than the corresponding first leakage threshold, and determines the current detection device whose obtained probability statistical result is greater than the probability statistical preset value as the first leakage level, thereby reducing the probability of accidental misjudgment caused by some non-leakage factors.
[0125] In one implementation of this embodiment, Figure 6 As shown, step S05 determines the leakage degree of each leaked data according to the preset determination rules, including:
[0126] S51. Extracting various leakage factors in the leaked data;
[0127] S52. According to the preset judgment rules, obtain the leakage weight corresponding to the leakage factor;
[0128] S53. Determine the leakage degree of each leaked data according to the leakage factor and the leakage weight.
[0129] Among them, the leakage factors in step S51 are various leakage types or information types in the leaked data, such as the type of information contained in the leaked data, the amount of leakage, the number of times it is obtained, the number of IPs involved, etc., and different leakage factors represent different severities in different situations. Therefore, in step S52, the leakage weight corresponding to each leakage factor will be obtained according to the pre-set and stored preset judgment rules, and then the two will be combined in step S53 to determine the degree of leakage.
[0130] For example, the leakage factors in the leaked data include transaction data A1 and user name A2, the leakage quantity is B, the number of acquisitions is C, the number of IPs involved is D, and the corresponding leakage weights are SA1, SA2, SB, SC, and SD respectively. The leakage degree of this leaked data is A1*SA1+A2*SA2+B*SB+C*SC+D*SD. Of course, not all leakage factors and leakage weights are included in each leaked data, and the preset judgment rules will pre-set all leakage factors and corresponding leakage weights for matching or selection when needed.
[0131] The data leakage detection method provided in this embodiment adopts a method of obtaining leakage weights corresponding to leakage factors, and uses leakage factors and leakage weights as synchronization factors for determining the degree of leakage, so that the leakage weights can be adjusted according to actual needs or actual conditions, thereby improving the flexibility of leakage degree judgment, so as to adapt to the variability of leakage degree judgment of each leakage factor in each environment.
[0132] In one implementation of this embodiment, Figure 7 As shown, after determining the leakage degree of each leakage data according to the leakage factor and the leakage weight in step S53, the following is further included:
[0133] S61. Obtaining a first threshold coefficient and a second threshold coefficient;
[0134] S62. Obtain a first leakage threshold and a second leakage threshold according to the leakage factor, the leakage weight, the first threshold coefficient, and the second threshold coefficient;
[0135] The second threshold coefficient is greater than the first threshold coefficient.
[0136] In actual use, the second threshold coefficient is greater than the first threshold coefficient, so that for the same leaked data, its first leakage threshold must be less than the second leakage threshold. Take the above leakage factors and leakage weights as an example to illustrate, the leakage degree of the leaked data is A1*SA1+A2*SA2+B*SB+C*SC+D*SD, the first threshold coefficient is X1, and the second threshold coefficient is X2, then the first leakage threshold is (A1*SA1+A2*SA2+B*SB+C*SC+D*SD)*X1, and the second leakage threshold is (A1*SA1+A2*SA2+B*SB+C*SC+D*SD)*X2.
[0137] It should be noted that the first threshold coefficient and the second threshold coefficient can also be pre-set according to other factors or reasons. For example, according to different network application environments of the current detection device, the first threshold coefficient and the second threshold coefficient can preset different coefficient values, or according to the number or area of the current detection device, different coefficient values can be preset. Other situations will not be described additionally, as long as the different first threshold coefficients and second threshold coefficients can be pre-set for selection as needed.
[0138] The data leakage detection method provided in this embodiment adopts a method of setting and obtaining a first threshold coefficient and a second threshold coefficient that is greater than the first threshold coefficient, so that the purpose of obtaining a first leakage threshold and a second leakage threshold that is greater than the first leakage threshold can be achieved under the premise of the same leakage factor and leakage weight, and the first leakage threshold and the second leakage threshold can be adjusted in real time according to the first threshold coefficient and the second threshold coefficient.
[0139] In one implementation of this embodiment, Figure 8 As shown, after determining the leakage degree of each leakage data according to the preset determination rule in step S05, the following steps are further included:
[0140] S71. Obtain the historical leakage record of the current detection device corresponding to the leakage degree;
[0141] S72. If the leakage degree of any one of the current detection devices is greater than the corresponding first leakage threshold and there is a historical leakage record, the current detection device is determined to be at the second leakage level and a corresponding alarm message is generated.
[0142] The historical leakage records acquired in step S71 refer to all possible leakage records in the historical detection cycle before the time node of the current detection cycle in terms of time dimension. The leakage records may be generated based on early warning information or alarm information.
[0143] If there is historical leakage information, and in the current detection cycle, the same detection device also has a leakage level greater than the first leakage threshold, it means that the current detection device not only has unauthorized services or vulnerabilities that caused the historical leakage, but also has data leakage that meets the first leakage level in this detection. Therefore, the current detection device is judged to be at the second leakage level that requires special attention. If there is no historical leakage level, the judgment is made according to the previous basic judgment, and no additional leakage level changes are made.
[0144] The data leakage detection method provided in this embodiment adopts the method of obtaining historical leakage records, and directly determines the current detection device that has historical leakage records and the leakage degree is greater than the corresponding first leakage threshold as the second leakage level, thereby achieving the effect of improving the leakage level judgment according to the historical leakage records, so that the attention of the current detection device that has a historical leakage record and still has a certain leakage degree can be increased.
[0145] In one implementation of this embodiment, Fig. 9 As shown, after step S71, that is, obtaining the historical leakage record of the current detection device corresponding to the leakage degree, the following further includes:
[0146] S81. Based on the data type corresponding to the historical leakage record, it is preferentially determined whether the corresponding leakage data is greater than the corresponding first leakage threshold.
[0147] In this embodiment, the number of data types corresponding to the historical leakage records can be determined first. If there is only one data type, the leakage data corresponding to this data type is determined first; if there are multiple data types, the leakage data corresponding to each data type is determined in sequence according to the corresponding data type sequence table. After executing step S81 and determining the data type corresponding to the historical leakage record, it is selected whether to determine the leakage data corresponding to other data types according to the determination result.
[0148] It should be noted that, when determining the leakage data and the second leakage threshold, a method of first determining the data type corresponding to the historical leakage record may also be adopted, which will not be described in detail here.
[0149] The data leakage detection method provided in this embodiment adopts a method of prioritizing the data types in the historical leakage records to improve the efficiency of determining the leakage degree, so that the leakage situation of the current detection device can be obtained relatively quickly.
[0150] In one implementation of this embodiment, Fig.10 As shown, step S06, that is, if any one of the leakage levels is greater than the corresponding first leakage threshold, the current detection device is determined to be at the first leakage level and the corresponding warning information is generated, including:
[0151] S91. If any one of the leakage levels is greater than the corresponding first leakage threshold, the corresponding data type is used as the adjustment type;
[0152] S92. Obtaining an adjustment plan corresponding to the adjustment type;
[0153] S93. Perform corresponding adjustment operations on the corresponding current detection equipment according to the adjustment plan;
[0154] S94. Determine whether the data information corresponding to the adjusted current detection device and the adjustment type includes leaked data;
[0155] S95. If there is leaked data, determine the extent of the leaked data;
[0156] S96. If any one of the leakage levels is greater than the corresponding first leakage threshold, the current detection device is determined to be at the first leakage level and a corresponding warning message is generated;
[0157] S97. If any one of the leakage levels is greater than the corresponding second leakage threshold, the current detection device is restored to the state before adjustment and returns to the initial step.
[0158] Among them, the adjustment plan corresponding to the adjustment type in step S92 is a processing plan preset according to each different adjustment type. For example, the adjustment plan for port data leakage in the adjustment type can be to restart the corresponding data port, or to close the corresponding data port and enable other alternative ports, or directly close the data port, etc.
[0159] After the current detection device is processed by the corresponding adjustment scheme in step S93, steps S84 to S97 determine whether the current detection device is determined as the first leakage level or the second leakage level by determining whether leakage data corresponding to the adjustment type of the current detection device is obtained.
[0160] When it is determined to be the second leakage level, it means that the adjustment solution cannot achieve the desired effect on the leakage situation. In order to avoid causing other unexpected situations, the current detection equipment needs to be restored to the state before the adjustment.
[0161] The data leakage detection method provided in this embodiment adopts an adjustment scheme corresponding to the data type of the leakage data greater than the corresponding first leakage threshold, judges whether the data information corresponding to the adjusted adjustment type includes the leakage data, and re-determines the leakage degree according to the judgment result, thereby enabling real-time adjustment of the leakage data greater than the corresponding first leakage threshold, and performing corresponding subsequent processing according to the adjusted leakage degree, thereby improving the real-time processing efficiency of the leakage data to a certain extent.
[0162] It should be additionally explained that the various implementation methods of this embodiment can be adaptively combined, that is, the steps of each implementation method can be combined with the steps of other implementation methods in various ways, so as to achieve the integration of the processes or effects of each implementation method, and the specific combination method will not be repeated here.
[0163] In addition, the present application adopts a data leakage detection system to implement the above data leakage detection method. This system mainly includes a cyberspace detection module, a data detection module and a content analysis module. The cyberspace detection module mainly realizes related operations such as obtaining and sending data information that needs to be detected, and the data detection module mainly realizes related operations such as detecting leaked data, obtaining data types, and presetting judgment rules. The content analysis module is used to judge the obtained leaked data, generate corresponding notification information and analysis results according to the comparison result type, and perform related operations such as corresponding processing according to the information and results.
[0164] Of course, other modules may also be included, such as a storage module dedicated to storing various data, or some functions of the above modules may be divided out to form separate modules, such as the function of performing preset corresponding processing on the detection in the content analysis module, which may be divided out as a control module.
[0165] In addition, each module can be implemented using different corresponding software or devices. For example, the cyberspace detection module uses network detection engines such as FOFA Pro, Zoomeye, and Shodan. The storage module can be divided into a data storage center and a data leakage database according to the type of data stored. The specific types will not be repeated here.
[0166] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
[0167] It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprises", "comprising" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those factors, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0168] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A data leakage detection method, It is characterized in that The following steps are involved: Get the data information of the current detection equipment; According to the detection rules, obtaining the leaked data in the data information; Obtain all data types of the leaked data; According to each of the data types, obtaining corresponding preset determination rules; Determining the leakage degree of each of the leaked data according to the preset determination rule; If any one of the leakage levels is greater than the corresponding first leakage threshold, the current detection device is determined to be at the first leakage level and corresponding warning information is generated; If any one of the leakage levels is greater than the corresponding first leakage threshold, continue to determine whether all leakage levels are greater than the corresponding first leakage threshold and obtain the corresponding quantity; If the number of leakage levels greater than the corresponding first leakage threshold is greater than a preset number, the current detection device is determined to be at a second leakage level and a corresponding alarm message is generated; If the number of leakage levels greater than the corresponding first leakage threshold is not greater than a preset number, and any one of the leakage levels is greater than the corresponding second leakage threshold, the current detection device is determined to be at the second leakage level and a corresponding alarm message is generated; If the number of leakage levels greater than the corresponding first leakage threshold is not greater than a preset number, and none of the leakage levels is greater than the corresponding second leakage threshold, the current detection device is determined to be at the first leakage level and corresponding warning information is generated; Analyze the warning information and / or the alarm information according to a preset analysis method to generate an analysis result; Wherein, if any one of the leakage degrees is greater than the corresponding first leakage threshold, determining that the current detection device is at the first leakage level and generating corresponding warning information includes: If any one of the leakage degrees is greater than the corresponding first leakage threshold, the corresponding data type is used as the adjustment type; Obtaining an adjustment plan corresponding to the adjustment type; Perform corresponding adjustment operations on the corresponding current detection equipment according to the adjustment scheme; Determining whether the data information corresponding to the adjusted current detection device and the adjustment type includes the leaked data; If the leaked data exists, determining the leakage degree of the leaked data; If any one of the leakage levels is greater than the corresponding first leakage threshold, the current detection device is determined to be at the first leakage level and corresponding warning information is generated; If any one of the leakage levels is greater than the corresponding second leakage threshold, the current detection device is restored to the state before adjustment and returns to the initial step.
2. The data leakage detection method according to claim 1, It is characterized in that The acquisition of data information of the current detection device includes: Get the engine type of the detection engine; According to the engine type, obtain the corresponding scanning range; According to the scanning range, obtaining a network device within the scanning range as a current detection device; Determine whether the current detection device has any unauthorized service; If the current detection device has unauthorized services, the corresponding data information of the current detection device is obtained.
3. The data leakage detection method according to claim 2, It is characterized in that The obtaining, according to the detection rule, the leaked data in the data information includes: Obtaining a detection rule corresponding to the unauthorized service; According to the detection rule, the leaked data in the data information is obtained.
4. The data leakage detection method according to claim 1, It is characterized in that If any one of the leakage levels is greater than the corresponding first leakage threshold, determining that the current detection device is at the first leakage level and generating corresponding warning information includes: If any of the leakage degrees is greater than its corresponding first leakage threshold, then an internal result type is recorded once, and probability statistics are performed according to the internal result type to obtain a probability statistical result; If the probability statistics result is greater than the probability statistics preset value, the current detection device is determined to be at the first leakage level and corresponding warning information is generated.
5. The data leakage detection method according to claim 1, It is characterized in that Determining the leakage degree of each of the leaked data according to the preset determination rule includes: Extracting various leakage factors from the leakage data; According to the preset judgment rule, obtaining the leakage weight corresponding to the leakage factor; The leakage degree of each of the leakage data is determined according to the leakage factor and the leakage weight.
6. The data leakage detection method according to claim 5, It is characterized in that After determining the leakage degree of each of the leakage data according to the leakage factor and the leakage weight, the method further includes: Obtain a first threshold coefficient and a second threshold coefficient; Obtaining the first leakage threshold and the second leakage threshold according to the leakage factor, the leakage weight, the first threshold coefficient, and the second threshold coefficient; The second threshold coefficient is greater than the first threshold coefficient.
7. The data leakage detection method according to claim 5, It is characterized in that After determining the leakage degree of each of the leakage data according to the preset determination rule, the method further includes: Obtaining historical leakage records of the current detection device corresponding to the leakage degree; If the leakage degree of any one of the current detection devices is greater than the corresponding first leakage threshold and there is the historical leakage record, the current detection device is determined to be at the second leakage level and a corresponding alarm message is generated.
8. The data leakage detection method according to claim 7, It is characterized in that After obtaining the historical leakage record of the current detection device corresponding to the leakage degree, the method further includes: According to the data type corresponding to the historical leakage record, it is preferentially determined whether the corresponding leakage data is greater than the corresponding first leakage threshold.
