IoT device identification and fingerprint dimension reduction method based on SVM
Through SVM-based IoT device identification and SVD dimensionality reduction technology, the problems of poor identification scalability and waste of storage resources in IoT device fingerprint extraction are solved, achieving efficient identification and storage-saving device fingerprints, ensuring uniqueness and identification efficiency.
Patent Information
- Application Number
- CN202210659119.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-10
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2042-06-10
AI Technical Summary
The existing technology has problems of poor identification scalability and waste of storage resources during the fingerprint extraction process of IoT devices, especially due to the lack of effective methods to distinguish IoT devices from non-IoT devices, as well as effective solutions for device fingerprint storage.
The SVM-based IoT device identification method is combined with the dimensionality reduction technology of SVD to identify and reduce the dimensionality of IoT device fingerprints through SYN scanning, feature selection and hashing, thereby reducing storage resource consumption.
It achieves efficient identification of IoT devices and resource-saving storage of fingerprints, ensuring the uniqueness of device fingerprints, significantly reducing storage overhead, and improving identification efficiency.
Smart Images

Figure CN115048997B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of information security technology, and is particularly applicable to device fingerprint technology, and specifically relates to an Internet of Things device identification and fingerprint dimension reduction method based on SVM. Background Art
[0002] The fingerprint of IoT devices plays an important role in the field of identity authentication. With the development of IoT, more and more devices are connected to the Internet, making it more and more difficult to extract device fingerprints and the storage space is getting larger and larger. Device fingerprint refers to a unique device identifier that can be used to uniquely identify the device characteristics or unique device identifiers. Device fingerprints include some inherent, difficult to tamper with, and unique device identifiers, such as the device's hardware ID, MAC address, or unique response information. The characteristics of these devices can be combined to serve as device fingerprints. Device fingerprints are a key technology for identity authentication. Device fingerprints are divided into passive extraction and active extraction. Passive fingerprint extraction is to extract fingerprints from the information communicated between the device and the outside world. Active fingerprint extraction is to scan the device to obtain response information to the extent that the device can tolerate, and extract fingerprints from the response information. At present, active device fingerprint extraction is a commonly used method. Active extraction is divided into three parts: scanning, identification, and storage. Scanning is the process of sending a designed detection packet to the target device. Identification is to extract device fingerprints and key identifiers from the response packet, and obtain device information such as model through these identifiers. Storage is to store the collected response information and the corresponding IP in the database. At present, the main literature on the research of device fingerprint extraction technology includes: Zakir et al. proposed the full-network semi-connected scanning tool Zmap; Xuan proposed the ARE prototype system, which automatically produces IoT information based on the results of Zmap search. These problems mainly solve the problems of scanning and recognition, but for the previously proposed recognition technology, due to the large amount of labor costs, the scalability of recognition is very poor, and there is no special method for distinguishing IoT devices from non-IoT devices. At the same time, there is no effective solution to the storage problem. With the large increase in IoT devices, the response data is getting larger and larger. However, the device fingerprint is only used as the unique identifier of the device. If all the response data is stored as a fingerprint, a lot of storage resources will be wasted. Summary of the invention
[0003] The purpose of the present invention is to provide an SVM-based IoT device identification and fingerprint dimensionality reduction method, which uses the SVM-based IoT device identification method to identify IoT devices in cyberspace, and utilizes the SVD dimensionality reduction method to make the storage module for device fingerprint extraction consume less resources.
[0004] To achieve the above objectives, the technical solution of the present invention is: a method for identifying and reducing the dimension of an IoT device based on SVM. First, the IoT device in the cyberspace is identified using the SVM-based IoT device identification method. Then, the response data of each port of the IoT device is extracted to construct the IoT device fingerprint. The IoT device fingerprint is reduced using the SVD-based device fingerprint dimensionality reduction method to obtain the IoT device fingerprint after dimensionality reduction.
[0005] Compared with the prior art, the present invention has the following beneficial effects:
[0006] (1) The present invention uses an IoT device identification method based on SVM to identify IoT devices in cyberspace. First, a SYN scan is performed on the devices in the cyberspace, and the scan is stopped when at least one open port and one closed port are obtained. Then, 16 constructed probe packets are sent, and the response data packets of each probe packet are sorted, and the fields contained therein are selected to construct a feature space. Next, a feature selection algorithm based on mutual information is used to calculate the score of each feature to achieve feature selection. Next, the selected features and data are used to construct an SVM model, and the constructed model is used to classify the devices in the cyberspace to find the IoT devices in the cyberspace.
[0007] (2) The present invention performs dimensionality reduction processing on the fingerprint of the device based on SVD. The device fingerprint is converted into a special feature space, and then the hash index of the string in the space is calculated as its corresponding numerical value. The feature space containing the numerical value is reduced in dimension using SVD, thereby reducing the space occupied by the fingerprint and ensuring the uniqueness of the device fingerprint. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] Figure 1 This is a flow chart of the IoT device identification method based on SVM of the present invention.
[0009] Figure 2 This is a flow chart of the device fingerprint dimensionality reduction method based on SVD of the present invention.
[0010] Figure 3 A schematic diagram of scanning by an Internet of Things device according to an example of the present invention.
[0011] Figure 4 This is a diagram of the detection results obtained by the method of the present invention.
[0012] Figure 5 This is the time diagram of SVD data dimension reduction. DETAILED DESCRIPTION
[0013] The technical solution of the present invention is described in detail below in conjunction with the accompanying drawings.
[0014] The invention discloses an Internet of Things device identification and fingerprint dimension reduction method based on SVM. Firstly, an Internet of Things device in a network space is identified by using an Internet of Things device identification method based on SVM. Then, response data of each port of the Internet of Things device is extracted to construct a device fingerprint. Then, an SVD-based device fingerprint dimension reduction method is used to reduce the dimension of the device fingerprint to obtain a device fingerprint after dimension reduction.
[0015] 1. IoT device identification method based on SVM
[0016] The process description of this method is as follows: First, a TCP SYN packet is sent to each port of the device in the network space for scanning. If a SYN+ACK packet is returned, it means that the port is open. If a RST packet is returned, it means that the port is closed. If no return is received within 1s, it is considered that the port is filtered by the firewall. During the scanning process, if at least one SYN+ACK packet and at least one RST packet are received, the scanning is stopped. The first step of scanning is completed, and an open port and a closed port are selected from the results. Then 10 TCP packets are constructed to be sent to the open port, 3 TCP packets to the closed port, 2 ICMP packets to the target device, and 1 UDP packet to the closed port. The response packets of each packet are sorted, and the fields contained therein are selected to construct a feature space, with a total of 344 features. Next, since there are many associated features in the feature space, the features need to be filtered. By using the feature selection algorithm, the mutual information between the feature and the category, as well as the mutual information between the features, the scores obtained by the algorithm are used to delete the features that do not meet the threshold, and the selection of features is realized. Next, we will select the features and data to build a machine learning model. This method uses the SVM model to classify the devices in the cyberspace and find the IoT devices in the cyberspace. The algorithm flow is as follows: Figure 1 shown.
[0017] (1) Constructing feature space
[0018] Send 10 TCP packets to the open port, 3 TCP packets to the closed port, 2 ICMP packets to the target device, and 1 UDP packet to the closed port. The packet composition is as follows:
[0019] Related variable definitions: Basic data variables need to be set, an idle source port sport, an open destination port open_port, a closed destination port closed_port, the Sequence number field seq_number of the TCP data packet, the Acknowledgment number field ack_number of the TCP data packet, and the Identifier field icmp_identifier of the ICMP data packet.
[0020] TCP:
[0021] a) The flags field of TCP is S (SYN), the sequence number field is seq_number, the Acknowledgment number field is ack_number, the open window field is 1, the options field is [("WScale",10),("NOP",0),("MSS",1460),("Timestamp",(4294967295,0)),("SAckOK","")], the source port is sport, and it is sent to the open port open_port.
[0022] b) The flags field of TCP is S (SYN), the Sequence number field is seq_number+1, the Acknowledgment number field is ack_number, the open window field is 63, the options field is [("MSS",1400),("WScale",0),("SAckOK",""),("Timestamp",(4294967295,0)),("EOL",0)], the source port is sport+1, and it is sent to the open port open_port.
[0023] c) The flags field of TCP is S (SYN), the Sequence number field is seq_number+2, the Acknowledgment number field is ack_number, the open window field is 4, the options field is [("Timestamp",(4294967295,0)),("NOP",0),("NOP",0),("WScale",5),("NOP",0),("MSS",640)], the source port is sport+2, and it is sent to the open port open_port.
[0024] d) TCP's flags field is S (SYN), the Sequence number field is seq_number+3, the Acknowledgment number field is ack_number, the open window field is 4, the options field is [("SAckOK",""),("Timestamp",(4294967295,0)),("WScale",10),("EOL",0)], the source port is sport+3, and it is sent to the open port open_port.
[0025] e) The flags field of TCP is S (SYN), the Sequence number field is seq_number+4, the Acknowledgment number field is ack_number, the open window field is 16, the options field is [("MSS",536),("SAckOK",""),("Timestamp",(4294967295,0)),("WScale",10),("EOL",0)], the source port is sport+4, and it is sent to the open port open_port.
[0026] f) The flags field of TCP is S (SYN), the Sequence number field is seq_number+5, the Acknowledgment number field is ack_number, the open window field is 512, the options field is [("MSS",265),("SAckOK",""),("Timestamp",(4294967295,0))], the source port is sport+5, and it is sent to the open port open_port.
[0027] The above 6 data packets are sent in sequence, with an interval of 100ms between each data packet.
[0028] g) The flags field of TCP is SEC (SYN, ECN, CWR), the reserved field is 4, the urgptr field is 63477, the Sequence number field is seq_number, the open window field is 3, the options field is [("WScale",10),("NOP",0),("MSS",1460),("SAckOK",""),("NOP",0),("NOP",0)], the source port is sport+6, and it is sent to the open port open_port.
[0029] h) The flags field of IP is DF, the flags field of TCP is empty, the Sequence number field is seq_number, the Acknowledgment number field is ack_number, the open window field is 128, the options field is [("WScale",10),("NOP",0),("MSS",265),("Timestamp",(4294967295,0)),("SAckOK","")], the source port is sport+7, and it is sent to the open port open_port.
[0030] i) The flags field of TCP is SFUP (SYN, FIN, URG, PSH), the sequence number field is seq_number, the Acknowledgment number field is ack_number, the open window field is 256, the options field is [("WScale",10),("NOP",0),("MSS",265),("Timestamp",(4294967295,0)),("SAckOK","")], the source port is sport+8, and it is sent to the open port open_port.
[0031] j) The flags field of IP is DF, the flags field of TCP is A (ACK), the Sequence number field is seq_number, the Acknowledgment number field is ack_number, the open window field is 1024, the options field is [("WScale",10),("NOP",0),("MSS",265),("Timestamp",(4294967295,0)),("SAckOK","")], the source port is sport+9, and it is sent to the open port open_port.
[0032] k) The flags field of TCP is S (SYN), the Sequence number field is seq_number, the Acknowledgment number field is ack_number, the open window field is 31337, the options field is [("WScale",10),("NOP",0),("MSS",265),("Timestamp",(4294967295,0)),("SAckOK","")], the source port is sport+10, and it is sent to the closed port closed_port.
[0033] l) The flags field of IP is DF, the flags field of TCP is A (ACK), the Sequence number field is seq_number, the Acknowledgment number field is ack_number, the open window field is 32768, the options field is [("WScale",10),("NOP",0),("MSS",265),("Timestamp",(4294967295,0)),("SAckOK","")], the source port is sport+11, and it is sent to the closed port closed_port.
[0034] m) The flags field of TCP is FUP (FIN, URG, PSH), the Sequence number field is seq_number, the Acknowledgment number field is ack_number, the open window field is 65535, the options field is [("WScale",10),("NOP",0),("MSS",265),("Timestamp",(4294967295,0)),("SAckOK","")], the source port is sport+12, and it is sent to the closed port closed_port.
[0035] ICMP:
[0036] a) The flags field of IP is DF, the type field of ICMP is 8, the code field is 9, the sequence number field is 295, the identifier field of the ICMP packet is icmp_identifier, and the payload is 120 zeros.
[0037] b) The ICMP type field is 8, the code field is 0, the sequence number field is 296, the identifier field of the ICMP packet is icmp_identifier+1, and the payload is 150 zeros.
[0038] UDP:
[0039] The Identifier field of the IP is 0x1042, the payload is 300 Cs, and it is sent to the closed port closed_port.
[0040] (2) Feature selection algorithm based on mutual information
[0041] After sending a data packet, a response data packet will be received. The fields in the data packet are extracted. We have selected a total of 344 features, and there are obvious features that are irrelevant to the category and redundant features among these features. In order to filter these features, we use a feature selection algorithm based on mutual information to evaluate the score of a feature. Mutual information is a useful information measure in information theory. It can be regarded as the amount of information contained in a random variable about another random variable, or the uncertainty of a random variable reduced by knowing another random variable. The size of the mutual information measures the degree of correlation between the feature and the category. When the feature has no correlation with the category, the mutual information is 0. The calculation formula of the mutual information is as follows:
[0042]
[0043] Where F represents the feature set, C represents the category, and N represents the total number.
[0044] However, the method of calculating mutual information alone has obvious disadvantages. It only considers the correlation between features and categories, but not the correlation between features. In other words, there is obvious redundancy in these selected features, which may cause MI (F 1 , C) and MI(F 2 , C) values are large, but MI(F 1 , F 2 ) is also very large, even close to 1. In this case, either of the two can be selected. In order to solve the problem of redundancy, this paper uses a feature selection algorithm based on mutual information, which considers both the correlation between features and categories and the redundancy between features. The formula is as follows:
[0045]
[0046] F M is the original feature space, C represents the category, and F S It represents the feature space after the feature selection algorithm is filtered, and β is a parameter, which is set to 0.9 in this paper.
[0047] Feature algorithm flow:
[0048] The first step is to calculate F M The mutual information between each feature and the category in , select the feature with the highest score and greater than the threshold, and put it into the filtered feature space F S , and at the same time change this feature from F M Delete it.
[0049] The second step is to calculate F M The mutual information between each feature and the category.
[0050] The third step is to calculate F at the same time M Each feature in F S The mutual information of each feature in is summed and averaged, multiplied by the parameter β.
[0051] In the fourth step, the score of the second step minus the score of the third step is the final score of these features. The feature with the highest score and greater than the threshold is selected and placed in the filtered feature space F S , and at the same time change this feature from F M Delete it.
[0052] Step 5: Repeat steps 2 to 4 until the highest score is less than the threshold, then stop.
[0053] The selected features are used to train the SVM model, and the trained SVM model is used to predict devices in the cyberspace and identify IoT devices in the cyberspace.
[0054] 2. Device fingerprint dimensionality reduction method based on SVD
[0055] Description of the process of this method: First, construct the feature space of the device fingerprint, distinguish each IP port and each field, and then use the hashing method to convert the text information in the field into high-dimensional numerical information, which can reduce collisions and ensure the uniqueness of the device fingerprint. Then use the dimensionality reduction algorithm to reduce the dimensionality of the high-dimensional data to obtain a device fingerprint library with fewer dimensions and numerical representation. The algorithm process is as follows Figure 2 shown.
[0056] (1) Feature space construction
[0057] The response data of each IP in the device fingerprint is organized into the following format, distinguishing the port and each field of each IP: {IP, [port 1, field], [port 2, field], …, [port n, field]}.
[0058] The protocols and open ports used between heterogeneous devices are not exactly the same, so there is inconsistency in the device response information field. If the IP opens this port, the corresponding field information and field content information will be filled in sequence. If the IP does not open the corresponding port, the corresponding field information will all be "NULL" values.
[0059] (2) Hash
[0060] The feature space constructed in this paper is a large two-dimensional table, the header row is the port and the corresponding field information, the header column is the IP address, and the table content is the field content. The hash function can compress messages of any length into a fixed length message.
[0061] Murmurhash hash function can maximize the quality of distribution and reduce the number of conflicts. It is a more efficient string hash algorithm that supports hash values ranging from 32 bits to 128 bits. This patent combines distributed technology to hash each string value and convert all strings into numerical values.
[0062] (3) SVD dimensionality reduction algorithm
[0063] After the Murmurhash algorithm is used for calculation, the feature space has been converted into a numerical type with the same length. Assuming that the feature space has M columns and N devices are scanned, the feature matrix A (M×N) can be constructed.
[0064] The traditional dimensionality reduction method requires finding the sample covariance matrix X T The largest d eigenvectors of X are then used to construct a matrix to perform low-dimensional projection and dimensionality reduction. However, in this process, the covariance matrix X T X, when the number of samples is large and the number of sample features is large, the amount of calculation is very large. The singular value decomposition SVD can also get the covariance matrix X T The matrix of the largest d eigenvectors of X, but it can be used without first finding the covariance matrix X T X, we can also find the right singular matrix V, which can be used to compress the number of columns, i.e., the feature dimension. Therefore, in order to reduce the amount of calculation, the traditional algorithm does not perform eigendecomposition, but completes it through singular value decomposition SVD.
[0065] Use SVD to decompose the matrix A (M × N). First, we define the SVD of A as: A = U∑V T , calculate A T The eigenvector v of A i , V T is the eigenvector v i A collection of T A)vi =λ i v i , calculate AA T The eigenvector u i , U is the eigenvector u i The collection of (AA T ) i =λ i u i , find the singular value σ i , σ i =Av i / u i , singular value σ i They are usually arranged in descending order and follow the principle that the sum of the first 10% or even 1% of the singular values accounts for more than 99% of the sum of all the singular values. It decreases very quickly.
[0066] Based on this, we can find that the more singular values are in the front, the more information they have. Therefore, the first k eigenvectors are usually selected to fully represent the feature matrix. Therefore, the first k eigenvectors are selected to achieve data dimensionality reduction. m×n =U m×k ∑k×kV T k×n , where after decomposition D m×k =D m×n V n×k , D m×n It is the data to be reduced in dimension. The right singular vector is calculated through the prepared data, and then the new data point is multiplied by the transpose of the right singular vector to achieve data dimensionality reduction. The digital representation after dimensionality reduction is then used as its device fingerprint.
[0067] The following are specific implementation examples of the present invention.
[0068] In this example, response information of 6 IoT devices and 3 non-IoT devices was collected to construct a feature space, and the feature selection algorithm was used to filter the features. Finally, 177 features were left. The following Table 1 lists the values of some features.
[0069] Table 1
[0070]
[0071]
[0072] These features were used to build the SVM model, and the response information of 4 IoT devices and 2 non-IoT devices was collected again. Table 2 below lists some feature values of these 6 devices.
[0073] Table 2
[0074]
[0075] Delete the label field of the test set and use the trained SVM model to identify the six devices. The result is: [1,1,1,1,0,0], which means all devices are recognized successfully.
[0076] Randomly select an IoT device to scan. Figure 3 The figure shows the original data packet obtained after device scanning, the feature space obtained after hashing, and the device fingerprint obtained using the method proposed in this paper.
[0077] The uniqueness of the fingerprint after dimensionality reduction of the device was verified. The device fingerprint collision detection algorithm was used to reduce the dimension of the collected 2 million data and then perform device fingerprint repeatability detection. The test results are as follows: Figure 4 shown.
[0078] from Figure 4 It can be seen that when the number of IP addresses is between 0 and 800,000, the number of repeated device fingerprints is always 0. After the number of IP addresses increases to 1 million, the device fingerprints begin to repeat, but the number of repeats is not large. Then, as the number of devices continues to increase, the number of repeated device fingerprints also increases. Finally, after the number of devices reaches 2 million, the number of repeated device fingerprints is 4532, accounting for 0.23% of the total number, and the number of non-repeated device fingerprints accounts for 99.8%. When the data scale reaches the order of 2 million, the proportion of repeated device fingerprints is only 0.23%, so the method proposed in the present invention has achieved a relatively ideal experimental effect.
[0079] Verify the time and storage overhead of the method of the present invention. Figure 5 It is a time graph of SVD data dimension reduction.
[0080] It can be seen that as the amount of data increases, the dimensionality reduction time also increases, almost showing a linear increase. After the number of IPs reaches 2 million, the total dimensionality reduction time is about 40 seconds, achieving a faster dimensionality reduction effect.
[0081] The device fingerprint storage overhead is shown in Table 3.
[0082] Table 3 Device fingerprint storage overhead
[0083]
[0084] The number of IP addresses in the original data reached 2 million, and the total storage capacity reached 1.39T, so the data was cut and divided into 40 files, as shown in Table 3. The table takes five split files as an example to give the size of the original scanned data and the number of scanned IP addresses, and the data size after hashing and the device fingerprint file size using the method proposed in the present invention.
[0085] It can be seen from Table 3 that although the space occupied by the obtained device fingerprint file is not very small, compared with the original data volume, the method proposed in the present invention can compress a 467MB file into a size of 1.24MB, and the compression ratio reaches 99.7%. The dimensionality reduction effect is very good, while retaining the uniqueness to the maximum extent.
[0086] The above are preferred embodiments of the present invention. Any changes made according to the technical solution of the present invention, as long as the resulting functions do not exceed the scope of the technical solution of the present invention, belong to the protection scope of the present invention.
Claims
1. A method for IoT device identification and fingerprint dimension reduction based on SVM, characterized in that: Firstly, the IoT devices in the cyberspace are identified using the SVM-based IoT device identification method. Then, the response data of each port of the IoT device is extracted to construct the IoT device fingerprint. The SVD-based device fingerprint dimensionality reduction method is used to reduce the dimension of the IoT device fingerprint to obtain the IoT device fingerprint after dimensionality reduction. The SVM-based IoT device identification method is implemented as follows: First, a TCP SYN packet scan is sent to each port of the device in the cyberspace. If a SYN+ACK packet is returned, it means that the port is open. If a RST packet is returned, it means that the port is closed. If no return is received within 1s, it is considered that the port is filtered by the firewall. During the scanning process, if at least one SYN+ACK packet and at least one RST packet are received, the scan is stopped. The first step of scanning is completed, and an open port and a closed port are selected from the results; then 10 TCP packets are constructed and sent to the open port, 3 TCP packets to the closed port, 2 ICMP packets to the target device, and 1 UDP packet to the closed port. The response packets of each packet are sorted, and the fields contained in the response packets are selected to construct the feature space; then, the features are filtered by using a feature selection algorithm based on mutual information to calculate the mutual information between the feature and the category, as well as the mutual information between the features. The scores obtained by the algorithm are used to delete the features that do not meet the threshold and realize the selection of features; finally, the selected features are used to construct a machine learning model, and the devices in the cyberspace are classified to find the IoT devices in the cyberspace; The specific implementation process of the device fingerprint dimensionality reduction method based on SVD is as follows: (1) Feature space construction Arrange the response data of each IP in the IoT device fingerprint into the following format, distinguishing the port and each field of each IP: {IP, [port 1, field], [port 2, field], ..., [port n, field]}; The protocols and open ports used by heterogeneous devices are not exactly the same, so there is inconsistency in the device response information fields. If the IP opens this port, the corresponding field information and field content information are filled in sequence. If the IP does not open the corresponding port, the corresponding field information is all "NULL" value; (2) Hash Since the constructed feature space is a large-scale two-dimensional table, the header row is the port and the corresponding field information, the header column is the IP address, and the table content is the field content; the feature space is converted into a numerical value through a hash function; (3) SVD dimensionality reduction algorithm After the hash function, the feature space has been converted into a numerical type with the same length. Assuming that the feature space has M columns and N IoT devices are scanned, the feature matrix A (M×N) is constructed. Use SVD to decompose the matrix A (M × N). First, define the SVD of A as: A = U∑V T , calculate A T The eigenvector v of A i , V T is the eigenvector v i A collection of T A)v i =λ i v i , calculate AA T The eigenvector u i , U is the eigenvector u i The collection of (AA T ) i =λ i u i , find the singular value σ i , σ i =Av i / u i , the singular value σ i Arrange in descending order and select the singular value σ i The first k feature vectors are used to achieve data dimensionality reduction, and the digital representation after dimensionality reduction is used as the corresponding IoT device fingerprint.
2. The method for identifying IoT devices and reducing fingerprint dimensions based on SVM according to claim 1, characterized in that: The machine learning model is a SVM model.
3. The method for identifying IoT devices and reducing fingerprint dimensions based on SVM according to claim 1, characterized in that: The feature selection algorithm based on mutual information is implemented as follows: The first step is to calculate F M The mutual information between each feature and the category in , select the feature with the highest score and greater than the threshold, and put it into the filtered feature space F S , and at the same time change this feature from F M Delete from; The second step is to calculate F M The mutual information between each feature and the category in ; The third step is to calculate F at the same time M Each feature in F s The mutual information of each feature in is summed and averaged, multiplied by parameter β; In the fourth step, the score of the second step minus the score of the third step is the final score of these features. The feature with the highest score and greater than the threshold is selected and placed in the filtered feature space F s , and at the same time change this feature from F M Delete from; Step 5: Repeat steps 2 to 4 until the highest score is less than the threshold, then stop.
4. The method for identifying IoT devices and reducing fingerprint dimensions based on SVM according to claim 3 is characterized in that: The specific calculation formula of the feature selection algorithm based on mutual information is as follows: F M is the original feature space, C represents the category, F S represents the filtered feature space, β is a parameter; Indicates F M The mutual information between the i-th feature and the category, Indicates F M The i-th feature and F S The j-th feature mutual information of |M| and |S| are respectively F M 、F S The total number of features in .
5. The method for identifying IoT devices and reducing fingerprint dimensions based on SVM according to claim 1, characterized in that: The SVD-based device fingerprint dimensionality reduction method is implemented as follows: first, a feature space of IoT device fingerprints is constructed to distinguish the port of each IP and each field, and then a hashing method is used to convert the text information in the field into high-dimensional numerical information, and then a dimensionality reduction algorithm is used to reduce the dimensionality of the high-dimensional data to obtain an IoT device fingerprint library with fewer dimensions and numerical representation.
6. The method for identifying IoT devices and reducing fingerprint dimensions based on SVM according to claim 1, characterized in that: The hash function is a Murmurhash hash function.
Citation Information
Patent Citations
Device authentication feature recognition method based on convolutional neural network
CN108960138A
Network flow fingerprint feature two-stage multi-classification Internet of Things device identification method
CN110380989A
Internet of Things equipment identity certificate generation method based on network traffic feature fusion
CN111343163A
Cyberspace asset description method based on fingerprint technology
CN112688973A
System and method for network vulnerability detection and reporting
US20070011319A1
