METHOD FOR DETECTING A RELAY ATTACK

DE502021008174D1Active Publication Date: 2025-08-21LAMBDA 4 ENTWICKLUNGEN GMBH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
DE502021008174
Authority / Receiving Office
DE · DE
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-11-04
Filing Date
2021-11-03
Publication Date
2025-08-21
Estimated Expiration
2041-11-03

AI Technical Summary

Technical Problem

Existing methods for detecting relay attacks, such as man-in-the-middle or phase manipulation attacks, require complex and expensive hardware, and existing distance measurement techniques using commercially available transceivers are frequency-dependent, leading to ambiguity and inefficiency.

Method used

A method that compares phase measurements and time-of-flight measurements on radio signals with overlapping frequency intervals, without converting to distances, to detect deviations indicative of a relay attack, using phase shift and signal propagation time changes relative to frequency changes.

Benefits of technology

Enables simple, fast, and reliable detection of relay attacks by comparing phase and propagation time measurements, reducing hardware complexity and ambiguity, and allowing for robust detection even in the presence of interference.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader
Need to check novelty before this filing date? Find Prior Art

Description

[0001] The invention relates to a method for detecting and / or preventing relay attacks and to an access system configured to carry out such a method.

[0002] Numerous methods are known for detecting or preventing relay attacks, in particular man-in-the-middle or wrap-around attacks or phase manipulation attacks or early-detect-late-commit attacks.

[0003] These methods typically require complex and expensive hardware. The object of the invention is to enable simple, fast, and / or reliable detection of relay attacks.

[0004] Furthermore, EP 3 564 703 A1 discloses determining the phase position of a received signal and comparing it with a phase position determined by another method. If a predetermined deviation is exceeded, a relay attack is assumed. It thus discloses the comparison of a temporal position or phase position with a predetermined or other calculated temporal position and / or phase position, rather than a comparison with a propagation time. Furthermore, the temporal position is not a propagation time, but an equivalent to the phase position.

[0005] It was surprisingly found that the distances obtained from distance measurements when using commercially available transceivers such as the somewhat older cc2500 or the current cc26xx from Texas Instruments or the Kw35 / 36 / 37 / 38 from NXP or the Dialog DA1469x from Dialog depend on the frequency used to determine the distance.

[0006] It was also discovered that the measured values obtained by phase and propagation time measurements change concurrently and almost proportionally with the change in the frequency used for the measurement. This led to the conclusion that a deviation in these changes has an unnatural origin and can be used to detect a relay attack. It was recognized that it is not necessary to calculate the distances; instead, measured values can be compared with little or no processing, thus allowing a relay attack to be easily and reliably detected, which is the preferred approach.

[0007] The object is achieved according to the invention by a method for detecting a relay attack according to claim 1 and an access system according to claim 13. Claims 2 to 12 and 14 respectively further relate to further advantageous embodiments of the method according to the invention and the access system according to the invention.

[0008] In a method according to the invention, radio signals with different frequencies can be transmitted between a first and a second object, and phase measurements and time-of-flight measurements (pulse time-of-flight measurements, ToF) can be carried out on these radio signals, wherein the range of frequencies of the radio signals at which time-of-flight measurements are carried out and the range of frequencies of the radio signals at which phase measurements are carried out overlap in a frequency interval, in particular are identical, and in this frequency interval the change in the phase measurements when the frequency changes or the change in the phase shifts when the frequency changes is compared with the signal propagation measurements or their change when the frequency changes, and wherein if a predetermined deviation or a deviation determined from measurements on the radio signals is exceeded,in particular from a predetermined value or a value determined from measurements of the radio signals, a relay attack is assumed and / or access or release is denied, a requested action or operation is not carried out and / or an alarm or blocking is triggered and / or where, if the deviation falls below the predetermined value or a value determined from measurements, in particular signal flow measurements, in particular from a predetermined value or a value determined from measurements of the radio signals, the absence of a relay attack is assumed, access or release is granted and / or the requested action or operation is carried out and / or the alarm or blocking is not triggered. The predetermined deviation is in particular a value that corresponds to a distance difference of more than one meter, in particular more than two meters, and / or less than five meters,In particular, less than three meters. The comparison need not be made by converting to distances, but the deviation can also be predetermined in other units that allow for comparison.

[0009] A conversion is particularly possible using the relationship Phasenverschiebung = 2 Pi * Entfernung * Frequenz / c , It should be noted that from a certain distance onwards an ambiguity has to be taken into account and c is equal to the speed of light and by means of the relationship RTT = 2 * Entfernung / c .

[0010] This leads to the following, neglecting the ambiguity: Phasenverschiebung = Pi * RTT * c * Frequenz / c And / or dPhasenverschiebung f 1 , f 2 = Pi * RTT * c * dFrequenz f 1 , f 2 / c .

[0011] This results in (again showing the ambiguity): dPhasenverschiebung f 1 , f 2 RT / dFrequenz f 1 , f 2 = Pi * RTT

[0012] It should be noted that ambiguity arises at distances greater than c / dFrequency. In most applications, however, the frequency spacing can be chosen such that ambiguities do not arise, at least at distances under 150 meters. In particular, the possible distance and / or the frequency difference dFrequency is / are chosen such that ambiguity does not arise or can be neglected. In particular, the distance is less than the speed of light divided by the frequency difference of the phase shift measurement, in particular at least half as small, in particular less than 300 meters, in particular less than 150 meters.

[0013] Here, phase shift(f1,f2) RT is a phase shift between the transmissions at frequencies f1 and f2 from one object to another and back, which occurs due to the distance. It can be approximately equated to twice the phase shift that occurs during transmission from one object to another due to the distance. Furthermore, dphaseshift(f1,f2) is the distance-corrected, if necessary, phase shift difference between the radio signals received at frequencies f1 and f2, dfrequency is their difference, and c is the speed of light. RTT is the signal round-trip time from one object to another and back. Instead of accepting the ambiguity problem, one can also resolve the ambiguity using other methods and formulate the ambiguity resolution by adding the determined correction term.

[0014] The signal propagation time is determined, in particular, at one or more frequencies in the range from 90% f1 to 110% f2, where f1 is smaller than f2. In particular, f1, f2, and f3 are in the range from 1 GHz to 10 GHz, in particular in the range from 2 MHz to 6 GHz, and in particular, they are frequencies of a Bluetooth channel.

[0015] According to the invention, embodiments in which changes in the phase measurements when the frequency changes, or in which changes in the phase shift resulting from the distance, when the frequency changes, are compared relative to the change in frequency with the signal propagation time measurement. Or to put it another way, particularly preferably changes in the phase measurements or, in particular, distance-related phase shifts when the frequency changes are compared with the signal propagation time measurements, and this comparison is carried out for different frequencies, and it is checked whether these comparisons lead to comparison values that lie within a predetermined range or a range determined from measurements on the radio signals, or exceed a predetermined deviation or a deviation determined from measurements on the radio signals, in particular from a predetermined value or a value determined from measurements on the radio signals.In particular, if the comparison values are outside the range or interval or if the deviation is exceeded, a relay attack is assumed to have been detected and / or otherwise it is concluded that no relay attack has occurred.

[0016] The change in phase shift caused by or resulting from the change in frequency is due to the fact that, especially when the distance is approximately the same for both measurements, a different number of wave trains fit the distance and therefore the phase shift caused by the distance varies between the frequencies. This change in phase shift due to the frequency is the phase change caused by the change in frequency. This causes problems when measuring because the phase measurement is always dependent on a reference and an often undefined phase jump can occur when switching to transmit between different frequencies. Thus, switching for transmitting, and especially for receiving, is preferably phase-coherent, i.e. with a phase jump of zero. However, it is also sufficient to determine or know the phase jump.Then the phase change caused by the frequency change can be determined as the measured phase change corrected by the phase jump when switching the transmitter and the phase jump when switching at the receiver to measure the measured phase change.

[0017] The comparison can be carried out as follows by determining a comparison coefficient k and checking whether this lies within a given range as a predetermined deviation. dPhasenverschiebung f 1 , f 2 / dFrequenz f 1 , f 2 / RTT = k

[0018] However, this is not preferred. Rather, it is preferred to work without forming a ratio, but to determine a difference and check whether this lies within a predetermined range as a predetermined deviation, for example the difference between the measured signal propagation time (pulse signal propagation time, ToF) (in only one direction, i.e. about 0.5 RTT) and the term dPhasenverschiebung f 1 , f 2 / dFrequenz f 1 , f 2 / 2 / Pi and to check whether the result lies within a given range. Of course, differences can also be formed between similar expressions, such as between RTT × Pi und dPhasenverschiebung f 1 , f 2 / dFrequenz f 1 , f 2

[0019] This is done in particular by determining the change between the received phase positions, corrected for phase changes occurring during transmission, at two, in particular adjacent, frequencies, in particular with a frequency difference of less than 5%, in particular less than 1%, of the lower frequency and / or less than 17 MHz, in particular less than 10 MHz, in particular less than 9 MHz, in particular less than 2 MHz, and comparing their ratio with the signal propagation time, for example at one of the frequencies or the averaged signal propagation time of both frequencies or the signal propagation time at a similar frequency, in particular with a frequency difference of less than 5%, in particular less than 1%, of the lower frequency and / or less than 17 MHz, in particular less than 10 MHz, in particular less than 9 MHz, in particular less than 2 MHz, or similar. This can be done in particular by forming a ratio.This can also be normalized by dividing the phase measurement frequencies by the frequency difference. Repeating this for multiple phase measurement frequency pairs results in fluctuations that must be within a predetermined interval or an interval determined from measurements of the radio signals to rule out a relay attack. This can be formulated, for example, as follows: . For signal flow in one direction only: Or Or For signal round trip: Or Or

[0020] Where Delta_phase shift(f1->f2) is the distance-dependent phase shift difference of the radio signals received at frequency f1 and frequency f2, corrected if necessary (for phase changes occurring during radiation), Delta_frequency(f1->f2) is the difference between frequencies f1 and f2, and Signal propagation time(f3 ~ f1|f2) is the simple signal propagation time between the objects at a frequency similar to f1 or f2, whereby similar is in particular all frequencies which have a deviation of less than plus or minus 5%, in particular less than plus or minus 2%, in particular less than plus or minus 1%, in particular less than plus or minus 0.4%, from f1 or f2 and / or less than 17 MHz, in particular less than 10 MHz, in particular less than 2 MHz. A deviation in the range of plus or minus Y is understood in particular to mean a deviation in the range from -Y to +Y.X(f1f2f3) then represents the comparison value for the frequency triplet f1, f2, f3, which must lie within a predetermined interval or one determined from measurements of the radio signals in order to deny a relay attack, or if it lies outside the interval, a relay attack is assumed. The interval can be given by a deviation from a value. The smaller the differences between f1, f2, and f3 in X(f1f2f3), the more accurate the procedure, as long as the means used are able to sufficiently resolve the differences by the distance between f1 and f2. The more different frequency triplet sets located at greater distances in the frequency band (with frequencies f1, f2, and f3 in the frequency triplet that are as similar as possible (as long as the means used are able to sufficiently resolve the differences)) are tested, the more reliable the detection is.In practice, it has proven useful to select a difference between the frequencies f1 and f2 of at least 0.1 MHz. f3 can also be equal to f1 or f2. Signals from the phase measurement can be reused for the propagation time measurement, so that f3 is advantageously equal to f1 or f2, or two signal propagation times can be used at f1 and f2 and averaged, for example. These can then be considered the signal propagation time (f3 = (f1 + f2) / 2).

[0021] Correcting the phase measurement at the receiver is particularly advantageous when phase-coherent frequency switching without phase jump is not carried out at the transmitter and / or receiver. This is because it is not the phase measured during reception itself that is important, but the phase change due to distance. In Delta_Phasenwechsel(f1->f2) the two phase shifts at f1 and f2 caused by the transmission are therefore preferentially included. However, other comparisons are also possible, provided the change in the phase shift of the radio signal via the frequency change is compared with the signal propagation time and this is done at several frequencies or frequency triples. In this way, distances can also be calculated and compared. It is also possible to neutralize motion effects, for example by taking several measurements at a time offset on the same frequency, in particular by averaging the phase measurements.

[0022] Advantageously, the frequencies of the radio signals at which propagation time measurements are made and the frequencies of the radio signals at which phase measurements are made only differ insignificantly, in particular the propagation time measurements and phase measurements are made on the same radio signals. In particular, for at least half of the frequencies of the radio signals at which propagation time measurements are made, there is at least one radio signal, which can also be the same, that has a frequency with a deviation of less than 5%, at which a phase measurement is made and / or for at least half of the frequencies of the radio signals at which phase measurements are made, there is at least one radio signal, which can also be the same, that has a frequency with a deviation of less than 5%, at which a propagation time measurement is made. In such an embodiment, particularly reliable detection is possible.

[0023] Preferably, the method is carried out such that the radio signals comprise a first plurality of radio signals and a second plurality of phase measurements and a third plurality of signal propagation time measurements are carried out, wherein the second plurality of signal propagation measurements are carried out on a fourth plurality of signals with a fifth plurality of frequencies and the third plurality of signal propagation measurements are carried out on a sixth plurality of signals with a seventh plurality of frequencies, and the range of the fifth plurality of frequencies and the range of the seventh plurality of frequencies have an overlap in the frequency interval, and in this frequency interval the change in the second plurality of signal propagation measurements is compared with the change in the third plurality of signal propagation measurements or the change. Particularly reliable detection is also possible in such an embodiment.The third plurality is in particular in the range from 10 to 150, and the second plurality is in particular in the range from 10 to 300. In particular, phase measurement pairs are determined in the range from 10 to 150. In this case, adjacent phase measurements, particularly with respect to frequency, can be considered as pairs, whereby the pairs can be structured such that phase measurements are part of two pairs.

[0024] In particular, the frequencies at which the propagation time and / or phase measurements are performed are in a range of 25 to 100 MHz, in particular they completely span such a range. In particular, the frequencies are in the range of 2 to 6 GHz. In particular, the spacing between adjacent frequencies used for the propagation time and / or phase measurements is in the range of 0.1 to 10 MHz, in particular in the range of 0.5 to 10 MHz.

[0025] In particular, a transit time measurement at the frequency FI is compared with a phase shift between the frequencies Fa and Fb, where in particular Fa < = Fb and Fa - 10MHz < = FI < = Fa + 10 MHz and / or F1 < = FI < = F2 In particular, Fa - 10MHz < = Fb < = Fa + 10 MHz also applies

[0026] The predetermined deviation or range can be constant or, for example, dependent on the frequencies, for example the sum or the mean of the frequencies f1, f2, f3 or Fa, Fb, FI.

[0027] Multiple comparisons can also be performed and an aggregated comparison number determined, which is then compared with a predetermined deviation. For example, the mean of the deviation can be calculated and compared with a predetermined deviation. It is also possible to sum the extent of the excess of a predetermined deviation and the extent of the under-utilization or non-utilization with opposite signs and compare them with a predetermined total deviation. Unequal weighting during aggregation is also conceivable.

[0028] It is particularly advantageous to use phase-based measurements and / or time-of-flight measurements for distance measurement, which also allows other attacks to be detected, other functions to be implemented, and the radio signals to be used efficiently.

[0029] Preferably, the signal propagation times and / or signal propagation time changes are compared with the change in phase positions and / or phase position changes.

[0030] It is preferred to select the number of phase measurements and / or transit time measurements in the frequency interval and / or the number of frequencies at which phase measurements and / or transit time measurements are made in the frequency interval to be at least five.

[0031] The method is advantageously carried out with multiple first objects and a common second object. In particular, the common second object can represent an authentication means, such as an electronic key, e.g., a key fob. This increases the reliability of detection and makes it more difficult to defraud the system.

[0032] Preferably, the signal propagation time measurements and the phase measurements are performed simultaneously, especially at similar frequencies or within 100 ms of each other, especially within 10 ms of each other, and / or on the same radio signals. This increases accuracy and robustness against movement and environmental influences. The measurements can be performed at different frequencies with greater temporal separation.

[0033] It is particularly preferred to select the second plurality equal to the third plurality and / or the fourth plurality equal to the sixth plurality and / or the fifth plurality equal to the seventh plurality and / or the fourth plurality of radio signals equal to the sixth plurality of radio signals and / or the fifth plurality of frequencies equal to the seventh plurality of frequencies.

[0034] One radio signal is distinguished from another, in particular, by its frequency. In particular, radio signals exhibit frequency differences that exceed the frequency stability of the hardware involved.

[0035] With further advantage, particularly to simplify comparisons and make them even more robust, the change between at least two, in particular all, of the fifth plurality of frequencies and / or between at least two, in particular all, of the seventh plurality of frequencies is carried out in a phase-coherent manner. Preferably, all frequency changes of at least one of the objects are carried out in a phase-coherent manner. With a somewhat lesser advantage but still advantageous, the phase shifts occurring during the frequency change, in particular at the transmitter and / or receiver, are measured and used to correct the phase measurements.

[0036] Advantageously, the method is carried out in such a way that runtime measurements and / or phase measurements on radio signals and / or radio signals with a power below a predetermined and / or, in particular, from or taking into account received radio signals, determined lower power limit are disregarded, in particular those radio signals are disregarded which are more than 50% below the average power of the received radio signals and / or wherein runtime measurements and / or phase measurements on radio signals and / or radio signals with a power above a predetermined and / or, in particular, from or taking into account received radio signals, determined upper power limit are disregarded, in particular those radio signals are disregarded which are more than 50% above the average power of the received radio signals.

[0037] In other words, it is preferable if measurements with low received power, in particular a received power below a predetermined value or proportion of the average or maximum received power, are not taken into account and / or if measurements with very high received power, in particular a received power above a predetermined value or proportion of the average or maximum received power, are not taken into account. Such configurations allow the method to be designed to be particularly robust.

[0038] Preferably, the width of the frequency interval is at least 0.1 MHz and / or a maximum of 100 MHz and / or the frequency spacing between two consecutive different frequencies is at least 0.1 MHz and / or a maximum of 10 MHz and / or it is preferred if the different frequencies represent at least five frequencies and / or a maximum of 200 frequencies and / or wherein the radio signals are emitted on the different frequencies one after the other and / or consecutively, in particular directly consecutively, and / or wherein the bandwidth of the radio signals never exceeds 50 MHz, in particular 25 MHz.

[0039] The method is particularly advantageously used in combination with another invention. Thus, the two objects are or will be time- and / or clock-synchronized, preferably to within 10 ns or better, and the first and / or second of the two objects transmits the radio signals on multiple frequencies, and the second and / or first of the two objects receives these signals. To detect a relay attack, only the signals of the first object or the signals of the second object are used, and the method includes the decision as to whether the signals of the first or the second object are used, in particular based on at least one estimate or determination of the effects of interference on reception at both objects.

[0040] It is known to synchronize timers in two objects, both via wired and wireless connections. For example, the NTP protocol exists. Synchronization is also provided within a Bluetooth connection, in which each object has a free-running 28-bit clock with a frequency of 3.2 kHz, and each object determines its offset to a central clock and regularly corrects it. Synchronization with an accuracy of approximately 125 ns is achieved here. Improved time synchronization is also known, for example, from DE112014004426T5 or "Synchronization in Wireless Sensor Networks Using Bluetooth," Casas et al., Third International Workshop on Intelligent Solutions in Embedded Systems, 2005., ISBN: 3-902463-03-1.This can be used, for example, to save energy by having one object only receive during specific time slots known to the other object, so that it can transmit at the corresponding times. Clock synchronization is still possible, at least in the event of relatively strong one-sided interference on the radio channel, although such interference makes distance measurement impossible, very inaccurate, or very time-consuming. However, a distinction must be made between the accuracy of time synchronization and synchronization to a clock pulse of a received signal at the signal receiver. Here, there is no synchronization of two clocks on two objects; rather, the receiving object is set so that it is synchronized with the incoming signal. The signal propagation time is not important, since it does not matter when the signal was sent and / or how long it took to transmit.

[0041] In this case, only the first object can transmit, while the second object receives the signals from the first, or the second object can transmit, while the first object receives the signals from the second. Both can also be combined, particularly sequentially or alternately.

[0042] Such a method contributes to accelerating the determination of the distance and / or increasing the accuracy of the determination of the distance between two objects, even when reception is disrupted by one of the two objects. For this purpose, it may be desirable to perform the distance determination while largely dispensing with the radio signals of one transmission direction. The inventor has surprisingly discovered that it is possible to dispense with a transmission direction between time- and / or clock-synchronized objects, particularly with phase-coherent frequency changes. This ensures faster measurements, as transceiver switching times can also be largely eliminated and enables distance determination even in the event of severe one-sided interference with the radio channel.

[0043] An embodiment of the invention is characterized in that only the signals sent by the first object or (exclusively or) the signals sent by the second object are used to determine the relay attack.

[0044] Versions are possible in which only the first object transmits, as well as those in which only the second object transmits, as well as those in which both transmit but only a part of the signals, namely those sent by the first object or (exclusively or) those sent by the second object, are used to determine the distance.

[0045] The method preferably includes deciding whether to use the signals from the first or second object, in particular based on at least one estimate or determination of the effects of interference on reception at both objects. This decision can be made before or after the signals are transmitted, or after a portion of the signals are transmitted.

[0046] If speed is to be increased, it is preferable to make the decision as early as possible and to minimize the transmission of unused signals, especially after the decision to stop transmitting them. If the process is to be designed to be as robust as possible, the decision is made only after the signals from the first and second object have been transmitted. Transmitted and received signals can be used to make the decision. However, other data or measurements, such as noise or signals external to the process at the receiver, can also be used alternatively or in addition.

[0047] In particular, the radio signals of the first or (exclusively or) the second object are selected, the reception of which at the other of the two objects was, is or is expected to be less disturbed.

[0048] It is particularly advantageous if the first and / or second object switches between at least two of the multiple frequencies in a phase-coherent manner, or if a phase jump occurring at the switching object during switching is measured and taken into account in the calculation. This enables even more robust and simpler process control and distance measurement, and further advantages can be realized when using the signals by simplifying evaluations based on them. For example, if the time of the phase-coherent switch or the switch with a measured phase jump at the transmitting object is known and the switch in the received signal is determined at the receiving object, the time between transmission and reception of the switch can be determined, which represents the signal propagation time (ToF), and the phase shift can also be determined. The signal propagation time can be used to directly determine the distance using the speed of light.This is also possible via phase shift, but modulo the wavelength. Using multiple frequencies reduces the ambiguity in phase-based measurements. Combining signal-propagation time and phase-based measurements allows for particularly accurate and robust distance measurements.

[0049] Phase-coherent switching or alternation between two frequencies is understood in particular to mean that the time of switching is precisely determined or measured, and the phase after switching is known relative to the phase position before switching. This is the case when the phase change during switching is zero or a predetermined value.

[0050] Alternatively, the phase jump occurring during switching can also be measured, in particular locally, i.e. in particular before transmission or concerning the receiver at the receiver, and can be calculated out and / or corrected before and / or during the comparison.

[0051] The phase difference or jump when changing between frequencies can be known, for example, because it is predetermined or can be derived from other known quantities, for example the duration of a, in particular immediately preceding, radiation at a frequency.

[0052] The phase difference usually occurs when switching between two frequencies for technical reasons, but can also be avoided. The switching between two frequencies can be carried out with a short interruption or without interruption. At the time of the interruption, the phase jumps, or during the switchover with an interruption, the phase of the signals that are thought to continue into the interruption jumps before and after the switching. At the time of the switchover without an interruption or at an imaginary changeover time during the interruption, in particular in the middle of the interruption and / or at the end of the signal before the interruption or at the beginning of the signal after the interruption, a defined phase jump occurs. This is the phase difference.

[0053] Particularly advantageously, the receiving object and / or the receiving object also switch phase-coherently, particularly between the different frequencies. In particular, the first and second objects switch between frequencies in a phase-coherent manner. This is achieved, in particular, by phase-coherent switching of at least one PLL on the first and / or second object. In particular, the objects are configured accordingly.

[0054] It was also surprisingly discovered that the distances obtained from the one-sided distance measurement described here when using commercially available transceivers such as the somewhat older cc2500 or the current cc26xx from Texas Instruments or the Kw35 / 36 / 37 / 38 from NXP or the DA1469x from Dialog are not only dependent on the frequency used to determine the distance, but can also lead to calculated distances below the actual distance, but only at frequencies whose transmission channel is heavily attenuated, so that these can be easily eliminated in the comparison.

[0055] It is therefore advantageous in the process to partially not use radio signals with different frequencies, namely not to use those parts that are below a lower power limit.

[0056] It has also been found that shares that are above a certain performance limit should not be used.

[0057] These limits can be predetermined or determined from the received signals and in particular can be above or below the average received power, and in particular at least 20% above the average received power (upper power limit) and / or at least 20% below the average received power (lower power limit).

[0058] Preferably, signal components at frequencies with less than 40% or at least signals with less than 20%, in particular less than 40%, of the average energy of the signals and / or signals with more than 140%, in particular more than 120%, of the average energy received are not taken into account.

[0059] Advantageously, the lower power limit is in the range of 5 to 50% of the average power of the received signals and / or the upper power limit is in the range of 120 to 200% of the average power of the received signals

[0060] In another embodiment, the x% of signals with the lowest received amplitude are discarded and not used, and / or the y% of signals with the highest received amplitude are discarded and not used. It has proven particularly advantageous if the sum of x and y is not less than 10 and / or does not exceed 75, and / or x is in the range of 10 to 75 and / or y is in the range of 20 to 50. With these values, high accuracy and reliable detection can be achieved in most situations.

[0061] Advantageously, the second or (exclusive or) first object does not send signals for distance determination and / or the second or first object sends (exclusive or) signals only for time and / or clock synchronization. This saves energy and processing time.

[0062] Preferably, the first and / or second, or each of the two, objects transmits the signals on multiple frequencies consecutively and / or one after the other, particularly immediately after the other. In particular, when transmitting by the first and second objects, all signals from the first or second object are transmitted first, followed by those from the other. This allows, among other things, the influences of environmental or distance changes and of movements of one or both objects to be reduced.

[0063] Advantageously, the signal bandwidth never exceeds 50 MHz, especially 25 MHz. This saves energy, avoids interference with other processes, and allows for the use of simpler components compared to broadband methods.

[0064] Preferably, at least one time and / or clock synchronization and / or correction between the two objects is performed before, after, and / or during the execution of the method. This increases the accuracy of the method. Preferably, a drift of the clock of the first and / or second object, or a difference in the drift of the clock of the first and second object, is also determined and taken into account when determining the distance. This increases the accuracy of the method.

[0065] Advantageously, the signals are transmitted via a plurality of antenna paths, in particular with a plurality of antennas, in particular one after the other, at the transmitting object and / or received with a plurality of antennas at the receiving object.

[0066] With particular advantage, if a relay attack is detected, access or release is denied, a requested action or action is not carried out and / or an alarm or blocking is carried out and / or if a relay attack is not detected, access or release is granted and / or the requested action or action is carried out and / or the alarm or blocking is not carried out.

[0067] The problem is also solved by one or two objects, each equipped with transmitting and receiving means and a controller, configured to carry out the method according to the invention.

[0068] The objects are advantageously parts of a data transmission system, in particular a Bluetooth, WLAN, or mobile radio data transmission system. The radio signals are preferably signals of the data transmission system, in particular of a data transmission standard, for example, mobile radio standard, WLAN, or Bluetooth, which are used for data transmission in accordance with the data transmission standard.

[0069] The task is also solved by using the change in phase measurements compared to signal propagation measurements or their change between two objects, whereby the phase measurements and signal propagation time measurements are carried out on signals with overlapping frequency bandwidths to detect a relay attack.

[0070] The object is also achieved by an access system for granting and / or denying access, set up to carry out the method according to the invention and for granting and / or denying access based on the detection according to the method.

[0071] The evaluation is carried out, for example, as follows: For two frequencies f1 and f2 that are close to each other, e.g. 2410MHz and 2411MHz, the phase sum for the transmission from the first object to the second and back to the first object is determined.

[0072] Then the difference of these phase sums divided by the difference between the two frequencies is directly proportional to the distance the radio signal needed for the outward and return path and thus also to the signal propagation time.

[0073] If a ToF measurement is also performed on both frequencies, the time at both frequencies will not differ significantly, or may even be identical, and is also directly proportional to the distance the radio signal traveled for the outward and return journey. Thus, this signal propagation time can be compared with the phase change, in particular divided by the frequency difference, for example, to determine whether this ratio lies within or outside a predetermined or specific interval.

[0074] However, one can also determine the distance based on the propagation time and based on the phase difference and if these differ more than a predetermined or certain amount, a relay attack can be considered detected, for example if the calculated distances differ by 2m or more.

[0075] In this example, for example, by switching back to the first frequency, another phase difference can be obtained that contains the same amount of motion, but the distance with a negative sign. Subtracting both phase differences and dividing by two eliminates the motion. This result can then be used to continue working as with the original measurement.

[0076] Fig. 1 and Fig. 2 illustrate a possible embodiment of the invention purely schematically, by way of example and not by way of limitation.

[0077] Figure 1shows the phase of the radio signal transmitted from object 1 to object O2 for each of the two objects O1 and O2 versus the time at the respective object. Shown is an illustration of a continuous sine wave with phase-coherent frequency change without phase jump, which is sent from object 1 to object 2. If the phases phi1.1 and phi1.2 are determined at the first object during the frequency change or are known and this also applies to the times of the frequency change t1.1 and t1.2 and the time offset between the clocks of objects O1 and O2, t1 and t2, is known and the times of reception of the frequency change t2.1 and t2.2 and the then existing phases phi2.1 and ph2.2 are determined, the calculations described above can be easily carried out using the frequencies f1 and f2 and, for example, X(f1f2f3) can be determined using f3 = f1.

[0078] Figure 2shows such values for X plotted against any axis, for example, a time axis or an axis that indicates the sum or average of the frequencies f1, f2, f3. An interval is also marked with a dashed line. If X lies within the interval, no relay attack is detected; if X deviates from this interval, a relay attack is detected, which is the case for the two right-hand values for X.

Claims

1. Procedure for the detection of a relay attack, wherein radio signals with different frequencies (f1, f2, f3) are transmitted between a first and a second object (O1, O2), wherein switching is carried out between the different frequencies for transmitting and receiving the frequencies, and phase measurements are carried out on these radio signals with different frequencies and wherein these are compared with a reference and wherein a relay attack is assumed if a predetermined deviation or a deviation determined from measurements on the radio signals is exceeded, access or authorisation is denied, a requested action or action is not carried out and / or an alarm or blocking is carried out and / or the absence of a relay attack is assumed if the deviation falls below the predetermined deviation or deviation determined from measurements, in particular signal propagation time measurements, the access or the release is granted and / or the requested action or action is carried out and / or the alarming or blocking is not carried out, characterised in that at least one signal propagation time measurement is also carried out on the radio signals, and in that the change in the phase measurements between different of the frequencies relative to the frequency change of the frequencies when switching between the frequencies is compared with the at least one signal propagation time measurement or its change as a reference, wherein the switching is phase coherent or a phase jump resulting from the switching is known or determined and the measured phase change is corrected by the phase jump or wherein the change in the phase measurements between different ones of the frequencies are those between the transmissions at the frequencies from one object to the other and back.

2. Procedure according to claim 1, wherein the range of frequencies of the radio signals at which signal propagation time measurements are made and the range of frequencies of the radio signals at which phase measurements are made have an overlap in a frequency interval and in this frequency interval the change in the phase measurements relative to the frequency change is compared with the signal propagation time measurements or their change as a reference.

3. Procedure according to claim 2, wherein the radio signals comprise a first plurality of radio signals and a second plurality of phase measurements and a third plurality of signal propagation time measurements are performed, wherein the second plurality of phase measurements is performed on a fourth plurality of signals having a fifth plurality of frequencies and the third plurality of signal delay measurements is performed on a sixth plurality of signals having a seventh plurality of frequencies and the span of the fifth plurality of frequencies and the span of the seventh plurality of frequencies have an overlap in the frequency interval and in this frequency interval the change in the second plurality of phase measurements is compared with the change in the third plurality of signal delay measurements or the change.

4. Procedure according to claim 3, wherein the second plurality is equal to the third plurality and / or the fourth plurality is equal to the sixth plurality and / or the fifth plurality is equal to the seventh plurality and / or the fourth plurality of radio signals is equal to the sixth plurality of radio signals and / or the fifth plurality of frequencies is equal to the seventh plurality of frequencies and / or wherein the second plurality of phase measurements and the third plurality of signal propagation time measurements are made on the same of the first plurality of radio signals and / or wherein the second plurality of phase measurements and the third plurality of signal propagation time measurements are made on the first plurality of radio signals, wherein, in particular in each case, a group of a phase difference measurement determined from the second plurality of phase measurements and a signal propagation time or signal propagation time change measurement of the or determined from the third plurality are used for the comparison, wherein the frequencies of the radio signals on which the measurements of a group are made deviate from one another by less than 5%, in particular less than 2%, in particular less than 1%, in particular less than 0.4%, of the highest frequency in the pair and / or less than 17 MHz, in particular less than 9 MHz, in particular less than 2 MHz, and / or the measurements of a pair are made with a time interval of less than 100 ms, in particular less than 10 ms.

5. Procedure according to one of the preceding claims, wherein a first distance between the first and second object and / or a first value proportional to the distance between the first and second object is determined from two phase measurements at different frequencies (F1, F2, Fa, Fb), in particular using an ambiguity correction, and a second distance, in particular modulo the uniqueness interval of the phase measurements, is determined from the signal propagation time measurement, in particular at a frequency (F3, F1), between the first and second objects and / or a second value proportional to the distance between the first and second objects is determined and the difference between the first and second distances or the difference between the first and second values is determined as a comparison, wherein the proportionality of the first and second values is in particular identical and / or the distance can be determined from the first and second values in each case by the same arithmetic operation.

6. Procedure according to one of the preceding claims, wherein the phase-based measurements and / or signal propagation time measurements are used for distance measurement and / or wherein the signal propagation times and / or signal propagation time changes are compared with the change of phase positions and / or change of phase position changes.

7. Procedure according to one of the preceding claims 2, 3, or 4, wherein the number of phase measurements and / or the number of signal delay measurements in the frequency interval and / or the number of frequencies at which phase measurements and / or signal delay measurements are made in the frequency interval is at least five and / or wherein the Procedure is carried out with several first objects and a common second object and / or wherein the signal delay measurements and the phase measurements are made simultaneously or within 100ms, in particular 10ms, and / or on the same radio signals.

8. Procedure according to one of the preceding claims 3 to 7, wherein the change between at least two of the fifth plurality of frequencies and / or between at least two of the seventh plurality of frequencies is phase-coherent and / or the phase shift occurring during the frequency change is measured and used to correct the phase measurements.

9. Procedure according to one of the preceding claims, wherein signal propagation time measurements and / or phase measurements on radio signals and / or radio signals with a power below a predetermined and / or, in particular from or taking into account received radio signals, received radio signals are not taken into account, in particular such radio signals are not taken into account, which are more than 50% below the average power of the received radio signals and / or whereby signal propagation time measurements and / or phase measurements on radio signals and / or radio signals with a power above a predetermined upper power limit and / or radio signals determined in particular from or taking into account received radio signals are not taken into account, in particular radio signals which are more than 50% above the average power of the received radio signals are not taken into account.

10. Procedure according to one of the preceding claims, wherein the measurements with low received power, in particular received power below a predetermined value or proportion of the average or maximum received power, are not taken into account.

11. Procedure according to one of the preceding claims 2 to 10, wherein the width of the frequency interval is at least 0.1 MHz and / or at most 100 MHz and / or wherein the frequency spacing between two successive ones of the different frequencies is at least 0.1 MHz and / or at most 10 MHz and / or the different frequencies represent at least five frequencies and / or at most 200 frequencies and / or wherein the radio signals are emitted on the different frequencies one after the other and / or successively, in particular immediately after one another, and / or wherein the bandwidth of the radio signals does not exceed 50 MHz, in particular 25 MHz, at any time.

12. Procedure according to one of the preceding claims, wherein the two objects are time and / or clock synchronised to 10ns or better and wherein the first and / or second of the two objects emits signals on several frequencies and the second and / or first of the two objects receives these signals, wherein only the signals of the first object or the signals of the second object are used to detect a relay attack and the Procedure comprises deciding whether the signals of the first or the second object are used, in particular on the basis of at least one estimation or determination of effects of interference on the reception at both objects.

13. An access system for granting and / or denying access, adapted to perform a Procedure for the detection of a relay attack according to any one of claims 1 to 12.

14. Access system according to the preceding claim, arranged to determine a first distance between the first and second object and / or a first value proportional to the distance between the first and second object from each of two phase measurements and a second distance between the first and second object and / or a second value proportional to the distance between the first and second object from the signal propagation time measurement and to determine the difference between the first and second distance or the difference between the first and second value as a comparison, wherein the proportionality of the first and second value is in particular identical and / or the distance can be determined from the first and second value in each case by the same arithmetic operation.