Network scanning method and device, equipment and storage medium

By dynamically adjusting network scanning parameters and based on asset and network information, the problem of low network scanning efficiency and accuracy in the existing technology is solved, and efficient and flexible scanning that adapts to changing network environments is achieved.

CN118764246AActive Publication Date: 2024-10-11GENERAL HOSPITAL OF PLA

Patent Information

Application Number
CN202410896538.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-04
Publication Date
2024-10-11
Estimated Expiration
2044-07-04

AI Technical Summary

Technical Problem

Existing network scanning technology relies on fixed scanning parameters and is difficult to adapt to changing network assets and environments in large network environments, resulting in low scanning efficiency and low accuracy.

Method used

By obtaining the current asset information and network information of the assets to be scanned, the scanning parameters are dynamically adjusted, the scanning adjustment coefficient is determined based on asset sensitivity, network performance and other factors, and the scanning parameters are adjusted in real time to adapt to the changing network environment.

Benefits of technology

It improves the efficiency and accuracy of network scanning, adapts to changes in different network assets, provides a more flexible scanning method, and improves the flexibility and accuracy of scanning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118764246A_ABST
    Figure CN118764246A_ABST
Patent Text Reader

Abstract

The invention discloses a network scanning method and device, equipment and a storage medium, and aims to solve the problems that an existing network scanning method usually depends on fixed scanning parameters to scan network assets and cannot adapt to variable scanning environments, so that the scanning efficiency and accuracy cannot be guaranteed, and the network assets cannot be scanned. Therefore, the invention provides a new network scanning method, and the method can adjust the scanning parameters in real time according to the changed asset information of the to-be-scanned assets and the changed network information, so as to scan the to-be-scanned assets based on the adjusted scanning parameters. Therefore, the network scanning method provided by the invention can adapt to variable network environments and variable network assets, different network assets are not scanned in a one-step scanning mode, the scanning mode is more flexible, and the scanning efficiency and accuracy are both improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure generally relates to the field of network security, and in particular to a network scanning method, device, equipment and storage medium. Background Art

[0002] In large network environments, such as large enterprises, government agencies, financial services companies, and cloud service providers, the number of network assets in these environments is huge, the types are diverse, and they are frequently updated and changed. Therefore, an efficient and flexible vulnerability scanning method is needed to cope with the constantly changing network security threats.

[0003] The vulnerability scanning technology currently on the market mainly relies on preset fixed parameters, which are often difficult to adapt to the changing network environment, resulting in low scanning efficiency or inaccurate scanning results. Summary of the invention

[0004] In view of the above-mentioned defects or deficiencies in the prior art, it is desirable to provide a network scanning method with high scanning efficiency and high scanning accuracy.

[0005] A first aspect provides a network scanning method, the method comprising:

[0006] Obtain the asset information and network information of the asset to be scanned at the current moment;

[0007] Determine a scanning adjustment coefficient of the asset to be scanned at the current moment based on the asset information and the network information;

[0008] The scanning parameters of the asset to be scanned at a previous moment are adjusted according to the scanning adjustment coefficient of the asset to be scanned at a current moment, so as to perform a network scan on the asset to be scanned based on the adjusted scanning parameters.

[0009] The network scanning method provided in the present application takes into account that the existing network scanning methods have long relied on fixed scanning parameters to scan network assets and cannot adapt to the changing scanning environment, resulting in the inability to guarantee the efficiency and accuracy of the scanning. Therefore, the present application provides a new network scanning method. The method can adjust the scanning parameters in real time according to the changing asset information of the assets to be scanned and the changing network information, so as to scan the assets to be scanned based on the adjusted scanning parameters. Therefore, the network scanning method provided in the present application can adapt to the changing network environment and the changing network assets, and does not scan different network assets in a one-size-fits-all scanning method. The scanning method is more flexible, and the scanning efficiency and accuracy are improved.

[0010] A second aspect provides a network scanning device, the device comprising:

[0011] The acquisition module is used to obtain the asset information and network information of the asset to be scanned at the current moment;

[0012] A determination module, configured to determine a scan adjustment coefficient of the asset to be scanned at a current moment based on the asset information and the network information;

[0013] The scanning adjustment module allows the user to adjust the scanning parameters of the asset to be scanned at a previous moment according to the scanning adjustment coefficient of the asset to be scanned at a current moment, so as to perform a network scan on the asset to be scanned based on the adjusted scanning parameters.

[0014] A third aspect provides a network scanning device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the method of the first aspect when executing the computer program.

[0015] A fourth aspect provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the method of the first aspect when executed by a processor.

[0016] A fifth aspect provides a computer program product, comprising a computer program, which implements the method of the first aspect when executed by a processor. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:

[0018] Figure 1 An application scenario diagram of a network scanning method provided in this application;

[0019] Figure 2 A flowchart of the steps of a network scanning method provided by this application;

[0020] Figure 3 A flowchart of the steps of a network scanning method provided by this application;

[0021] Figure 4 A flowchart of the steps of a network scanning method provided by this application;

[0022] Figure 5 A flowchart of the steps of a network scanning method provided by this application;

[0023] Figure 6 A flowchart of the steps of a network scanning method provided by this application;

[0024] Figure 7 A flowchart of the steps of a network scanning method provided by this application;

[0025] Figure 8 A structural block diagram of a network scanning device provided by this application;

[0026] Fig. 9 A structural block diagram of a network scanning device provided by this application;

[0027] Fig.10 A schematic diagram of the structure of a computer system of a service device provided in this application. DETAILED DESCRIPTION

[0028] The present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the relevant invention, rather than to limit the invention. It is also necessary to explain that, for ease of description, only the parts related to the invention are shown in the accompanying drawings.

[0029] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0030] Please refer to Figure 1 , Figure 1 An application scenario diagram of a network scanning method provided in the present application includes a terminal device 100 storing assets to be scanned and a service device 200 for scanning network assets. When the network assets need to be scanned, the service device 200 obtains the asset information of the assets to be scanned stored in the terminal device 100 and the network information when the service device 200 performs the scanning task in real time from the terminal device, and dynamically adjusts the scanning parameters of the assets to be scanned according to the asset information and the network information, thereby improving the efficiency and accuracy of the scanning.

[0031] Combine the following Figure 2 The network scanning method provided by this application is exemplarily described. Figure 2 A flowchart of a network scanning method provided in this application, in which the method is applied to Figure 1 The method is described by taking the service device in as an example, and the method comprises the following steps:

[0032] Step S20, obtaining the asset information and network information of the asset to be scanned at the current moment;

[0033] Among them, the assets to be scanned are large enterprises, government agencies, financial services companies, cloud service providers and other institutions that have requirements for network operation security, and the data generated by their service equipment, terminal equipment, routers, switches, etc. during operation.

[0034] Asset information includes, but is not limited to, asset type, asset location, historical security events that occurred on the asset, the importance of the asset in the business, operating system version, IP address, subnet mask, installed applications, installed application versions, etc. By acquiring the asset information of the asset to be scanned, information such as asset sensitivity, asset importance, and asset importance level can be obtained.

[0035] Furthermore, the scanning parameters such as the scanning depth, scanning frequency, scanning speed, etc. of the scanning assets can be adjusted through the information such as the asset sensitivity, asset importance, and asset importance level.

[0036] For example, if the asset to be scanned is determined to have an asset sensitivity level higher than a preset sensitivity level threshold, the current scanning depth L1 may be adjusted to L2, wherein the scanning depth of L2 is higher than the scanning depth of L1.

[0037] The present application also relies on network information to adjust scanning parameters. The network information term represents the network performance data of the service device scanning assets at the current moment. The network information includes but is not limited to network bandwidth usage, delay time, packet loss rate, network response time, and network load.

[0038] By obtaining network information such as network bandwidth usage, delay time, packet loss rate, network response time, network load, etc., you can adjust scanning parameters such as scanning depth, scanning frequency, and scanning speed of the scanned assets.

[0039] For example, if the current network bandwidth is lower than a preset bandwidth threshold, the current scanning speed may be adjusted from level 4 to level 2, wherein the scanning speed represented by level 2 is lower than the scanning speed represented by level 4.

[0040] Step S30, determining a scanning adjustment coefficient of the asset to be scanned at the current moment based on the asset information and the network information;

[0041] Among them, after obtaining the data for adjustment according to the above method, a corresponding relationship information table can be obtained from the corresponding memory address, and the corresponding relationship information table includes multiple asset information, multiple network information and multiple scanning adjustment coefficients corresponding to the multiple asset information and multiple network information.

[0042] For example, the corresponding relationship information table is:

[0043] Asset information: Sensitivity level 1

[0044] Network information: Network bandwidth is 500Kbps Network response time is 500ms

[0045] Scan adjustment factor: A1

[0046] Asset information: Sensitivity level 1

[0047] Network information: Network bandwidth is 1000Kbps Network response time is 200ms

[0048] Scan adjustment factor: A2

[0049] Asset information: sensitivity level 2

[0050] Network information: Network bandwidth is 1000Kbps Network response time is 200ms

[0051] Scan adjustment factor: A3

[0052] Then, after obtaining the asset information and the network information, the corresponding scanning adjustment coefficient can be matched from the corresponding relationship information table according to the asset information and the network information.

[0053] In another possible implementation, sub-adjustment coefficients may be determined respectively according to the asset information and the network information, and then the final scanning adjustment coefficient is determined according to the sub-adjustment coefficients.

[0054] For example, the service device stores a first relationship table and a second relationship table. The first relationship table includes multiple asset information and a first sub-adjustment coefficient corresponding to each asset information; the second relationship table includes multiple network information and a second sub-adjustment coefficient corresponding to each network information. After the asset information is determined, the asset information is matched with the first relationship table to obtain the first sub-adjustment coefficient; the network information is matched with the second relationship table to obtain the second sub-adjustment coefficient. Finally, the first sub-adjustment coefficient and the second sub-adjustment coefficient are added, multiplied, etc. to obtain the final scanning adjustment coefficient. A detailed list is not given here.

[0055] In an optional embodiment, if Figure 3 As shown, Figure 3 An optional method embodiment of determining a scanning adjustment coefficient of an asset to be scanned at a current moment provided by an exemplary embodiment of the present application includes the following steps:

[0056] Step S301, determining a first adjustment coefficient based on a network response time change rate in the network information and a first coefficient;

[0057] Among them, the scanning adjustment coefficient may include a first adjustment coefficient, and the first adjustment coefficient may be an adjustment coefficient for any scanning parameter, that is, the first adjustment coefficient may be a coefficient for adjusting the scanning speed in the scanning parameters, or a coefficient for adjusting the scanning frequency in the scanning parameters, or a coefficient for adjusting the scanning depth in the scanning parameters.

[0058] Of course, the first adjustment coefficient may also be used to determine a sub-coefficient of the scanning adjustment coefficient.

[0059] The first adjustment coefficient can be determined based on the network response time change rate and the first coefficient in the network information. The network response time change rate is used to characterize the change in the network response time when the service device performs an asset scanning task within a period of time. The network response time change rate can reflect whether the network response time at the current moment is longer or shorter than other moments earlier than the current moment. In other words, if the network response time change rate shows an increasing trend, it means that the network status at the current moment is worse than other moments earlier than the current moment; conversely, if the network response time change rate shows a decreasing trend, it means that the network status at the current moment is better than other moments earlier than the current moment.

[0060] If the network status deteriorates, the efficiency of the scan cannot be guaranteed if the assets to be scanned at the current moment are scanned at a higher scan speed, faster scan frequency or deeper scan depth. Therefore, using the network response time change rate as one of the bases for determining the scan adjustment coefficient can reduce network pressure and the impact of network factors on the scan.

[0061] The network response time change rate and the first coefficient are obtained through the following steps.

[0062] In yet another optional embodiment, Figure 4 As shown, Figure 4 An optional method embodiment for determining a first adjustment coefficient provided by an exemplary embodiment of the present application includes the following steps:

[0063] Step S401, determining a network response time change rate at the current moment according to an average value of the network response time and the network response time at the current moment;

[0064] The network response time change rate can be calculated by the following formula:

[0065]

[0066] ΔR is the rate of change of network response time; R current is the network response time at the current moment; R base is the average network response time. current Greater than R base When , ΔR is positive, indicating that the network response time at the current moment increases; otherwise, it is negative, indicating that the network response time at the current moment decreases.

[0067] Step S402, determining a first coefficient according to the network response duration change rate at the current moment and the first corresponding relationship information;

[0068] The first correspondence information includes multiple network response time change rates and coefficients corresponding to each network response time change rate. After the network response time change rate at the current moment is obtained in the above manner, the network response time change rate at the current moment is matched with the first correspondence information to obtain the first coefficient.

[0069] Step S403: Obtain a first adjustment coefficient according to the product of the network response duration change rate at the current moment and the first coefficient.

[0070] The first adjustment coefficient may be obtained by calculating through the following formula:

[0071] S response =α×ΔR

[0072] Sresponse is the first adjustment coefficient, and α is the first coefficient.

[0073] Step S302, determining a second adjustment coefficient based on the network load change rate and the second coefficient in the network information;

[0074] Among them, the scanning adjustment coefficient may include a second adjustment coefficient, and the second adjustment coefficient may be an adjustment coefficient for any scanning parameter, that is, the second adjustment coefficient may be a coefficient for adjusting the scanning speed in the scanning parameters, or a coefficient for adjusting the scanning frequency in the scanning parameters, or a coefficient for adjusting the scanning depth in the scanning parameters.

[0075] Of course, the second adjustment coefficient may also be used to determine a sub-coefficient of the scanning adjustment coefficient.

[0076] The second adjustment coefficient can be determined based on the network load change rate and the second coefficient in the network information. The network load change rate is used to characterize the change in network load when the service device performs asset scanning tasks within a period of time. The network load change rate can reflect whether the network load at the current moment is increasing or decreasing compared to other moments earlier than the current moment. In other words, if the network load change rate shows an increasing trend, it means that the network status at the current moment is worse than other moments earlier than the current moment; conversely, if the network load change rate shows a decreasing trend, it means that the network status at the current moment is better than other moments earlier than the current moment.

[0077] If the network status deteriorates, the efficiency of the scan cannot be guaranteed if the assets to be scanned at the current moment are scanned at a higher scanning speed, faster scanning frequency or deeper scanning depth. Therefore, using the network load change rate as one of the bases for determining the scanning adjustment coefficient can reduce network pressure and the impact of network factors on scanning.

[0078] The network load change rate and the second coefficient are obtained through the following steps.

[0079] In yet another optional embodiment, Figure 5 As shown, Figure 5 An optional method embodiment for determining a second adjustment coefficient provided by an exemplary embodiment of the present application includes the following steps:

[0080] Step S501, determining the network load change rate at the current moment according to the average network load and the network load at the current moment;

[0081] The average network load can be obtained by averaging network load information collected when performing multiple scans within a time period. The network load at the current moment can be obtained based on the collection.

[0082] The network load change rate can be calculated using the following formula:

[0083]

[0084] ΔL is the rate of change of network load; L current is the network load at the current moment; L base is the average network load. current Greater than L base When ΔL is positive, it indicates that the network load at the current moment increases; otherwise, ΔL is negative, which indicates that the network load at the current moment decreases.

[0085] Step S502, determining a second coefficient according to the current network load change rate and the second corresponding relationship information;

[0086] The second correspondence information includes multiple network load change rates and coefficients corresponding to each network load change rate. After the current network load change rate is obtained in the above manner, the current network load change rate is matched with the second correspondence information to obtain the second coefficient.

[0087] Step S503: Obtain a second adjustment coefficient according to the product of the current network load change rate and the second coefficient.

[0088] The second adjustment coefficient may be obtained by calculating the following formula:

[0089] S load =β×ΔL

[0090] S load is the second adjustment coefficient; β is the second coefficient.

[0091] Step S303, determining a third adjustment coefficient based on the sensitivity level of the asset information and the third coefficient;

[0092] Among them, the scanning adjustment coefficient may also include a third adjustment coefficient, and the third adjustment coefficient may be an adjustment coefficient for any scanning parameter, that is, the third adjustment coefficient may be a coefficient for adjusting the scanning speed in the scanning parameters, or a coefficient for adjusting the scanning frequency in the scanning parameters, or a coefficient for adjusting the scanning depth in the scanning parameters.

[0093] Of course, the third adjustment coefficient may also be used to determine a sub-coefficient of the scanning adjustment coefficient.

[0094] The third adjustment coefficient can be determined based on the sensitivity level of the asset information and the third coefficient. The sensitivity level of the asset information is used to characterize the importance of the asset to be scanned at the current moment. It is understandable that if the asset to be scanned with a high sensitivity level is scanned at a lower scanning depth, inaccurate scanning will occur; conversely, if the asset to be scanned with a low sensitivity level is scanned at a higher scanning depth, resources will be wasted, which is not conducive to improving the scanning efficiency. Therefore, using the sensitivity level of the asset information as one of the bases for determining the scanning adjustment coefficient can improve the accuracy and efficiency of vulnerability scanning.

[0095] The sensitivity level and third coefficient of the asset information are obtained through the following steps.

[0096] In yet another optional embodiment, Figure 6 As shown, Figure 6 An optional method embodiment for determining a third adjustment coefficient provided by an exemplary embodiment of the present application includes the following steps:

[0097] Step S601, determining the sensitivity level of the asset information according to at least one of the type, location, historical security events, and importance in the business of the asset information;

[0098] Among them, the data of asset information type, location, historical security events and importance in the business can be obtained through the asset information importance label, asset information vulnerability scanning record table, asset information details, etc. It should be noted here that even for the same organization and the same equipment, since the sources of assets scanned at different times or time periods are different, the network assets scanned at different times or time periods will also change, so it is also necessary to obtain the scanning information of the assets to be scanned in real time when executing the scanning task.

[0099] The service device of the present application may also store a correspondence information table between asset information and sensitivity levels. When the service device obtains at least one of the type, location, historical security events, and importance of the asset information in the business, it may match it with the correspondence information table to obtain the sensitivity level of the asset information.

[0100] In an optional embodiment, the service device of the present application may also store a sensitivity scoring model, which may be obtained based on historical asset information and sensitivity scoring training. Then, after the service device obtains at least one of the type, location, historical security events, and importance of the asset information in the business, it may be input into the sensitivity scoring model to obtain a sensitivity score, and then obtain the sensitivity level of the asset information. The present application does not limit this.

[0101] Step S602, determining a third coefficient according to the sensitivity level of the asset information and the third corresponding relationship information;

[0102] Among them, the service device of the present application may also store third correspondence information, which includes sensitivity levels of multiple asset information and coefficients corresponding to the sensitivity level of each asset information. After the sensitivity level of the asset information is obtained by any of the above methods, the sensitivity level of the asset information is matched with the third correspondence information to obtain the third coefficient.

[0103] Step S603, obtaining a third adjustment coefficient according to the product of the sensitivity level of the asset information and the third coefficient.

[0104] The third adjustment coefficient may be obtained by calculating through the following formula:

[0105] S sensitivity = -γ×D

[0106] S sensitivity is the third adjustment coefficient, D is the sensitivity level of the asset, and γ is the third coefficient.

[0107] Step S304: determining a scan adjustment coefficient according to the sum of the first adjustment coefficient, the second adjustment coefficient, the third adjustment coefficient and the first constant.

[0108] The first adjustment coefficient, the second adjustment coefficient, and the third adjustment coefficient are obtained by the above-mentioned method, and the first constant is a non-negative integer, and an exemplary first constant is 1. Then, the scanning adjustment coefficient can be obtained according to the following formula:

[0109] S 总 =1+Sresponse+Sload+Ssensitivity

[0110] Step S40, adjusting the scanning parameters of the asset to be scanned at a previous moment according to the scanning adjustment coefficient of the asset to be scanned at a current moment, so as to perform a network scan on the asset to be scanned based on the adjusted scanning parameters.

[0111] The previous moment is a time concept relative to the current moment. If the current moment is 16:30, the previous moment may be 16:29. The step between the current moment and the previous moment may be set as needed. The interval between the two may be 1 second or 1 minute, which is not limited in this application.

[0112] The scanning parameters of the asset to be scanned at the last moment include, for example, at least one of the scanning frequency, scanning depth, scanning speed, etc. The scanning parameters of the asset to be scanned at the last moment may be stored in a memory address corresponding to the service device and can be read when needed.

[0113] The scanning parameters of the asset to be scanned at the previous moment are adjusted according to the scanning adjustment coefficient of the asset to be scanned at the current moment. For example, the scanning parameters of the previous moment and the scanning adjustment coefficient can be directly added, subtracted, multiplied, divided, integrated, etc. to obtain the scanning parameters of the current moment, that is, the adjusted scanning parameters.

[0114] It is understandable that when the service device performs a scan on the asset to be scanned, the service device may also perform a parameter initialization operation to prevent the service device from bringing the scanning parameters used by other scanning assets into a new round of asset scanning operations, causing inaccuracies. The initial scanning parameters may be a benchmark value derived from experience and historical data analysis, which may represent typical parameters for scanning network assets without external influences.

[0115] In yet another optional embodiment, Figure 7 As shown, Figure 7 An optional method embodiment of determining adjusted scanning parameters provided by an exemplary embodiment of the present application includes the following steps:

[0116] Step S701, obtaining the scanning parameters of the asset to be scanned at the last moment;

[0117] Step S702: The product of the scanning adjustment coefficient of the asset to be scanned at the current moment and the scanning parameter of the asset to be scanned at the previous moment is determined as the adjusted scanning parameter.

[0118] S new =S init ×(1+S response +S load +S sensitivity )

[0119] Among them, S new is the adjusted scanning parameter, S init is the scanning parameter of the previous moment.

[0120] The network scanning method provided in the present application takes into account that the existing network scanning methods have long relied on fixed scanning parameters to scan network assets and cannot adapt to the changing scanning environment, resulting in the inability to guarantee the efficiency and accuracy of the scanning. Therefore, the present application provides a new network scanning method. The method can adjust the scanning parameters in real time according to the changing asset information of the assets to be scanned and the changing network information, so as to scan the assets to be scanned based on the adjusted scanning parameters. Therefore, the network scanning method provided in the present application can adapt to the changing network environment and the changing network assets, and does not scan different network assets in a one-size-fits-all scanning method. The scanning method is more flexible, and the scanning efficiency and accuracy are improved.

[0121] It should be noted that although the operations of the method of the present invention are described in a particular order in the accompanying drawings, this does not require or imply that the operations must be performed in the particular order, or that all the operations shown must be performed to achieve the desired results. On the contrary, the steps depicted in the flowchart can be performed in a different order. For example, ... Additionally or alternatively, some steps can be omitted, multiple steps can be combined into one step, and / or one step can be decomposed into multiple steps. For example, . . .

[0122] Further references Figure 8 , which shows an exemplary structural block diagram of an apparatus 800 for performing network scanning according to an embodiment of the present application. The apparatus 800 includes an acquisition module 801, a determination module 802 and an adjustment scanning module 803.

[0123] The acquisition module 801 is used to acquire the asset information and network information of the asset to be scanned at the current moment;

[0124] A determination module 802, configured to determine a scan adjustment coefficient of the asset to be scanned at a current moment based on the asset information and the network information;

[0125] In the scanning adjustment module 803 , the user adjusts the scanning parameters of the asset to be scanned at a previous moment according to the scanning adjustment coefficient of the asset to be scanned at a current moment, so as to perform a network scan on the asset to be scanned based on the adjusted scanning parameters.

[0126] In an optional embodiment, the determination module 802 is specifically configured to determine the first adjustment coefficient based on the network response duration change rate and the first coefficient in the network information;

[0127] Determine a second adjustment coefficient based on the network load change rate and the second coefficient in the network information;

[0128] determining a third adjustment coefficient based on the sensitivity level of the asset information and the third coefficient;

[0129] The scanning adjustment coefficient is determined according to the sum of the first adjustment coefficient, the second adjustment coefficient, the third adjustment coefficient and a first constant.

[0130] In an optional embodiment, the determination module 802 is further configured to determine a change rate of the network response duration at the current moment according to an average value of the network response duration and the network response duration at the current moment;

[0131] Determine the first coefficient according to the network response duration change rate at the current moment and the first corresponding relationship information;

[0132] The first adjustment coefficient is obtained according to the product of the network response duration change rate at the current moment and the first coefficient.

[0133] In an optional embodiment, the determination module 802 is further configured to determine the network load change rate at the current moment according to the average network load and the network load at the current moment;

[0134] Determine the second coefficient according to the network load change rate at the current moment and the second corresponding relationship information;

[0135] The second adjustment coefficient is obtained according to the product of the network load change rate at the current moment and the second coefficient.

[0136] In an optional embodiment, the determination module 802 is further configured to determine the sensitivity level of the asset information according to at least one of the type, location, historical security events, and importance in the business of the asset information;

[0137] Determine the third coefficient according to the sensitivity level of the asset information and the third corresponding relationship information;

[0138] The third adjustment coefficient is obtained according to the product of the sensitivity level of the asset information and the third coefficient.

[0139] In an optional embodiment, the adjustment scanning module 803 is specifically used to obtain the scanning parameters of the asset to be scanned at the last moment;

[0140] The product of the scanning adjustment coefficient of the asset to be scanned at the current moment and the scanning parameter of the asset to be scanned at the previous moment is determined as the adjusted scanning parameter.

[0141] It should be understood that the units or modules described in the apparatus 800 are similar to those described in the reference Figure 2 The various steps in the described method correspond to each other. Therefore, the operations and features described above for the method are also applicable to the device 800 and the units contained therein, and will not be repeated here. The device 800 can be pre-implemented in a browser or other security application of an electronic device, or loaded into a browser or its security application of an electronic device by downloading or the like. The corresponding units in the device 800 can cooperate with the units in the electronic device to implement the solution of the embodiment of the present application.

[0142] Reference below Fig. 9 , which shows a network scanning device suitable for implementing the embodiment of the present application, the network scanning device includes a memory and a processor, the memory stores a computer program, and the processor executes the computer program to implement Figure 2-7 Any method step.

[0143] Reference below Fig.10 , which shows a schematic diagram of the structure of a computer system 1000 suitable for implementing a service device of an embodiment of the present application.

[0144] like Fig.10 As shown, the computer system 1000 includes a central processing unit (CPU) 1001, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage part 1008 into a random access memory (RAM) 1003. In the RAM 1003, various programs and data required for the operation of the system 1000 are also stored. The CPU 1001, the ROM 1002, and the RAM 1003 are connected to each other via a bus 1004. An input / output (I / O) interface 1005 is also connected to the bus 1004.

[0145] The following components are connected to the I / O interface 1009: an input section 1006 including a keyboard, a mouse, etc.; an output section 1007 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1008 including a hard disk, etc.; and a communication section 1009 including a network interface card such as a LAN card, a modem, etc. The communication section 10010 performs communication processing via a network such as the Internet. A drive 1010 is also connected to the I / O interface 1005 as needed. A removable medium 1011, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1010 as needed, so that a computer program read therefrom is installed into the storage section 1008 as needed.

[0146] In particular, according to the embodiments of the present disclosure, the above reference Figure 2-7The described processes may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program tangibly embodied on a machine-readable medium, the computer program comprising a computer program for executing Figure 2-7 In such an embodiment, the computer program may be downloaded and installed from a network via the communication section 1009 and / or installed from the removable medium 1011.

[0147] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, program segment or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a different order from the order marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0148] The units or modules involved in the embodiments described in the present application may be implemented by software or hardware. The units or modules described may also be arranged in a processor, for example, may be described as: a processor includes an XX unit, a YY unit, and a ZZ unit. The names of these units or modules do not, in some cases, constitute a limitation on the unit or module itself, for example, the XX unit may also be described as a "unit for XX".

[0149] As another aspect, the present application further provides a computer-readable storage medium, which may be a computer-readable storage medium included in the device described in the above embodiment; or a computer-readable storage medium that exists independently and is not assembled into the device. The computer-readable storage medium stores one or more programs, and the programs are used by one or more processors to execute the formula input method described in the present application.

[0150] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the inventive concept. For example, the above features are replaced with (but not limited to) technical features with similar functions disclosed in the present application.

Claims

1. A network scanning method, characterized in that: The method comprises: Obtain the asset information and network information of the asset to be scanned at the current moment; Determine a scanning adjustment coefficient of the asset to be scanned at the current moment based on the asset information and the network information; The scanning parameters of the asset to be scanned at a previous moment are adjusted according to the scanning adjustment coefficient of the asset to be scanned at a current moment, so as to perform a network scan on the asset to be scanned based on the adjusted scanning parameters.

2. The method according to claim 1, characterized in that The determining the scanning adjustment coefficient of the asset to be scanned at the current moment based on the asset information and the network information includes: Determine a first adjustment coefficient based on the network response time change rate and the first coefficient in the network information; Determine a second adjustment coefficient based on the network load change rate and the second coefficient in the network information; determining a third adjustment coefficient based on the sensitivity level of the asset information and the third coefficient; The scanning adjustment coefficient is determined according to the sum of the first adjustment coefficient, the second adjustment coefficient, the third adjustment coefficient and a first constant, where the first constant is a non-negative integer.

3. The method according to claim 2, characterized in that The determining the first adjustment coefficient based on the network response duration change rate in the network information and the first coefficient includes: Determine the network response time change rate at the current moment according to the average value of the network response time and the network response time at the current moment; Determine the first coefficient according to the network response time change rate at the current moment and first corresponding relationship information, wherein the first corresponding relationship information includes a plurality of network response time change rates and coefficients corresponding to the respective network response time change rates; The first adjustment coefficient is obtained according to the product of the network response duration change rate at the current moment and the first coefficient.

4. The method according to claim 2, characterized in that: The determining the second adjustment coefficient based on the network load change rate and the second coefficient in the network information includes: Determine the network load change rate at the current moment according to the average network load and the network load at the current moment; determining the second coefficient according to the network load change rate at the current moment and second corresponding relationship information, wherein the second corresponding relationship information includes a plurality of network load change rates and coefficients corresponding to each network load change rate; The second adjustment coefficient is obtained according to the product of the network load change rate at the current moment and the second coefficient.

5. The method according to claim 2, characterized in that: The determining the third adjustment coefficient based on the sensitivity level of the asset information and the third coefficient comprises: Determining a sensitivity level of the asset information based on at least one of the type, location, historical security events, and importance in the business of the asset information; determining the third coefficient according to the sensitivity level of the asset information and third corresponding relationship information, wherein the third corresponding relationship information includes a plurality of sensitivity levels and a plurality of coefficients corresponding to each sensitivity level; The third adjustment coefficient is obtained according to the product of the sensitivity level of the asset information and the third coefficient.

6. The method according to claim 1, characterized in that The step of adjusting the scanning parameters of the asset to be scanned at a previous moment according to the scanning adjustment coefficient of the asset to be scanned at a current moment includes: Obtaining the scanning parameters of the asset to be scanned at the last moment; The product of the scanning adjustment coefficient of the asset to be scanned at the current moment and the scanning parameter of the asset to be scanned at the previous moment is determined as the adjusted scanning parameter.

7. A network scanning device, characterized in that: The device comprises: The acquisition module is used to obtain the asset information and network information of the asset to be scanned at the current moment; A determination module, configured to determine a scan adjustment coefficient of the asset to be scanned at a current moment based on the asset information and the network information; The scanning adjustment module allows the user to adjust the scanning parameters of the asset to be scanned at a previous moment according to the scanning adjustment coefficient of the asset to be scanned at a current moment, so as to perform a network scan on the asset to be scanned based on the adjusted scanning parameters.

8. A network scanning device, comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 6 is implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Distributed scanning internal network asset management method, system and device and memory medium

    CN107979597A

  • Vulnerability scanning method, management equipment, node and storage medium

    CN111262839A

  • Server asset scanning method and system, electronic equipment and storage medium

    CN112463378A

  • Vulnerability scanning method and device, electronic equipment, medium and product

    CN114491545A

  • Training method, device and equipment for vulnerability scanning strategy matching model

    CN115643075A

Cited By

  • Vulnerability scanning method and device

    CN121193500A