Method, system and related equipment for evaluating the availability of network attack source addresses

By acquiring and evaluating multiple open service ports and vulnerabilities of the target host, and comprehensively evaluating the vulnerability level, the problem of inaccurate vulnerability level evaluation in the existing technology is solved, and the accuracy of exploitability evaluation of the attack source address is improved.

CN115913776BActive Publication Date: 2024-11-22CHINA CONSTRUCTION BANK
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211656234.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-22
Publication Date
2024-11-22
Estimated Expiration
2042-12-22

AI Technical Summary

Technical Problem

In the prior art, evaluating the exploitability of the attack source address based on the vulnerability level of a single vulnerability can easily lead to inaccurate evaluation and the inability to fully understand all vulnerabilities on the host.

Method used

By obtaining multiple open service ports and vulnerabilities of the target host, comprehensively evaluate the levels and number of high-risk and non-high-risk vulnerabilities, calculate the availability level of the attack source address, and improve the accuracy of the evaluation.

Benefits of technology

By comprehensively evaluating the vulnerability levels of all vulnerabilities, the accuracy of the exploitability assessment of the attack source address is improved and the reliability of the assessment results are ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115913776B_ABST
    Figure CN115913776B_ABST
Patent Text Reader

Abstract

The present application provides a method, system and related equipment for evaluating the availability of a network attack source address, which obtain multiple open service ports of a target attack source address on a target host; if a high-risk port exists in each open service port, a preset score is determined as the availability score of the target attack source address, and the availability score of the target attack source address is greater than or equal to the target score, a vulnerability scan is performed on the target attack source address, and multiple vulnerabilities of the target attack source address are obtained; the vulnerability level of the vulnerability is queried, and according to the vulnerability level of the vulnerability, it is determined that there are high-risk vulnerabilities in each vulnerability, and the high-risk vulnerability score of the target attack source address is calculated according to the pre-set high-risk vulnerability basic score, high-risk vulnerability score and the number of vulnerabilities of the high-risk vulnerability; according to the high-risk vulnerability score of the target attack source address, the availability level of the target attack source address is determined, and the target host corresponding to the target attack source address is utilized according to the availability level of the target attack source address.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and more specifically, to a method, system and related equipment for evaluating the availability of a network attack source address. Background Art

[0002] With the increasing risk of cyberspace arms race and national cyber conflicts, the global cyber security situation is becoming increasingly severe. In order to use the attack source address on the host more safely, the availability of the attack source address can be evaluated to determine whether to use the attack source address based on its availability.

[0003] In the prior art, a section of ports or a specified port on a host can be scanned. The scan results can tell which services are provided on the host, and then the known vulnerabilities of these services can be used to attack to find a vulnerability on the host, and the vulnerability level of the vulnerability can be determined using a weakness evaluation system, and finally the availability of the attack source address on the host can be evaluated based on the vulnerability level of the vulnerability. However, there may be more than one open port and vulnerability involved on a host or server, so determining the availability of the attack source address on the host based only on the vulnerability level of a single vulnerability can easily lead to inaccurate evaluation of the availability of the attack source address. Summary of the invention

[0004] In view of this, the present invention provides a method, system and related equipment for evaluating the availability of a network attack source address, so as to solve the problem that the availability of the attack source address on the host is determined only according to the vulnerability level of a single vulnerability in the prior art, which easily leads to inaccurate evaluation of the availability of the attack source address.

[0005] The present invention provides a method for evaluating the availability of a network attack source address, the method comprising:

[0006] Obtaining a target attack source address from a target host, and obtaining a plurality of open service ports of the target attack source address; wherein the target attack source address is an attack source address for which availability assessment is to be performed;

[0007] If there is a high-risk port among the open service ports, a preset score is determined as the availability score of the target attack source address;

[0008] Determining whether the availability score of the target attack source address is greater than or equal to the target score;

[0009] If the availability score of the target attack source address is greater than or equal to the target score, perform a vulnerability scan on the target attack source address to obtain multiple vulnerabilities of the target attack source address;

[0010] Query the vulnerability levels of the vulnerabilities, and determine whether there are high-risk vulnerabilities among the vulnerabilities according to the vulnerability levels of the vulnerabilities;

[0011] If there is a high-risk vulnerability among the vulnerabilities, the high-risk vulnerability score of the target attack source address is calculated according to the preset high-risk vulnerability basic score, high-risk vulnerability score and number of high-risk vulnerabilities;

[0012] According to the high-risk vulnerability score of the target attack source address, the availability level of the target attack source address is determined, and the target host corresponding to the target attack source address is utilized according to the availability level of the target attack source address.

[0013] Optionally, the method further includes:

[0014] If there is no high-risk port among the open service ports, the availability score of the target attack source address is determined according to the preset non-high-risk port score and the number of the open service ports.

[0015] Optionally, if there is no high-risk port among the open service ports, determining the availability score of the target attack source address according to a preset non-high-risk port score and the number of open service ports includes:

[0016] If there is no high-risk port among the open service ports, the preset non-high-risk port score is multiplied by the number of the open service ports to obtain the availability score of the target attack source address.

[0017] Optionally, the method further includes:

[0018] If the availability score of the target attack source address is not greater than or equal to the target score, determining the availability score of the target attack source address as the final score of the target attack source address;

[0019] According to the final score of the target attack source address, the availability level of the target attack source address is determined, and the target host corresponding to the target attack source address is utilized according to the availability level of the target attack source address.

[0020] Optionally, the method further includes:

[0021] If there is no high-risk vulnerability among the vulnerabilities, and there are medium-risk vulnerabilities and low-risk vulnerabilities among the vulnerabilities, at least one medium-risk vulnerability and at least one low-risk vulnerability are determined from the vulnerabilities according to the vulnerability levels of the vulnerabilities;

[0022] Calculate the non-high-risk vulnerability score of the target attack source address according to the preset non-high-risk vulnerability basic score, medium-risk vulnerability score, low-risk vulnerability score, number of medium-risk vulnerabilities, and number of low-risk vulnerabilities;

[0023] According to the non-high-risk vulnerability score of the target attack source address, the availability level of the target attack source address is determined, and the host corresponding to the target attack source address is utilized according to the availability level of the target attack source address.

[0024] Optionally, the calculating of the non-high-risk vulnerability score of the target attack source address according to the preset non-high-risk vulnerability basic score, medium-risk vulnerability score, low-risk vulnerability score, number of medium-risk vulnerabilities, and number of low-risk vulnerabilities includes:

[0025] Multiply the preset medium-risk vulnerability score by the number of medium-risk vulnerabilities to get the medium-risk vulnerability score;

[0026] Multiply the preset low-risk vulnerability score by the number of low-risk vulnerabilities to obtain the low-risk vulnerability score;

[0027] The preset non-high-risk vulnerability basic score, the medium-risk vulnerability score, and the low-risk vulnerability score are added together to obtain the non-high-risk vulnerability score of the target attack source address.

[0028] Optionally, if there is a high-risk vulnerability among the vulnerabilities, the high-risk vulnerability score of the target attack source address is calculated according to a preset high-risk vulnerability basic score, a high-risk vulnerability score and a number of high-risk vulnerabilities, including:

[0029] If there is a high-risk vulnerability among the vulnerabilities, the preset high-risk vulnerability score is multiplied by the number of high-risk vulnerabilities to obtain an initial high-risk vulnerability score;

[0030] The preset high-risk vulnerability basic score and the initial high-risk vulnerability score are added together to obtain the high-risk vulnerability score of the target attack source address.

[0031] A second aspect of the present invention discloses a system for evaluating the availability of a network attack source address, the system comprising:

[0032] An open service port acquisition unit, used to acquire a target attack source address from a target host, and acquire a plurality of open service ports of the target attack source address; wherein the target attack source address is an attack source address to be evaluated for availability;

[0033] A first availability score determination unit, configured to determine a preset score as an availability score of the target attack source address if there is a high-risk port among the open service ports;

[0034] A first judgment unit, used to judge whether the availability score of the target attack source address is greater than or equal to a target score;

[0035] a vulnerability scanning unit, configured to perform a vulnerability scan on the target attack source address to obtain a plurality of vulnerabilities of the target attack source address if the availability score of the target attack source address is greater than or equal to the target score;

[0036] A second judgment unit is used to query the vulnerability level of the vulnerability and judge whether there is a high-risk vulnerability among the vulnerabilities according to the vulnerability level of the vulnerability;

[0037] A high-risk vulnerability score calculation unit, used to calculate the high-risk vulnerability score of the target attack source address according to a preset high-risk vulnerability basic score, a high-risk vulnerability score and a number of high-risk vulnerabilities if there is a high-risk vulnerability among the vulnerabilities;

[0038] The first availability level determination unit is used to determine the availability level of the target attack source address according to the high-risk vulnerability score of the target attack source address, and utilize the target host corresponding to the target attack source address according to the availability level of the target attack source address.

[0039] The third aspect of the present invention discloses an electronic device, comprising: a processor and a memory, wherein the processor and the memory are connected via a communication bus; wherein the processor is used to call and execute a program stored in the memory; and the memory is used to store a program, wherein the program is used to implement the method for evaluating the availability of a network attack source address disclosed in the first aspect of the present invention.

[0040] A fourth aspect of the present invention discloses a computer-readable storage medium, in which computer-executable instructions are stored. The computer-executable instructions are used to execute the method for evaluating the availability of a network attack source address disclosed in the first aspect of the present invention.

[0041] The present invention provides a method, system and related equipment for evaluating the availability of a network attack source address, which obtains a target attack source address from a target host, and obtains a plurality of open service ports of the target attack source address; wherein the target attack source address is an attack source address to be evaluated for availability; if there is a high-risk port in each of the open service ports, a preset score is determined as the availability score of the target attack source address; it is determined whether the availability score of the target attack source address is greater than or equal to a target score; if the availability score of the target attack source address is greater than or equal to the target score, the target attack source address is evaluated for availability. Perform vulnerability scanning on the target attack source address to obtain multiple vulnerabilities of the target attack source address; query the vulnerability level of the vulnerability, and determine whether there are high-risk vulnerabilities in each of the vulnerabilities according to the vulnerability level of the vulnerability; if there are high-risk vulnerabilities in each of the vulnerabilities, calculate the high-risk vulnerability score of the target attack source address according to the pre-set high-risk vulnerability basic score, high-risk vulnerability score and number of high-risk vulnerabilities; determine the availability level of the target attack source address according to the high-risk vulnerability score of the target attack source address, and utilize the target host corresponding to the target attack source address according to the availability level of the target attack source address. The technical solution provided by the present invention can find out all vulnerabilities related to the attack source address, evaluate the availability of the attack source address by comprehensively evaluating the vulnerability levels of all vulnerabilities, thereby improving the accuracy of the evaluation of the availability of the attack source address. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0043] Figure 1 A schematic diagram of a flow chart of a method for assessing the availability of a network attack source address provided by an embodiment of the present invention;

[0044] Figure 2 A schematic diagram of the structure of a system for evaluating the availability of a network attack source address provided by an embodiment of the present invention;

[0045] Figure 3 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0046] 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.

[0047] In this application, relational terms such as first and second, etc. are used only 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 "comprise", "include" 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 elements, 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 "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.

[0048] See also Figure 1 , shows a flow chart of a method for evaluating the availability of a network attack source address provided by an embodiment of the present invention, the method for evaluating the availability of a network attack source address specifically comprising the following steps:

[0049] S101: Obtain a target attack source address from a target blocking product, and obtain multiple open service ports of the target attack source address.

[0050] The target attack source address is the attack source address for which availability evaluation is to be performed.

[0051] In the specific execution of step S101, the target attack source address to be evaluated for availability is first obtained from the target blocking product, so as to scan the target attack source address using a port scanning attack to obtain multiple development service ports related to the target attack source address.

[0052] S102: Determine whether there is a high-risk port among the open service ports; if there is a high-risk port among the open service ports, execute step S103; if there is no high-risk port among the open service ports, execute step S104.

[0053] In the embodiment of the present application, some common high-risk ports can be screened, and a high-risk port list can be generated based on the screened high-risk ports and the services corresponding to each high-risk port. The high-risk port list is shown in the following table:

[0054]

[0055] In the process of specifically executing step S102, after obtaining multiple open service ports of the target attack source address, it can be determined whether there are high-risk ports among the open service ports based on the pre-set high-risk port list; if there are high-risk ports among the open service ports, step S103 is executed; if there are no high-risk ports among the open service ports, step S104 is executed.

[0056] In an embodiment of the present application, for each open service port, it can be determined whether there is a high-risk port number consistent with the port number of the open service port in the pre-set high-risk port list; if there is a high-risk port number consistent with the port number of the open service port in the high-risk port list, the open service port can be considered to be a high-risk port; if there is no high-risk port number consistent with the open service port number in the high-risk port list, it can be considered that the open service port is not a high-risk port.

[0057] S103: Determine the preset score as the availability score of the target attack source address.

[0058] In an embodiment of the present application, a preset score corresponding to a high-risk port is pre-set. When it is determined that an attack source address has a corresponding high-risk port, no matter how many high-risk ports there are, the preset score can be determined as the availability score of the attack source address.

[0059] For example, the preset score corresponding to the preset high-risk port may be a full score, where the full score may be 100. The preset score may be set according to actual application, and the embodiment of the present application is not limited thereto.

[0060] In the specific process of executing step S103, when it is determined that there is a high-risk port among the open service ports corresponding to the target attack source address, the preset score can be directly determined as the target attack source address availability score.

[0061] S104: Determine the availability score of the target attack source address based on the preset non-high-risk port score and the number of open service ports.

[0062] In the embodiment of the present application, a non-high-risk port score can be preset. When it is determined that there is no high-risk port among the open service ports corresponding to the target attack source address, the number of open service ports of the multiple open service ports can be determined, and then the preset non-high-risk port score can be multiplied by the number of open service ports, and the product obtained is the availability score of the target attack source address.

[0063] For example, the preset non-high-risk port score is Y. When it is determined that there is no high-risk port among the open service ports corresponding to the target attack source address, if the number of open service ports of the multiple open service ports is n, the availability score of the target attack source address is n*Y.

[0064] S105: Determine whether the availability score of the target attack source address is greater than or equal to the target score; if the availability score of the target attack source address is not greater than or equal to the target score, execute step S106; if the availability score of the target attack source address is greater than or equal to the target score, execute step S108.

[0065] In the embodiment of the present application, a target score can be preset, wherein the target score can be a full score.

[0066] It should be noted that if the preset score is full marks, the target score is equal to the preset score.

[0067] In the specific process of executing step S105, after obtaining the availability score of the target attack source address, it can be further determined whether the availability score of the target attack source address reaches the target score, that is, whether the availability score of the target attack source address is greater than or equal to the target score; if the availability score of the target attack source address does not reach the target score, the availability score of the target attack source address can be directly determined as the non-high-risk vulnerability score of the target attack source address, that is, step S106 is executed.

[0068] If the availability score of the target attack source address reaches the target score, that is, the availability score of the target attack source address is greater than or equal to the target score, a vulnerability scan may be further performed on the target attack source address, that is, step S108 is executed.

[0069] S106: Determine the availability score of the target attack source address as the final score of the target attack source address.

[0070] In the specific process of executing step S106, when it is determined that the availability score of the target attack source address does not reach the target score, the availability score of the target attack source address can be directly determined as the final score of the target attack source address, so as to determine the availability level corresponding to the target attack source address from various pre-set availability levels according to the final score of the target attack source address, and finally utilize the target attack source address according to the availability level of the target attack source address.

[0071] S107: Determine the availability level of the target attack source address according to the final score of the target attack source address, and utilize the target host corresponding to the target attack source address according to the availability level of the target attack source address.

[0072] In the embodiment of the present application, multiple availability levels corresponding to the attack source address can be preset, and the multiple availability levels corresponding to the attack source address can be high, medium, and low, respectively. Among them, the score range corresponding to the high availability level can be (Z, 100]; the score range corresponding to the medium availability level can be (M, Z]; the score range corresponding to the low availability level can be (0, M].

[0073] In the specific process of executing step S107, after determining the final score of the target attack source address, the availability level corresponding to the target attack source address can be determined from various pre-set availability levels based on the final score of the target attack source address, and finally the target attack source address can be utilized based on the availability level of the target attack source address.

[0074] It should be noted that if the availability level of the target attack source address is high, it may indicate that the host corresponding to the target attack source address can be utilized to a high degree; if the availability level of the target attack source address is medium, it may indicate that the host corresponding to the target attack source can be utilized to a medium degree; if the availability level of the target attack source address is low, it may indicate that the host corresponding to the target attack source can be utilized to a low degree.

[0075] S108: Perform vulnerability scanning on the target attack source address to obtain multiple vulnerabilities of the target attack source address.

[0076] In the specific process of executing step S108, when it is determined that the availability score of the target attack source address reaches the target score, a vulnerability scanning attack may be used to perform vulnerability scanning on the target attack source address to obtain multiple vulnerabilities corresponding to the target attack source address.

[0077] S109: query the vulnerability level of the vulnerability, and determine whether there is a high-risk vulnerability among the vulnerabilities according to the vulnerability level of the vulnerability; if there is a high-risk vulnerability among the vulnerabilities, execute step S110; if there is no high-risk vulnerability among the vulnerabilities, execute step S112.

[0078] In an embodiment of the present application, the vulnerability level of each vulnerability is queried in the Common Vulnerabilities & Exposures (CVE), and according to the vulnerability level of each vulnerability, it is determined whether each vulnerability is a high-risk vulnerability; if each vulnerability is a high-risk vulnerability, step S110 is executed; if each vulnerability is not a high-risk vulnerability, step S112 is executed.

[0079] In some embodiments, for each vulnerability, it can be determined whether the vulnerability level of the vulnerability is high. If the vulnerability level of the vulnerability is high, the vulnerability can be considered a high-risk vulnerability. If the vulnerability level of the vulnerability is not high, the vulnerability can be considered a high-risk vulnerability.

[0080] S110: Calculate the high-risk vulnerability score of the target attack source address according to the preset high-risk vulnerability basic score, high-risk vulnerability score, and number of high-risk vulnerabilities.

[0081] In the process of specifically executing step S110, when it is determined that there are high-risk vulnerabilities among the vulnerabilities corresponding to the target attack source address, at least one high-risk vulnerability can be determined from the various vulnerabilities based on the vulnerability levels of the various vulnerabilities, and the number of corresponding high-risk vulnerabilities can be determined, and then the high-risk vulnerability score of the target attack source address can be calculated based on the pre-set high-risk vulnerability basic score, high-risk vulnerability score and number of high-risk vulnerabilities.

[0082] Optionally, the preset high-risk vulnerability score may be multiplied by the number of high-risk vulnerabilities to obtain an initial high-risk vulnerability score; the preset high-risk vulnerability basic score and the initial high-risk vulnerability score may be added together to obtain the high-risk vulnerability score of the target attack source address.

[0083] For example, the preset high-risk vulnerability basic score is Z, the preset high-risk vulnerability score is T, and according to the vulnerability level of each vulnerability, the number of high-risk vulnerabilities determined from each vulnerability is p; the high-risk vulnerability score of the target attack source address is calculated as shown in formula (1):

[0084] (1)

[0085] It should be noted that the upper limit of the high-risk vulnerability score of the target attack source address is 100. It can be set according to actual application, and the embodiment of the present application is not limited thereto.

[0086] S111: Determine the availability level of the target attack source address according to the high-risk vulnerability score of the target attack source address, and utilize the target host corresponding to the target attack source address according to the availability level of the target attack source address.

[0087] In an embodiment of the present application, after calculating the high-risk vulnerability score of the target attack source address, the availability level corresponding to the high-risk vulnerability score of the target attack source address can be determined from various pre-set availability levels based on the high-risk vulnerability score of the target attack source address, so as to utilize the target host corresponding to the target attack source address according to the determined availability level.

[0088] For example, multiple availability levels corresponding to the attack source address are preset, and the multiple availability levels corresponding to the attack source address can be high, medium, and low. Among them, the score range corresponding to the high availability level can be (80, 100]; the score range corresponding to the medium availability level can be (60, 80]; and the score range corresponding to the low availability level can be (0, 60].

[0089] If the target attack source address has an availability score of 90, then the score range corresponding to the availability score of the target attack source address can be determined to be (80, 100], and the availability level of the target attack source address can be determined to be high, that is, the host corresponding to the target attack source address can be used to a high degree.

[0090] S112: According to the vulnerability level of each vulnerability, determine whether there are medium-risk vulnerabilities and low-risk vulnerabilities among the vulnerabilities; if there are medium-risk vulnerabilities and low-risk vulnerabilities among the vulnerabilities, execute step S113.

[0091] In the process of specifically executing step S112, when it is determined that there are no high-risk vulnerabilities among the vulnerabilities corresponding to the target attack source address, it is possible to further judge whether there are medium-risk vulnerabilities and low-risk vulnerabilities among the vulnerabilities based on the vulnerability levels of the various vulnerabilities; if there are both medium-risk vulnerabilities and low-risk vulnerabilities among the various vulnerabilities, at least one medium-risk vulnerability and at least one low-risk vulnerability can be determined from the various vulnerabilities based on the vulnerability levels of the various vulnerabilities, and then the number of medium-risk vulnerabilities and the number of low-risk vulnerabilities in each vulnerability can be determined, that is, step S113 is executed.

[0092] S113: According to the vulnerability levels of the respective vulnerabilities, at least one medium-risk vulnerability and at least one low-risk vulnerability are determined from the respective vulnerabilities.

[0093] S114: Calculate the non-high-risk vulnerability score of the target attack source address according to the preset non-high-risk vulnerability basic score, medium-risk vulnerability score, low-risk vulnerability score, number of medium-risk vulnerabilities, and number of low-risk vulnerabilities.

[0094] In the embodiment of the present application, the non-high-risk vulnerability basic score, the medium-risk vulnerability score and the low-risk vulnerability score can be preset. When it is determined that there are both medium-risk vulnerabilities and low-risk vulnerabilities in each vulnerability, at least one medium-risk vulnerability and at least one low-risk vulnerability can be determined from each vulnerability according to the vulnerability level of each vulnerability, and then the number of medium-risk vulnerabilities and the number of low-risk vulnerabilities in each vulnerability can be determined.

[0095] Then, the preset medium-risk vulnerability score can be multiplied by the number of medium-risk vulnerabilities to obtain a medium-risk vulnerability score; the preset low-risk vulnerability score can be multiplied by the number of low-risk vulnerabilities to obtain a low-risk vulnerability score; finally, the preset non-high-risk vulnerability basic score, medium-risk vulnerability score and low-risk vulnerability score can be added together to obtain the non-high-risk vulnerability score of the target attack source address.

[0096] For example, the pre-set non-high-risk vulnerability score is M, the medium-risk vulnerability score is Q, and the low-risk vulnerability score is R; if the number of medium-risk vulnerabilities in each vulnerability is m, and the number of low-risk vulnerabilities is k. The calculation method of the non-high-risk vulnerability score of the target attack source address is shown in formula (2):

[0097] (2)

[0098] It should be noted that the upper limit score of the high-risk vulnerability score of the target attack source address is the preset high-risk vulnerability basic score, which can be set according to actual applications and is not limited in the embodiments of the present application.

[0099] In an embodiment of the present application, if there are only medium-risk vulnerabilities and no low-risk vulnerabilities among the vulnerabilities, the number of vulnerabilities of each vulnerability can be directly determined as the number of medium-risk vulnerabilities, and the non-high-risk vulnerability score of the target attack source address can be calculated based on the pre-set non-high-risk vulnerability basic score, medium-risk vulnerability score and the number of medium-risk vulnerabilities.

[0100] For example, the pre-set non-high-risk vulnerability score is M, the medium-risk vulnerability score is Q, and the low-risk vulnerability score is R; if the number of medium-risk vulnerabilities in each vulnerability is m, and the number of low-risk vulnerabilities is 0. The calculation method of the non-high-risk vulnerability score of the target attack source address is shown in formula (3):

[0101] (3)

[0102] In an embodiment of the present application, if there are only low-risk vulnerabilities in each vulnerability and no medium-risk vulnerabilities, the vulnerability number of each vulnerability can be directly determined as the vulnerability number of low-risk vulnerabilities, and the non-high-risk vulnerability score of the target attack source address is calculated based on the pre-set non-high-risk vulnerability basic score, low-risk vulnerability score and the vulnerability number of low-risk vulnerabilities.

[0103] For example, the pre-set non-high-risk vulnerability score is M, the medium-risk vulnerability score is Q, and the low-risk vulnerability score is R; if the number of medium-risk vulnerabilities in each vulnerability is 0, and the number of low-risk vulnerabilities is k. The calculation method of the non-high-risk vulnerability score of the target attack source address is shown in formula (4):

[0104] (4)

[0105] S115: Determine the availability level of the target attack source address according to the non-high-risk vulnerability score of the target attack source address, and exploit the host corresponding to the target attack source address according to the availability level of the target attack source address.

[0106] In an embodiment of the present application, after calculating the non-high-risk vulnerability score of the target attack source address, the availability level corresponding to the non-high-risk vulnerability score of the target attack source address can be determined from various pre-set availability levels based on the non-high-risk vulnerability score of the target attack source address, so as to utilize the target host corresponding to the target attack source address according to the determined availability level.

[0107] The present invention provides an availability evaluation method for a network attack source address, which comprises the following steps: obtaining a target attack source address from a target host, and obtaining a plurality of open service ports of the target attack source address; wherein the target attack source address is an attack source address to be evaluated for availability; if a high-risk port exists in each open service port, determining a preset score as an availability score of the target attack source address; judging whether the availability score of the target attack source address is greater than or equal to a target score; if the availability score of the target attack source address is greater than or equal to the target score, performing vulnerability scanning on the target attack source address to obtain a plurality of vulnerabilities of the target attack source address; querying the vulnerability level of the vulnerability, and judging whether a high-risk vulnerability exists in each vulnerability according to the vulnerability level of the vulnerability; if a high-risk vulnerability exists in each vulnerability, calculating a high-risk vulnerability score of the target attack source address according to a preset high-risk vulnerability basic score, a high-risk vulnerability score and a vulnerability number of the high-risk vulnerability; determining the availability level of the target attack source address according to the high-risk vulnerability score of the target attack source address, and utilizing the target host corresponding to the target attack source address according to the availability level of the target attack source address. The technical solution provided by the present invention can find out all vulnerabilities related to the attack source address, and evaluate the availability of the attack source address by comprehensively evaluating the vulnerability levels of all vulnerabilities, thereby improving the accuracy of the evaluation of the availability of the attack source address.

[0108] Corresponding to the method for evaluating the availability of a network attack source address disclosed in the above embodiment of the present invention, the embodiment of the present invention also provides a system for evaluating the availability of a network attack source address, such as Figure 2 As shown in FIG. 1 , the availability assessment system for the network attack source address includes:

[0109] The open service port acquisition unit 21 is used to acquire a target attack source address from a target host, and acquire multiple open service ports of the target attack source address; wherein the target attack source address is an attack source address to be evaluated for availability;

[0110] A first availability score determination unit 22, configured to determine a preset score as an availability score of a target attack source address if there is a high-risk port among the open service ports;

[0111] A first judgment unit 23, used to judge whether the availability score of the target attack source address is greater than or equal to the target score;

[0112] A vulnerability scanning unit 24 is used to perform vulnerability scanning on the target attack source address if the availability score of the target attack source address is greater than or equal to the target score, and obtain multiple vulnerabilities of the target attack source address;

[0113] The second judgment unit 25 is used to query the vulnerability level of the vulnerability and judge whether there is a high-risk vulnerability among the vulnerabilities according to the vulnerability level of the vulnerability;

[0114] A high-risk vulnerability score calculation unit 26 is used to calculate the high-risk vulnerability score of the target attack source address according to the preset high-risk vulnerability basic score, high-risk vulnerability score and the number of high-risk vulnerabilities if there is a high-risk vulnerability among the various vulnerabilities;

[0115] The first availability level determination unit 27 is used to determine the availability level of the target attack source address according to the high-risk vulnerability score of the target attack source address, and utilize the target host corresponding to the target attack source address according to the availability level of the target attack source address.

[0116] The specific principles and execution processes of each unit in the network attack source address availability assessment system disclosed in the above embodiment of the present invention are the same as the network attack source address availability assessment method disclosed in the above embodiment of the present invention. Please refer to the corresponding parts of the network attack source address availability assessment method disclosed in the above embodiment of the present invention, and will not be repeated here.

[0117] The present invention provides an availability evaluation system for a network attack source address, which obtains a target attack source address from a target host, and obtains a plurality of open service ports of the target attack source address; wherein the target attack source address is an attack source address to be evaluated for availability; if a high-risk port exists in each open service port, a preset score is determined as the availability score of the target attack source address; it is judged whether the availability score of the target attack source address is greater than or equal to a target score; if the availability score of the target attack source address is greater than or equal to the target score, a vulnerability scan is performed on the target attack source address to obtain a plurality of vulnerabilities of the target attack source address; the vulnerability level of the vulnerability is queried, and according to the vulnerability level of the vulnerability, it is judged whether there are high-risk vulnerabilities in each vulnerability; if there are high-risk vulnerabilities in each vulnerability, the high-risk vulnerability score of the target attack source address is calculated according to a preset high-risk vulnerability basic score, a high-risk vulnerability score and a vulnerability number of the high-risk vulnerabilities; according to the high-risk vulnerability score of the target attack source address, the availability level of the target attack source address is determined, and according to the availability level of the target attack source address, a target host corresponding to the target attack source address is utilized. The technical solution provided by the present invention can find out all vulnerabilities related to the attack source address, and evaluate the availability of the attack source address by comprehensively evaluating the vulnerability levels of all vulnerabilities, thereby improving the accuracy of the evaluation of the availability of the attack source address.

[0118] Optionally, the network attack source address availability assessment system provided by the present invention further includes:

[0119] The second availability score determination unit is used to determine the availability score of the target attack source address according to the preset non-high-risk port score and the number of open service ports if there is no high-risk port among the open service ports.

[0120] Optionally, the second availability score determination unit includes:

[0121] The second availability score determination subunit is used to obtain the availability score of the target attack source address by multiplying the preset non-high-risk port score by the number of open service ports if there is no high-risk port among the open service ports.

[0122] Optionally, the network attack source address availability assessment system provided by the present invention further includes:

[0123] a final score determination unit, configured to determine the availability score of the target attack source address as the final score of the target attack source address if the availability score of the target attack source address is not greater than or equal to the target score;

[0124] The second availability level determination unit is used to determine the availability level of the target attack source address according to the final score of the target attack source address, and utilize the target host corresponding to the target attack source address according to the availability level of the target attack source address.

[0125] Optionally, the network attack source address availability assessment system provided by the present invention further includes:

[0126] a vulnerability determination unit, for determining at least one medium-risk vulnerability and at least one low-risk vulnerability from among the vulnerabilities according to the vulnerability levels of the vulnerabilities if there is no high-risk vulnerability among the vulnerabilities and there are medium-risk vulnerabilities and low-risk vulnerabilities among the vulnerabilities;

[0127] A non-high-risk vulnerability score determination unit, used to calculate a non-high-risk vulnerability score of a target attack source address according to a preset non-high-risk vulnerability basic score, a medium-risk vulnerability score, a low-risk vulnerability score, a number of medium-risk vulnerabilities, and a number of low-risk vulnerabilities;

[0128] The third availability level determination unit is used to determine the availability level of the target attack source address according to the non-high-risk vulnerability score of the target attack source address, and utilize the host corresponding to the target attack source address according to the availability level of the target attack source address.

[0129] Optional, non-high severity vulnerability scoring units include:

[0130] A medium-risk vulnerability score determination unit, used to multiply a preset medium-risk vulnerability score by the number of medium-risk vulnerabilities to obtain a medium-risk vulnerability score;

[0131] A low-risk vulnerability score determination unit, used for multiplying a preset low-risk vulnerability score by the number of low-risk vulnerabilities to obtain a low-risk vulnerability score;

[0132] The non-high-risk vulnerability score determination subunit is used to add the preset non-high-risk vulnerability basic score, medium-risk vulnerability score and low-risk vulnerability score to obtain the non-high-risk vulnerability score of the target attack source address.

[0133] Optional, high-risk vulnerability score calculation unit, including:

[0134] An initial high-risk vulnerability score calculation unit is used to multiply a preset high-risk vulnerability score by the number of high-risk vulnerabilities if there are high-risk vulnerabilities among the various vulnerabilities to obtain an initial high-risk vulnerability score;

[0135] The high-risk vulnerability score calculation subunit is used to add the preset high-risk vulnerability basic score and the initial high-risk vulnerability score to obtain the high-risk vulnerability score of the target attack source address.

[0136] The present application embodiment provides an electronic device, such as Figure 3 As shown, the electronic device includes a processor 301 and a memory 302, the memory 302 is used to store program codes and data for evaluating the availability of a network attack source address, and the processor 301 is used to call the program instructions in the memory to execute the steps shown in the method for evaluating the availability of a network attack source address in the above embodiment.

[0137] An embodiment of the present application provides a storage medium, which includes a storage program, wherein when the program is running, the device where the storage medium is located is controlled to execute the method for assessing the availability of the network attack source address shown in the above embodiment.

[0138] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system or system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. The system and system embodiments described above are merely schematic, in which the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0139] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0140] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one 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 invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

[0141] The above are only preferred embodiments of the present invention. It should be pointed out that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for evaluating the availability of network attack source addresses. It is characterized in that The method comprises: Obtaining a target attack source address from a target host, and obtaining a plurality of open service ports of the target attack source address; wherein the target attack source address is an attack source address for which availability assessment is to be performed; If there is a high-risk port among the open service ports, a preset score is determined as the availability score of the target attack source address; Determining whether the availability score of the target attack source address is greater than or equal to the target score; If the availability score of the target attack source address is greater than or equal to the target score, perform a vulnerability scan on the target attack source address to obtain multiple vulnerabilities of the target attack source address; Query the vulnerability levels of the vulnerabilities, and determine whether there are high-risk vulnerabilities among the vulnerabilities according to the vulnerability levels of the vulnerabilities; If there is a high-risk vulnerability among the vulnerabilities, the high-risk vulnerability score of the target attack source address is calculated according to the preset high-risk vulnerability basic score, high-risk vulnerability score and number of high-risk vulnerabilities; Determine the availability level of the target attack source address according to the high-risk vulnerability score of the target attack source address, and utilize the target host corresponding to the target attack source address according to the availability level of the target attack source address; If there is no high-risk port among the open service ports, determining the availability score of the target attack source address according to the preset non-high-risk port score and the number of the open service ports; If the availability score of the target attack source address is not greater than or equal to the target score, determining the availability score of the target attack source address as the final score of the target attack source address; Determining the availability level of the target attack source address according to the final score of the target attack source address, and utilizing the target host corresponding to the target attack source address according to the availability level of the target attack source address; If there is no high-risk vulnerability among the vulnerabilities, and there are medium-risk vulnerabilities and low-risk vulnerabilities among the vulnerabilities, at least one medium-risk vulnerability and at least one low-risk vulnerability are determined from the vulnerabilities according to the vulnerability levels of the vulnerabilities; Calculate the non-high-risk vulnerability score of the target attack source address according to the preset non-high-risk vulnerability basic score, medium-risk vulnerability score, low-risk vulnerability score, number of medium-risk vulnerabilities, and number of low-risk vulnerabilities; According to the non-high-risk vulnerability score of the target attack source address, the availability level of the target attack source address is determined, and the host corresponding to the target attack source address is utilized according to the availability level of the target attack source address.

2. The method according to claim 1, It is characterized in that If there is no high-risk port among the open service ports, determining the availability score of the target attack source address according to the preset non-high-risk port score and the number of the open service ports, including: If there is no high-risk port among the open service ports, the preset non-high-risk port score is multiplied by the number of the open service ports to obtain the availability score of the target attack source address.

3. The method according to claim 1, It is characterized in that The non-high-risk vulnerability score of the target attack source address is calculated according to the preset non-high-risk vulnerability basic score, medium-risk vulnerability score, low-risk vulnerability score, number of medium-risk vulnerabilities and number of low-risk vulnerabilities, including: Multiply the preset medium-risk vulnerability score by the number of medium-risk vulnerabilities to get the medium-risk vulnerability score; Multiply the preset low-risk vulnerability score by the number of low-risk vulnerabilities to obtain the low-risk vulnerability score; The preset non-high-risk vulnerability basic score, the medium-risk vulnerability score, and the low-risk vulnerability score are added together to obtain the non-high-risk vulnerability score of the target attack source address.

4. The method according to claim 1, It is characterized in that If there is a high-risk vulnerability among the vulnerabilities, the high-risk vulnerability score of the target attack source address is calculated according to the preset high-risk vulnerability basic score, high-risk vulnerability score and the number of high-risk vulnerabilities, including: If there is a high-risk vulnerability among the vulnerabilities, the preset high-risk vulnerability score is multiplied by the number of high-risk vulnerabilities to obtain an initial high-risk vulnerability score; The preset high-risk vulnerability basic score and the initial high-risk vulnerability score are added together to obtain the high-risk vulnerability score of the target attack source address.

5. A network attack source address availability assessment system, It is characterized in that The system comprises: An open service port acquisition unit, used to acquire a target attack source address from a target host, and acquire a plurality of open service ports of the target attack source address; wherein the target attack source address is an attack source address to be evaluated for availability; A first availability score determination unit, configured to determine a preset score as an availability score of the target attack source address if there is a high-risk port among the open service ports; A first judgment unit, used to judge whether the availability score of the target attack source address is greater than or equal to a target score; a vulnerability scanning unit, configured to perform a vulnerability scan on the target attack source address to obtain a plurality of vulnerabilities of the target attack source address if the availability score of the target attack source address is greater than or equal to the target score; A second judgment unit is used to query the vulnerability level of the vulnerability and judge whether there is a high-risk vulnerability among the vulnerabilities according to the vulnerability level of the vulnerability; A high-risk vulnerability score calculation unit, used to calculate the high-risk vulnerability score of the target attack source address according to a preset high-risk vulnerability basic score, a high-risk vulnerability score and a number of high-risk vulnerabilities if there is a high-risk vulnerability among the vulnerabilities; A first availability level determination unit, configured to determine an availability level of the target attack source address according to the high-risk vulnerability score of the target attack source address, and utilize a target host corresponding to the target attack source address according to the availability level of the target attack source address; A second availability score determination unit is used to determine the availability score of the target attack source address according to a preset non-high-risk port score and the number of open service ports if there is no high-risk port among the open service ports; a final score determining unit, configured to determine the availability score of the target attack source address as the final score of the target attack source address if the availability score of the target attack source address is not greater than or equal to the target score; a second availability level determination unit, configured to determine an availability level of the target attack source address according to a final score of the target attack source address, and utilize a target host corresponding to the target attack source address according to the availability level of the target attack source address; a vulnerability determination unit, configured to determine at least one medium-risk vulnerability and at least one low-risk vulnerability from among the vulnerabilities according to the vulnerability levels of the vulnerabilities if there is no high-risk vulnerability among the vulnerabilities and there are medium-risk vulnerabilities and low-risk vulnerabilities among the vulnerabilities; a non-high-risk vulnerability score determination unit, configured to calculate the non-high-risk vulnerability score of the target attack source address according to a preset non-high-risk vulnerability basic score, a medium-risk vulnerability score, a low-risk vulnerability score, a number of medium-risk vulnerabilities, and a number of low-risk vulnerabilities; The third availability level determination unit is used to determine the availability level of the target attack source address according to the non-high-risk vulnerability score of the target attack source address, and utilize the host corresponding to the target attack source address according to the availability level of the target attack source address.

6. An electronic device, It is characterized in that include: A processor and a memory, wherein the processor and the memory are connected via a communication bus; wherein the processor is used to call and execute a program stored in the memory; The memory is used to store a program, and the program is used to implement the method for evaluating the availability of a network attack source address as described in any one of claims 1 to 4.

7. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to execute the method for evaluating the availability of a network attack source address according to any one of claims 1 to 4.