Low-power-consumption Bluetooth equipment identification and tracking method based on physical layer fingerprints

By utilizing software-defined radio and neural network models to extract instantaneous dynamic physical fingerprints of BLE devices, the unreliable device identification problem in the existing technology is solved, enabling reliable identification of different types and the same model of devices, providing a safe and non-interfering Low-power Bluetooth device identification method.

CN118609174APending Publication Date: 2024-09-06ZHEJIANG UNIV

Patent Information

Application Number
CN202410651256.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-24
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

The existing low-power Bluetooth device identification and tracking solutions based on physical layer fingerprints are unreliable and impractical. It is difficult to distinguish different types and devices of the same model, and there are security risks.

Method used

Software-defined radio (SDR) is used to capture BLE device signals, instantaneous dynamic physical fingerprints (TDF) are extracted through signal preprocessing, device identification is combined with a classification neural network model, and transient delay characteristics of the identification device model and frequency synthesizer are used for screening.

Benefits of technology

It achieves reliable identification of different types and the same model of BLE devices, is widely applicable to frequency synthesizer-based devices, does not require device modification, and does not cause interference to users. It provides the only reliable physical layer fingerprint tracking solution.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118609174A
    Figure CN118609174A
Patent Text Reader

Abstract

The invention discloses a Bluetooth low-power-consumption equipment identification and tracking method based on physical layer fingerprints, which comprises the following steps of: capturing a wireless Bluetooth signal at a sampling rate of 20MHz by using a software defined radio technology, filtering high-frequency noise by using a low-pass filter with a cut-off frequency of 1MHz, and initially carrying out initial compensation by initially adopting the existing carrier frequency offset of a system; preprocessing the signal data, wherein the preprocessing comprises carrier frequency offset (CFO) compensation, low-frequency low-pass filter filtering and instantaneous dynamic physical fingerprint extraction; according to the method, signals sent by non-target equipment are preliminarily filtered by using a model based on CFO and transient delay, so that the signals of the target equipment are screened out, and an instantaneous dynamic physical fingerprint TDF is further imported into a classification neural network model to determine whether the signals are sent by the target equipment or not. The physical layer fingerprint TDF provided by the invention can distinguish the BLE devices of the same model, and widely exists in the BLE devices, so that the devices do not need to be modified, and no interference is generated to users.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a method for identifying and tracking low-power Bluetooth devices based on physical layer fingerprints. The invention proposes a new type of reliable physical fingerprint, based on which the identification and tracking of target low-power Bluetooth devices can be realized quickly and effectively for devices of different types and devices of the same model. Background Art

[0002] In recent years, Bluetooth Low Energy (BLE) has become one of the preferred wireless communication protocols due to its economy, low energy consumption and wide compatibility. According to statistics, by 2022, the annual shipment of BLE-compatible devices will exceed 4 billion. BLE devices support various applications and services by continuously sending advertising packets. Each BLE device can send 77 to 872 advertising packets per minute. However, this continuous sending of advertising packets may cause serious privacy risks, because attackers can track low-power Bluetooth BLE devices by listening to BLE advertising packets.

[0003] To solve this problem, device manufacturers have begun to adopt MAC address randomization strategies to maintain device anonymity. Since the MAC address of the BLE broadcast node changes periodically, it is difficult for an attacker to determine whether the received broadcast packet is from the target device. Although software fingerprinting-based methods can bypass MAC address randomization, these methods usually require long-term monitoring and can be fixed through software updates.

[0004] In recent years, some schemes have emerged to track BLE devices using methods based on physical layer fingerprints. These schemes may directly threaten all software-level security mechanisms. Physical layer fingerprints are caused by manufacturing defects that are not easy to repair or modify. An attacker can capture the raw signal of BLE and extract the physical layer fingerprint that can uniquely identify the target device. Then, the attacker can deploy BLE sniffers in certain locations to continuously capture BLE advertising packets. Once the sniffer receives a low-power Bluetooth BLE advertising packet, the physical layer fingerprint is extracted. If one or more BLE advertising packets match the physical layer fingerprint of the target low-power Bluetooth BLE device, the attacker can infer the corresponding location of the target user. There are three main types of such fingerprints: fingerprints based on carrier frequency offset (CFO), fingerprints based on I / Q offset, and fingerprints based on transient delay.

[0005] However, the latest empirical studies have shown that existing physical layer fingerprint tracking schemes are unreliable and impractical. First, it is difficult to distinguish devices of the same model based on carrier frequency offset schemes. Second, I / Q offset only exists in I / Q modulation architectures. However, most BLE devices use a frequency synthesizer-based modulation architecture, which inherently does not have I / Q offset. Finally, devices of the same model have the same transient delay. Therefore, it is generally believed that BLE device identification and tracking is impractical and does not pose a risk of being attacked. Summary of the invention

[0006] The present invention aims to overcome the above-mentioned defects of the prior art and provide an effective and stable low-power Bluetooth BLE device identification and tracking method, which can not only distinguish different types of devices, but also distinguish devices of the same model.

[0007] To achieve the above objectives, the technical solution adopted by the present invention is as follows: a method for identifying and tracking low-power Bluetooth devices based on physical layer fingerprints, comprising the following steps:

[0008] (1) Signal capture. Developers use software defined radio (SDR) to continuously capture the wireless signals sent by low-power Bluetooth BLE devices at a sampling rate of 20 MHz and perform preliminary signal processing, including filtering with a low-pass filter and preliminary compensation of CFO.

[0009] (2) Signal preprocessing. Signal preprocessing is divided into three stages: first, extract the CFO of the signal and perform fine-grained compensation; second, perform fine-grained high-frequency noise filtering after fine-grained CFO compensation; finally, extract the transient dynamic fingerprint (TDF) after filtering the high-frequency noise.

[0010] (3) Model filtering: The system uses the identification device model to preliminarily filter out the signals emitted by the target device.

[0011] (4) Target device identification: The system uses a classification neural network model to ultimately determine whether the signal is sent by the target device.

[0012] The present invention pre-checks the customized system during the system customization stage, detects possible faults that may occur in the system during the operation stage in advance, and feeds back to the user to make corresponding improvements.

[0013] Compared with the prior art, the beneficial effects of the present invention are: the proposed physical layer fingerprint TDF can distinguish BLE devices of the same model, and is widely present in BLE devices, does not require modification of the devices, and does not cause interference to users; in addition, the model system proposed by the present invention is currently the only reliable physical layer fingerprint tracking solution; the present invention is applicable to any device based on a frequency synthesizer. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 This is the overall flow chart of BLE device identification of the method of the present invention.

[0015] Figure 2 It is a transfer function diagram of the frequency synthesizer negative feedback system of the present invention.

[0016] Figure 3 It is a framework diagram of the target device recognition neural network model of the present invention. DETAILED DESCRIPTION

[0017] The present invention provides a BLE device identification and tracking method based on a new physical layer fingerprint TDF. The method can quickly and efficiently identify the target low-power Bluetooth BLE device through the BLE device broadcast packet in a complex channel environment. The overall process framework is as follows Figure 1 As shown, the specific implementation method is as follows:

[0018] (1) Signal capture. Developers use software-defined radio (SDR) to continuously capture the wireless signals sent by BLE devices at a sampling rate of 20 MHz and perform preliminary signal processing, including the following steps:

[0019] 1.1) Low-pass filter filtering: Use a low-pass filter with a cutoff frequency of 1MHz to filter out the high-frequency part of the original signal.

[0020] 1.2) CFO initial compensation. The system will record the CFO of the target device in advance. CFO is caused by the internal hardware defects of the receiving and transmitting devices and radio interference, which leads to an overall consistent frequency offset between the signal received by the system and the signal sent by the target device. After filtering, the system uses the recorded CFO to perform preliminary frequency offset compensation on the wireless signal.

[0021] (2) Signal preprocessing. The system preprocesses the signal to obtain the target features. The preprocessing process includes the following three stages:

[0022] 2.1) Fine-grained CFO compensation. The system detects the preamble in the signal. The preamble of the Bluetooth signal is fixed to 01010101. Based on the preamble, the system can accurately estimate the current CFO of each signal packet and use the estimated CFO to perform fine-grained compensation for each signal packet.

[0023] 2.2) Fine-grained high-frequency noise filtering. The system selects a low-pass filter with a lower cutoff frequency (less than 1MHz) to further filter high-frequency signals to increase the recognition range. It should be noted that it is crucial to choose a suitable cutoff frequency, otherwise the signal containing part of the target fingerprint may be filtered out.

[0024] 2.3) Extract physical fingerprint TDF. Physical fingerprint TDF validity verification and extraction of main features as physical fingerprint include the following two parts:

[0025] 2.3.1) Physical fingerprint TDF uniqueness verification. Frequency synthesizers are mainly used to generate a series of frequencies from a single reference frequency. The most common form is a frequency synthesizer based on a phase-locked loop (PLL), which is a negative feedback control system. A typical frequency synthesizer consists of a phase frequency detector (PFD), a loop filter, a voltage controlled oscillator (VCO) and a divider. Figure 2 As shown, in the feedback loop, the divider will output the signal f out The frequency of (t) is divided by N to get f div (t), the divided signal is input to the PFD together with the reference signal. The PFD generates an error signal e(t), and the mathematical process is shown in the following formula.

[0026]

[0027] Among them, K PFD is the gain of the PFD, and are the phases of the reference signal and the divided signal respectively. The loop filter is mainly used to remove noise and maintain the stability of the loop, thereby improving the overall performance of the synthesizer. The output v(t) of the loop filter is the control voltage of the VCO. The output frequency and phase of the VCO are f out (t) = f free +v(t)K VCO ,in f free is the free running frequency of the VCO, K VCO is the gain of the VCO. Before transmitting BLE data, the chip must first let the frequency synthesizer generate a stable carrier frequency f. This is exactly what the RF chip does during the transient delay. First, set the divider divisor to N = f c / f ref Then, the frequency synthesizer circuit is turned off and the negative feedback control process begins. When the frequency reaches a steady state, the output frequency is equal to the carrier frequency, and the VCO control voltage should be (f c -f free ) / K VCO The PFD and the frequency divider are linear components, and their transfer functions are KPFD and 1 / N. The loop filter is a low-pass filter (LPF), and the phase of the VCO output is the integral of its frequency. The transfer functions can be expressed as follows:

[0028]

[0029]

[0030] Therefore, the transfer function of the frequency synthesizer can be expressed as:

[0031]

[0032] where ω n is the natural frequency of the system, ζ is the damping factor, K PFD is the gain of the PFD, K VCO

[0033] is the gain of the VCO. For simplicity, N can be considered as a linear component that does not change the nonlinear characteristics of the frequency synthesizer. n and ζ can be formally expressed as:

[0034]

[0035] The damping factor shows the vibration attenuation of the system when it is perturbed. Manufacturers want the frequency synthesizer to work as a critical damping system, that is, the period to reach the target frequency is the shortest. Therefore, a fixed transient delay is set for each model based on the typical time required for the frequency synthesizer to reach the stable stage. This transient delay is unique, and the dynamic characteristics of the frequency synthesizer during the transient period are the physical fingerprint TDF.

[0036] 2.3.2) Feature extraction. Extract multiple features to describe the frequency synthesizer dynamics as TDF. In the decay phase, take the minimum phase and the corresponding time, and in the stable phase, take the average phase as the stable phase. Finally, take the ratio of the stable phase and the minimum phase as the overshoot.

[0037] (3) Model filtering. The system uses the identification device model to preliminarily filter out the signals emitted by the target device. The specific method is that the system uses a two-variable model for filtering. The model generates transient delay and CFO curves for each chip model. Each transient curve is represented by [μ t , σ t ], where μ t represents the average transient delay, σ t represents the standard deviation. Since CFO can have multiple clusters, the CFO profile is in and Represent the average CFO and standard deviation of the i-th cluster respectively. The mean shift algorithm is used to cluster the CFO of the device. By setting the radius of the kernel, the algorithm can automatically learn the number of clusters present in the data. Once the signal arrives, the system first calculates the one-dimensional Mahalanobis distance and the transient delay profile. If the threshold is greater than the set threshold, the signal is discarded. Otherwise, the system will further calculate the Mahalanobis distance between the CFO clusters. If the signal belongs to any CFO cluster, it will be identified as coming from a device of the same model as the target device.

[0038] (4) Target device identification. The system uses a classification neural network model to ultimately determine whether the signal is sent by the target device, including the following aspects:

[0039] 4.1) Neural network model structure. The system uses a deep neural network model with 7 layers of convolutional neural network (CNN) and 1 long short-term memory (LSTM) layer to fully utilize the spatiotemporal characteristics of the physical fingerprint TDF input. Then, the label of the input sample is output through 4 dense layers and 1 SoftMax layer. The model architecture is as follows: Figure 2 shown.

[0040] 4.2) Neural network model training and use. To train the deep neural network model, two sets of transient phase samples are required. The first set of samples is collected from the target device, and the second set of samples is obtained from the device database, and all samples are labeled "other". The samples in the database are pre-collected from other devices with the same model. The "other" sample set should be diverse and cover as many potential situations as possible. In addition, no similar devices should be included in the "target" sample set. However, there is still a possibility that some devices (called foreign devices) have not been included in the database before, which may cause false alarms. To overcome this problem, the system applies a classification probability threshold. If the maximum probability corresponds to the target device, the system checks whether the probability is higher than the threshold. If the probability is greater than the threshold, the sample is identified as the target device. Otherwise, the sample is identified as "other".

[0041] The contents described in the embodiments of this specification are merely an enumeration of the implementation forms of the inventive concept. The protection scope of the present invention should not be regarded as limited to the specific forms described in the embodiments. The protection scope of the present invention also extends to equivalent technical means that can be conceived by those skilled in the art based on the inventive concept.

Claims

1. A method for identifying and tracking Bluetooth low energy devices based on physical layer fingerprints. The following steps are involved: (1) Signal capture: Use software-defined radio (SDR) to continuously capture the wireless signals sent by BLE devices at a sampling rate of 20 MHz and perform preliminary signal processing; (2) Signal preprocessing: preprocess the signal to obtain the target features; (3) Model filtering: Use the identification device model to preliminarily filter out the signals emitted by the target device; (4) Target device identification: Use the classification neural network model to ultimately determine whether the signal is sent by the target device.

2. A method for identifying and tracking a Bluetooth low energy device based on physical layer fingerprint as claimed in claim 1, It is characterized in that Step (1) comprises the following steps: 1.1) Low-pass filtering: Use a low-pass filter with a cutoff frequency of 1MHz to filter out the high-frequency part of the original signal; 1.2) Initial CFO compensation: The system will pre-record the CFO of the target device. CFO is caused by internal hardware defects of the receiving and transmitting devices and radio interference, resulting in an overall consistent frequency offset between the signal received by the system and the signal sent by the target device. After filtering, the system uses the recorded CFO to perform initial frequency offset compensation on the wireless signal.

3. A method for identifying and tracking Bluetooth low energy devices based on physical layer fingerprints as claimed in claim 1, It is characterized in that Step (2) comprises the following steps: 2.1) Compensate CFO fine-grained: The system detects the preamble in the signal. The preamble of the Bluetooth signal is fixed to 01010101. Based on the preamble, the system can accurately estimate the current CFO of each signal packet and use the estimated CFO to perform fine-grained compensation for each signal packet. 2.2) Filter fine-grained high-frequency noise; the system selects a low-pass filter with a lower cutoff frequency (less than 1MHz) to further filter high-frequency signals to increase the recognition range; it should be noted that it is crucial to choose a suitable cutoff frequency, otherwise the signal containing part of the target fingerprint may be filtered out; 2.3) Extract the physical fingerprint TDF; verify the validity of the physical fingerprint TDF and extract the main features as the physical fingerprint.

4. A method for identifying and tracking a Bluetooth low energy device based on physical layer fingerprint as claimed in claim 1, It is characterized in that Step (2.3) includes the following steps: 2.3.1) Physical Fingerprint TDF Uniqueness Verification The frequency synthesizer consists of a phase frequency detector (PFD), a loop filter, a voltage controlled oscillator (VCO) and a frequency divider. In the feedback loop, the PFD and the frequency divider are linear components, and their transfer functions are related to their respective gains, which are K PFD and 1 / N; the loop filter is a low-pass filter (LPF) used to remove noise and maintain the stability of the loop. Its transfer function is The phase of the VCO output is the integral of its frequency, and its transfer function is The transfer function of the frequency synthesizer is finally expressed as: where ω n is the natural frequency of the system, ζ is the damping factor, K PFD is the gain of the PFD, K VCO is the gain of the VCO; for simplicity, N is considered as a linear component that does not change the nonlinear characteristics of the frequency synthesizer; ω n and ζ are expressed as: The damping factor shows the vibration attenuation of the system when it is perturbed. The dynamic characteristics of the frequency synthesizer during the transient period are the physical fingerprint TDF. 2.3.2) Feature extraction; extract multiple features to describe the dynamics of the frequency synthesizer as TDF; in the attenuation phase, take the minimum phase and the corresponding time, and in the stable phase, take the average phase as the stable phase; finally, take the ratio of the stable phase and the minimum phase as the overshoot.

5. A method for identifying and tracking a Bluetooth low energy device based on physical layer fingerprint as claimed in claim 1, It is characterized in that Step (3) comprises the following steps: A bivariate model is used for filtering; transient delay and CFO curves are generated for each chip model; each transient curve is represented as [μ t , σ t ], where μ t represents the average transient delay, σ t represents the standard deviation; since CFO can have multiple clusters, the CFO profile is in and Represent the average CFO and standard deviation of the i-th cluster respectively; the mean shift algorithm is used to cluster the CFO of the device. By setting the radius of the kernel, the algorithm can automatically learn the number of clusters existing in the data; once the signal arrives, the one-dimensional Mahalanobis distance and the transient delay profile are first calculated; if the threshold is greater than the set threshold, the signal is discarded; otherwise, the Mahalanobis distance between the CFO clusters will be further calculated; if the signal belongs to any CFO cluster, it will be identified as coming from a device of the same model as the target device.

6. A method for identifying and tracking a Bluetooth low energy device based on physical layer fingerprint as claimed in claim 1, It is characterized in that Step (4) comprises the following steps: 4.1) Neural network model structure: A deep neural network model consisting of 7 layers of convolutional neural network (CNN) and 1 long short-term memory (LSTM) layer is used to fully utilize the spatiotemporal characteristics of the physical fingerprint TDF input; then, the label of the input sample is output through 4 dense layers and 1 SoftMax layer; 4.2) Training and using the neural network model; To train the deep neural network model, two sets of transient phase samples are required; the first set of samples is collected from the target device, and the second set of samples is obtained from the device database, and all samples are labeled "other"; the samples in the database are pre-collected from other devices with the same model; the "other" sample set should be diverse and cover as many potential situations as possible; in addition, the "target" sample set should not contain any similar devices; however, there is still a possibility that some devices (called foreign devices) have not been included in the database before, which may cause false alarms; to overcome this problem, a classification probability threshold is applied; if the maximum probability corresponds to the target device, the system checks whether the probability is higher than the threshold; if the probability is greater than the threshold, the sample is identified as the target device; otherwise, the sample is identified as "other".

Citation Information

Patent Citations

  • A robust low-power-consumption equipment radio frequency fingerprint identification method

    CN109921886A

  • Dynamic self-adaptive mobile equipment radio frequency fingerprint identification method and device

    CN117425152A

Cited By

  • Fingerprint image acquisition method based on bio-electricity signal enhancement

    CN120071407A