Method for analyzing and determining dark web access crowd from network traffic
By extracting darknet access characteristics from network traffic, combining multiple identification methods, and using clustering algorithms and points classification, the problem of low efficiency in identifying darknet access groups in the existing technology is solved, and a more accurate and efficient identification effect is achieved. .
Patent Information
- Application Number
- CN202410562530.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-08
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2044-05-08
AI Technical Summary
The existing method of monitoring people visiting the dark web relies on machine learning to identify TOR traffic. There are misidentifications and low efficiency in confirming identification results, which affects the efficiency of analysis.
By extracting the traffic characteristics of dark network access from network traffic, the identification results are classified based on the effectiveness of the characteristics. Combined with the identification of dark network relays, bridges, bridge databases, DNS traffic and characteristic domain names, the Word2Id model and K-means clustering algorithm calculates points to classify and identify darknet visitor groups.
It improves the identification efficiency and accuracy of darknet visitor groups, can effectively distinguish access behaviors of different risk levels, and improves analysis efficiency.
Smart Images

Figure CN118694559A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of data processing and analysis, and relates to mobile network and fixed network traffic data analysis, and specifically to a method for analyzing and determining dark web visitor population from network traffic. Background Art
[0002] In the increasingly complex network security threats, many malicious behaviors (such as worm viruses, spam, vulnerabilities, etc.) are hidden in the application layer payload of data packets. Traditional security protection technology that relies solely on network layer and transport layer security detection technology can no longer meet network security requirements. DPI (Deep Packet Inspection) is a computer network data packet filtering technology. It is a security mechanism that detects and controls network traffic passing through devices based on application layer information. It can detect and control network application layer information, ensure the security of data content, and improve network security.
[0003] The "dark web" refers to a hidden network that ordinary netizens cannot search and access through conventional means. They need to use some specific software, configuration or authorization to log in. Due to the anonymity and other characteristics of the "dark web", it is easy to breed various crimes that use the network as a linking tool. At present, the more commonly used method to monitor the dark web visitors is to identify TOR traffic through machine learning training, and then analyze the dark web visitors. However, the TOR traffic identified by machine learning training itself may be misidentified. It takes a lot of time to confirm the accuracy of the identification results, which affects the efficiency of the analysis of dark web visitors. Summary of the invention
[0004] To solve the above problems, the present invention discloses a method for analyzing and determining the dark web access population from network traffic, which can parse the dark web access and suspected delivery behavior from the network traffic, thereby identifying the corresponding dark web access behavior. The present invention extracts the traffic characteristics of dark web access from the network traffic data, and classifies the identification results according to the effectiveness of the characteristics, thereby identifying the dark web access population with different risk levels. Based on the traffic characteristics, the present invention identifies from several aspects, including (IP, port) of the dark web relay, (IP, port) of the dark web bridge, DNS traffic of the dark web bridge database, DNS traffic of the dark web feature domain name, and traffic of the APP, specifically including:
[0005] Identify the dark web access behavior through the dark web relay (IP, port):
[0006] Visitors need to jump through the entry relay, intermediate relay, and exit relay three times to enter the dark web, so they must first visit the dark web relay node to enter the dark web. Therefore, the behavior of accessing the dark web relay node (IP, port) can be considered as the behavior of accessing the dark web. Whether the access is successful can be judged based on whether there is downstream traffic. Since the dark web relay may be blocked by the state, the traffic accessing the dark web relay often only has upstream traffic and no downstream traffic. People with this behavior are high-risk people for accessing the dark web.
[0007] Identify the dark web access behavior through the dark web bridge (IP, port):
[0008] Since accessing the dark web through relays often fails, a new method of accessing the dark web through bridges has been developed. Visitors can use bridges to climb over the firewall and directly jump to the entrance relay of the dark web to enter the dark web. Therefore, the behavior of accessing the dark web bridge (IP, port) can also be considered as the behavior of accessing the dark web. Whether the access is successful can be judged based on whether there is downstream traffic. Bridges are more concealed than relays, but they also have the risk of being blocked by the state. People who have this behavior are at high risk of accessing the dark web.
[0009] Identify the access behavior of the dark web through the DNS traffic of the dark web bridge database:
[0010] The dark web bridge database stores the resources of the dark web bridge. People who want to access the dark web can obtain the (IP, port) of the dark web bridge through the bridge database in the public network, and then access the dark web through the bridge. Since the bridge database has been blocked in China, it can only be accessed through VPN. There is no traffic related to the bridge database domain name in the regular traffic. Only a small amount of data on the bridge database domain name can be captured in the DNS protocol traffic. This data is often generated by the visitor triggering the program to access the bridge database without opening the VPN. Therefore, people who generate DNS traffic related to the bridge database domain name can be considered to have implemented the pre-order action to access the dark web and are medium-risk people who access the dark web.
[0011] Identify the access behavior of the dark web through the DNS traffic of the dark web characteristic domain name:
[0012] The domain names of dark web websites have a unified suffix feature. At the same time, the corresponding domain names can only be accessed after entering the dark web through a relay. They cannot be successfully accessed directly on the surface web. Some visitors who are willing to visit the dark web but do not understand dark web technology may find the domain name of the dark web website directly on the Internet and try to access it directly on the surface web. This access behavior will not be successful, but DNS traffic will be generated. This part of the behavior can be identified by the domain name characteristics in the DNS traffic. People with this behavior have not successfully accessed the dark web and do not understand dark web technology. Therefore, they are only potential people who visit the dark web and have a low risk of visiting the dark web.
[0013] Identify the delivery behavior after placing an order on the dark web through the traffic of express delivery apps:
[0014] After identifying dark web access behavior through the above method, we can further monitor the delivery application traffic corresponding to the people with dark web access behavior in the network traffic. If the sender address in the delivery application traffic is an overseas address or the sender's mobile phone number is an overseas number, and the recipient's mobile phone number is the mobile phone number of the person who accessed the dark web, it will be marked as the delivery behavior after placing an order on the dark web.
[0015] To achieve the above object, the technical solution of the present invention is as follows:
[0016] A method for analyzing and determining dark web access population from network traffic, comprising the following steps:
[0017] Step 1: Crawl the IP and port lists of dark web relays and bridges as the main features of dark web access behavior;
[0018] Step 2, obtain network traffic and restore the network traffic into network behavior logs;
[0019] Step 3, identify the behavior of accessing dark web relays and bridges from the network behavior log restored in step 2. When the network behavior log identifies the IP or port in the port list of the dark web relays and bridges obtained in step 1, it is considered that the behavior of accessing dark web relays and bridges is identified; when the behavior has downstream traffic, the network account corresponding to the access behavior is given a high weight; when the behavior has no downstream traffic, the network account corresponding to the access behavior is given a medium weight;
[0020] Step 4: Identify the behavior of attempting to access the bridge database through the domain name of the bridge database from the DNS data in the network behavior log restored in step 2. When the DNS data contains the domain name of the bridge database, it is judged as an attempted access behavior, and the corresponding network account is given a medium weight;
[0021] Step 5: extract the domain names in the log data of the dark web relay and bridge access behaviors determined in step 3 to form a domain name dataset, vectorize the domain name dataset through the Word2Id model, calculate the converged K cluster centers through the K-means clustering algorithm, and use the domain names corresponding to the cluster centers as the characteristic domain names for accessing the dark web;
[0022] Step 6: After vectorizing the domain names in the daily network behavior logs, calculate the vector distance with the K cluster centers in step 5, and take the domain names with a distance less than the set threshold as candidate dark web access features and add them to the characteristic domain names of dark web access output in step 5;
[0023] Step 7, match the domain name of the DNS data in the network behavior log restored in step 2 with the characteristic domain name of accessing the dark web output in step 5 or step 6, and identify the behavior of trying to access the dark web through the surface network. When the domain name of the DNS data matches the characteristic domain name of accessing the dark web, it is judged as an attempt to access the dark web website, and the network account corresponding to the access behavior is given a low weight;
[0024] Step 8: Group the dark web access behaviors captured in steps 3 to 5 by network account, and calculate the integral corresponding to each network account using the following formula:
[0025] integral=Σnumber of access behaviors*behavior weight
[0026] Step 9, obtain the delivery application data from the network behavior log restored in step 2, extract the delivery application data that matches the recipient's mobile phone number with the network account captured in steps 3 to 5, and if the sender's address in the matching record is an overseas address or the sender's mobile phone number is an overseas number, then multiply the points of the corresponding network account by a preset value to increase the points of the account for accessing the dark web;
[0027] Step 10, output the list of network accounts that access the dark web and the corresponding points to achieve the classification of people who access the dark web.
[0028] Furthermore, in step 1, the IP is changed each time the IP and port list of the dark web relay and bridge is crawled.
[0029] Furthermore, in step 2, DPI technology is used to restore network traffic into traffic logs.
[0030] Furthermore, the network account is a mobile phone number, IMSI, IMEI or ADSL account.
[0031] Furthermore, in step 6, the domain name is manually analyzed and confirmed before being added to the characteristic domain name for accessing the dark web.
[0032] Furthermore, the preset value in step 7 is 2.
[0033] The beneficial effects of the present invention are:
[0034] The method of the present invention can access massive amounts of network traffic and restore the traffic into network behavior logs, match the restored DNS protocol data and network node access data with dark web features, preliminarily determine the population accessing the dark web and the corresponding risk level, and then further associate the population with the delivery behavior data to improve the effectiveness of identification, and finally output a graded list of dark web access populations. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 A flow chart of the method provided by the present invention for analyzing and determining the population of dark web visitors from network traffic. DETAILED DESCRIPTION
[0036] The technical solution provided by the present invention will be described in detail below in conjunction with specific embodiments. It should be understood that the following specific implementation methods are only used to illustrate the present invention and are not used to limit the scope of the present invention.
[0037] The present invention provides a method for analyzing and determining dark web access population from network traffic, comprising the following steps:
[0038] Step 1: Use the network crawler to crawl the (IP, port) list of dark web relays and bridges. As the main feature of dark web access behavior, the relay and bridge information crawled by the same IP within seven days is the same, so the crawler needs to change the IP every time it crawls in order to obtain new relay and bridge information. The crawling action will continue to change the IP to improve the richness and completeness of the information.
[0039] Step 2, obtain network traffic (corresponding to step 101 in the attached figure), and restore the network traffic into a network behavior log (corresponding to step 102 in the attached figure). In the present invention, DPI technology is used to restore network traffic into traffic logs. Network traffic is obtained from the operator.
[0040] Step 3, identify the behavior of accessing the dark web relay and bridge (IP, port) from the network behavior log restored in step 2 (when the IP or port in the (IP, port) list of the dark web relay and bridge obtained in step 1 is identified in the network traffic data, it is considered that the behavior of accessing the dark web relay and bridge is identified), and give different weights according to whether there is downstream traffic in the behavior. The presence of downstream traffic indicates that the captured behavior has successfully accessed the dark web and has a high access risk. The corresponding network account (mobile phone number, IMSI, IMEI or ADSL account) is given a high weight. The absence of downstream traffic indicates that the captured behavior did not successfully access the dark web, but there may be successful access in the uncaptured behavior, and the corresponding network account is given a medium weight.
[0041] Step 4, identify the behavior of attempting to access the bridge database through the domain name of the bridge database from the DNS data of the network traffic restored in step 2 (when the DNS data contains the bridge database domain name, it is judged as an attempted access behavior). Since the bridge database is generally accessed through VPN, the captured data is only a small part of the actual access behavior. The corresponding network account is likely to have uncaptured successful access to the dark web, so the corresponding network account is given a medium weight.
[0042] Step 5: Extract the domain names in the log data of the dark web relay and bridge access behaviors determined in step 3 to form a domain name dataset, vectorize the domain name dataset through the Word2Id model, select a suitable K value, and calculate the converged K cluster centers through the K-means clustering algorithm. The domain name corresponding to the cluster center is used as the characteristic domain name for accessing the dark web.
[0043] Step 6, after vectorizing the domain names in the daily network behavior log, calculate the vector distance with the K cluster centers in step 5, and take the domain names with a distance less than the set threshold as candidate dark web access features. After manual judgment and confirmation, add them to the characteristic domain names for accessing the dark web output in step 5, and continue to increase the number of domain name features. Manual judgment can ensure the correctness of adding domain names. In addition, when there are multiple domain names less than the threshold, manual judgment can select appropriate domain names to be included in the characteristic domain names for accessing the dark web. We should adjust the size of the threshold according to the calculation results of the vector distance to select the appropriate number of domain names, so as to avoid it being difficult to select domain names or too many results and the proportion of valid domain names is too low.
[0044] Step 7, match the domain name of the DNS data in the network behavior log restored in step 2 with the characteristic domain name for accessing the dark web output in step 5 or step 6, and identify the behavior of attempting to access the dark web through the surface network. When the domain name of the DNS data matches the characteristic domain name for accessing the dark web, it is judged as an attempt to access the dark web website, and the network account corresponding to the access behavior is given a low weight.
[0045] Step 8: Calculate the dark web access behaviors captured in steps 3 to 5 by grouping them by network account, and calculate the integral corresponding to the network account as follows:
[0046] integral=Σnumber of access behaviors*behavior weight
[0047] Step 9, obtain the delivery application data from the network traffic restored in step 2, and extract the records whose recipient's mobile phone number can match the network account captured in steps 3 to 5 (a match is considered a match if the recipient's mobile phone number in the delivery application data is the same as the network account's mobile phone number). If the sender's address in the matching record is an overseas address, or the sender's mobile phone number is an overseas number, multiply the points of the corresponding network account by 2 (2 is a preset value, which can be adjusted as needed) to increase the account's points for accessing the dark web.
[0048] Step 10, output the list of network accounts that access the dark web and the corresponding points to achieve the classification of people who access the dark web.
[0049] It should be noted that the above content only illustrates the technical idea of the present invention and cannot be used to limit the protection scope of the present invention. For ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications all fall within the protection scope of the claims of the present invention.
Claims
1. A method for analyzing and determining dark web access population from network traffic, characterized in that: The steps include: Step 1: Crawl the IP and port lists of dark web relays and bridges as the main features of dark web access behavior; Step 2, obtain network traffic and restore the network traffic into network behavior logs; Step 3, identify the behavior of accessing dark web relays and bridges from the network behavior log restored in step 2. When the network behavior log identifies the IP or port in the port list of the dark web relays and bridges obtained in step 1, it is considered that the behavior of accessing dark web relays and bridges is identified; when the behavior has downstream traffic, the network account corresponding to the access behavior is given a high weight; when the behavior has no downstream traffic, the network account corresponding to the access behavior is given a medium weight; Step 4: Identify the behavior of attempting to access the bridge database through the domain name of the bridge database from the DNS data in the network behavior log restored in step 2. When the DNS data contains the domain name of the bridge database, it is judged as an attempted access behavior, and the corresponding network account is given a medium weight; Step 5: extract the domain names in the log data of the dark web relay and bridge access behaviors determined in step 3 to form a domain name dataset, vectorize the domain name dataset through the Word2Id model, calculate the converged K cluster centers through the K-means clustering algorithm, and use the domain names corresponding to the cluster centers as the characteristic domain names for accessing the dark web; Step 6: After vectorizing the domain names in the daily network behavior logs, calculate the vector distance with the K cluster centers in step 5, and take the domain names with a distance less than the set threshold as candidate dark web access features and add them to the characteristic domain names of dark web access output in step 5; Step 7, match the domain name of the DNS data in the network behavior log restored in step 2 with the characteristic domain name of accessing the dark web output in step 5 or step 6, and identify the behavior of trying to access the dark web through the surface network. When the domain name of the DNS data matches the characteristic domain name of accessing the dark web, it is judged as an attempt to access the dark web website, and the network account corresponding to the access behavior is given a low weight; Step 8: Group the dark web access behaviors captured in steps 3 to 5 by network account, and calculate the integral corresponding to each network account using the following formula: integral=Σnumber of access behaviors*behavior weight Step 9, obtain the delivery application data from the network behavior log restored in step 2, extract the delivery application data that matches the recipient's mobile phone number with the network account captured in steps 3 to 5, and if the sender's address in the matching record is an overseas address or the sender's mobile phone number is an overseas number, then multiply the points of the corresponding network account by a preset value to increase the points of the account for accessing the dark web; Step 10, output the list of network accounts that access the dark web and the corresponding points to achieve the classification of people who access the dark web.
2. The method for analyzing and determining the dark web access population from network traffic according to claim 1 is characterized in that: In step 1, the IP is changed each time the IP and port list of the dark web relay and bridge is crawled.
3. The method for analyzing and determining dark web access population from network traffic according to claim 1 is characterized in that: In step 2, DPI technology is used to restore network traffic into traffic logs.
4. The method for analyzing and determining dark web access population from network traffic according to claim 1 is characterized in that: The network account is a mobile phone number, IMSI, IMEI or ADSL account.
5. The method for analyzing and determining dark web access population from network traffic according to claim 1 is characterized in that: In step 6, the domain name is manually analyzed and confirmed before being added to the characteristic domain name for accessing the dark web.
6. The method for analyzing and determining dark web access population from network traffic according to claim 1 is characterized in that: The preset value in step 7 is 2.
Citation Information
Patent Citations
Dark network discovering and tracing method and system based on sample flow analysis
CN109873793A
Dark network user behavior detection method and system based on network traffic
CN112202782A
Dark web monitoring method and system and storage medium
CN114039782A
Method and device for monitoring dark network data
CN114238736A
Dark web threat information acquisition method
CN114710315A
