Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
METHOD AND SYSTEM FOR RELAY ATTACK PREVENTION
Document Type and Number:
WIPO Patent Application WO/2019/095022
Kind Code:
A1
Abstract:
A method and system for detecting if a relay is present in a PEPS system for a vehicle is disclosed which includes (a) transmitting a challenge signal including an LF telegram and CW signals from one or more antennas associated with a vehicle to a key fob, the CW signals being measured by the key fob; (b) determining if the CW signals measured by the key fob meet one or more criteria based on the predetermined differences in the magnetic field distribution between: (i) the magnetic field strength values associated with one or more antennas on the vehicle within the PEPS operating regions; and (ii) the magnetic field strength values associated with one or more antennas on the vehicle at the relay transmitter location when a relay is present.

Inventors:
KELLY MATTHEW (AU)
Application Number:
PCT/AU2018/051242
Publication Date:
May 23, 2019
Filing Date:
November 20, 2018
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
BOSCH AUSTRALIA (AU)
International Classes:
B60R25/30; B60R25/24; G07C9/00
Foreign References:
US20160027226A12016-01-28
US20170158169A12017-06-08
US20160200291A12016-07-14
US20160332597A12016-11-17
US20140169193A12014-06-19
US20140215567A12014-07-31
US20080143500A12008-06-19
Attorney, Agent or Firm:
PHILLIPS ORMONDE FITZPATRICK (AU)
Download PDF:
Claims:
The claims defining the invention are as follows:

1. A method of detecting if a relay is present in a PEPS system for a vehicle

including the steps of:

(a) transmitting a challenge signal including an LF telegram and CW signals from one or more antennas associated with a vehicle to a key fob, the CW signals being measured by the key fob;

(b) determining if the CW signals measured by the key fob meet one or more criteria based on the predetermined differences in the magnetic field distribution between:

(i) the magnetic field strength values associated with one or more antennas on the vehicle within the PEPS operating regions; and

(ii) the magnetic field strength values associated with one or more antennas on the vehicle at the relay transmitter location when a relay is present.

2. A method of detecting if an LF noise source is present in a PEPS system for a vehicle including the steps of:

(a) transmitting a challenge signal including an LF telegram and CW signals from one or more antennas associated with a vehicle to a key fob, the CW signals being measured by the key fob;

(b) determining if the CW signals measured by the key fob meet one or more criteria based on the predetermined differences in the magnetic field distribution between:

(i) the magnetic field strength values associated with one or more antennas on the vehicle within the PEPS operating regions; and

(ii) the magnetic field strength values associated with one or more antennas on the vehicle within the PEPS operating regions when an LF noise source is present.

3. The method of claim 1 or 2, wherein the criteria are developed for each PEPS operating region individually.

4. The method of claim 1 or 2, wherein the one or more criteria includes one or more conditional statements.

5. The method of claim 1 or 2, wherein the magnetic field strength is represented by an RSSI measurement level.

6. The method of claim 1 or 2, wherein the challenge signal is transmitted as a low frequency LF signal.

7. The method of claim 1 or 2, wherein signals other than CW signals are transmitted by the vehicle antennas for the magnetic field strength measurements.

8. A system for detecting if a relay is present in a PEPS system for a vehicle

including:

one or more antennas associated with the vehicle for transmitting a challenge signal from the one or more antennas to a key fob;

one or more controllers configured to:

(a) transmit the challenge signal including an LF telegram and CW signals from one or more antennas associated with a vehicle to a key fob, the CW signals being measured by the key fob;

(b) determine if the CW signals measured by the key fob meet one or more criteria based on the predetermined differences in the magnetic field distribution between:

(i) the magnetic field strength values associated with one or more antennas on the vehicle within the PEPS operating regions; and

(ii) the magnetic field strength values associated with one or more antennas on the vehicle at the relay transmitter location when a relay is present.

9. A system for detecting if an LF noise source is present in a PEPS system for a vehicle including:

one or more antennas associated with the vehicle for transmitting a challenge signal from the one or more antennas to a key fob, the CW signals being measured by the key fob; one or more controllers configured to:

(a) transmit the challenge signal including an LF telegram and CW signals from one or more antennas associated with a vehicle to a key fob;

(b) determine if the CW signals measured by the key fob meet one or more criteria based on the predetermined differences in the magnetic field distribution between:

(i) the magnetic field strength values associated with one or more antennas on the vehicle within the PEPS operating regions; and

(ii) the magnetic field strength values associated with one or more antennas on the vehicle within the PEPS operating regions when an LF noise source is present.

10. The method of claim 8 or 9 where the controller is located in the vehicle.

1 1. The method of claim 8 or 9 where a controller is located in both the vehicle and the key fob.

12. A method of obtaining data sets and establishing criteria for use in detecting if a relay is present in a PEPS system for a vehicle including the steps of:

(a) transmitting a challenge signal including an LF telegram and CW signals from one or more antennas associated with a vehicle to a key fob within a PEPS operating region;

(b) measuring the magnetic field strength values associated with the challenge signal from a plurality of locations within a PEPS operating region and storing the results as a first data set;

(c) inserting a relay between the vehicle and the key fob;

(d) transmitting a challenge signal including an LF telegram and CW signals from one or more antennas associated with a vehicle to a key fob at the relay transmitter when a relay is in place;

(e) measuring the magnetic field strength values associated with the challenge signal from a plurality of locations at the relay transmitter and storing the results as a second data set;

(f) comparing the first and second data sets; and (g) generating one or more criteria based on the comparison of the two data sets.

13. A method of obtaining data sets and establishing criteria for use in detecting if an LF noise source is present in a PEPS system for a vehicle including the steps of:

(a) transmitting a challenge signal including an LF telegram and CW signals from one or more antennas associated with a vehicle to a key fob within a PEPS operating region;

(b) measuring the magnetic field strength values associated with the challenge signal from a plurality of locations within a PEPS operating region and storing the results as a first data set;

(c) inserting an LF noise source in proximity to the key fob within a PEPS operating region;

(d) transmitting a challenge signal including an LF telegram and CW signals from one or more antennas associated with a vehicle to a key fob within a PEPS operating region where an LF noise source is in close proximity to the key fob;

(e) measuring the magnetic field strength values associated with the challenge signal from a plurality of locations within a PEPS operating region where an LF noise source is in close proximity to the key fob and storing the results as a second data set;

(f) comparing the first and second data sets; and

(g) generating one or more criteria based on the comparison of the two data sets.

14. The method of claim 12 or 13, wherein steps (a) to (i) are repeated for each

PEPS operating region.

Description:
METHOD AND SYSTEM FOR RELAY ATTACK PREVENTION Technical Field

[0001 ] The present invention relates to passive entry passive start (PEPS) systems and in particular, detection and/or prevention of relay attacks on PEPS systems in vehicles used to enter and/or start the vehicle.

Background of Invention

[0002] PEPS systems allow authorised users (with a valid key fob) to lock/unlock and start their vehicle without having to interact with the remote control (i.e. authorised key fob). The PEPS system may unlock or start the vehicle via a manually triggered input request (capacitive sensor, push button, etc.) if the key fob is determined to be in a valid PEPS region.

[0003] A typical PEPS system defines operating regions such that if an authorised key fob is located within the correct operating region then the vehicle will respond to lock/unlock and start requests. PEPS regions can be defined by using low frequency (LF) signal fields emitted from antennas on the vehicle. A received signal strength indicator (RSSI) is typically implemented in the authorised key fob as an abstraction of the magnetic field strength. The PEPS system may define the external operating regions and internal operating regions using the RSSI signal levels from the various antennas on the vehicle. If an authorised key fob is located within the correct regions, i.e., the RSSI levels correspond to a defined region then the vehicle will respond to lock/unlock and start requests.

[0004] A problem associated with PEPS systems is that vehicle thieves may utilise what is known as a“relay attack” to steal the vehicle. The relay attack tricks the PEPS system into believing that the thief is an authorised user (in a defined inclusion region).

[0005] A relay attack generally requires two thieves ("Thief A" and "Thief B") together with the authorised user (i.e., vehicle owner or other possessor of the key fob) being in the same vicinity. A relay attack involves extending the range of the LF field so that an authorised key fob which is not in proximity of the vehicle will receive the LF challenge signal.“Thief A” carries a relay receiver (to receive the LF signal) and is located close to the vehicle while“Thief B” carries the relay transmitter (to re transmit the LF signal) and is located in close proximity to the authorised key fob. In an “analog relay”, the relay receiver receives the LF signal then up-converts the frequency to a radio frequency (RF) and transmits it over an RF link to the relay transmitter. The relay transmitter receives the RF signal and then down-converts the RF signal to LF and re-transmits the LF signal to an authorised key fob. Analog relays are independent of the modulation and encoding of the LF signal. Other relay configurations are possible, for example, a“digital relay” where the relay receiver demodulates the LF signal and then the data stream is modulated over RF and transmitted. The relay transmitter demodulates the RF signal and then the data stream is modulated over LF and re-transmitted.

[0006] A key fob automatically transmits an RF response upon receiving the LF challenge. The RF response signal will typically transmit between approximately 20- 200m back to the vehicle. If the vehicle receives this response then it will assume that the key fob is in the vicinity of the vehicle and so the request will be authenticated. In addition, the relay attack method may also be applied to extend the range of the RF response range beyond the transmit range of the key fob.

[0007] In summary, in a relay attack, thieves are able to enter and start a vehicle when the key fob is outside its normal operating regions by relaying messages from one location to another to make the vehicle appear closer to the key fob.

[0008] Techniques exist which aim to prevent relay attack by analysis of the PEPS LF and UFIF signals, for example, measuring the time of flight, signal vector checks and/or signal superposition, etc. These techniques are generally complicated, ineffective or expensive.

[0009] US201 1/0148573A1 describes a passive entry system which utilizes measurements of RSSI levels to establish an authorization region based upon the geometrical shape of the signal radiated from an antenna. Flowever, this approach is only intended to detect an authentication region and will not detect whether a relay is in use so it will not prevent a relay attack from being successful.

[0010] Before turning to a summary of the present invention, it will be appreciated that the discussion of the background to the invention is included to explain the context of the invention. This is not to be taken as an admission that any of the material referred to is published, known or part of the common general knowledge.

Summary of Invention

[0011 ] According to a first aspect, the present invention provides, a method of detecting if a relay is present in a PEPS system for a vehicle including the steps of: (a) transmitting a challenge signal including an LF telegram and CW signals from one or more antennas associated with a vehicle to a key fob, the CW signals being measured by the key fob; (b) determining if the CW signals measured by the key fob meet one or more criteria based on the predetermined differences in the magnetic field distribution between: (i) the magnetic field strength values associated with one or more antennas on the vehicle within the PEPS operating regions; and (ii) the magnetic field strength values associated with one or more antennas on the vehicle at the relay transmitter location when a relay is present.

[0012] In addition to relay attack detection, the method of aspect one can be altered to differentiate between a relay attack and an LF noise source in close proximity to the key fob. An LF noise source, may be for example, an electronic device such as a mobile phone may alter the magnetic field distribution generated by the vehicle antennas. When the key fob is in close proximity to an electronic device, the LF noise from the device may cause the key fob to falsely detect a relay, i.e., the LF noise causes enough change to the magnetic field distribution and causes one or more of the predetermined relay detection criteria to incorrectly detect a relay. Advantageously, the present invention can be used to differentiate between a relay attack and an LF noise source in close proximity to the key fob, for example, an electronic device such as a mobile phone.

[0013] According to a second aspect, the present invention provides, a method of detecting if an LF noise source is present in a PEPS system for a vehicle including the steps of: (a) transmitting a challenge signal including an LF telegram and CW signals from one or more antennas associated with a vehicle to a key fob, the CW signals being measured by the key fob; (b) determining if the CW signals measured by the key fob meet one or more criteria based on the predetermined differences in the magnetic field distribution between: (i) the magnetic field strength values associated with one or more antennas on the vehicle within the PEPS operating regions; and (ii) the magnetic field strength values associated with one or more antennas on the vehicle within the PEPS operating regions when an LF noise source is present. In addition, the magnetic field strength values associated with one or more antennas on the vehicle at the relay transmitter location when a relay is present may be used to refine the criteria.

[0014] Preferably, the criteria are developed for each PEPS operating region individually, for example the driver door side operating region, the passenger door side operating region, etc.

[0015] Preferably, the challenge signal is transmitted as a low frequency LF signal.

[0016] Preferably, the challenge signal contains a data telegram and CW signals from one or more of the vehicle antennas transmitted sequentially.

[0017] Preferably, the magnetic field strength is represented by an RSSI measurement level of the transmitted CW signals.

[0018] The present invention exploits the fact that it is extremely difficult for a relay to reproduce the magnetic field distribution that occurs at the vehicle, i.e., to develop a perfect relay. If a non-perfect relay is used the magnetic field distribution at the vehicle is typically different from the field distribution generated by the relay. Advantageously, the present invention utilises the LF CW (continuous wave) signal levels from different vehicle antennas to determine a series of conditions that determine whether a relay is in use.

[0019] Preferably, the one or more criteria includes one or more conditional statements. [0020] The vehicle may include antennas which are mounted in more than two orientations in relation to each other. The orientations may include one or more of parallel, orthogonal, or any other angle to each other.

[0021 ] According to a third aspect, the present invention provides, a system for detecting if a relay is present in a PEPS system for a vehicle including: one or more antennas associated with the vehicle for transmitting a challenge signal from the one or more antennas to a key fob; one or more controllers configured to: (a) transmit the challenge signal including an LF telegram and CW signals from one or more antennas associated with a vehicle to a key fob, the CW signals being measured by the key fob; (b) determine if the CW signals measured by the key fob meet one or more criteria based on the predetermined differences in the magnetic field distribution between: (i) the magnetic field strength values associated with one or more antennas on the vehicle within the PEPS operating regions; and (ii) the magnetic field strength values associated with one or more antennas on the vehicle at the relay transmitter location when a relay is present.

[0022] According to a fourth aspect, the present invention provides, a system for detecting if an LF noise source is present in a PEPS system for a vehicle including: one or more antennas associated with the vehicle for transmitting a challenge signal from the one or more antennas to a key fob, the CW signals being measured by the key fob; one or more controllers configured to: (a) transmit the challenge signal including an LF telegram and CW signals from one or more antennas associated with a vehicle to a key fob; (b) determine if the CW signals measured by the key fob meet one or more criteria based on the predetermined differences in the magnetic field distribution between: (i) the magnetic field strength values associated with one or more antennas on the vehicle within the PEPS operating regions; and (ii) the magnetic field strength values associated with one or more antennas on the vehicle within the PEPS operating regions when an LF noise source is present. In addition, the magnetic field strength values associated with one or more antennas on the vehicle at the relay transmitter location when a relay is present may be used to refine the criteria. [0023] According to a fifth aspect, the present invention provides, a method of obtaining data sets and establishing criteria for use in detecting if a relay is present in a PEPS system for a vehicle including the steps of: (a) transmitting a challenge signal including an LF telegram and CW signals from one or more antennas associated with a vehicle to a key fob within a PEPS operating region; (b) measuring the magnetic field strength values associated with the challenge signal from a plurality of locations within a PEPS operating region and storing the results as a first data set; (c) inserting a relay between the vehicle and the key fob; (d) transmitting a challenge signal including an LF telegram and CW signals from one or more antennas associated with a vehicle to a key fob at the relay transmitter when a relay is in place; (e) measuring the magnetic field strength values associated with the challenge signal from a plurality of locations at the relay transmitter and storing the results as a second data set; (f) comparing the first and second data sets; and (g) generating one or more criteria based on the comparison of the two data sets. Preferably, this process is repeated for every separate PEPS operating region, for example, the driver door side operating region, the passenger door side operating region, etc.

[0024] It will be appreciated that different relays can be used between the vehicle and the key fob to generate the second data set. For example, the second data set may include data obtained when a particular relay was used between the vehicle and the key fob and also include the data obtained when other relay topologies were used between the vehicle and the key fob.

[0025] According to a sixth aspect, the present invention provides, a method of obtaining data sets and establishing criteria for use in detecting if an LF noise source is present in a PEPS system for a vehicle including the steps of: (a) transmitting a challenge signal including an LF telegram and CW signals from one or more antennas associated with a vehicle to a key fob within a PEPS operating region; (b) measuring the magnetic field strength values associated with the challenge signal from a plurality of locations within a PEPS operating region and storing the results as a first data set; (c) inserting an LF noise source in proximity to the key fob within a PEPS operating region; (d) transmitting a challenge signal including an LF telegram and CW signals from one or more antennas associated with a vehicle to a key fob within a PEPS operating region where an LF noise source is in close proximity to the key fob; (e) measuring the magnetic field strength values associated with the challenge signal from a plurality of locations within a PEPS operating region where an LF noise source is in close proximity to the key fob and storing the results as a second data set; (f) comparing the first and second data sets; and (g) generating one or more criteria based on the comparison of the two data sets. Preferably, this process is repeated for every separate PEPS operating region, for example, the driver door side operating region, the passenger door side operating region, etc. In addition, the data set obtained by measuring the magnetic field strength values associated with the challenge signal from a plurality of locations at the relay transmitter may also be used to refine the criteria.

[0026] It will be appreciated that different LF noise sources can be used to generate the second data set.

[0027] It will be appreciated that a controller can be located in the vehicle only or in both the vehicle and key fob.

Brief Description of Drawings

[0028] Figure 1 is a schematic diagram illustrating a vehicle PEPS system;

[0029] Figure 2 is a schematic diagram illustrating a relay attack on a vehicle having a PEPS system;

[0030] Figure 3 is a schematic diagram illustrating a relay attack on a vehicle having a PEPS system where the relays have two antennas mounted orthogonally to each other;

[0031 ] Figure 4 is a flow diagram illustrating the method of the present invention to in preventing a relay attack on a vehicle having a PEPS system; and

[0032] Figure 5 is a flow diagram illustrating the method of the present invention to obtain data sets for use with the system and method of the present invention.

Detailed Description [0033] Fig. 1 is a schematic diagram illustrating a vehicle PEPS system 100. The PEPS system 100 allows a vehicle owner (or possessor of the key fob) to lock/unlock and start a vehicle 105 without having to interact with the key fob 1 10. Typical PEPS systems define external operating regions and internal operating regions. If a key fob 1 10 is located within an operating region then the vehicle 105 will respond to lock/unlock and start requests.

[0034] The PEPS operating regions may be defined by low frequency (LF) signal magnetic fields emitted from antennas on the vehicle. Received signal strength indicator (RSSI) can be utilised in the key fob and the PEPS system may define the external operating regions and internal operating regions using the RSSI signal levels measured from the various antennas on the vehicle 105. Then, if a key fob 1 10 is located within the correct regions (i.e., the RSSI levels correspond to a defined operating region) then the vehicle 105 will respond to the lock/unlock and start request.

[0035] PEPS systems may be designed to have manually triggered unlock and start requests (such as a capacitive sensor, push button and the like provided for example, in the handle of the vehicle, or in the vehicle Start/Stop button 105) to transmit the LF challenge signal 1 15 to the key fob 1 10. As part of the LF challenge signal 1 15, signals are transmitted from several (or all) of the vehicle antennas. If a key fob 110 is located within the expected operating regions (based on the RSSI values measured from the vehicle antennas), after receiving the LF challenge signal 1 15 it will transmit an authentication response signal on a radio frequency (RF) 120 for the request to be processed in the vehicle. It will be appreciated that bi-directional RF communication may also be used.

[0036] Some PEPS systems also provide permanent periodically transmitted LF challenge signals 115 prior to the manually triggered unlock request. For these systems, the vehicle knows when the key fob 1 10 is in the vicinity of the vehicle before an unlock request is made. The advantage of this is that it can improve system response times and provide additional features such as comfort lighting as the owner approaches the vehicle 105. [0037] As shown in the Fig. 2, the PEPS system 200 is vulnerable to theft due to what is known as "relay attack". The present invention attempts to prevent a relay attack from being successful. In Fig. 2, the relay attack involves extending the range of the LF field (shown in Fig. 1 ) so that a key fob 1 10 which is not in proximity of the vehicle 105 will receive the LF challenge signal. The relay attack requires two thieves, Thief A and Thief B where Thief A carries a relay receiver (Relay RX) 125 and is located close to the vehicle 105 while Thief B carries a relay transmitter (Relay TX) 130 and is located close to the key fob 1 10.

[0038] Relay RX 125 receives an LF signal from vehicle 105 and then up-converts the frequency to an RF frequency and transmits it via RF link to Relay TX 130. Relay TX 130 receives the RF signal and then down-converts the frequency to LF and re transmits the LF signal to the key fob 1 10. This scenario describes the previously defined“analog relay”, however, other types of relays could be used. The key fob 1 10 automatically transmits an RF response upon receiving the LF challenge. The RF response signal will typically transmit between approximately 20 - 200m back to the vehicle 105. If the vehicle 105 receives this response it will assume that the key fob 1 10 is in the vicinity of the vehicle 105 and so the request will be authenticated. In addition, the relay attack method may also be applied to extend the range of the RF response range beyond the transmit range of the key fob 1 10.

[0039] The relay attack shown in Fig. 2 is a simplified version of a relay attack known as a one dimensional relay attack. Flowever, in operation as shown in Fig. 3, a vehicle 105 has several antennas in the vehicle 105 typically mounted in two orientations in relation to each other i.e. parallel or orthogonal to each other, known as a two dimensional relay attack. As shown in Fig. 3, typical antenna orientations for a vehicle 105 may be for example antenna 105a, 105b parallel to each other and located in the door handles while antenna 105c, 105d are parallel to each other and are located in the cabin and trunk of the vehicle respectively (although it will be appreciated that there may be more sets of antennas provided). For a vehicle such as this a relay needs two antennas mounted orthogonally to each other in order to effectively couple energy from the vehicle antennas into the relay RX for both vehicle antenna orientations and for the relay TX to attempt to effectively reproduce the LF field distribution at the vehicle. In practice, a more sophisticated relay attack will involve a relay receiver 125 having antennas 125a and 125b and relay transmitter 130 having antennas 130a and 130b to replicate the antenna orientations in the vehicle 105.

[0040] In practice, it is extremely difficult for a relay 125 and 130 to reproduce the magnetic field distribution that occurs at the vehicle 105, that is to say it is very difficult to develop a perfect relay. The present invention constructs a relay and compares RSSI results from the relay to that obtained at the vehicle when no relay is in operation. The present invention utilises an LF challenge consisting of a data telegram and CW signal levels transmitted sequentially from the different vehicle antennas 105a, 105b, 105c, 105d to determine a series of conditions that determine whether a relay (typically non-perfect relay) is in use.

[0041 ] In the present invention, RSSI levels of each of the CW signals from the vehicle antennas 105a, 105b, 105c and 105d can be measured by the key fob 110 and the RSSI data included in the RF response signal from the key fob 110. This data can be stored and collected by a controller associated with the system and vehicle 105. The controller may take any suitable form and may for example control operation of the antennas and the PEPS system that communicates with the key fob 1 10 can be utilised by a computer running an application software program. The controller is preferably configured to store data relating to the RF responses and may be further configured to open/lock the doors and or start the vehicle 105 and the like.

[0042] Preferably the key fob is placed at many positions within the entry or start regions and RSSI levels and data are stored for each position measured. Essentially, this builds up a data set of RSSI levels of the key fob 110 in different positions.

[0043] As noted above, a relay attack involves extending the range of the vehicle LF field so that a key fob 110 which is not in proximity of the vehicle will receive the LF challenge signal. Since the vehicle 105 has several antennas 105a, 105b, 105c, 105d, for example, mounted in two typical orientations (i.e. parallel or orthogonal to each other) the relay 125 may only use one pickup and transmit antenna but ideally requires two antennas mounted orthogonally to each other in order to better represent the vehicle antenna orientations.

[0044] The present invention further provides data relating to RSSI values when a relay 125, 130 in use with key fob 110. The present invention measures the relayed CW signals at the key fob 110 and stores that data. The RSSI results from the signals determined when there is no relay in use (first data set) and when there is a relay in use (second data set) are compared and analysed to determine a series of conditions that determine whether or not a relay is in use.

[0045] For example, for a particular make and model of vehicle, a number of measurements are made with the key fob 1 10 in various positions around the vehicle 105. Further measurements are made at the Relay TX 130 while a relay is in place. This provides two data sets - one where the key fob is operating normally and one where a relay attack is taking place.

[0046] In Fig. 3, since there are four vehicle antennas 105a, 105b, 105c and 105d (although it may be appreciated that there may be more than four antennas), each data set would consist of four RSSI measurement results for each key fob location measured. RSSI measurements from antennas 105a, 105b, 105c and 105d for each position of the key fob 1 10 are made within a PEPS operating region at the vehicle to generate a first data set. A relay is the inserted between the vehicle and the key fob and RSSI measurements from antennas 105a, 105b, 105c and 105d for each position of the key fob 1 10 are made at the relay transmitter to generate a second data set. It will be appreciated that different relays can be used between the vehicle and the key fob to generate the second data set. For example, the second data set may include data obtained when a one dimensional relay was used between the vehicle and the key fob and also the data obtained when a two dimensional relay was used between the vehicle and the key fob. The first and second data sets can then be compared. Criteria can be obtained to define the differences in the two data sets by comparing the data set obtained at the vehicle 105 to the data set obtained at the Relay TX 1 130. For example, it may be observed that where the key fob 1 10 is operating normally (i.e. without a relay): a. When the RSSI of antenna 105a was greater than 300, the RSSI level from antenna 105b was always more than 25 counts greater than the RSSI from antenna 105c

To continue with the example, when a relay was in place, the key fob 1 10 when located at the Relay TX 130:

b. When the antenna 105a has an RSSI greater than 300, the RSSI from antenna 105b is always less than or equal to 25 counts than antenna 105c.

[0047] Each criteria, which may take the form of a rule or conditional statement may be provided in a lookup table or the like or via data stored in a controller associated with the system such that the following criteria is provided for the previous example:

IF RSSI from antenna 105a > 300 THEN (antenna 105b RSSI - antenna 105c RSSI) > 25;

If the above statement returns TRUE then no relay is present otherwise if the above statement returns FALSE, a relay is present.

[0048] As will be appreciated this is one example of many and a number of conditions or statements may be deduced from comparing the data sets. Preferably a number of conditional statements may be identified and may be utilised. The conditional statements are developed to compensate for RSSI tolerances in order to ensure that "false" relay detections are not made when the vehicle is in normal operation (i.e. when no relay is present), i.e., eliminating the possibility of false positives.

[0049] In operation, the PEPS system 100 defines external operating regions and internal operating regions using the RSSI signal levels from the various antennas on the vehicle 105. If an authorised key fob 1 10 is located within the correct regions, the RSSI levels correspond and the vehicle will respond to lock/unlock and start requests. However, the present invention adds an additional step, namely determining if criteria are satisfied and if the request is therefore valid. If the system determines that a relay is in place, then the PEPS entry/start request is not performed. [0050] It will be appreciated that there may be a situation where a relay can perfectly reproduce the LF challenge signals present at the vehicle 105. However, the relay can only achieve this when the key fob 1 10 is at a specific distance from the TX relay 130. If this distance is not maintained, the “perfect” relay can be exposed utilising the method and system of the present invention. This is because the antenna placements in a“perfect relay” must be constructed to a physical dimension smaller than the antenna placements in a typical vehicle size so that the thieves can conceal the relay from the public to avoid raising suspicion. Since the relay antenna positions cannot truly represent the real distances between the antennas in the vehicle, the relay cannot perfectly reproduce the correct LF signal levels for all distances between the key fob and TX relay.

[0051 ] Fig. 4 is a flow diagram illustrating operation of the method 400 of the present invention in which it is determined whether or not a relay is present in a PEPS system for a vehicle. At step 405, a challenge signal is transmitted from the vehicle to a key fob. The challenge signal includes LF transmissions from one or more of the vehicle antennas. It will be appreciated that any number of suitable antennas may be used (including all of the vehicle antennas - if required). Control then moves to step 410 in which the key fob 110 receives the challenge signal 1 15 and in response to the challenge signal 1 15 measures the magnetic field strength of the LF CW signals from the vehicle antennas and provides a response signal (shown as 120 in Fig. 1 ). The response signal 120 is typically an RF signal and contains the magnetic field data measured at the location of the key fob 1 10 relative to the vehicle 105.

[0052] Control then moves to step 415 where it is determined whether or not the measured magnetic field data meets one or more criteria based on the predetermined differences in the magnetic field distribution between:

(i). the magnetic field strength values associated with one or more antennas on the vehicle within the PEPS operating regions and

(ii). the magnetic field strength values associated with the one or more antennas on the vehicle at the relay transmitter location when a relay is present.

[0053] These pre-determined magnetic field strength values when a relay is present and when a relay is absent are preferably stored in a lookup table or the like associated with a controller in the vehicle 105, or alternatively this can associated with a controller in the keyfob 1 10.

[0054] It can then be determined whether or not the magnetic fields measured by the key fob 110 meet the criteria (i.e., are the values valid or do they correspond to a relay attack).

[0055] If it is determined that the magnetic field strength values do not meet the criteria then the request is rejected and control moves to step 425 where the key fob is locked-out for a time period or other appropriate action is taken. Otherwise if at step 415 it is determined that the response signal meets the one or more criteria then control moves to step 420 where the vehicle may be unlocked or started.

[0056] It will be appreciated that the magnetic field strength may be measured in any suitable way such as an RSSI measurement level which is essentially a quantised abstraction of the magnetic field strength.

[0057] It will also be appreciated that the method 400 may loop so for example at step 415, criteria may be periodically polled against the key fob 1 10 in the event that the key fob is moving, as previously discussed with reference to Fig. 3, the distance between the key fob and relay TX must be at a specific distance; this is harder to achieve for multiple measurements and the criteria could be applied more frequently to reject or prevent access to the vehicle.

[0058] Fig. 5 is a flow diagram illustrating a method 500 of the present invention to obtain data sets for use with the system and method of the present invention as described with reference to Fig. 3. The present invention utilises information from two data sets - a first data set (which is magnetic field strength field values) from many positions measured when using a key fob in the PEPS operating regions and a second data set (which is magnetic strength field strength values) measured at the TX Relay 130 when using a relay between the vehicle and key fob.

[0059] Step 505, includes transmitting a challenge signal including LF signals from one or more of the antennas associated with a vehicle to a key fob and receiving a response signal from the key fob in response to the challenge signal, wherein the response signal includes the magnetic field strength of the challenge signals at the location of the key fob - this process is repeated at many positions within the operating regions and provides a first data set. The data may be stored at a controller associated with the vehicle, or within the key fob or the like as described previously.

[0060] At step 510, a challenge signal is transmitted including LF signals from one or more of the antennas associated with a vehicle to a key fob where a relay is in place and a response signal is received from the key fob in response to the challenge signal, wherein the response signal includes the magnetic field strength of the challenge signal at the location of the key fob at the relay transmitter - this process is repeated at many positions at the relay transmitter for the vehicle operating regions and provides a second data set. The data may be stored at a controller associated with the vehicle, or within the key fob or the like as described previously.

[0061 ] It will be appreciated that different relays can be used between the vehicle and the key fob to generate the second data set. For example, the second data set may include data obtained when a one dimensional relay was used between the vehicle and the key fob and also the data obtained when a two dimensional relay was used between the vehicle and the key fob.

[0062] At step 515, the first and second data sets are analysed and compared before a number of criteria or conditional statements are generated. The conditional statements will then determine whether or not a relay is being used with the PEPS system as described with reference to Fig. 3.

[0063] It will be appreciated that the steps of Fig. 5 can be performed with an LF noise source in place instead of a relay. In addition to relay attack detection, criteria may be used to differentiate between a relay attack and an LF noise source in close proximity to the key fob, for example, an electronic device such as a mobile phone. Advantageously, the present invention may then be used to detect an LF noise source as well as preventing a relay detection from occurring when LF noise is introduced into the system. Criteria, which may take the form of a rule or conditional statement described above, may be provided in a lookup table or the like or via data stored in a controller associated with the system.