Vehicle control system to prevent relay attack
09963109 ยท 2018-05-08
Assignee
Inventors
Cpc classification
G07C9/00722
PHYSICS
G07C9/00309
PHYSICS
G07C2009/0038
PHYSICS
B60R25/406
PERFORMING OPERATIONS; TRANSPORTING
B60R25/245
PERFORMING OPERATIONS; TRANSPORTING
International classification
B60R25/24
PERFORMING OPERATIONS; TRANSPORTING
Abstract
A passive entry system for an automotive vehicle that is configured to prevent relay attacks by analyzing magnet vectors and angles created by a plurality of antennas mounted on the vehicle is disclosed. A vehicle including a control unit configured to broadcast a wake-up signal to prompt a fob to power-up if the fob is in a low-power consumption mode and to transmit signals through a plurality of antennas coupled to the vehicle is provided, along with a fob configured to recognize the wake-up signal and to generate a response signal for the control unit in response to recognize the wake-up signal. The fob includes a controller that is programmed to receive signals transmitted from each of the plurality of antennas coupled to the vehicle, retrieve constant values from stored a memory, and calculate a magnetic integrity defining the relative position of each of the plurality of antennas. The controller allows access to the vehicle if magnetic integrity is found, and denies access to the vehicle if magnetic integrity is not found.
Claims
1. A passive entry system for an automotive vehicle comprising: a control unit configured to broadcast a wake-up signal to prompt a fob to power-up if the fob is in a low-power consumption mode and to transmit signals through a plurality of antennas coupled to the vehicle; and the fob configured to recognize the wake-up signal and to generate a response signal for the control unit in response to recognize the wake-up signal, the fob including a fob controller programmed to: receive signals transmitted from each of the plurality of antennas coupled to the vehicle; retrieve constant values from a memory; calculate a magnetic integrity defining the relative position of each of the plurality of antennas; and selectively allow access to the vehicle when magnetic integrity is found.
2. The passive entry system of claim 1, wherein the fob controller is programmed to calculate an angle between vectors corresponding to signals corresponding to at least two of the antennas.
3. The passive entry system of claim 2, wherein the control unit is further programmed to change a driving current on at least one of the plurality of antennas, and the fob controller is programmed to calculate a second angle between vectors corresponding to signals corresponding to at least two of the antennas.
4. The passive entry system of claim 3, wherein the fob controller is further programmed to compare the angle and the second angle.
5. The passive entry system of claim 4, wherein the control unit immobilizes at least one of a vehicle lock and a vehicle ignition when the angle equals the second angle.
6. The passive entry system of claim 4, wherein the control unit enables access to at least one of a vehicle lock and a vehicle ignition when the angle does not equal the second angle.
7. A passive entry system for an automotive vehicle comprising: a control unit configured to broadcast a wake-up signal to prompt a fob to power-up if the fob is in a low-power consumption mode and to apply a driving current to and transmit signals through a plurality of antennas coupled to the vehicle; and the fob configured to recognize the wake-up signal and to generate a response signal for the control unit in response to recognizing the wake-up signal, the fob including a fob controller programmed to: receive signals transmitted from each of the plurality of antennas coupled to the vehicle; calculate a first angle between the signals transmitted by at least two of the antennas; receive an encrypted signal from the control unit describing a change in driving current applied to the antenna; calculate a second angle between the signals transmitted by at least two of the antennas; compare the first angle to the second angle; and deny access to vehicle functions if the first angle is substantially equal to the second angle.
8. A passive entry system for an automotive vehicle comprising: a control unit configured to broadcast a wake-up signal to prompt a fob to power-up if the fob is in a low-power consumption mode and to transmit signals through a first and a second antenna coupled to the vehicle; and the fob configured to recognize the wake-up signal and to generate a response signal for the control unit in response to recognize the wake-up signal, the fob including a fob controller programmed to: receive signals transmitted from each of the first and second antennas coupled to the vehicle; retrieve a constant verification value from a memory, the constant verification value defining a ratio of driving currents applied to the first and second antennas for fob verification; and calculate an initial angle between a vector representing an output of the first antenna and a vector representing an output of the second antenna; simultaneously drive the second antenna with a pre-defined driving current ratio relative to the driving current of the first antenna retrieved from memory; calculate a first synthesized vector based on the output of the antennas after the pre-defined driving current is applied; simultaneously drive the second antenna with a second pre-defined driving current ratio relative to the driving current of the first antenna retrieved from memory; calculate a second synthesized vector based on the output of the antennas after the pre-defined driving current is applied; calculate a first verification angle between the vector representing the output of the first antenna and the output of the first synthesized vector and a second verification angle between the vector representing the output of the first antenna and the second synthesized vector; calculate a verification ratio as the difference between the cosine of the initial angle and the cosine of the first verification angle and the difference between the cosine of the initial angle and the cosine of the second verification angle; compare the verification ratio to a predefined stored constant; and allow access to the vehicle if the calculated ratio is substantially equivalent to the verification ratio.
9. A passive entry system comprising: a control unit configured to broadcast a wake-up signal to prompt a fob to power-up if the fob is in a low-power consumption mode and to transmit signals through a plurality of antennas coupled to a vehicle; and the fob configured to recognize the wake-up signal and to generate a response signal for the control unit in response to recognize the wake-up signal, the fob including a fob controller programmed to: receive signals transmitted from each of the plurality of antennas coupled to the vehicle; calculate an angle between vectors produced by at least two of the plurality of antennas; calculate a second angle between a vector corresponding to one of the plurality of antennas and a synthesized vector resulting from a change in driving current on at least one of the antennas; calculate a third angle between a vector corresponding to one of the plurality of antennas and a synthesized vector resulting from a second change in driving current on at least one of the antennas; calculate a magnetic integrity defining the relative position of each of the plurality of antennas; and selectively allow access to the vehicle when magnetic integrity is found.
10. The passive entry system of claim 1, wherein the constant values each define a ratio of driving currents applied to the plurality of antennas for verification of the fob.
11. The passive entry system of claim 1, wherein the fob controller is programmed to: simultaneously drive a first antenna of the plurality of antennas with a pre-defined driving current ratio relative to a driving current of a second antenna of the plurality of antennas retrieved from memory; and simultaneously drive the second antenna with a second pre-defined driving current ratio relative to the driving current of the first antenna retrieved from memory.
12. The passive entry system of claim 7, wherein the control unit is further programmed to change the driving current on at least one of the plurality of antennas.
13. The passive entry system of claim 12, wherein the control unit immobilizes at least one of a vehicle lock and a vehicle ignition when the first angle equals the second angle.
14. The passive entry system of claim 13, wherein the control unit enables access to at least one of a vehicle lock and a vehicle ignition when the first angle does not equal the second angle.
15. The passive entry system of claim 7, wherein the encrypted signal defines a ratio of driving currents applied to the plurality of antennas for verification of the fob.
16. The passive entry system of claim 7, wherein the fob controller is programmed to: simultaneously drive a first antenna of the plurality of antennas with a pre-defined driving current ratio relative to a driving current of a second antenna of the plurality of antennas retrieved from a memory; and simultaneously drive the second antenna with a second pre-defined driving current ratio relative to the driving current of the first antenna retrieved from the memory.
17. The passive entry system of claim 9, wherein the control unit is further programmed to change a driving current on at least one of the plurality of antennas.
18. The passive entry system of claim 17, wherein the control unit immobilizes at least one of a vehicle lock and a vehicle ignition when the angle equals the second angle.
19. The passive entry system of claim 9, wherein the fob controller is programmed to: retrieve a constant verification value from a memory, the constant verification value defining a ratio of driving currents applied to a first antenna of the plurality of antennas and a second antenna of the plurality of antennas for verification of the fob; simultaneously drive the first antenna with a first pre-defined driving current ratio relative to a driving current of the second antenna retrieved from the memory; and simultaneously drive the second antenna with a second pre-defined driving current ratio relative to the driving current of the first antenna retrieved from the memory.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
DESCRIPTION
(15) Referring now to
(16) As used herein the phrase low frequency typically refers to frequencies in the range of 3-300 KHz. The phrase high frequency or ultra high frequency (UHF) typically refers to frequencies in the range of 300 MHZ-3 GHz. Other ranges, however, are also possible. LF signals are most typically transmitted at 125 kHz while high frequency signals are most typically in the 300 MHz range.
(17) In the embodiment illustrated in
(18) The micro-controller 16 of
(19) In the embodiment of
(20) A 3D coil antenna 38 is electrically coupled with the low frequency receiver 34. An antenna 40 is electrically coupled with the radio frequency transmitter 36. In other embodiments, the fob 14 may include buttons and/or a display (not shown) associated with remote keyless entry functions such as door locking/unlocking and panic alarm as well as others.
(21) In the embodiment of
(22) An example passive entry sequence may begin when a door handle switch (not shown) of the door system 30 generates a triggering pulse. This triggering pulse is provided to the micro-controller 16. In response to the triggering pulse, the micro-controller 16 generates a trigger generation function. The low frequency transmitter 18 is activated to generate the low frequency wake-up signals, discussed above, associated with the trigger generation function. The low frequency wake-up signals are broadcast via the antennas 22, 24, 25. The low frequency wake-up signals respectively broadcast by the antennas 22, 24, 25 may include information indicative of the antenna from which it was broadcast.
(23) As discussed above, the low frequency wake-up signals may facilitate locating the fob 14 relative to the antennas 22, 24, 25. In some embodiments, the low frequency receiver 34 includes suitable circuitry (not shown) for measuring a received signal strength indicator (RSSI) of each of the low frequency wake-up signals. The micro-controller 32 includes the RSSI information in a response sent to the controller 16. The controller 16 determines which antenna 22, 24, 25 is nearest the fob 14 based on the RSSI information. Locating the fob 14 relative to the antennas 22, 24, 25 may ensure that a user of the fob 14 is located in the area where the passive function is being requested. For example, locating the fob 14 relative to the antennas 22, 24, 25 may ensure that the user of the fob 14 is located outside the door system 30 when the door handle switch (not shown) is actuated. Likewise, locating the fob 14 relative to the antennas 22, 24 may reveal that the fob 14 is located within the cabin of the vehicle 12.
(24) In certain embodiments, the micro-controller 16 generates a random number to be used as a seed number in a mathematical transformation that is also known by the micro-controller 32 as part of any suitable challenge/response validation sequence. A challenge signal that includes information indicative of the random number may be broadcast from the vehicle 12. The fob 14 receives the challenge signal. The micro-controller 32 applies the mathematical transformation to the random number. The transformed random number, as well as the RSSI information discussed above and a fob identifier, are included in a response sent to the vehicle 12. The micro-controller 16 may then check the fob identifier and the transformed random number to validate the fob 14.
(25) The controller 32, as discussed above, may permit, for example, a user to unlock and/or start the vehicle 12. In some embodiments, a touch sensor or button on a door (not shown) triggers the controller 32 to begin the interrogation process described above. In other embodiments, a user of the fob 14 need not press/touch the fob 14 to, for example, unlock and/or start the vehicle 12. Rather, the user simply needs to approach the vehicle 12. In such embodiments, the controller 32 may periodically transmit, as discussed above, a wireless signal, e.g., a polling signal, to check if any fobs are within a vicinity of the vehicle 12. An example message rate may be approximately once a second in order to trigger a fob of a user that is approaching the vehicle 12. Any fob within the communication range may respond, as discussed above, to the polling signal. Thereafter, the controller 32 may initiate and complete the interrogation process described above before the user, for example, pulls a door handle (not shown).
(26) Returning again to
(27) In some embodiments, the fob 14 may store a global identifier and a local identifier. The global identifier may be common to some or all fobs produced by a manufacturer of such fobs and may be used, for example, to test a batch of fobs produced by the manufacturer. Other uses, however, are also possible. The local identifier may be specific to a certain vehicle and may be broadcast, for example, via the polling signals. As such, fobs for different vehicles may have the same global identifier but different local identifiers.
(28) The fob 14 illustrated in
(29) Referring now to
(30) The second repeater device carried by the second thief 44 receives and demodulates the UHF signal in an attempt to reproduce the original interrogation signal 46. In response to demodulating the UHF signal, the second repeater device carried by the second thief 44 modulates the data of the received signal and transmits the data as a reproduced LF signal to the fob 14 in an attempt to duplicate the original LF signal broadcast by the controller 32. The reproduced LF signal from the second thief 44 is received by the nearby fob 14. If the data of the received LF signal matches the authenticating data stored in fob 14, a response signal is transmitted by the fob 14. The second repeater device carried by the second thief 44 receives the response signal transmitted by the fob 14. The response signal is demodulated and re-transmitted as a reproduced response signal to the first thief 42. The repeater device carried by the first thief 42 receives the signal and broadcasts the reproduced response signal to controller 32 of the vehicle 12 for obtaining access to the vehicle 12.
(31) In the event the LF communication signal broadcast by the second thief 44 to the fob 14 does not match the authenticating data stored in the memory of the fob 14, then the fob 14 remains non-responsive and the relay-attack is thwarted.
(32) Referring now to
(33) Coordinate systems:
(34) 1. XYZ with origin O
(35) 2. XYZ with origin O
(36) 3. UVW with origin P
(37) Coil antenna O generates {right arrow over (H)} (H.sub.U, H.sub.V, H.sub.W) at P w.r.t. UVWP frame
(38) Coil antenna O generates {right arrow over (H)} (H.sub.U, H.sub.V, H.sub.W) at P w.r.t. UVWP frame
(39) H fields from Antenna O and Antenna O are linear related.
(40) R=Distance from O to O
(41) At point P with Antenna O, H={square root over (H.sub.U.sup.2+H.sub.V.sup.2+H.sub.W.sup.2)}
(42) At point P with Antenna O, H=H={square root over (H.sub.U.sup.2+H.sub.V.sup.2+H.sub.W.sup.2)}
(43) For any two vectors in space:
(44)
(45) The angles between the two antennas can be used by the fob to determine whether a relay attack has occurred.
(46) Referring now to
(47) Coil antenna A.sub.0 generates {right arrow over (H0)}
(48) Coil antenna A.sub.1 generates {right arrow over (H1)}
(49) Coil antenna A.sub.2 generates {right arrow over (H2)}
(50) R.sub.0=Distance from A.sub.1 to A.sub.2
(51) R.sub.1=Distance from A.sub.0 to A.sub.2
(52) R.sub.2=Distance from A.sub.0 to A.sub.1
(53) r0=Distance from F to A0
(54) r1=Distance from F to A1
(55) r2=Distance from F to A2
(56) 0=Angle between r0 and antenna A0
(57) 1=Angle between r0 and antenna A1
(58) 2=Angle between r0 and antenna A2
(59) In FA0A2, let FA0A2=0, FA2A0=1
(60) In FA1A2, let FA2A1=2, FA1A2=3
(61) In FA0A1, let FA1A0=4, FA0A1=5
(62) In A0A1A2, let A1A0 A2=A, A0 A2A1=B, let A0A1A2=C,
(63)
m0, m1, m2, are driving currents, R0, R1, R2, are the distances between antennas, and k, l, n are the angles in the preset coordinate system between the antennas.
(64) With the constants and equations above, the magnetic vectors from the coil antennas 22, 24, and 25 can be calculated: {right arrow over (H0)}, {right arrow over (H1)} and {right arrow over (H2)}. This data can be combined with data collected by the 3D coil antenna 38 in the fob 14 to calculate the orientation (Roll, Pitch, Yaw) relative to the antennas. If any of the constants (m0, m1, m2, R0, R1, R2, k, l, n) are missing or incorrect, the equation identifying {right arrow over (H0)}, {right arrow over (H1)} and {right arrow over (H2)} cannot be correctly solved. Under these conditions, the magnetic fields do not match the preset condition stored in memory of the devices, and magnetic integrity does not exist. The magnetic integrity calculations, therefore, can be used to evaluate whether communications between the antennas are with the fob 14 corresponding to the vehicle 12, or whether a relay station attack (RSA) has occurred.
(65) Referring now to
(66) Referring now to
(67) In an additional security step, in step 78, the vehicle 12 can transmit an encrypted signal to the key fob 14, identifying a change in the driving current (L1/L2) in the antenna elements 50 and 52. In step 80, the change in driving current on antenna 22 results in a change in the magnetic field at antenna 22, which results in a corresponding change to the vector V.sub.1 at the fob 14. In step 82, the controller 32 in key fob 14 calculates the angle .sub.0 between vectors V.sub.1 and V.sub.2. The controller 32 then compares angles .sub.0 and .sub.0. If .sub.0=.sub.0, there was no change in driving current from the transmitting source sending the signal to key fob 14, and an RSA likely occurred. Under these circumstances, the door locks, ignition, and other features can be immobilized or retained in a locked position, preventing access to the vehicle (step 86). Alternatively, if .sub.0.sub.0, then the request was from a key fob 14 authorized to access the vehicle, and access is allowed. Additional mathematical verification of the expected value of .sub.0 can also be calculated to assure authority to access functions in the vehicle.
(68) Referring now to
(69) Referring now to
(70) Referring now to
(71) To determine whether RSA has occurred, the controller 32 then performs one of the following calculations:
(72)
Where k is a constant that can be stored in memory in either the fob 14 or vehicle 12. (step 124) If the equation is satisfied, the request to access the vehicle is determined to be valid and access to perform functions, such as open the doors, or start the ignition, is granted. If the equation is not satisfied (step 126), a relay station attack has occurred, and the vehicle is immobilized. Access to the doors and ignition is therefore prevented.
(73) Although the system is described with calculations performed by the controller 32 in fob 14, the calculations can be performed by the controller 16 in vehicle 12. The constants R0/R1 and k can be stored in memory in either the vehicle 12 or fob 14. This verification can also be used in conjunction with other verification procedures described above.
(74) Although specific embodiments are described above, it will be apparent to those of ordinary skill that a number of variations can be made within the scope of the disclosure For example, calculations of magnetic integrity can be made by the controller 32 in the key fob 14, the controller 16 in the vehicle 12, or both. The number of antennas associated with the vehicle 12 and the fob 14 can vary, and the magnetic integrity equations adjusted accordingly. In some embodiments, a step of adjusting the driving current in an antenna as discussed above with reference to process 90 can be performed before magnetic integrity calculations. Although specific embodiments are described above, it will be apparent that various algorithms that include measuring the angles between two or three different antennas, determining the location of the key fob relative to the antennas, and adjusting the currents in the antennas, as described above, can be implemented in various orders to provide varying levels of assurance that a relay attack has not occurred. Additionally, the method of relay attack avoidance used by a vehicle and key fob system can be intermittently changed to further thwart attempts to steal a vehicle. Although the fob is described herein as a key fob, as described above, various types of electronic equipment that include processors and radiofrequency communication devices can be used in the present application. For example, the functions described with reference to a key fob can be provided on personal communications devices such as cellular phones, smart phones, tablets, laptops, and other types of devices.
(75) It should be understood, therefore, that the methods and apparatuses described above are only exemplary and do not limit the scope of the invention, and that various modifications could be made by those skilled in the art that would fall within the scope of the invention. To apprise the public of the scope of this invention, the following claims are made.