Passive keyless entry system for preventing relay attacks
10535209 ยท 2020-01-14
Assignee
Inventors
Cpc classification
G07C9/00309
PHYSICS
B60R25/246
PERFORMING OPERATIONS; TRANSPORTING
B60R25/24
PERFORMING OPERATIONS; TRANSPORTING
B60R25/245
PERFORMING OPERATIONS; TRANSPORTING
International classification
Abstract
A passive keyless entry (PKE) system is disclosed. The PKE includes an in-vehicle apparatus. The in-vehicle apparatus includes a control unit that is configured to measure magnetic field and compute at least one angle between two projections of the magnetic field. When the measured angle is lower than a threshold value, an authorization signal is prevented.
Claims
1. A passive keyless entry system including an in-vehicle apparatus installable on a vehicle and a portable apparatus, the in-vehicle apparatus including: a plurality of antennas configured to generate a plurality of respective magnetic fields, an in-vehicle receiver configured to communicate with a portable transmitter of the portable apparatus, an in-vehicle control unit configured to control the plurality of antennas and generate an authorization signal based on information received from the portable apparatus, and the portable apparatus including: a receiving antenna having three mutually orthogonal coils, the portable transmitter configured to communicate with the in-vehicle receiver, and a portable control unit configured to control the receiving antenna and the portable transmitter, the portable apparatus being configured to measure at least two projection vectors of the magnetic fields, the in-vehicle control unit or the portable control unit is configured to compute a plurality of angles between two projection vectors based upon the plurality of respective magnetic fields, the in-vehicle control unit or the portable control unit is configured to compare each computed angle with an angular threshold value, and prevent the authorization signal when all of the computed angles are lower than the angular threshold value.
2. The passive keyless entry system according to claim 1, wherein the in-vehicle apparatus further includes: at least three antennas configured to generate three respective magnetic fields, wherein the in-vehicle control unit or the portable control unit is configured to compute three computed angles, each computed angle being comprised between two different projection vectors of the three respective magnetic fields, and the in-vehicle control unit is configured to prevent the authorization signal when all of the three computed angles are lower than the angular threshold value.
3. The passive keyless entry system according to claim 1, wherein the portable apparatus is configured to send the at least two projection vectors of the magnetic fields to the in-vehicle control unit, and the in-vehicle control unit is configured to compute at least one computed angle between two projection vectors of the magnetic fields, and compare the at least one computed angle with the angular threshold value.
4. The passive keyless entry system according to claim 1, wherein the in-vehicle control unit and the portable control unit are configured to compute a first computed angle between two projections of two magnetic fields, and the in-vehicle control unit is configured to allow the authorization signal when the first computed angle is greater than or equals the angular threshold value.
5. The passive keyless entry system according to claim 1, wherein the portable apparatus is configured to measure at least two projection vectors of the magnetic fields after the in-vehicle control unit has activated the corresponding antennas of the in-vehicle apparatus.
6. The passive keyless entry system according to claim 5, wherein the portable transmitter is configured to transmit the projection vectors to the in-vehicle receiver.
7. An identification method for a passive keyless entry system including: measuring a first projection vector resembling a projection of a first magnetic field; measuring a second projection vector resembling a projection of a second magnetic field; computing a first computed angle between the first projection vector and the second projection vector; comparing the first computed angle with a predefined angular threshold value generating an authorization signal after the condition is verified; after the condition is not verified: measuring a third projection vector resembling a projection of a third magnetic field; computing a second computed angle between the first and the third projection vectors and a third computed angle between the second and the third projection vectors; comparing the second and third computed angles with the predefined angular threshold value and generating an authorization signal after the condition is verified; and preventing the authorization signal after the condition is not verified.
8. The identification method according to claim 7, wherein any of the projection vectors resembles a projection of the respective magnetic field vector in a positive octant of an R.sup.3 space, wherein actual components of the respective magnetic field vector are being measured only considering their magnitude without the sign.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
DESCRIPTION OF EMBODIMENTS
(7)
(8) The in-vehicle apparatus 110 includes: a plurality of antennas 111, 112, 113 for generating a plurality of respective magnetic fields H1, H2, H3, an in-vehicle receiver for communicating with a portable transmitter of the portable apparatus 140, and an in-vehicle control unit 115 for controlling the plurality of antennas 111, 112, 113 and which upon communication with the portable apparatus 140 generates an authorization signal, for example opening the doors of the vehicle 10, based on information received from the portable apparatus 140.
(9) According to different embodiments of the present invention the in-vehicle apparatus 110 may include two, three or more than three antennas.
(10) The portable apparatus 140 includes: a 3D LF receiving antenna 141 having three mutually orthogonal coils 141x, 141y and 141z oriented as in a right-handed 3D reference system (X, Y, Z), a portable transmitter for communicating with the in-vehicle receiver, a portable control unit 142 for controlling the receiving antenna 141 and the portable transmitter.
(11) According to embodiments of the present invention, the portable apparatus 140 is shaped as a key.
(12) The PKE system 100 operates according to the PKE identification method below described and represented in
(13) The identification method includes a first step P1 of measuring the magnitude of the vector representing the first magnetic field H1 generated by a first antenna 111 of the in-vehicle apparatus 110. The orientation of the vector representing the magnetic field H1 is not measured. Accordingly, the first projection vector m1 which is actually measured resembles a projection of the real magnetic field vector H1 in the positive octant of an R.sup.3 space defined by the coils 141x, 141y and 141z, as represented in
(14) The first step P1 of measuring the first projection vector m1 includes the following sub-steps: in a first sub-step the in-vehicle control unit 115 activates the first antenna 111 of the in-vehicle apparatus 110, in a second sub-step the portable apparatus 140 measures the first projection vector m1 by means of the receiving antenna 141, in a third optional sub-step the portable transmitter transmits the measured first projection vector m1 to the in-vehicle receiver.
(15) The identification method includes a subsequent second step P2 of measuring the magnitude of the vector representing the second magnetic field H2 generated by a second antenna 112 of the in-vehicle apparatus 110. The second step P2 is analogous to the first step including the following sub-steps: in a first sub-step the in-vehicle control unit 115 activates the second antenna 112 of the in-vehicle apparatus 110, in a second sub-step the portable apparatus 140 measures the second projection vector m2 by means of the receiving antenna 141. The measured second projection vector m2 resembles a projection of the real magnetic field vector H2 in the positive octant of the R.sup.3 space defined by the coils 141x, 141y and 141z, in a third optional sub-step the portable transmitter transmits the measured second projection vector m2 to the in-vehicle receiver.
(16) The identification method includes a subsequent third step P3 of computing a first computed angle .sub.m between the measured projection vectors m1 and m2 as per the Formula A:
.sub.m=arccos((m1.Math.m2)/(m1m2))
(17) Additional computational optimization may be added e.g. by not computing the arccos function and working with cos values (cos =(m1.Math.m2)/(m1m2) instead of angles.
(18) According to a possible embodiment of the present invention the third step P3 of computing the angle .sub.m is performed in the in-vehicle control unit. According to a possible embodiment of the present invention the third step P3 of computing the angle .sub.m is performed in the portable control unit 142. In the latter embodiment the third sub-steps of the first and second step P1, P2 of the method are not required.
(19) The identification method includes a subsequent fourth step P4 where the first computed angle between the measured vectors m1 and m2 is compared with a predefined angular threshold value .sub.t. A very small angle .sub.t will be defined as a convenient threshold to be compared to the measured angle . If .sub.t.sub.m, then the angle between the real magnetic field vector H1 and H2 is greater than .sub.t. It can be actually demonstrated that, as represented in
.sub.m
(20) Therefore, if the condition .sub.t.sub.m is verified no unidimensional RSA (Relay Station Attack) is detected and the in-vehicle control unit 115 generates the authorization signal, which, for example, authorizes access to the vehicle 10. Consequently the authorization method is ended.
(21) According to possible embodiments of the present invention the fourth step P4 may be performed the in-vehicle control unit or in the portable control unit 142. In the latter case the fourth step P4 includes a sub-step of transmitting the result of the comparison of the fourth step P4 to the in-vehicle receiver, in order that the in-vehicle control unit 115 can generate the authorization signal, if the condition .sub.t.sub.m is verified.
(22) Otherwise, if the condition .sub.t.sub.m is not verified it may nevertheless be that .sub.t, as represented in
(23) The fifth step P5 is analogous to the first and the second steps including the following sub-steps: in a first sub-step the in-vehicle control unit 115 activates the second antenna 113 of the in-vehicle apparatus 110, in a second sub-step the portable apparatus 140 measures the third projection vector m3 by means of the receiving antenna 141. The measured third projection vector m3 resembles a projection of the real magnetic field vector H3 in the positive octant of the R.sup.3 space defined by the coils 141x, 141y and 141z, in a third optional sub-step the portable transmitter transmits the measured third projection vector m3 to the in-vehicle receiver.
(24) The identification method includes a subsequent sixth step P6 of computing a second computed angle .sub.m13 between the first and third projection vectors m1 and m3 and a third computed angle .sub.m23 between the second and third projection vectors m2 and m3. Both second and third computed angles .sub.m13 and .sub.m23 are computed as per the Formula A.
(25) Similarly to the third step P3, also the sixth step P6 may be performed in the in-vehicle control unit or in the portable control unit 142. In the latter case the third sub-step of the fifth step P5 of the method is not required.
(26) The identification method includes a subsequent seventh step P7 where the second and third computed angles .sub.m13 and .sub.m23 between the couple of measured projection vectors m1, m3 and m2, m3 are both compared with the predefined angular threshold value .sub.t. If the condition .sub.t.sub.m13 or the condition .sub.t.sub.m23 is verified no unidimensional RSA (Relay Station Attack) is detected and the in-vehicle control unit 115 generates the authorization signal, which, for example, authorizes access to the vehicle 10. Consequently the authorization method is ended.
(27) Otherwise, it is supposed that the measured projection vectors m1, m3 and m2, m3 and the corresponding vectors of the magnetic field H1, H2, H3 are parallel or almost parallel to each other and therefore a unidimensional RSA (Relay Station Attack) is detected and the in-vehicle control unit 115 denies authorization to access the vehicle 10.
(28) Similarly to the third step P4, also the seventh step P7 may be performed in the in-vehicle control unit or in the portable control unit 142. In the latter case the seventh step P7 includes a sub-step of transmitting the result of the comparison of the seventh step P7 to the in-vehicle receiver, in order that the in-vehicle control unit 115 can generate or prevent the authorization signal, depending on the result of the comparison performed in the above described seventh step P7.
(29) The in-vehicle control unit 115 prevents the authorization signal, for example denying authorization to access the vehicle 10, when all the computed angles .sub.m, .sub.m13, .sub.m23 are lower than angular threshold value .sub.t.
(30) Such situation occurs when a unidimensional RSA 150 is present as represented in
(31) The RSA is composed of two nodes 151, 152: a receiving node 151 including only one antenna that simply reads the radio signal from the antennas 111, 112, 113 and communicates it to the transmitting node 152 also including only one antenna, which transmits the signal as-is the portable apparatus 140. The transmission content is not sniffed, modified nor forged. The result is an extension of the range of the radio signal between the two devices in one direction. Being the RSA 150 unidimensional, no matter what the original magnetic fields generated by the antennas 111, 112, 113 look like (length, direction and sense of the field vector in the measured point) on the receiving node 151, the transmitting node 152 will always create a field with the same shape (direction and sense of the field vector), variable only in the field strength (length of the field vector). Therefore the measured vectors m1, m3 and m2, m3 will be parallel and the conditions .sub.t.sub.m, .sub.t.sub.m13 and .sub.t.sub.m23 will be never satisfied.
REFERENCE NUMERALS
(32) 10: vehicle, 100: Passive Keyless Entry (PKE) system 110: in-vehicle apparatus a portable apparatus 111, 112, 113: antennas 115: in-vehicle control unit H1, H2, H3: magnetic fields generated by the antennas 111, 112, 113 m1, m2, m3: measured projection vectors corresponding to the magnetic fields H1, H2, H3 140: portable apparatus 141: receiving antenna 141x, 141y, 141z: coils of the receiving antenna 142: portable control unit 150: RSA (Relay Station Attack) 151: receiving node of the RSA (Relay Station Attack) 152: transmitting node of the RSA (Relay Station Attack) M1, M2, M3, M4, M5, M6, M7: steps of the identification method .sub.m, .sub.m13, .sub.m23: computed angle between projection vectors m1, m2, m3