Network detection method, device and non-transient computer-readable storage medium

Through intelligent hybrid detection methods, combined with active and passive detection, analyzing network traffic and using search engines for non-invasive detection, the existing network detection methods are solved in terms of accuracy and comprehensiveness, and the security risks of network equipment are achieved Comprehensive assessment and efficient management.

CN115085959BActive Publication Date: 2024-11-15CHINA TELECOM CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110276374.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-03-15
Publication Date
2024-11-15
Estimated Expiration
2041-03-15

AI Technical Summary

Technical Problem

When existing network detection methods improve security and response speed, the accuracy and comprehensiveness of detection are insufficient, making it difficult to fully reflect the security risks of network equipment.

Method used

Using intelligent hybrid detection method, combining active and passive detection, send detection data packets to the target network and analyze traffic, extract fingerprint information, and use search engines to perform non-invasive detection, fuse data to obtain network detection results, and at the same time, the vulnerability library is used to The information matches the fingerprint information to determine the cyber threat score.

Benefits of technology

It improves the accuracy and comprehensiveness of network detection, can more accurately evaluate the security risks of network equipment, and improves security management efficiency and emergency response speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115085959B_ABST
    Figure CN115085959B_ABST
Patent Text Reader

Abstract

The present disclosure provides a network detection method, device and non-transient computer-readable storage medium, which relate to the field of network security technology. The network detection method includes: obtaining first device information by sending a detection data packet to a target network; obtaining second device information according to the traffic of the target network; performing fingerprint extraction and matching according to the first device information and the second device information to obtain third device information; extracting network data based on non-invasive detection of a search engine; fusing the third device information and the network data to obtain network detection results. The present disclosure can improve the accuracy and comprehensiveness of network detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of network security technology, and in particular to a network detection method, device and non-transitory computer-readable storage medium. Background Art

[0002] The popularization of network technology has enabled more and more network devices to be connected to the Internet. The increase and dynamic changes in the exposure of these systems and network devices have expanded the boundaries of enterprise networks. Since enterprise security personnel are unable to fully and effectively grasp the status of network devices, they are unable to extract and effectively measure the main threat indicators faced by network devices, resulting in lagging and slow security governance work.

[0003] Currently, network equipment management mainly improves security and response speed through two aspects. In the detection process, a combination of active detection and search engine-based scanning is used to quickly discover and update network equipment data, but the detection of equipment for secure network equipment protection is difficult and the accuracy is relatively low. In the process of evaluating the detection of network equipment, security vulnerabilities are mainly considered, and other factors of network equipment are less considered. Therefore, the security risks of network equipment cannot be fully and objectively reflected. Summary of the invention

[0004] A technical problem solved by the present disclosure is how to improve the accuracy and comprehensiveness of network detection.

[0005] According to one aspect of the present disclosure, a network detection method is provided, including: obtaining first device information by sending a detection data packet to a target network; obtaining second device information based on the traffic of the target network; performing fingerprint extraction and matching based on the first device information and the second device information to obtain third device information; extracting network data based on non-invasive detection by a search engine; and fusing the third device information and the network data to obtain a network detection result.

[0006] In some embodiments, obtaining the first device information by sending a detection data packet to the target network includes: sending a detection data packet to the target network to obtain a response data packet; and obtaining the first device information based on characteristics of the response data packet.

[0007] In some embodiments, obtaining the second device information according to the traffic of the target network includes: collecting the traffic of the target network; and analyzing the traffic to obtain the second device information.

[0008] In some embodiments, analyzing the traffic to obtain the second device information includes: analyzing special fields of the application layer protocol or the fingerprint of the protocol data packet in the traffic to obtain the host and operating system information.

[0009] In some embodiments, the extraction of network data based on non-invasive detection by a search engine includes: mapping websites in a system query manner through a search engine, querying site directory lists, and searching for login pages, password files, and system devices.

[0010] In some embodiments, fingerprint extraction and matching are performed based on the first device information and the second device information to obtain the third device information, including: determining the fingerprint category and device type of the operating system; detecting the web application and extracting the homepage information for information verification.

[0011] In some embodiments, the network detection method also includes: matching the third device information with the vulnerability intelligence information in the vulnerability library and performing vulnerability proof to obtain vulnerability information of the target network; determining the network threat consequence attribute weight; determining the vulnerability threat value; and determining the network threat score based on the network threat consequence attribute weight and the vulnerability threat value.

[0012] In some embodiments, determining the network threat consequence attribute weight includes: determining a network vulnerability weight and a network importance weight; determining the network threat consequence attribute weight based on the network vulnerability weight and the network importance weight, wherein the network threat consequence attribute weight is proportional to the network vulnerability weight and the network importance weight.

[0013] In some embodiments, determining the vulnerability threat value includes: determining a vulnerability threat set; determining a threat occurrence probability; and determining the vulnerability threat value based on the vulnerability threat set and the threat occurrence probability.

[0014] In some embodiments, determining a network threat score based on network threat consequence attribute weights and vulnerability threat values ​​includes: determining threat scores for each device based on the network threat consequence attribute weights and vulnerability threat values; and determining a network threat score based on each device threat score.

[0015] According to another aspect of the present disclosure, a network detection device is provided, including: an active detection module, configured to: obtain first device information by sending a detection data packet to a target network; a passive detection module, configured to: obtain second device information according to the traffic of the target network; an extraction and identification module, configured to: perform fingerprint extraction and matching according to the first device information and the second device information to obtain third device information; a data extraction module, configured to: extract network data by non-invasive detection based on a search engine; and a fusion detection module, configured to: fuse the third device information and the network data to obtain a network detection result.

[0016] In some embodiments, the active detection module is configured to: send a detection data packet to the target network to obtain a response data packet; and obtain the first device information based on characteristics of the response data packet.

[0017] In some embodiments, the passive detection module is configured to: collect traffic of the target network; analyze the traffic to obtain second device information.

[0018] In some embodiments, the passive detection module is configured to: analyze special fields of the application layer protocol or protocol data packet fingerprints in the traffic to obtain host and operating system information.

[0019] In some embodiments, the data extraction module is configured to: perform website mapping in a system query manner through a search engine, query the site directory list, and find login pages, password files, and system devices.

[0020] In some embodiments, the extraction and identification module is configured to: determine the fingerprint category and device type of the operating system; detect the web application and extract the home page information for information verification.

[0021] In some embodiments, the network detection device also includes a threat assessment module, which is configured to: match the third device information with the vulnerability intelligence information in the vulnerability library, and perform vulnerability proof to obtain vulnerability information of the target network; determine the network threat consequence attribute weight; determine the vulnerability threat value; determine the network threat score based on the network threat consequence attribute weight and the vulnerability threat value.

[0022] In some embodiments, the threat assessment module is configured to: determine a network vulnerability weight and a network importance weight; and determine a network threat consequence attribute weight based on the network vulnerability weight and the network importance weight, wherein the network threat consequence attribute weight is proportional to the network vulnerability weight and the network importance weight.

[0023] In some embodiments, the threat assessment module is configured to: determine a vulnerability threat set; determine a probability of threat occurrence; and determine a vulnerability threat value based on the vulnerability threat set and the probability of threat occurrence.

[0024] In some embodiments, the threat assessment module is configured to: determine the threat score of each device according to the network threat consequence attribute weight and the vulnerability threat value; and determine the network threat score according to the threat score of each device.

[0025] According to another aspect of the present disclosure, a network detection device is provided, including: a memory; and a processor coupled to the memory, wherein the processor is configured to execute the aforementioned network detection method based on instructions stored in the memory.

[0026] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, wherein the non-transitory computer-readable storage medium stores computer instructions, and when the instructions are executed by a processor, the aforementioned network detection method is implemented.

[0027] The present disclosure can improve the accuracy and comprehensiveness of network detection.

[0028] Other features and advantages of the present disclosure will become apparent from the following detailed description of exemplary embodiments of the present disclosure with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure or related technologies, the drawings required for use in the embodiments or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0030] Figure 1 A flowchart of a network detection method according to some embodiments of the present disclosure is shown.

[0031] Figure 2 A schematic diagram showing an application example of the network detection method.

[0032] Figure 3 A flowchart of a network detection method according to some other embodiments of the present disclosure is shown.

[0033] Figure 4 A schematic diagram showing another application example of the network detection method.

[0034] Figure 5 A schematic diagram of the structure of a network detection device according to some embodiments of the present disclosure is shown.

[0035] Figure 6 A schematic diagram of the structure of a network detection device according to some other embodiments of the present disclosure is shown. DETAILED DESCRIPTION

[0036] The following will be combined with the drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all of the embodiments. The following description of at least one exemplary embodiment is actually only illustrative and is by no means intended to limit the present disclosure and its application or use. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.

[0037] In order to solve the problems of limited comprehensiveness and low accuracy of existing detection methods and single-dimensional network equipment evaluation methods, which make it difficult to fully reflect the risks of network equipment, the present invention provides a network detection method based on intelligent hybrid detection, which combines network traffic analysis fingerprint information to improve the accuracy and comprehensiveness of network equipment detection. At the same time, a multi-dimensional risk assessment algorithm based on network equipment and threats is used to quantitatively evaluate the security of the exposed surface of network equipment, thereby improving security management efficiency and emergency response speed of security incidents.

[0038] The network detection method based on intelligent hybrid detection provided by the present disclosure makes full use of the high accuracy of passive detection. The characteristics of small intrusion of network devices protected by security devices are combined with active detection through fingerprint extraction and matching modules to obtain fingerprint data, fingerprint data based on search engine detection methods, and intelligent fingerprint recognition OCR, to quickly, comprehensively and accurately discover network device application fingerprint information, and provide a data basis and quantitative basis for vulnerability discovery and threat assessment of network devices. At the same time, the localized vulnerability library and port threat knowledge base are used to collide with the network device fingerprint information to obtain vulnerability information, port information, etc. and combine with the network device fingerprint information to form multi-attribute information based on network devices and threats. The above information is evaluated to form a threat analysis matrix, and the security risks of network devices and systems are quantitatively analyzed and evaluated. It enables enterprise security personnel to fully and timely grasp the dynamics and risk status of network equipment and improve security management efficiency.

[0039] First combine Figure 1 Some embodiments of the network detection method disclosed herein are described.

[0040] Figure 1 FIG. 1 is a flow chart showing a network detection method according to some embodiments of the present disclosure. Figure 1 As shown, the method includes steps S101 to S104.

[0041] In step S101, first device information is acquired by sending a detection data packet to a target network.

[0042] For example, a detection data packet is sent to the target network to obtain a response data packet, and the first device information is obtained according to the characteristics of the response data packet.

[0043] In step S102, the second device information is obtained according to the traffic of the target network.

[0044] The second device information is obtained by collecting the traffic of the target network and analyzing the traffic, wherein the special fields of the application layer protocol or the fingerprint of the protocol data packet in the traffic are analyzed to obtain the host and operating system information.

[0045] In step S103, fingerprint extraction and matching are performed according to the first device information and the second device information to obtain the third device information.

[0046] In step S104, network data is extracted based on non-intrusive detection of a search engine.

[0047] For example, a search engine can be used to map a website in a system query manner, query a site directory list, and find login pages, password files, and system devices.

[0048] In step S105, the third device information and the network data are integrated to obtain a network detection result.

[0049] For example, first determine the fingerprint category and device type of the operating system, then detect the web application and extract the homepage information for information verification.

[0050] Combine the following Figure 2 A specific embodiment of the above network detection method is described.

[0051] Figure 2 FIG. 1 is a schematic diagram showing an application example of the network detection method. Figure 2 As shown, this application example mainly includes two aspects.

[0052] On the one hand, firstly, the synchronization sequence number SYN data packet or other constructed layer protocol data packets (such as Internet Protocol IP data packet, User Datagram Protocol UDP data packet, Internet Control Message Protocol ICMP data packet) are actively sent to the target network device. According to the characteristics of the reply data packet, host discovery and port, service, operating system, etc. are identified. Then, through the general search engine or network security dedicated search engine, website mapping is realized in the form of network query, site directory list is viewed, login page, password file and network equipment are found, etc. Next, passive detection is used to collect the traffic of the target network, and the special field banner of the application layer HTTP, FTP, SMTP and other protocols in the traffic or the fingerprint of the protocol data packet of IP, TCP, DHCP and other protocols are analyzed to obtain information such as the host and operating system.

[0053] On the other hand, fingerprints of active and passively detected network devices are extracted and matched, and merged with the information detected based on the search engine to obtain safe and accurate network device CPE information. First, locate the fingerprint category of the system, such as manufacturer, system category, operating system generation, and device type. Intelligent matching information first locates the device type, followed by version, manufacturer, and system category, and finally the operating system. In the process of scanning network devices, the IP detection web application is used to extract relevant homepage information through the OSR algorithm to verify the network device and sort out the enterprise network device information, which is convenient for enterprises to conduct network equipment mapping and provide a quantitative basis for network equipment risk assessment.

[0054] The above application examples add passive detection based on network traffic analysis. The combination of active and passive detection makes up for the problems of high noise in active detection, difficulty in detecting network devices protected by security devices, and low accuracy. It also makes up for the shortcomings of passive detection that is limited to intranet data and has a limited detection range. Intelligent identification of network device fingerprints improves the efficiency of analysis and identification, supports custom keywords, and accurately locates network devices through the OSR image recognition algorithm. After the integration of active and passive detection fingerprint information, the fingerprint information, CPE information, and port information of network devices are more accurate and comprehensive.

[0055] Combine the following Figure 3 Other embodiments of the network detection method disclosed in the present invention are described.

[0056] Figure 3 FIG. 2 is a flow chart showing a network detection method according to another embodiment of the present disclosure. Figure 3 As shown, the method includes steps S301 to S304.

[0057] In step S301, the third device information is matched with the vulnerability intelligence information in the vulnerability database, and vulnerability proof is performed to obtain vulnerability information of the target network;

[0058] In step S302, the network threat consequence attribute weight is determined.

[0059] First, determine the network vulnerability weight and network importance weight. Then, determine the network threat consequence attribute weight based on the network vulnerability weight and network importance weight, where the network threat consequence attribute weight is proportional to the network vulnerability weight and network importance weight.

[0060] In step S303, the vulnerability threat value is determined.

[0061] Specifically, first determine the vulnerability threat set, then determine the threat occurrence probability, and then determine the vulnerability threat value based on the vulnerability threat set and the threat occurrence probability.

[0062] In step S304, a network threat score is determined according to the network threat consequence attribute weight and the vulnerability threat value.

[0063] Specifically, the threat score of each device is determined based on the network threat consequence attribute weight and vulnerability threat value. Then, the network threat score is determined based on the threat score of each device.

[0064] Combine the following Figure 4 A specific embodiment of the above network detection method is described.

[0065] Figure 4 FIG. 1 is a schematic diagram showing another application example of the network detection method. Figure 4 As shown, this application example mainly includes two aspects.

[0066] On the one hand, first match the CPE information of the network device that has completed the exposure detection with the vulnerability intelligence of the vulnerability library. At the same time, perform vulnerability proof. Obtain the security vulnerability and vulnerability POC information of the network device. Then establish a topological map of the network device and its exposure surface. Identify the vulnerabilities and weights of all network devices in the map. Evaluate the threat consequence attributes of the network device. (As shown in Table 1) The threat consequence attributes of the network device are proportional to the vulnerability (exposed surface CPE, number and type of ports) and importance of the network device.

[0067] Table 1

[0068] Threat consequence attributes C1 C2 C3 C4 Vulnerability V1 V2 V3 V4 importance R1 R2 R3 R4

[0069] The security of network device ports is divided through the threat knowledge base. Then the threats are identified and analyzed based on the vulnerability information of the network device. The vulnerability threat set is determined by the vulnerability impact score, and the probability of occurrence is determined by the exploitable score. The port threat and the probability of occurrence are defined by the threat port knowledge base. The vulnerability threat value W1=L1*P1 shown in Table 2, and the port threat value D1 can be calculated in the same way. Then the threat value of the network device is: W*1=∑W+∑D.

[0070] Table 2

[0071] Vulnerability Threat Value W1 W2 W3 W4 Vulnerability Threat Set L1 L2 L3 L4 Probability of threat occurrence P1 P2 P3 P4

[0072] The risk of each network device is determined by the vulnerability-port threat value and the threat consequence attribute of the network device. Then the threat score of the network device is T1 = C1*W*1, T1 = C1*W*1. The threat score of the network is Based on the results of risk assessment (T, N), enterprises manage network devices that have been detected as exposed in a targeted manner.

[0073] Those skilled in the art will appreciate that, under certain conditions, the threat weights of network devices, ports, and vulnerabilities may be increased or decreased according to the needs of the business or network devices to achieve flexible configuration.

[0074] In the above application examples, the network device and the system where the network device is located are analyzed based on the fingerprint information, CPE information, and port information of the intelligent hybrid detection, and the network device information is combined to conduct a risk assessment of the threats faced by the network device. Quantifying risk indicators facilitates enterprises to manage risky network devices and improve the security of network systems.

[0075] It can be seen from the above embodiments and application examples that the Internet network device detection method based on the intelligent hybrid mode utilizes the high speed of active and search engine-based detection, the comprehensiveness and low intrusion of passive detection, and combines the intelligent fingerprint recognition OCR image recognition algorithm to improve the comprehensiveness and accuracy of network device detection, and utilizes intelligent fingerprint recognition technology to improve the speed of fingerprint extraction. Different from other network equipment evaluation schemes that only use vulnerabilities as the dimension for evaluation, the above embodiments and application examples fully consider the particularity and multidimensionality of network equipment and threats. Decisions and evaluations are made on threats to network devices based on multiple attributes such as network equipment importance, network equipment vulnerability, security vulnerabilities, vulnerability POC, port information, etc., and objective and measurable evaluation results are output.

[0076] Enterprises with large-scale IT network equipment use active and passive detection to obtain the company's CPE fingerprint information, which is convenient for enterprises to conduct regular inspections and sorting of their network equipment. At the same time, combined with the vulnerability intelligence library and port threat knowledge base, a quantitative assessment of the key infrastructure of enterprise network equipment is conducted. According to the score, the vulnerabilities of important and high-risk network equipment are repaired, the external network access exits are grouped, and non-essential and easily exploited ports and applications are closed, thereby improving security protection capabilities.

[0077] Combine the following Figure 5 Some embodiments of the network detection device disclosed herein are described.

[0078] Figure 5 FIG. 1 is a schematic diagram showing the structure of a network detection device according to some embodiments of the present disclosure. Figure 5As shown, the network detection device 50 includes: an active detection module 501, configured to: obtain the first device information by sending a detection data packet to the target network; a passive detection module 502, configured to: obtain the second device information according to the traffic of the target network; an extraction and identification module 503, configured to: perform fingerprint extraction and matching according to the first device information and the second device information to obtain the third device information; a data extraction module 504, configured to: extract network data based on non-invasive detection of search engines; a fusion detection module 505, configured to: fuse the third device information and network data to obtain the network detection result.

[0079] In some embodiments, the active detection module 501 is configured to: send a detection data packet to the target network to obtain a response data packet; and obtain the first device information according to the characteristics of the response data packet.

[0080] In some embodiments, the passive detection module 502 is configured to: collect traffic of the target network; analyze the traffic to obtain the second device information.

[0081] In some embodiments, the passive detection module 502 is configured to analyze special fields of the application layer protocol or the fingerprint of the protocol data packet in the traffic to obtain the host and operating system information.

[0082] In some embodiments, the data extraction module 504 is configured to: perform website mapping in a system query manner through a search engine, query the site directory list, and find login pages, password files, and system devices.

[0083] In some embodiments, the extraction and identification module 503 is configured to: determine the fingerprint category and device type of the operating system; detect the web application and extract the home page information for information verification.

[0084] In some embodiments, the network detection device 50 also includes a threat assessment module 506, which is configured to: match the third device information with the vulnerability intelligence information in the vulnerability library, and perform vulnerability proof to obtain vulnerability information of the target network; determine the network threat consequence attribute weight; determine the vulnerability threat value; determine the network threat score based on the network threat consequence attribute weight and the vulnerability threat value.

[0085] In some embodiments, the threat assessment module 506 is configured to: determine a network vulnerability weight and a network importance weight; and determine a network threat consequence attribute weight based on the network vulnerability weight and the network importance weight, wherein the network threat consequence attribute weight is proportional to the network vulnerability weight and the network importance weight.

[0086] In some embodiments, the threat assessment module 506 is configured to: determine a vulnerability threat set; determine a probability of threat occurrence; and determine a vulnerability threat value based on the vulnerability threat set and the probability of threat occurrence.

[0087] In some embodiments, the threat assessment module 506 is configured to: determine the threat score of each device according to the network threat consequence attribute weight and the vulnerability threat value; and determine the network threat score according to the threat score of each device.

[0088] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0089] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0090] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0091] Combine the following Figure 6 Some other embodiments of the network detection device disclosed in the present invention are described.

[0092] Figure 6 FIG. 2 shows a schematic diagram of the structure of a network detection device in some other embodiments of the present disclosure. Figure 6 As shown, the network detection device 60 includes: a memory 610 and a processor 620 coupled to the memory 610 , and the processor 620 is configured to execute the network detection method in any of the aforementioned embodiments based on instructions stored in the memory 610 .

[0093] The memory 610 may include, for example, a system memory, a fixed non-volatile storage medium, etc. The system memory may store, for example, an operating system, an application program, a boot loader, and other programs.

[0094] The network detection device 60 may also include an input / output interface 630, a network interface 640, a storage interface 650, etc. These interfaces 630, 640, 650, the memory 610, and the processor 620 may be connected, for example, via a bus 660. The input / output interface 630 provides a connection interface for input / output devices such as a display, a mouse, a keyboard, and a touch screen. The network interface 640 provides a connection interface for various networked devices. The storage interface 650 provides a connection interface for external storage devices such as SD cards and USB flash drives.

[0095] The present disclosure also includes a non-transitory computer-readable storage medium having computer instructions stored thereon, which, when executed by a processor, implement the network detection method in any of the aforementioned embodiments.

[0096] If the aforementioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

[0097] The present disclosure is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present disclosure. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0098] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0099] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0100] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0101] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity 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, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0102] The above description is only a preferred embodiment of the present disclosure and is not intended to limit the present disclosure. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present disclosure should be included in the protection scope of the present disclosure.

Claims

1. A network detection method, comprising: Acquire the first device information by sending a detection data packet to the target network; Acquire the second device information according to the traffic of the target network; Extract and match fingerprints based on the first device information and the second device information to obtain third device information; Non-intrusive detection based on search engines to extract network data; The third device information and the network data are integrated to obtain a network detection result, wherein the network detection result includes network device CPE information and port information; Determine the network threat consequence attributes based on network device CPE information and port information; Match the network device CPE information with the vulnerability intelligence information in the vulnerability database and perform vulnerability proof to obtain the vulnerability information of the target network; Determine the vulnerability threat value based on the vulnerability information of the target network; Determine the port threat value based on the port information and the threat port knowledge base; Determine the network threat score based on the network threat consequence attributes, vulnerability threat value, and port threat value.

2. The network detection method according to claim 1, wherein: The acquiring the first device information by sending a detection data packet to the target network includes: Send a detection data packet to the target network and obtain a response data packet; The first device information is acquired according to the characteristics of the response data packet.

3. The network detection method according to claim 1, wherein: The acquiring the second device information according to the traffic of the target network includes: Collect traffic from the target network; Analyze the traffic and obtain the second device information.

4. The network detection method according to claim 3, wherein: Analyzing the traffic to obtain the second device information includes: Analyze special fields of application layer protocols or protocol packet fingerprints in traffic to obtain host and operating system information.

5. The network detection method according to claim 1, wherein: The non-intrusive detection based on search engines and extracting network data include: Use search engines to map websites in a system query manner, query site directory lists, and find login pages, password files, and system devices.

6. The network detection method according to claim 1, wherein: Extracting and matching fingerprints according to the first device information and the second device information to obtain the third device information includes: Determine the fingerprint category of the operating system and the device type; Detect web applications and extract homepage information for information verification.

7. The network detection method according to claim 1, wherein: Determining the network threat consequence attributes includes: Determine network vulnerabilities and network importance; According to the network vulnerability and network importance, the network threat consequence attributes are determined, wherein the network threat consequence attributes are proportional to the network vulnerability and network importance.

8. The network detection method according to claim 1, wherein: Determining the vulnerability threat value includes: Identify vulnerability threat sets; Determine the probability of the threat occurring; Determine the vulnerability threat value based on the vulnerability threat set and the threat occurrence probability.

9. The network detection method according to claim 1, wherein: Determining the network threat score according to the network threat consequence attribute, the vulnerability threat value and the port threat value includes: Determine the threat score of each device based on the network threat consequence attributes, vulnerability threat value, and port threat value; Based on the threat scores of each device, a network threat score is determined.

10. A network detection device, comprising: The active detection module is configured to: obtain the first device information by sending a detection data packet to the target network; The passive detection module is configured to: obtain the second device information according to the traffic of the target network; The extraction and identification module is configured to: extract and match fingerprints according to the first device information and the second device information to obtain the third device information; The data extraction module is configured to: extract network data through non-intrusive detection based on search engines; The fusion detection module is configured to: fuse the third device information and the network data to obtain a network detection result, wherein the network detection result includes network device CPE information and port information; The threat assessment module is configured to: Determine the network threat consequence attributes based on network device CPE information and port information; Match the network device CPE information with the vulnerability intelligence information in the vulnerability database and perform vulnerability proof to obtain the vulnerability information of the target network; Determine the vulnerability threat value based on the vulnerability information of the target network; Determine the port threat value based on the port information and the threat port knowledge base; Determine the network threat score based on the network threat consequence attributes, vulnerability threat value, and port threat value.

11. The network detection device according to claim 10, wherein: The active detection module is configured as follows: Send a detection data packet to the target network and obtain a response data packet; The first device information is acquired according to the characteristics of the response data packet.

12. The network detection device according to claim 10, wherein: The passive detection module is configured as follows: Collect traffic from the target network; Analyze the traffic and obtain the second device information.

13. The network detection device according to claim 12, wherein: The passive detection module is configured as follows: Analyze special fields of application layer protocols or protocol packet fingerprints in traffic to obtain host and operating system information.

14. The network detection device according to claim 10, wherein: The data extraction module is configured to: Use search engines to map websites in a system query manner, query site directory lists, and find login pages, password files, and system devices.

15. The network detection device according to claim 10, wherein: The extraction and identification module is configured as follows: Determine the fingerprint category of the operating system and the device type; Detect web applications and extract homepage information for information verification.

16. The network detection device according to claim 10, wherein: The threat assessment module is configured to: Determine network vulnerabilities and network importance; According to the network vulnerability and network importance, the network threat consequence attributes are determined, wherein the network threat consequence attributes are proportional to the network vulnerability and network importance.

17. The network detection device according to claim 10, wherein: The threat assessment module is configured to: Identify vulnerability threat sets; Determine the probability of the threat occurring; Determine the vulnerability threat value based on the vulnerability threat set and the threat occurrence probability.

18. The network detection device according to claim 10, wherein: The threat assessment module is configured to: Determine the threat score of each device based on the network threat consequence attributes, vulnerability threat value, and port threat value; Based on the threat scores of each device, a network threat score is determined.

19. A network detection device, comprising: Memory; as well as A processor coupled to the memory, wherein the processor is configured to execute the network detection method according to any one of claims 1 to 9 based on instructions stored in the memory.

20. A non-transitory computer-readable storage medium, wherein: The non-transitory computer-readable storage medium stores computer instructions, and when the instructions are executed by a processor, the network detection method according to any one of claims 1 to 9 is implemented.