Method for discovering homologous association with IP address through passive detection of IP assets

Through passive detection and traffic mirroring technology, the problem of homologous IP address management in the existing technology is solved, and the accurate discovery and management of IPv4 and IPv6 assets is realized, network bandwidth occupation and security risks are reduced, and management efficiency and accuracy are improved.

CN118945136APending Publication Date: 2024-11-12SUNRISEBRO CO LTD

Patent Information

Application Number
CN202410989545.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-23
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

In the prior art, when managing the IP addresses of two protocol stacks, especially IPv6 addresses, there are homologous problems and security challenges, active scanning is difficult to effectively manage, and there is a risk of exposure.

Method used

Passive detection method is adopted to collect NDP and ARP table entries, traffic detection and data processing, and combine traffic mirroring technology to realize passive discovery and homologous association of IP assets, reducing the impact of the network on the logical architecture, improving management efficiency and accuracy sex.

Benefits of technology

It realizes accurate and timely discovery and management of IPv4 and IPv6 IP assets, reduces network bandwidth usage and security risks, improves management efficiency and accuracy, and has the advantages of low cost and high efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118945136A_ABST
    Figure CN118945136A_ABST
Patent Text Reader

Abstract

The invention discloses a method for passive detection and discovery of homologous association between IP assets and IP addresses, and relates to the technical field of IPv6 address discovery and management, and the method comprises the following steps: S1, collection of NDP table entries and ARP table entries, S2, flow detection, S3, data processing, and S4, management of IP assets. According to the method, the active condition of the internal IP assets can be passively collected through uninterrupted flow collection and interception, and the mode of obtaining the IP assets through flow mirror image analysis is adopted, so that the information of the IP assets is obtained in time, and the influence on the existing logic architecture of the network is reduced; the collection of the NDP and ARP addresses is based on the deployed network equipment in the network, so that the method has the advantages of low cost, high collection efficiency, high accuracy, low omission possibility and the like, and can make up for the defects that active detection needs to additionally occupy the network bandwidth and release the network access exposure risk.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of IPv6 address discovery and management technology, and in particular to a method for passively detecting and discovering IP assets and IP address homology associations. Background Art

[0002] IP address scanning is a common active discovery technology for IP addresses, which is mainly achieved by sending detection packets. Commonly used methods include ping and traceroute. In the invention patent with application number 202211682254.7, "a method, device and storage medium for automatically discovering IP assets, the method includes: obtaining the original IP to be scanned; determining the IP set to be scanned according to the original IP; classifying the IP assets corresponding to the IP set to be scanned by a scanning method based on SNMP; when the SNMP-based scanning method cannot connect to the IP set to be scanned, determining the IP asset classification corresponding to the IP set to be scanned by a scanning method based on NMAP. The method of the present invention determines the IP set to be scanned by obtaining the original IP to be scanned, and automatically determines the scanning range of the IP assets; and according to different network environments, the IP set to be scanned is managed and classified by using the scanning method of SNMP or NMAP, thereby improving the management efficiency and automation level of IP assets, being able to quickly determine the location of IP assets, and effectively helping network administrators to quickly sort out the IP asset situation in the network environment.";

[0003] The above-mentioned existing technologies solve the problems that the management of IP assets is mostly done through manual statistics and it is very difficult to understand the IP addresses of all assets. However, there is no good management solution for the discovery of IP addresses of two protocol stacks and the homology problem of multiple addresses in the same hardware configuration. Active scanning is difficult to manage the two protocol stacks, especially in the management of IPv6 addresses. Using active detection solutions alone to manage internal IP assets faces many security challenges such as exposure risks. Summary of the invention

[0004] The purpose of the present invention is to provide a method for passively detecting IP assets and discovering homologous associations with IP addresses, so as to solve the problems raised in the above-mentioned background technology.

[0005] To achieve the above object, the present invention provides the following technical solution: a method for passively detecting IP assets and discovering homologous associations with IP addresses, comprising the following steps:

[0006] S1. Collect NDP and ARP entries: Use network devices as data frame and IP packet forwarding devices, collect ARP and NDP entries of these network devices through SSH remote operation tools and API interface technology, and store all collected entry data locally in files;

[0007] S2. Traffic detection: By performing traffic mirroring at the egress of the target area, the traffic from the access end is sent through the node to access the target area. If the target area responds, it means that the active service IP address exists in the target area. The source address information of the IP packet marked with the TCP response flag is extracted, the active IP asset information and category are obtained, and the information is reported with the data source identifier.

[0008] S3, data processing: After obtaining all table item data in the local storage, the table item data are parsed separately, and the useful information contained in the data is extracted and stored in the database. The IP address, time point and source identifier obtained during the traffic detection process are matched and refreshed into the parsed data to form a unified IP passive discovery method for IP asset passive detection to report data in real time;

[0009] S4. Manage IP assets: Perform IP asset management based on the reported IP asset information data, implement IP asset management applications based on the asset update frequency, and perform asset survival processing for assets that have not been updated within the time limit.

[0010] Preferably, in S1, the network device is specifically a firewall, a router and a switch.

[0011] Preferably, the S2 specifically comprises the following steps:

[0012] S201, by performing traffic mirroring at the egress of the target area, the traffic of the access end is made to access the target area through the node. If the target area does not make any response, it means that the active service IP address does not exist in the target area. If the target area makes a response, it means that the active service IP address exists in the target area. The remaining source addresses found are non-server Internet terminal IPs.

[0013] S202, extracting the source address information of the IP packet marked with the TCP response flag, thereby obtaining the active IP asset information and category of the target area in real time, and reporting the information with the data source identifier to refresh the active status of the IP assets.

[0014] Preferably, the S3 specifically includes the following steps:

[0015] S301, after obtaining all table item data from the NDP and ADP acquisition units, the table item data are parsed respectively, useful information contained in the data is extracted, the information data is formatted, and stored in the database;

[0016] S302, the IP address, time point and source identifier obtained in the traffic detection unit are matched and refreshed into the parsed data, forming a unified IP passive discovery method for passive detection of IP assets to report data in real time.

[0017] Preferably, in S3, the useful information specifically includes an IP address, a MAC address and a time point.

[0018] Preferably, the S4 specifically comprises the following steps:

[0019] S401, perform IP asset management according to the reported IP asset information data, and implement IP asset management application according to the asset update frequency;

[0020] S402: Perform asset survival processing on assets that have not been updated beyond the time limit, and associate IP addresses from different learning sources with the same source to provide query capabilities.

[0021] Preferably, in S4, the IP assets are specifically IPv4 and IPv6 assets.

[0022] Compared with the prior art, the present invention has the following beneficial effects:

[0023] The present invention realizes the collection and tracking of IP address assets by utilizing the address passive discovery technology. Such passive technology combines two methods. One is to obtain the newly discovered IP address by collecting the ARP table items and NDP table items of the network equipment and formatting and parsing the contents of the table items. The other is to extract and parse the source address field in the traffic by mirroring the outgoing direction traffic at the convergence or export position. The characteristics of the three-way handshake of the TCP handshake message are utilized to extract the IP information of the internally deployed active server according to the TCP flag information, and the IP asset extraction of IPv4 and IPv6 is satisfied at the same time. Moreover, the active status of the internal IP assets can be passively collected through uninterrupted traffic collection and monitoring. The method of obtaining IP assets by traffic mirroring and parsing not only obtains the information of IP assets in a more timely manner, but also reduces the impact on the existing logical architecture of the network. Since the collection of NDP and ARP addresses is based on the network equipment already deployed in the network, it has the advantages of reduced cost, high collection efficiency, high accuracy and low possibility of omission, and can make up for the disadvantages of active detection requiring additional network bandwidth and releasing the risk of network access leakage. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 Provide an overall method flow chart for an embodiment of the present invention;

[0025] Figure 2 A flow chart of a method for flow detection provided by an embodiment of the present invention;

[0026] Figure 3 A flow chart of a method for data processing provided by an embodiment of the present invention;

[0027] Figure 4 A flow chart of a method for managing IP assets provided by an embodiment of the present invention;

[0028] Figure 5 A logical architecture diagram provided for an embodiment of the present invention. DETAILED DESCRIPTION

[0029] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0030] See also Figure 1-5 The present invention provides a technical solution: a method for passively detecting IP assets and discovering homologous associations with IP addresses, comprising the following steps:

[0031] S1. Collect NDP and ARP entries: Use network devices as data frame and IP packet forwarding devices, collect ARP and NDP entries of these network devices through SSH remote operation tools and API interface technology, and store all collected entry data locally in files;

[0032] S2. Traffic detection: By performing traffic mirroring at the egress of the target area, the traffic from the access end is sent through the node to access the target area. If the target area responds, it means that the active service IP address exists in the target area. The source address information of the IP packet marked with the TCP response flag is extracted, the active IP asset information and category are obtained, and the information is reported with the data source identifier.

[0033] S3, data processing: After obtaining all table item data in the local storage, the table item data are parsed separately, and the useful information contained in the data is extracted and stored in the database. The IP address, time point and source identifier obtained during the traffic detection process are matched and refreshed into the parsed data to form a unified IP passive discovery method for IP asset passive detection to report data in real time;

[0034] S4. Manage IP assets: Perform IP asset management based on the reported IP asset information data, implement IP asset management applications based on the asset update frequency, and perform asset survival processing for assets that have not been updated within the time limit.

[0035] In S1, the network devices are specifically firewalls, routers, and switches;

[0036] S2 specifically includes the following steps:

[0037] S201, by performing traffic mirroring at the egress of the target area, the traffic of the access end is made to access the target area through the node. If the target area does not make any response, it means that the active service IP address does not exist in the target area. If the target area makes a response, it means that the active service IP address exists in the target area. The remaining source addresses found are non-server Internet terminal IPs.

[0038] S202, extracting the source address information of the IP packet marked with the TCP response flag, thereby obtaining the active IP asset information and category of the target area in real time, and reporting the information with the data source identifier to refresh the active status of the IP asset;

[0039] S3 specifically includes the following steps:

[0040] S301, after obtaining all table item data from the NDP and ADP acquisition units, the table item data are parsed respectively, useful information contained in the data is extracted, the information data is formatted, and stored in the database;

[0041] S302, the IP address, time point and source identifier obtained in the traffic detection unit are matched and updated to the parsed data, forming a unified IP passive discovery method for passive detection of IP assets to report data in real time;

[0042] In S3, the useful information is specifically the IP address, MAC address, and time point;

[0043] S4 specifically includes the following steps:

[0044] S401: Perform IP asset management based on the reported IP asset information data, and implement IP asset management applications based on the asset update frequency.

[0045] S402: Perform asset survival processing on assets that have not been updated beyond the time limit, and associate IP addresses from different learning sources with the same source to provide query capabilities;

[0046] In S4, IP assets specifically refer to IPv4 and IPv6 assets.

[0047] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.

[0048] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A method for passively detecting IP assets and discovering homology associations with IP addresses. It is characterized in that The method comprises the following steps: S1. Collect NDP and ARP entries: Use network devices as data frame and IP packet forwarding devices, collect ARP and NDP entries of these network devices through SSH remote operation tools and API interface technology, and store all collected entry data locally in files; S2. Traffic detection: By performing traffic mirroring at the egress of the target area, the traffic from the access end is sent through the node to access the target area. If the target area responds, it means that the active service IP address exists in the target area. The source address information of the IP packet marked with the TCP response flag is extracted, the active IP asset information and category are obtained, and the information is reported with the data source identifier. S3, data processing: After obtaining all table item data in the local storage, the table item data are parsed separately, and the useful information contained in the data is extracted and stored in the database. The IP address, time point and source identifier obtained during the traffic detection process are matched and refreshed into the parsed data to form a unified IP passive discovery method for IP asset passive detection to report data in real time; S4. Manage IP assets: Perform IP asset management based on the reported IP asset information data, implement IP asset management applications based on the asset update frequency, and perform asset survival processing for assets that have not been updated within the time limit.

2. A method for passively detecting IP assets and discovering homology associations with IP addresses according to claim 1, Features: In S1, the network devices are specifically firewalls, routers and switches.

3. A method for passively detecting IP assets and discovering homology associations with IP addresses according to claim 1, Features: The S2 specifically includes the following steps: S201, by performing traffic mirroring at the egress of the target area, the traffic of the access end is made to access the target area through the node. If the target area does not make any response, it means that the active service IP address does not exist in the target area. If the target area makes a response, it means that the active service IP address exists in the target area. The remaining source addresses found are non-server Internet terminal IPs. S202, extracting the source address information of the IP packet marked with the TCP response flag, thereby obtaining the active IP asset information and category of the target area in real time, and reporting the information with the data source identifier to refresh the active status of the IP assets.

4. A method for passively detecting IP assets and discovering homology associations with IP addresses according to claim 1, Features: The S3 specifically includes the following steps: S301, after obtaining all table item data from the NDP and ADP acquisition units, the table item data are parsed respectively, useful information contained in the data is extracted, the information data is formatted, and stored in the database; S302, the IP address, time point and source identifier obtained in the traffic detection unit are matched and refreshed into the parsed data, forming a unified IP passive discovery method for passive detection of IP assets to report data in real time.

5. A method for passively detecting IP assets and discovering homology associations with IP addresses according to claim 1, Features: In S3, the useful information specifically includes an IP address, a MAC address, and a time point.

6. A method for passively detecting IP assets and discovering homology associations with IP addresses according to claim 1, Features: The S4 specifically comprises the following steps: S401, perform IP asset management according to the reported IP asset information data, and implement IP asset management application according to the asset update frequency; S402: Perform asset survival processing on assets that have not been updated beyond the time limit, and associate IP addresses from different learning sources with the same source to provide query capabilities.

7. A method for passively detecting IP assets and discovering homology associations with IP addresses according to claim 1, Features: In S4, the IP assets are specifically IPv4 and IPv6 assets.

Citation Information

Patent Citations

  • Method and device for automatically discovering IP assets and storage medium

    CN116155553A

Cited By

  • Distributed network data asset penetration type safety detection method and system

    CN119696876A