Method for quickly searching hidden real IP source station and medium

Through cyberspace mapping search engine and protocol request processing technology, combined with scanning detection and device feature comparison, the problem of being unable to identify the IP origin station hidden by WAF or high-defense equipment in the public network is solved, achieving accurate identification of the real IP origin station. position.

CN118677639APending Publication Date: 2024-09-20HUANLE ENTERTAINMENT SHANGHAI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410450124.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-15
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

Existing technology cannot quickly and accurately identify the real IP origin station hidden by WAF or high-defense equipment, and it is difficult to trace the real address information in the public network.

Method used

Obtain the IP address of the target server through cyberspace mapping search engine technology, combine protocol request processing and scanning detection technology to generate the initial IP source station, and use device characteristics and label information for comparison and verification to determine whether the initial IP source station is the real IP source stand.

Benefits of technology

It achieves accurate identification and location of IP origin sites hidden by WAF or high-defense equipment, and improves the accuracy of searching for hidden real IP origin sites.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118677639A
    Figure CN118677639A
Patent Text Reader

Abstract

The invention provides a method for quickly searching a hidden real IP source station and a medium, and the method comprises the steps: obtaining an IP address of a target server, and carrying out the protocol request processing of the IP address to obtain a target IP; scanning and detecting the target IP, and generating an initial IP source station; comparing the label information corresponding to the initial IP source station with equipment characteristics and labels stored in a database, and verifying whether the initial IP source station is a real IP source station; if the label information corresponding to the initial IP source station is consistent with the equipment characteristics and labels stored in the database, the initial IP source station is a real IP source station, and otherwise, the initial IP source station is not a real IP source station. According to the method, the IP source station of the target server is reversely searched through the network space mapping search engine technology, even if the IP address changes, the IP source station of the target server can still be identified through the label information corresponding to the scanned and detected IP source station after the protocol request processing technology and the scanning detection technology are combined, and the IP source station hidden by WAF or high defense equipment is found out.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of network communication technology, and in particular to a method for quickly finding a hidden real IP source station. Background Art

[0002] Although CDN technology (content distribution network) is used in the public network for security protection, it is still impossible to quickly and accurately obtain the real address information (that is, the real IP source station) when tracing the real address. It is only possible to find the IP source station that is not hidden by high-defense devices or has not been through multiple layers of proxies. When facing the IP source station hidden by WAF (website application-level intrusion prevention system) or high-defense devices, it is difficult to obtain the real IP source station and cannot accurately locate the real address information.

[0003] In the prior art, CN2018116537999 discloses a method for obtaining the source station IP address, which determines whether the IP address is alive and uses HTTP requests to access the alive IP address to obtain website pages, calculates the similarity between the two obtained website pages, establishes a relationship between the IP address corresponding to the website page and the domain name, and uses the IP address with the established relationship as the source station IP address of the domain name. However, this technical solution cannot obtain the real source station IP hidden by WAF and high-defense devices. Summary of the invention

[0004] According to a first aspect of the present invention, there is provided a method for quickly finding a hidden real IP source station, comprising: Step 1: Get the IP address of the target server and process the protocol request to get the target IP address. Step 2: Scan and detect the target IP to generate an initial IP source station; Step 3: Compare the label information corresponding to the initial IP source station with the device features and labels stored in the database to verify whether the initial IP source station is a real IP source station; Step 4: If the label information corresponding to the initial IP source station is consistent with the device characteristics and labels stored in the database, then the initial IP source station is a real IP source station, otherwise it is not.

[0005] Furthermore, in step 1, the Internet space mapping technology is used to analyze the search engine of the Internet device, search the Internet device and obtain the information of the server in the Internet device, and obtain the IP address of the target server.

[0006] Furthermore, the Internet devices searched include servers, routers and TOT devices.

[0007] Furthermore, in step 1, obtaining the target IP includes: Using a domain name system service to check the IP address of the target server and convert the IP address of the target server into a domain name; Perform recursive and iterative operations on the domain name through the HTTP protocol and the HTTPS protocol until the IP address of the target server is found; The IP of the target server is fed back to the host in the form of a message, and the host marks it as the target IP.

[0008] Furthermore, the step 2 specifically includes: Use cmd command and LAN IP scanning tool to check whether the target IP exists; If it exists, the real information of the target IP is detected through real IP detection technology, and the initial IP source station and its corresponding label information are integrated and generated; If it does not exist, return to step 1 to re-acquire the target IP.

[0009] Furthermore, cmd commands and LAN IP scanning tools are used for query access, including: Click to run the LAN IP scanning tool installed on the computer to perform an online search; Then in the computer's Start menu, click Run, enter the cmd command, and press Enter; In the pop-up command prompt window, enter ipconfig / all and press Enter; Enter arp-a in the command prompt window and press Enter. The terminal will execute the query command and feedback the device information of the target server through the computer display interface.

[0010] Furthermore, if the IP domain name, gateway, mac address, computer name, and network card properties of the target server are queried, the target IP exists, otherwise, it does not exist.

[0011] Furthermore, the detection is performed by using the real IP detection technology, including: Collect information, compare SSL certificates, conduct traffic attack statistics, compare banners, match favicon hashes, decode F5 LTM, and search HTTP headers for the target IP addresses; Use the found IP as the real IP; Count the IPs found, and take the IPs with the same IP ratio of 4 / 7 of the total number of found IPs as the initial IP source station.

[0012] Furthermore, in step 3, the label information corresponding to the initial IP source station includes the device's operating system, open ports, installed software and services, SSL certificate, ja3 fingerprint, response code, response body hash, and favicon.ico hash; Among them, the label information corresponding to the initial IP source station is unchanged information. If the label information corresponding to the initial IP source station is consistent with the operating system, open ports, installed software and services, SSL certificate, ja3 fingerprint, response code, response body hash and favicon.ico hash information of the storage device in the database, then the initial IP source station is the real IP source station According to a second aspect of the present invention, a computer system is also provided, comprising: one or more processors; and Memory, storing instructions that can be operated; Wherein, when the instruction is executed by one or more processors, the aforementioned one or more processors perform operations, and the operations include the process of executing the aforementioned method of quickly finding a hidden real IP source station.

[0013] According to a third aspect of the present invention, a computer-readable storage medium is provided for storing one or more programs, wherein the one or more programs include instructions or instruction sets that can be executed by one or more processors; Wherein, when the instructions or instruction sets are executed by one or more processors, the process of executing the aforementioned method of quickly finding the hidden real IP source station is performed.

[0014] The method for quickly finding a hidden real IP source station in the above embodiment has the following significant beneficial effects compared with the prior art: 1. The present invention uses cyberspace mapping search engine technology to reversely search for the IP source station of the target server. Even if the IP address changes, after combining protocol request processing and scanning detection technology, the IP source station of the target server can still be identified by scanning the corresponding label information of the detected IP source station, and the IP source station hidden by WAF or high-defense equipment can be found, which solves the problem that the IP source station hidden by WAF or high-defense equipment cannot be identified in the prior art; 2. The present invention compares and verifies the device characteristics and label information that will not change with the label information of the identified IP source station to determine the search result of the real IP source station, improve the accuracy of searching for the hidden real IP source station, and achieve precise positioning.

[0015] It should be understood that all combinations of the aforementioned concepts and the additional concepts described in more detail below can be considered as part of the inventive subject matter of the present disclosure as long as such concepts are not mutually inconsistent. In addition, all combinations of the claimed subject matter are considered as part of the inventive subject matter of the present disclosure.

[0016] The foregoing and other aspects, embodiments and features of the present invention can be more fully understood from the following description in conjunction with the accompanying drawings. Other additional aspects of the present invention, such as the features and / or beneficial effects of the exemplary embodiments, will be apparent from the following description or learned from the practice of the specific embodiments according to the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The drawings are not intended to be drawn to scale. In the drawings, each identical or nearly identical component shown in various figures may be represented by the same reference numeral. For clarity, not every component is labeled in every figure. Embodiments of various aspects of the present invention will now be described by way of example and with reference to the accompanying drawings, in which: Figure 1 It is a flowchart of a method for quickly finding a hidden real IP source station shown in the present invention; Figure 2 is a schematic diagram of a query target shown in the present invention; Figure 3 It is a schematic diagram of historical DNS (Domain Name System Service Check) resolution records shown in the present invention; Figure 4 It is a schematic diagram of hash value and response value shown in the present invention; Figure 5 It is a schematic diagram of fingerprint value shown in the present invention; Figure 6 It is a schematic diagram of the SSL certificate hash shown in the present invention. DETAILED DESCRIPTION

[0018] In order to better understand the technical content of the present invention, specific embodiments are given and described as follows in conjunction with the accompanying drawings.

[0019] Various aspects of the present invention are described in this disclosure with reference to the accompanying drawings, in which many illustrative embodiments are shown. The embodiments of the present disclosure are not necessarily intended to include all aspects of the present invention. It should be understood that the various concepts and embodiments introduced above, as well as those described in more detail below, can be implemented in any of many ways, because the concepts and embodiments disclosed by the present invention are not limited to any implementation. In addition, some aspects disclosed by the present invention can be used alone or in any appropriate combination with other aspects disclosed by the present invention.

[0020] The IP address of an application on a single server does not change often. If a server fails and a new server is replaced, the original back-to-source IP needs to be manually modified to the new back-to-source IP on the CDN. The IP addresses on multiple servers often change. If a server fails, the terminal program will automatically resolve the IP domain name (the IP will change, but the domain name will not change) and back-to-source through the domain name without the need for manual modification on the CDN.

[0021] The above situation is only applicable to the tracing of the real IP that has not been hidden. In Internet communications, some IP source stations will be hidden by WAF or high-defense equipment, making it difficult to obtain the real IP source station and unable to achieve tracing. The embodiment of the present invention aims to improve the accuracy of finding the hidden real IP source station and achieve precise positioning by providing a method for quickly finding the hidden real IP source station.

[0022] Combination Figure 1 , a method for quickly finding a hidden real IP source station according to an exemplary embodiment of the present invention comprises the following steps: Step 1: Get the IP address of the target server and process the protocol request to get the target IP address. Step 2: Scan and detect the target IP and generate the initial IP source station; Step 3: Compare the label information corresponding to the initial IP source station with the device features and labels stored in the database to verify whether the initial IP source station is the real IP source station; Step 4: If the label information corresponding to the initial IP source station is consistent with the device characteristics and labels stored in the database, the initial IP source station is the real IP source station, otherwise it is not.

[0023] Preferably, the present invention uses cyberspace mapping search engine technology to reversely search for the IP source station of the target server. Even if the IP address changes, after combining protocol request processing and scanning detection technology, the IP source station of the target server can still be identified by scanning the corresponding label information of the detected IP source station, and the IP source station hidden by WAF or high-defense equipment can be found.

[0024] It should be noted that the embodiment of the present invention compares and verifies the device characteristics and label information that will not change with the label information of the identified IP source station, determines the search result of the real IP source station, and improves the accuracy of searching for the hidden real IP source station.

[0025] Combine the following Figure 2~Figure 6 The illustrated drawings and some preferred or optional examples of the present invention more specifically describe the implementation process and / or effects of certain examples of the present invention.

[0026] In an embodiment of the present invention, the search engine of the Internet device is analyzed by the Internet space mapping technology, the Internet device is searched and the information of the server in the Internet device is obtained to obtain the IP address of the target server; the domain name system service (DNS technology) is then used to check the IP address of the target server, and the IP address of the target server is converted into a domain name; recursive and iterative operations are performed on the domain name through the HTTP protocol and the HTTPS protocol until the IP of the target server is found, and the IP of the target server is fed back to the host in the form of a message.

[0027] As examples, the searched Internet devices include servers, routers, and TOT devices.

[0028] As an example, obtaining information about servers in Internet devices includes http headers (such as server type, version, cookie information), keywords (such as title, css, js, url) and IP segment searches.

[0029] It should be noted that http header, keyword and IP segment search are specific to the server, and their information basically does not change. Even when it is hidden by WAF or high-defense equipment, the IP address often changes. It is still possible to preliminarily identify the IP address of the target server through the acquisition of http header, keyword and IP segment search. Therefore, the acquisition of other easily changeable server information (such as public key, website) is abandoned, which saves channel transmission, does not cause network congestion, and improves efficiency.

[0030] In an optional embodiment, the IP of the target server after protocol request processing is fed back to the host in the form of a message. The host can execute the access request of the scanning detection in a variety of ways to avoid the failure to execute instructions normally due to program failure or virus invasion. This is not a unique limitation in this embodiment, and is only used as an example for illustration.

[0031] In one implementation, the host marks the IP in the message as the target IP, agrees to execute the access request for scanning and detection, and simultaneously obtains the device information of the server where the target IP is located for the rapid execution of the scanning and detection instructions.

[0032] In another embodiment, the host reads the message content and establishes a cache station based on the message content, directly obtains the device information corresponding to the target server and puts it into the cache station for temporary storage. When the cmd command is manually entered, the device information temporarily stored in the cache station is adaptively extracted for the rapid execution of the scanning detection command.

[0033] By establishing a cache station, manually inputting cmd commands as the trigger condition for scanning commands, the device information protected by the cache station is extracted to avoid failure to execute commands normally due to program failure or virus invasion.

[0034] In order to better illustrate the identification of the target IP by the present invention, this embodiment uses Figure 2 , Figure 3 Take this as an example to illustrate: Open Censys (Internet search engine), enter the target to be queried in the input bar, such as roglobal.com, and use the engine to find the resolution records of 4 historical domain name system service checks, refer to Figure 3 , roglobal’s most recent domain name is Google’s address, and the first three are Tencent’s addresses. It is initially determined that one of the first three Tencent addresses is the source site address, that is, the target IP.

[0035] Furthermore, in order to confirm whether the IP of the target server is the IP source station, it is scanned and detected respectively to obtain the detection result of the target server IP, which specifically includes: Use cmd command and LAN IP scanning tool to check whether the target IP exists, where: Click to run the LAN IP scanning tool installed on the computer to perform an online search; Then in the computer's Start menu, click Run, enter the cmd command, and press Enter; In the pop-up command prompt window, enter ipconfig / all and press Enter; Enter arp-a in the command prompt window and press Enter. The terminal will execute the query command and feedback the device information of the target server through the computer display interface. If the target server's IP domain name, gateway, mac address, computer name, and network card properties are found, the target IP exists; otherwise, it does not exist. If it exists, the real information of the target IP is detected through real IP detection technology, and the initial IP source station and its corresponding label information are integrated and generated; If it does not exist, return to step 1 and re-acquire the target IP.

[0036] It should be noted that detection through real IP detection technology includes: information collection, SSL certificate comparison, traffic attack statistics, banner comparison, favicon hash matching, F5 LTM decoding, HTTP header search for the target IP, taking the found IP as the real IP, counting the found IPs, and taking the IPs with the same IP ratio of 4 / 7 of the total number of found IPs as the initial IP source station.

[0037] The terminal adaptively reads the device information of the initial IP source station based on the acquired initial IP source station, obtains the label information through program preprocessing and caches it in the background.

[0038] As an example, information is collected by entering keywords of the target IP domain name in a search engine to find the real IP.

[0039] As an example, SSL certificate comparison collects SSL certificate hash values, traverses IP addresses to match certificate hash values, and treats the IP addresses that match the same value as the real IP address.

[0040] It should be noted that the above-mentioned real IP detection technology can be implemented in many ways through the application of existing technologies. The embodiments of the present invention do not make a sole limitation, but only illustrate the feasibility of the technical solution of the present invention by way of example.

[0041] In an embodiment of the present invention, after obtaining the initial IP source station and its corresponding label information, they are compared with the device characteristics and labels stored in the database. If the label information corresponding to the initial IP source station is consistent with the device characteristics and labels stored in the database, the initial IP source station is the real IP source station.

[0042] As an optional embodiment, the device features and labels stored in the database are all various types of device features and their fingerprint library data (the fingerprint here represents the professional term for label-type features in the Internet field) obtained in the early stage through network crawling technology or open source database statistics, and are stored via the historical database created in the terminal.

[0043] As an optional embodiment, the label information corresponding to the initial IP source station includes the device's operating system, open ports, installed software and services, SSL certificate, ja3 fingerprint, response code, response body hash, and favicon.ico hash.

[0044] As an optional embodiment, the label information corresponding to the initial IP source station is unchanged. If the label information corresponding to the initial IP source station is consistent with the operating system, open ports, installed software and services, SSL certificate, ja3 fingerprint, response code, response body hash and favicon.ico hash information of the storage device in the database, then the initial IP source station is the real IP source station.

[0045] As an example, if the device running the initial IP source server opens port 80 and returns an HTTP response code containing the keyword "Apache", then the device is running the Apache web server.

[0046] In order to better illustrate the importance of the verification characteristics of the unchanged information in the device features and tag information (fingerprint library data) in finding the hidden real IP source station, this embodiment is based on Figure 4 , Figure 5 , Figure 6 Take this as an example to illustrate: According to the characteristics of Censys search engine, it will simulate access to the target IP or domain name during the crawling process, and obtain the fingerprint hash value (label information) and response value according to the response content. Figure 4 ,Through the characteristics of the Censys search engine, the fingerprint hash value and response value of the initial IP source station are obtained for the comparison and verification of the subsequent instructions.

[0047] Combination Figure 5 The fingerprint value is (JA3S ccc514751b175866924439bdbb5bba34) and favicon.ico (website icon) information to generate a specific fingerprint library. During the comparison and verification process, as long as the website content or icon does not change, the fingerprint hash value will remain unchanged, and the response code (the response value obtained above) will also remain unchanged. By comparing the fingerprint hash value and response value of the initial IP source station with those of the storage device in the database, the verification result of whether the initial IP source station is the real IP source station is obtained.

[0048] Combination Figure 6 , by visiting Figure 3 Of the first three Tencent addresses found in the database, only the source station with the address 101.32.111.187 has a consistent comparison and verification result with the storage device in the database, and the access request can be passed. Therefore, the source station 101.32.111.187 is the real IP source station.

[0049] In conjunction with the above process of the method for quickly finding a hidden real IP source station, an embodiment of the present invention further provides a computer system, including: one or more processors; and Memory, storing instructions that can be operated; Wherein, when the instruction is executed by one or more processors, the aforementioned one or more processors perform operations, and the operations include the process of executing the aforementioned method of quickly finding a hidden real IP source station.

[0050] {Example 3} In conjunction with the above process of the method for quickly finding a hidden real IP source station, according to an embodiment of the present invention, there is also a computer-readable storage medium for storing one or more programs, wherein the one or more programs include instructions or instruction sets that can be executed by one or more processors; Wherein, when the instructions or instruction sets are executed by one or more processors, the process of executing the aforementioned method of quickly finding the hidden real IP source station is performed.

[0051] Although the present invention has been disclosed as above with preferred embodiments, it is not intended to limit the present invention. A person with ordinary knowledge in the technical field to which the present invention belongs may make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention shall be determined by the definition of the claims.

Claims

1. A method for quickly finding a source station that hides a real IP address, characterized in that: include: Step 1: Get the IP address of the target server and process the protocol request to get the target IP address. Step 2: Scan and detect the target IP to generate an initial IP source station; Step 3: Compare the label information corresponding to the initial IP source station with the device features and labels stored in the database to verify whether the initial IP source station is a real IP source station; Step 4: If the label information corresponding to the initial IP source station is consistent with the device characteristics and labels stored in the database, then the initial IP source station is a real IP source station, otherwise it is not.

2. The method for quickly finding a hidden real IP source station according to claim 1, characterized in that: In step 1, the search engine of the Internet device is analyzed using Internet space mapping technology, the Internet device is searched and the information of the server in the Internet device is obtained, and the IP address of the target server is obtained.

3. The method for quickly finding a hidden real IP source station according to claim 2, characterized in that: The Internet devices searched include servers, routers and TOT devices.

4. The method for quickly finding a hidden real IP source station according to claim 1, characterized in that: In step 1, obtaining the target IP includes: Using a domain name system service to check the IP address of the target server and convert the IP address of the target server into a domain name; Perform recursive and iterative operations on the domain name through the HTTP protocol and the HTTPS protocol until the IP address of the target server is found; The IP of the target server is fed back to the host in the form of a message, and the host marks it as the target IP.

5. The method for quickly finding a hidden real IP source station according to claim 1, characterized in that: The step 2 specifically includes: Use cmd command and LAN IP scanning tool to check whether the target IP exists; If it exists, the authenticity of the target IP is detected through real IP detection technology, and the initial IP source station and its corresponding label information are integrated and generated; If it does not exist, return to step 1 to re-acquire the target IP.

6. The method for quickly finding a hidden real IP source station according to claim 5, characterized in that: Use cmd commands and LAN IP scanning tools to query and access, including: Click to run the LAN IP scanning tool installed on the computer to perform an online search; Then in the computer's Start menu, click Run, enter the cmd command, and press Enter; In the pop-up command prompt window, enter ipconfig / all and press Enter; Enter arp-a in the command prompt window and press Enter. The terminal will execute the query command and feedback the device information of the target server through the computer display interface.

7. The method for quickly finding a hidden real IP source station according to claim 6, characterized in that: If the IP domain name, gateway, mac address, computer name, and network card properties of the target server are queried, then the target IP exists; otherwise, it does not exist.

8. The method for quickly finding a hidden real IP source station according to claim 5, characterized in that: Detection is performed through the real IP detection technology, including: Collect information, compare SSL certificates, conduct traffic attack statistics, compare banners, match faviconhash, decode F5 LTM, and search HTTP headers for the target IP. Use the found IP as the real IP; Count the IPs found, and take the IPs with the same IP ratio of 4 / 7 of the total number of found IPs as the initial IP source station.

9. The method for quickly finding a hidden real IP source station according to claim 1, characterized in that: In step 3, the label information corresponding to the initial IP source station includes the device's operating system, open ports, installed software and services, SSL certificate, ja3 fingerprint, response code, response body hash, and favicon.ico hash; Among them, the label information corresponding to the initial IP source station is unchanged information. If the label information corresponding to the initial IP source station is consistent with the operating system, open ports, installed software and services, SSL certificate, ja3 fingerprint, response code, response body hash and favicon.ico hash information of the storage device in the database, then the initial IP source station is the real IP source station.

10. A computer-readable storage medium for storing one or more programs, characterized in that: The one or more programs include instructions or instruction sets that can be executed by one or more processors; Wherein, when the instruction or instruction set is executed by one or more processors, the process of the method for quickly finding a hidden real IP source station as described in any one of claims 1-9 is executed.