ATTACK DETECTION AT LOW SAMPLING RATE IN ROUND-TRIP TIMING ESTIMATION
A wireless device includes a receiver adapted with Bluetooth® low energy (BLE) capability and logic at least one of coupled to or integrated within the receiver. The logic obtains, based on a received packet, a received signal. The logic identifies, based on the received signal and a reference signal, a fractional timing metric associated with the received signal. The logic calculates, based on the received signal, the reference signal, and an attack pattern, a correlation metric. The logic adjusts, based on the fractional timing metric, the correlation metric. The logic determines, based on the adjusted correlation metric and one or more thresholds, whether an attack is present in received signal.
1 . A wireless device comprising:
a receiver adapted with Bluetooth® low energy (BLE) capability; and
logic at least one of coupled to or integrated within the receiver, wherein the logic is to perform operations comprising:
receiving a signal;
identifying, based on the received signal and a reference signal, a fractional timing metric associated with the received signal;
calculating, based on the received signal, the reference signal, and an attack pattern, a correlation metric;
adjusting, based on the fractional timing metric, the correlation metric; and
determining, based on the adjusted correlation metric and one or more thresholds, whether an attack is present in received signal.
2 . The wireless device of claim 1 , wherein determining, based on the adjusted correlation metric and one or more thresholds, whether the attack is present in received signal comprises:
comparing the adjusted correlation metric to the one or more thresholds.
3 . The wireless device of claim 1 , wherein identifying the fractional timing metric comprises:
generating the reference signal;
computing a cross-correlation with the received signal and the reference signal;
identifying, from the cross-correlation, a plurality of correlation peak; and
determining, using the plurality of correlation peak, the fractional timing metric.
4 . The wireless device of claim 1 , wherein calculating the correlation metric comprises:
calculating a difference between the received signal and the reference signal to generate a signal difference; and
calculating, using the signal difference and the attack pattern, the correlation metric.
5 . The wireless device of claim 1 , wherein adjusting, based on the fractional timing metric, the correlation metric comprises:
computing, based on a set of coefficients and the fractional timing metric, a correlation metric adjustment value; and
adjusting, based on the correlation metric adjustment value, the correlation metric.
6 . The wireless device of claim 5 , wherein generating the set of coefficients comprises:
receiving a plurality of training signals;
identifying, based on a reference signal, a fractional timing metric for each training signal of the plurality of training signals;
calculating, based the reference signal, a correlation metric for each training signal of the plurality of training signals; and
identifying the set of coefficients that represent a relationship between the fractional timing metric and the correlation metric for each training signal of the plurality.
7 . The wireless device of claim 5 , further comprising:
computing the fractional timing metric and the correlation metric for each received signal;
responsive to determining that the fractional timing metric and the correlation metric for a predetermined number of received signals is computed, identifying an updated set of coefficients that represent a relationship between the fractional timing metric and the correlation metric for each received signal; and
replacing the set of coefficients with the updated set of coefficients.
8 . A method comprising:
receiving a signal;
identifying, based on the received signal and a reference signal, a fractional timing metric associated with the received signal;
calculating, based on the received signal, the reference signal, and an attack pattern, a correlation metric;
adjusting, based on the fractional timing metric, the correlation metric; and
determining, based on the adjusted correlation metric and one or more thresholds, whether an attack is present in received signal.
9 . The method of claim 8 , wherein determining, based on the adjusted correlation metric and one or more thresholds, whether the attack is present in received signal comprises:
comparing the adjusted correlation metric to the one or more thresholds.
10 . The method of claim 8 , wherein identifying the fractional timing metric comprises:
generating the reference signal;
computing a cross-correlation with the received signal and the reference signal;
identifying, from the cross-correlation, a plurality of correlation peak; and
determining, using the plurality of correlation peak, the fractional timing metric.
11 . The method of claim 8 , wherein calculating, based on the received signal and the reference signal, the correlation metric comprises:
calculating a difference between the received signal and the reference signal to generate a signal difference; and
calculating, using the signal difference and the attack pattern, the correlation metric.
12 . The method of claim 8 , wherein adjusting, based on the fractional timing metric, the correlation metric comprises:
computing, based on a set of coefficients and the fractional timing metric, a correlation metric adjustment value; and
adjusting, based on the correlation metric adjustment value, the correlation metric.
13 . The method of claim 12 , wherein generating the set of coefficients comprises:
receiving a plurality of training signals;
identifying, based on a reference signal, a fractional timing metric for each training signal of the plurality of training signals;
calculating, based the reference signal, a correlation metric for each training signal of the plurality of training signals; and
identifying the set of coefficients that represent a relationship between the fractional timing metric and the correlation metric for each training signal of the plurality.
14 . The method of claim 12 , further comprising:
computing the fractional timing metric and the correlation metric for each received signal;
responsive to determining that the fractional timing metric and the correlation metric for a predetermined number of received signals is computed, identifying an updated set of coefficients that represent a relationship between the fractional timing metric and the correlation metric for each received signal; and
replacing the set of coefficients with the updated set of coefficients.
15 . A system comprising:
an antenna;
a transmission device that is to transmit a packet;
a receiving device adapted with Bluetooth® low energy (BLE) capability; and
logic at least one of coupled to or integrated with the receiver, the logic is to perform operations comprising:
receiving a signal;
identifying, based on the received signal and a reference signal, a fractional timing metric associated with the received signal;
calculating, based on the received signal, the reference signal, and an attack pattern, a correlation metric;
adjusting, based on the fractional timing metric, the correlation metric; and
determining, based on the adjusted correlation metric and one or more thresholds, whether an attack is present in received signal.
16 . The system of claim 15 , wherein determining, based on the adjusted correlation metric and one or more thresholds, whether the attack is present in received signal comprises:
comparing the adjusted correlation metric to the one or more thresholds.
17 . The system of claim 15 , wherein identifying the fractional timing metric comprises:
generating the reference signal;
computing a cross-correlation with the received signal and the reference signal;
identifying, from the cross-correlation, a plurality of correlation peak; and
determining, using the plurality of correlation peak, the fractional timing metric.
18 . The system of claim 15 , wherein adjusting, based on the fractional timing metric, the correlation metric comprises:
computing, based on a set of coefficients and the fractional timing metric, a correlation metric adjustment value; and
adjusting, based on the correlation metric adjustment value, the correlation metric.
19 . The system of claim 18 , wherein generating the set of coefficients comprises:
receiving a plurality of training signals;
identifying, based on a reference signal, a fractional timing metric for each training signal of the plurality of training signals;
calculating, based the reference signal, a correlation metric for each training signal of the plurality of training signals; and
identifying the set of coefficients that represent a relationship between the fractional timing metric and the correlation metric for each training signal of the plurality.
20 . The system of claim 18 , wherein the logic is to perform operations further comprising:
computing the fractional timing metric and the correlation metric for each received signal;
responsive to determining that the fractional timing metric and the correlation metric for a predetermined number of received signals is computed, identifying an updated set of coefficients that represent a relationship between the fractional timing metric and the correlation metric for each received signal; and
replacing the set of coefficients with the updated set of coefficients.