An efficient and secure large-scale ISP network vulnerability assessment method
Patent Information
- Application Number
- CN202211004745.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-22
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2042-08-22
AI Technical Summary
Existing large-scale ISP network vulnerability assessment methods have scalability problems and security risks, especially when dealing with large numbers of devices, which may lead to device information leakage and system performance overload. The traditional methods have a serious negative impact on system performance, making it difficult to practical.
Adopting a flexible distributed architecture based on LAN, scanning terminal devices through NMAP, extracting and assigning slogan information, using CPE converter and fast CVE search algorithm to speed up the matching process, and ensuring security through IntelSoftware Guard Extension (SGX) and elliptic curve cryptography technology and privacy protection.
It realizes efficient collection of slogan information under light network load, reduces the loss rate, improves CVE matching efficiency, and ensures data security through encryption and signature technology, avoids information leakage and system performance damage, and is suitable for large-scale ISP networks.
Smart Images

Figure CN115529160B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of network vulnerability assessment, and in particular to an efficient and secure large-scale ISP network vulnerability assessment method. Background Art
[0002] Vulnerability assessment allows network security professionals to discover vulnerable terminal devices. As IoT devices and systems are widely used on the Internet, hackers can exploit vulnerabilities in one or more of the IoT devices to conduct a wide range of malicious network activities. A common solution is to identify relevant vulnerabilities by actively simulating attack behaviors. The basic principle is to crack the system by actively simulating various well-planned attacks to identify the vulnerabilities of specified devices. At present, the most common methods based on simulated attacks include Nessus, Burpsuite, and SQLMAP, but consider the following three points: 1) The attack script database cannot contain all vulnerabilities, and there will always be some missed vulnerabilities; 2) They have a serious negative impact on the system performance of the evaluated device (for example, test attacks may overload or paralyze the evaluated system); 3) In order to determine the existence of vulnerabilities, they will bring huge computing overhead to the target device, so the high processing overhead and negative impact also mean that this method is impractical for large-scale networks. Another solution is the vulnerability assessment of SB-CVE, which is based on extracting the default service slogan directly from the application layer message of each terminal device, and then matching the slogan information with each common vulnerability in the public National Vulnerability Database (NVD). This method minimizes the computing overhead of the terminal device, so the second method is selected to identify the vulnerabilities in the network. The vulnerability assessment based on SB-CVE usually includes three steps: collecting slogan information related to the device being evaluated; searching the vulnerability database; generating an assessment report, of which the first two are important factors affecting system performance. Someone proposed an automatic vulnerability assessment method for network devices using ShoVAT. This method directly uses the slogans for Internet-connected devices (Shodan) provided by a commercial search engine instead of collecting them by themselves. In order to further improve the accuracy of the assessment, someone proposed an accurate vulnerability assessment method based on Shodan and Google. This method can even detect 0day attacks. It uses the Censys API to obtain SB information and then matches it with the NVD vulnerability database. In order to expand its use, a vulnerability assessment method for SCADA has emerged. This method uses Shodan to find SCADA devices and then combines attack simulation with pattern matching technology to identify its vulnerabilities.
[0003] Typically, the service banner information of the application layer is extracted from the application layer message of each device before matching it with each common vulnerability in the public National Vulnerability Database (NVD). However, this approach is not practical in large-scale ISP networks due to the work involved and the potential leakage of vulnerability information. Although the above-mentioned cyberspace engine-based methods are more cost-effective, they have the following scalability issues and security risks when facing large-scale networks: (1) Since Shodan or Censys API limits the number of output items per user, this limits the scalability of the evaluation system; (2) Since ISPs need to open their entire network to publicly accessible vulnerable search engines such as Shodan, this makes it possible for device information to be leaked to malicious users and further poses serious threats to the network. Summary of the invention
[0004] The purpose of the present invention is to provide an efficient and secure large-scale ISP network vulnerability assessment method to solve the problems existing in the above-mentioned background technology.
[0005] To achieve the above object, the present invention provides the following technical solution: an efficient and secure large-scale ISP network vulnerability assessment method, the method is as follows:
[0006] S01: Registration: Before publishing the service, the LAN sends a registration request signal (Nk, Pk) to the vulnerability discovery layer, where Nk represents the number of device terminals and Pk represents the public IP address involved;
[0007] S02: Scan terminal devices; LAN will decide whether to perform a new round of scanning based on the specific network load. If so, the administrator will allocate sufficient memory and bandwidth resources for it, and then the banner extraction layer will use NMAP to start the scanning task;
[0008] S03: Extract and return slogan information; for TB-level raw scan data, the slogan extraction layer divides it into several small data blocks and assigns each data block to a server. Each server extracts the initial slogan information and deletes incomplete slogan information from the initial data. In addition, the slogan extraction layer returns the cleaned data to the vulnerability discovery layer.
[0009] S04: Matching CVE and shared vulnerabilities; Matching CVE and shared vulnerabilities, the vulnerability discovery layer periodically downloads the extensible markup language file of NVD and extracts all CPE entries from it. At the same time, it converts the slogan information into CPE. After receiving the slogan information from the slogan extraction layer, the vulnerability discovery layer converts the slogan into CPE and searches in NVD to obtain CVE. In addition, they are shared with group users in the LAN.
[0010] Preferably, the slogan extraction layer is used for packet forwarding device performance measurement and local area network health assessment. The former is used to determine the key performance indicators and their weights that preferentially affect the network scanning quality, and further provide a comprehensive expression of the packet forwarding device performance. The latter is used to calculate the indicators of online devices and further provide a comprehensive expression of the overall network performance.
[0011] Preferably, the vulnerability discovery layer is used to convert slogan information into searches for CPE and CVE.
[0012] Compared with the prior art, the present invention has the following beneficial effects:
[0013] 1. A flexible distributed architecture based on local area network (LAN) is adopted, which allows each LAN of each ISP network to participate in vulnerability assessment and share vulnerability data as needed. In order to obtain more slogan information, the present invention provides a system parameter evaluation method to ensure that the collection task is executed under light network load and solve the problem of high loss rate during slogan information collection.
[0014] 2. In order to speed up CVE matching, the present invention provides an efficient CPE converter and a fast CVE search algorithm. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 This is the architecture diagram of the LAN-based vulnerability assessment system.
[0016] Figure 2 This is the structure diagram of the CPE converter.
[0017] Figure 3 Diagram of the security vulnerability sharing protocol. DETAILED DESCRIPTION
[0018] 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.
[0019] See also Figure 1-3 As shown, the present invention provides a technical solution: an efficient and secure large-scale ISP network vulnerability assessment method, the method is as follows:
[0020] S01: Registration: Before publishing the service, the LAN sends a registration request signal to the vulnerability discovery layer, where Nk represents the number of device terminals and Pk represents the public IP address involved;
[0021] Among them, the vulnerability discovery layer uses web service technology to publish its services in a standard form. In order to achieve high scalability, ISPs can deploy with the help of cloud computing. The published services can only be accessed by users authorized by the LAN, such as ISPs and national regulatory agencies. The vulnerability discoverer is the central point of entry into the system and has three functions: maintaining the deployer list and data user list; converting the service banner into the CPE form associated with CVE, and then matching it with NVD; providing a query center and realizing vulnerability information sharing;
[0022] S02: Scan terminal devices; LAN will decide whether to perform a new round of scanning based on the specific network load. If so, the administrator will allocate sufficient memory and bandwidth resources for it, and then the banner extraction layer will use NMAP to start the scanning task;
[0023] Among them, the slogan extraction layer can work on the gateway server of the local area network. With the development of edge computing, more and more local area network administrators begin to provide edge computing services on the gateway. Therefore, it is reasonable to migrate the slogan extraction to the gateway of edge computing. Each slogan extractor provides an interface for communicating with the vulnerability discovery layer and an interface for scanning terminal devices. It includes two tasks: using the existing passive scanning tool NMAP to scan each terminal device and extract slogan information from the returned application layer message;
[0024] The slogan extraction layer is used for packet forwarding device performance measurement and LAN health assessment. The former is used to determine the key performance indicators and their weights that prioritize network scanning quality, and further give a comprehensive expression of packet forwarding device performance. The latter is used to calculate the indicators of online devices and further give a comprehensive expression of overall network performance, which is specifically expressed as follows;
[0025] Step 1: To evaluate LAN availability, transmission quality, and robustness, we select port loss rate (PLR), average error packet rate (AEPR), and average packet loss rate (ADPR) as the relevant indicators for our network scan of packet forwarding devices. PLR reflects the connectivity of network devices, AEPR reflects the forwarding quality of the entire network, and ADPR reflects the network throughput under high load. In particular, all of these can be directly collected through ICMP and SNMP. In addition, in the multi-indicator evaluation model, the degree of change of the indicator directly determines its weight. For simplicity, we use the standard deviation coefficient (SDC) to calculate the weight (w) of each indicator. Given a network device k and a performance indicator i, its corresponding SDC is expressed as V ki, and the weight wki is calculated as follows:
[0026]
[0027] Where MS = {PDR, AEPR, ADPR}, on this basis, the evaluation score of a device is:
[0028]
[0029] Among them, D k ∈[1,100], Indicates the range of index j. Since the value ranges of different indicators vary greatly, we directly use This will lead to considerable errors. This means that it is necessary to standardize the indicator values. According to scientific notation, Where z < 0. Assume z f represents the most frequent power, z m Indicates the maximum power. To fix the range, if It is set to a new value when Where μ=0.4.
[0030] Step 2: Considering that most routing protocols in LAN (such as OSPF) are based on the shortest path, the betweenness centrality of complex networks is used to evaluate the importance of packet forwarding devices. Given a device v, its importance to the entire network can be calculated as:
[0031]
[0032] g v (e1, e2) is the number of routing paths through v, Ω eqip Indicates the number of network devices, Ω edge Represents a set of devices. Based on this, given a network j in an autonomous domain, its evaluation score is:
[0033]
[0034] In terms of resource pre-allocation, the factors affecting the number of collected slogans and the evaluation host mainly include storage capacity S Men and downstream bandwidth capacity B down , given a network j in an autonomous domain, they are calculated as follows:
[0035]
[0036] in represents the number of surviving hosts in j, represents the average time of a scan, while LET RTN Indicates the average length of TCP return packets. These parameters can be predicted through historical statistical scan data.
[0037] The terminal devices must first have an instant messaging system based on the TCP / IP protocol installed. Secondly, they must be online most of the time. Even if they are forced into sleep mode, it will not last for a long time. Finally, they will independently accept friendly network scanning and respond to the scanner's TCP-SYN packets and application layer messages.
[0038] S03: Extract and return slogan information; for TB-level raw scan data, the slogan extraction layer divides it into several small data blocks and assigns each data block to a server. Each server extracts the initial slogan information and deletes incomplete slogan information from the initial data. In addition, the slogan extraction layer returns the cleaned data to the vulnerability discovery layer.
[0039] S04: Matching CVE and shared vulnerabilities; To match CVE and shared vulnerabilities, the vulnerability discovery layer periodically downloads the XML file of NVD and extracts all CPE entries from it. At the same time, it converts the slogan information into CPE. After receiving the slogan information from the slogan extraction layer, the vulnerability discovery layer converts the slogan into CPE and searches in NVD to obtain CVE. In addition, it also shares them with group users in the LAN.
[0040] Among them, the vulnerability discovery layer is used to convert slogan information into CPE and CVE search. Since CVE in NVD is frequently updated, while the CPE it contains does not always change, CVE matching is decoupled from CPE identification to reduce the NVD update cost and improve scalability. The string in the slogan information is inconsistent with the CPE in NVD. For any slogan information, it is impossible to directly and accurately find the corresponding CPE in NVD. A simple method is to use machine learning algorithms to predict the similarity between slogan information and CPE, but considering the large amount of slogan information and newly added slogan types, this will incur huge time overhead and low matching accuracy. In order to speed up the matching process, another method is to construct an effective index. Considering that the similarity between a slogan information and CPE depends on the number of their common fields, TRIE index tree will be a feasible choice. However, its traditional structure cannot realize similarity-based string search. Therefore, we define a converter from slogan to CPE, which is a new TRIE tree based on similarity.
[0041] About CPE Converter:
[0042] Given a set of CPEs extracted from all CVEs in NVD, extract IS from CVEs in NVD p , and a set of cleaned service slogan information IS b , the CPE identifier (represented by a T-tree) is now defined as a trie index tree with the following properties: (i) Each leaf represents an IS pdifferent CPEs in T, and each CPE in T has at most one leaf; (ii) each intermediate (non-leaf) node represents the service banner field information related to the CPE form; (iii) each intermediate node in layers 1 to 5 has a judgment attribute, which uses a compact data structure for fast query-bloom filter to record the information of all child nodes;
[0043] Drawing on the idea of TRIE index tree, we define a CPE identifier to complete the conversion from service banner to CVE CPE, such as Figure 2 As shown, the first layer is the root node, which is "CPE"; the second layer subnodes are 26 English letters, representing the index of the first letter of the third layer subnode supplier; through the index of the second layer subnode, the supplier name of the third layer networking device can be found more quickly; the fourth and fifth layer subnodes represent the product name and version number of each product respectively; the last layer node represents the subsidiary information layer. If successful, the searched leaf is the required CPE, otherwise, select the CPE most similar to e from NVD and insert it into the CPE identifier.
[0044] like Figure 2 As shown, the converter has 6 layers: layer 1 represents the CPE version field, layer 2 represents the product type field, layer 3 represents the supplier field, layer 4 represents the product field, layer 5 is the product version field, and layer 6 is the corresponding real CPE in CVE. When a new slogan information arrives, the basic principle of identifying its CPE is: perform layer-by-layer query to determine whether the CPE corresponding to the slogan is included in the converter. If successful, the searched leaf is the CPE we need. Otherwise, select the slogan from NVD and convert it into the most similar CPE, and insert it into the CPE converter at the same time.
[0045] The difficulty of CPE identification lies in how to calculate the similarity between the service slogan e and CPE. In order to explain the reason for this situation in detail, the following most common situations in the matching process are summarized. First, except for the product field, the other fields of e, including type, vendor and version, are equal to p. e , followed by e and p e The product names of are all complete, so they are equal to each other. For example, product of e = "httpd" and pe = "http server". Based on these situations, if we immediately adopt the existing string similarity measure based on Levenshteindiance, the accuracy of CPE identification will be low. This is because such measurements are sensitive to length. Generally, the longer the CPE, the higher the calculated similarity, which will lead to an increase in the number of false positives. Therefore, it is necessary to define a new similarity measure.
[0046] Through the above case analysis, the factors that mainly affect the similarity SIM(e,p) between the slogan information e and CPEp are the length of the common subsequence and the coverage of the subsequence. The similarity calculation is to search for a common subsequence that combines the maximum length and the maximum coverage. Considering that these two factors are greater than 0, the formula of SIM(e,p) is as follows:
[0047]
[0048] Where CS represents the common sequence and Len(·) represents its length.
[0049] On this basis, a more effective algorithm for calculating the similarity between service banners and CPEs is proposed, which mainly includes three steps, as detailed in Algorithm 1;
[0050] Algorithm 1: Similarity calculation
[0051] Step 1: Use dynamic programming to calculate the slogan information and the longest common substring, assuming that X=<x1,x2,…,x m >Indicates service slogan information, X i The i-th character X of the first slogan represents CPE, Y i represents a substring consisting of the i-th character of Y. If X i =Y i , then calculate X i-1 and Y i-1 LCS of X; otherwise, calculate i and Y i-1 LCS and X i-1 and Y i of LCS.
[0052] Step 2: Calculate the LCS coverage calculated from step 1 using Definition 2.
[0053] Step 3: Use the formula SIM(e,p)=Len(LCS)×Cov(LCS,p) to calculate the similarity between CPE and slogan information.
[0054] Definition 2: Subsequence
[0055] Given a character sequence X = <x1,x2,…,x m >,Z=<z1,z2,…,z k > can be regarded as a subsequence of X when the following conditions are met: if there is a strictly monotonically increasing subscript sequence in X So that the equation Established.
[0056] Definition 3 Common subsequence
[0057] Given two character sequences X and Y, Z is a subsequence of both X and Y if and only if Z is a subsequence of both X and Y, i.e. and It can be expressed as
[0058] Definition 4: Subsequence Coverage
[0059] Given a character sequence X and its subsequence Z, their subsequence coverage is: Cov(Z,X)=|Z| / |X|, where |·| represents the length of the string. Specifically, if Z is composed of the first letter of the normal sequence X, then Cov(Z,X)=100%.
[0060] Based on the above, regarding CVE search:
[0061] In the real world, different software products have different market shares. Take web servers as an example. Among the 19,910,775 servers surveyed, AkamaiGHost and Apache account for 29.96% and 20.89% respectively, while other manufacturers account for less than 50%. This means that during NVD searches, the probability of CVEs corresponding to these two market products is relatively high. Based on this observation, in order to speed up NVD searches, CVEs with high probability of occurrence should be matched first. To this end, the evaluation server maintains a two-level storage structure for CVEs. The first level stores priority CVEs, and the second level stores common CVEs. Given an identified CPE, we can search for it on the second level only if this CPE is not found on the first level. ,This problem exhibits a similar process to the page replacement problem in the operating system cache, where frequently appearing pages need to be kept in the cache to improve the hit rate.,As far as the page replacement problem is concerned, the adaptive replacement cache (ARC) outperforms other algorithms, including the least frequently used (LFU) and least frequently used (LRU), but it is more suitable for stable and benign systems (such as operating systems) rather than network environments that host many unreliable and malicious devices.,For example, devices joining or leaving the network at will will cause the probability fluctuation of related CVEs and further lead to high page update overhead of ARC.,Therefore, in order to reduce the maintenance overhead, a CVE-oriented adaptive replacement cache strategy is designed,,called CVE-ARC, in which each CVE is scored using a combination of moving average and ARC.
[0062] The basic principle of CVE search in the present invention is as follows: All CVEs in NVD are stored in the secondary storage. Given a CPE p, once its corresponding CVE V is found, p , we can use the dynamic mean algorithm to calculate V p , the score is expressed as S(V p ), if S(V p) exceeds a given threshold, it is promoted to the first-level cache, otherwise it will be retained or returned to the second-level cache. If the first-level cache is full, it is resolved by raising the threshold. In order to improve the accuracy of model prediction, all CVEs are calculated regularly.
[0063] Let S t (V p ) is V in CVE p The average value of , where t is the current network scan number, is calculated as follows:
[0064]
[0065] Among them, P t-μ (V p ) indicates V p The fraction, μ represents the calculation of S t (V p ) time window, δ represents the penalty score for reducing the CVE score. If there is no corresponding CVE in NVD, it needs to be removed. The initial value P0(V p )=0, then P t (V p ) is expressed as:
[0066] P t (V p )=ω f ·m+ω r ·(t c -t p );
[0067] Where wf represents the weight of frequency, wr represents the weight of recency, m represents the number of times Vp appears, tc and tp represent the appearance time of the current Vp and the appearance time of the previous Vp.
[0068] In a real environment, due to the existence of sophisticated hackers and semi-trusted third parties, the above basic design may leak vulnerability information of the LAN. For example, if an ISP deploys a virtual disk on a public cloud platform, the cloud service provider (CSP) may eavesdrop on its output data (i.e., vulnerabilities); hackers can disguise themselves as users trusted by the PN administrator to steal vulnerability data. In order to address this threat, the present invention designs a secure vulnerability sharing protocol for vulnerability assessment.
[0069] First, the reasons for the information leakage of the vulnerability are analyzed, and the reasons why it is difficult to defend are further explained. First, although CSP is able to provide elastic computing and storage resources for virtual disks, in order to pursue more profits, it may leak them to malicious people. A feasible method is to encrypt the service information banner before input, which can achieve sensitive information hiding. However, this makes the virtual disk impossible to implement on the public server provided by the cloud unless it can provide a trusted execution environment. Secondly, in order to prevent unauthorized access, a simple method is to maintain a list containing the signature verification key of each trusted user, which enables the LAN to verify the true sender of each request, but considering the huge number of users and insecure communication channels, it will incur considerable maintenance costs. In addition, this will leak the user's identity privacy to the LAN and further expose its intentions. In addition, it allows the LAN to process the user list, that is, arbitrarily reject the legitimate requests of trusted users. Therefore, the key to preventing such bad behavior is to implement lightweight and anti-temporal user authentication with privacy protection.
[0070] In order to solve the problem that virtual disks cannot be implemented on public servers provided by the cloud, Intel Software Guard Extension (SGX) technology is introduced, which can provide a trusted execution environment for software. In order to achieve software security, we deploy virtual disk modules on SGX servers. At the same time, in order to protect the privacy of banner information, elliptic curve cryptography technology can be used. In order to achieve lightweight and anti-temporal user authentication with privacy protection, group signature technology can be used to achieve user authentication. It does not need to maintain a user list. At the same time, it can protect the user's identity privacy and avoid dishonest behavior in the local area network. In addition, once a user exits, it will not be able to authenticate and is therefore disqualified.
[0071] Figure 3 Shows the overall architecture of the vulnerability sharing protocol. Once a LAN is successfully registered, all of its trusted users form a user group. Allow users to participate in different groups at the same time. i Any user in It will generate a public-private key pair At the same time, the slogan extraction layer will assign it a group private key In addition, the SGX-based virtual disk will generate a pair of keys {PK SGX ,SK SGX}, and Assigned to the slogan extraction layer, the slogan extraction layer also generates a key pair and will Sent to the vulnerability discovery layer, the slogan extraction layer first uses Encrypt its output data. When receiving this data, the SGX-based virtual disk uses Decrypt and process it, then use Encrypt the output data of the vulnerability discovery layer. When performing a vulnerability search {V, GSIG(V)}, the vulnerability discovery layer locates LAN vulnerabilities that match the search criteria in the (index) file, and then converts the query request {V, GSIG(V), CV} into each request related to the LAN, where V represents the request message, GSIG(V) represents its group signature, and CV represents the requested vulnerability. Upon receipt, the banner extraction layer uses its group public key Verify GSIG(V), if It uses Decrypt the returned data. Then, use Encrypt the data and send it to After receiving, use Decrypt.
[0072] In order to achieve efficiency and flexibility, the present invention adopts a short group signature that supports local revocation of the verifier.
[0073] During the registration phase, ISPs and LAN administrators need to implement dynamic management of their main entity members in this system. Therefore, there are four sub-steps:
[0074] LAN registration, once the enterprise EP successfully accesses the Internet, it immediately sends a request to the certificate authority (CA) maintained by the ISP LAN i Indicates the dedicated network of EP, Indicates its unified social credit code, represents its public IP, represents the random number generated by the banner extraction layer, and G is the base point of the elliptic curve. Upon receiving the request, the CA calculates the certificate At the same time, its corresponding signature is calculated Among them, SK CA Represents the private key of the CA. Then, Return to EP.
[0075] When an EP wants to join this system, its corresponding slogan extraction layer calculates Signature And send a registration request to the vulnerability discovery layer After receiving the request, the vulnerability discovery layer first uses PK CA verify If correct, it will continue to be used Verify LAN i identity, where PK CA Indicates the CA's public key. Once the LAN i After successful registration, the vulnerability discovery layer will directly rent an SGX service from the cloud platform and add it to the member list. Then, the SGX service generates and in Representing SGX i The generated random number can be kept confidential from the CSP.
[0076] User authorization, given user If EP allows it to share LAN i The slogan extraction layer will generate and insert it into the group key list GRP i ,in γ, represents a random number, g1 is the generator of G1, G1 is a (multiplicative) cyclic group of prime order p, and the slogan extraction layer is LAN i Uniformly generate a group public key where g2 is the generator of G2, another (multiplicative) cyclic group of prime order p, and Represents a random number.
[0077] User deletion, when EP wants to revoke When the sharing weight of the corresponding slogan extraction layer is set to A m , where RS represents the revocation set consisting of user revoked token A.
[0078] LAN revocation, when LAN i When you want to exit, the corresponding slogan extraction layer sends a cancellation request to the vulnerability discovery layer After successful authentication, the Vulnerability Discovery Layer removes the LAN from the member list. i .
[0079] In the SB extraction stage, the slogan extraction layer uses Encrypt the collected slogans. First, it encodes these data into an elliptic curve and further obtains its corresponding unique encoder M i ∈{0,1} * , and secondly, it passes and C2 = r·G to encrypt Mi, where r is a random number and G is the base point of the elliptic curve. Finally, it converts the ciphertext block CSB i =(C1,C2) is sent to the vulnerability discovery layer.
[0080] In the CVE matching phase, the vulnerability discovery layer will CSBi Handing over to SGX i The enclave then decrypts the ciphertext block through C1 After the vulnerability discovery process is completed, SGX i use Encrypt its output data and transmit the corresponding ciphertext block External cloud storage.
[0081] In the vulnerability sharing stage, Each vulnerability search {V,GSIG(V)}, the vulnerability discovery layer identifies the involved {V,GSIG(V),CV i}, and then forward the request {V, GSIG(V), CVi} to its corresponding banner. GSIG(V)=(r1,r2,t1,t2,s α ,s x ,s δ ,c) by Calculate, where Represents a random number, t1 = [u] α , t2=A m ·[v] α , Ψ(·) is a computable isomorphism from G2 to G1, Represents a random number, H0:{0,1} * →G2, S α =γ α +c·α,S x =r x +c·x m , S δ =r δ +c·δ,r α , r x and r δ Indicated in The blind value picked up in represents a random number, c=H1(GPK i ,V,r1,r2,R1,R2,R3,t1,t2), H1: and e(·) is a valid computable bilinear map e:G1×G2→G T After receiving the request, the slogan extraction layer first uses GPK i To verify its sender, it computes and Then, generate if GSIG(V) is valid, therefore, is an authorized user. After that, the slogan extraction layer continues to judge Is it a revoked user? For each element A k ∈RS, if Not revoked In this case, the slogan extraction layer is implemented by Decrypt V and further obtain vulnerability data. In addition, it uses Encrypt it and send its ciphertext block arrive also, pass Decrypt it.
[0082] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. An efficient and secure large-scale ISP network vulnerability assessment method, characterized in that: The method is as follows: S01: Registration: Before publishing the service, the LAN sends a registration request signal (Nk, Pk) to the vulnerability discovery layer, where Nk represents the number of device terminals and Pk represents the public IP address involved; S02: Scan terminal devices; LAN will decide whether to perform a new round of scanning based on the specific network load. If so, the administrator will allocate sufficient memory and bandwidth resources for it, and then the banner extraction layer will use NMAP to start the scanning task; S03: Extract and return slogan information; for TB-level raw scan data, the slogan extraction layer divides it into several small data blocks and assigns each data block to a server. Each server extracts the initial slogan information and deletes incomplete slogan information from the initial data. In addition, the slogan extraction layer returns the cleaned data to the vulnerability discovery layer. S04: Matching CVE and shared vulnerabilities; Matching CVE and shared vulnerabilities, the vulnerability discovery layer periodically downloads the extensible markup language file of NVD and extracts all CPE entries from it. At the same time, the slogan information is converted into CPE. After receiving the slogan information from the slogan extraction layer, the vulnerability discovery layer converts the slogan into CPE and searches in NVD to obtain CVE. In addition, they are shared with group users in the LAN; The slogan extraction layer is used for packet forwarding device performance measurement and LAN health assessment. The former is used to determine the key performance indicators and their weights that preferentially affect the quality of network scanning, and further provide a comprehensive expression of packet forwarding device performance. The latter is used to calculate the indicators of online devices and further provide a comprehensive expression of overall network performance. Among them, the key performance indicators are port loss rate PLR, average error packet rate AEPR and average packet loss rate ADPR; The comprehensive expression of packet forwarding equipment performance is: The comprehensive expression of the overall network performance is Among them, the port loss rate PLR, average error packet rate AEPR and average packet loss rate ADPR are selected as the relevant indicators for network scanning of data packet forwarding devices. The degree of change of the indicator directly determines its weight. The standard deviation coefficient SDC is used to calculate the weight w of each indicator. Given a network device k and a performance indicator i, its corresponding SDC is expressed as Weight The calculation is as follows: Where MS = {PDR, AEPR, ADPR}, on this basis, the evaluation score of a device is: Among them, D k ∈[1,100], Indicates the range of index j, according to scientific notation, Where z<0, assuming z f represents the most frequent power, z m Indicates the maximum power. To fix the range, if It is set to a new value when Where μ = 0.4; The betweenness centrality of complex networks is used to evaluate the importance of packet forwarding devices. Given a device v, its importance to the entire network can be calculated as: g v (e1, e2) is the number of routing paths through v, Ω eqip Indicates the number of network devices, Ω edge represents the set of devices, Ω node is the set of device nodes in the network, g x (e1, e2) represents the number of routing paths through other device nodes. On this basis, given a network j in an autonomous domain, its evaluation score is:
2. According to claim 1, an efficient and secure large-scale ISP network vulnerability assessment method is characterized by: The vulnerability discovery layer is used to convert slogan information into searches for CPE and CVE.
