WO2019073234A1 - Détection d'attaque par reproduction - Google Patents
Détection d'attaque par reproduction Download PDFInfo
- Publication number
- WO2019073234A1 WO2019073234A1 PCT/GB2018/052906 GB2018052906W WO2019073234A1 WO 2019073234 A1 WO2019073234 A1 WO 2019073234A1 GB 2018052906 W GB2018052906 W GB 2018052906W WO 2019073234 A1 WO2019073234 A1 WO 2019073234A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- source
- signal
- frequency component
- microphone
- frequency
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/32—User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0861—Network architectures or network communication protocols for network security for authentication of entities using biometrical features, e.g. fingerprint, retina-scan
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/14—Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
- H04L63/1408—Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic by monitoring network traffic
- H04L63/1425—Traffic logging, e.g. anomaly detection
Definitions
- Embodiments described herein relate to methods and devices for detecting a replay attack on a voice biometrics system.
- Voice biometrics systems are becoming widely used.
- a user trains the system by providing samples of their speech during an enrolment phase.
- the system is able to discriminate between the enrolled user and non- registered speakers.
- Voice biometrics systems can in principle be used to control access to a wide range of services and systems.
- One way for a malicious party to attempt to defeat a voice biometrics system is to obtain a recording of the enrolled user's speech, and to play back the recording in an attempt to impersonate the enrolled user and to gain access to services that are intended to be restricted to the enrolled user.
- a replay attack This is referred to as a replay attack, or as a spoofing attack.
- a method of detecting a replay attack on a voice biometrics system comprising:
- the speech signal may result from a replay attack if the position of the source of the first frequency component differs from the position of the source of the second frequency component by more than a threshold amount.
- a system for detecting a replay attack in a speaker recognition system the system being configured for performing the method of the first aspect.
- a device comprising a system according to the other aspect.
- the device may comprise a mobile telephone, an audio player, a video player, a mobile computing platform, a games device, a remote controller device, a toy, a machine, or a home automation controller or a domestic appliance.
- a computer program product comprising a computer-readable tangible medium, and instructions for performing a method according to the first aspect.
- a non-transitory computer readable storage medium having computer-executable instructions stored thereon that, when executed by processor circuitry, cause the processor circuitry to perform a method according to the first aspect.
- a device comprising the non-transitory computer readable storage medium according to the previous aspect.
- the device may comprise a mobile telephone, an audio player, a video player, a mobile computing platform, a games device, a remote controller device, a toy, a machine, or a home automation controller or a domestic appliance.
- a method of detecting a replay attack on a voice biometrics system comprising:
- a system for detecting a replay attack on a voice biometrics system the system being configured for performing the method.
- a speech recognition system for example a voice biometrics system
- the method comprising:
- a system for detecting a replay attack on a speech recognition system for example a voice biometrics system, the system being configured for performing the method.
- a method of detecting a replay attack on a voice biometrics system comprising:
- generating a first signal from received sound at a first microphone wherein the first signal has a first component at a first frequency and a second component at a second frequency, and wherein the first frequency is higher than the second frequency; generating a second signal from the received sound at a second microphone, wherein the second signal has a first component at the first frequency and a second component at the second frequency;
- determining that the received sound may result from a replay attack if the width of the central lobe of the determined second correlation function exceeds the width of the central lobe of the determined first correlation function by more than a threshold value.
- a system for detecting a replay attack on a voice biometrics system the system being configured for performing the method.
- a device comprising a system according to any previous aspect.
- the device may comprise a mobile telephone, an audio player, a video player, a mobile computing platform, a games device, a remote controller device, a toy, a machine, or a home automation controller or a domestic appliance.
- a computer program product comprising a computer-readable tangible medium, and instructions for performing a method according to the second aspect.
- a non-transitory computer readable storage medium having computer-executable instructions stored thereon that, when executed by processor circuitry, cause the processor circuitry to perform a method according to the second aspect.
- a device comprising the non-transitory computer readable storage medium according to the previous aspect.
- the device may comprise a mobile telephone, an audio player, a video player, a mobile computing platform, a games device, a remote controller device, a toy, a machine, or a home automation controller or a domestic appliance.
- Figure 1 illustrates a smartphone.
- Figure 2 is a schematic diagram, illustrating the form of the smartphone.
- Figure 3 illustrates a first situation in which a replay attack is being performed
- Figure 4 illustrates a second situation in which a replay attack is being performed
- Figure 5 shows a part of Figure 4 in more detail
- Figure 6 illustrates sound transmission in the arrangement of Figure 5
- Figure 7 is a flow chart illustrating a method
- Figure 8 is a block diagram illustrating a system for performing the method of Figure 7;
- Figure 9 illustrates a stage in the method of Figure 7;
- Figure 10 illustrates a stage in the method of Figure 7
- Figure 1 1 illustrates a stage in the method of Figure 7
- Figure 12 illustrates a result of performing a method of Figure 7
- Figure 13 illustrates a further result of performing a method of Figure 7
- Figure 14 illustrates a third situation in which a replay attack is being performed
- Figure 15 illustrates sound transmission in the arrangement of Figure 14
- Figure 16 is a flow chart illustrating a method
- Figure 17 is a block diagram illustrating a system for performing the method of Figure 16;
- Figure 18 illustrates a first result of performing the method of Figure 16.
- Figure 19 illustrates a second result of performing the method of Figure 16.
- implementation occurs in a smartphone.
- Figure 1 illustrates a smartphone 10, having microphones 12, 12a, and 12b for detecting ambient sounds.
- the microphone 12 is of course used for detecting the speech of a user who is holding the smartphone 10, while the
- microphones 12a, 12b are provided on the upper part of the sides of the smartphone 10, and are therefore not clearly visible in Figure 1.
- FIG. 2 is a schematic diagram, illustrating the form of the smartphone 10.
- Figure 2 shows various interconnected components of the smartphone 10. It will be appreciated that the smartphone 10 will in practice contain many other components, but the following description is sufficient for an understanding of the present invention.
- Figure 2 shows the microphone 12 mentioned above.
- the smartphone 10 is provided with multiple microphones 12, 12a, 12b, etc.
- Figure 2 also shows a memory 14, which may in practice be provided as a single component or as multiple components.
- the memory 14 is provided for storing data and program instructions.
- Figure 2 also shows a processor 16, which again may in practice be provided as a single component or as multiple components.
- one component of the processor 16 may be an applications processor of the smartphone 10.
- Figure 2 also shows a transceiver 18, which is provided for allowing the smartphone 10 to communicate with external networks.
- the transceiver 18 may include circuitry for establishing an internet connection either over a WiFi local area network or over a cellular network.
- Figure 2 also shows audio processing circuitry 20, for performing operations on the audio signals detected by the microphone 12 as required.
- the audio processing circuitry 20 may filter the audio signals or perform other signal processing operations.
- Figure 2 also shows at least one sensor 22.
- the sensor is a magnetic field sensor for detecting a magnetic field.
- the senor 22 may be a Hall effect sensor, that is able to provide separate measurements of the magnet field strength in three orthogonal directions.
- sensors which may be used may comprise gyro sensors, accelerometers, or software-based sensors operable to determine phone orientation, wherein such software-based sensors may operate in combination with software programs such as such as the FaceTimeTM system provided by Apple, Inc.
- the smartphone 10 is provided with voice biometric functionality, and with control functionality.
- the smartphone 10 is able to perform various functions in response to spoken commands from an enrolled user.
- the biometric functionality is able to distinguish between spoken commands from the enrolled user, and the same commands when spoken by a different person.
- certain embodiments of the invention relate to operation of a smartphone or another portable electronic device with some sort of voice operability, for example a tablet or laptop computer, a games console, a home control system, a home entertainment system, an in-vehicle entertainment system, a domestic appliance, or the like, in which the voice biometric functionality is performed in the device that is intended to carry out the spoken command.
- Certain other embodiments relate to systems in which the voice biometric functionality is performed on a smartphone or other device, which then transmits the commands to a separate device if the voice biometric functionality is able to confirm that the speaker was the enrolled user.
- the spoken commands are transmitted using the transceiver 18 to a remote speech recognition system, which determines the meaning of the spoken commands.
- the speech recognition system may be located on one or more remote server in a cloud computing environment. Signals based on the meaning of the spoken commands are then returned to the smartphone 10 or other local device. In other embodiments, the speech recognition system is also provided on the smartphone 10.
- One attempt to deceive a voice biometric system or an automatic speech recognition system is to play a recording of an enrolled user's voice in a so-called replay or spoof attack.
- One method is therefore described herein with reference to one example, where it is desirable to detect when sound is being played through a loudspeaker, rather than being generated by a human speaker.
- the method is equally applicable to other situations in which it is useful to detect whether sound is coming from a point source or a more diffuse source.
- One such example might be when it is desired to detect when the sound received by an automatic speech recognition system has been generated by a loudspeaker.
- FIG 3 shows an example of a situation in which a replay attack is being performed.
- the smartphone 10 is provided with voice biometric functionality.
- the smartphone 10 is in the possession, at least temporarily, of an attacker, who has another smartphone 30.
- the smartphone 30 has been used to record the voice of the enrolled user of the smartphone 10.
- the smartphone 30 is brought close to the microphone inlet 12 of the smartphone 10, and the recording of the enrolled user's voice is played back. If the voice biometric system is unable to detect that the enrolled user's voice that it detects is a recording, the attacker will gain access to one or more services that are intended to be accessible only by the enrolled user.
- loudspeakers that are of relatively low quality due to size constraints.
- the recording of an enrolled user's voice played back through such a loudspeaker will not be a perfect match with the user's voice, and this fact can be used to identify replay attacks.
- loudspeakers may have certain frequency characteristics, and if these frequency characteristics can be detected in a speech signal that is received by the voice biometrics system, it may be considered that the speech signal has resulted from a replay attack.
- FIG 4 shows a second example of a situation in which a replay attack is being performed, in an attempt to overcome the method of detection described above.
- the smartphone 10 is provided with voice biometric functionality.
- the smartphone 10 is in the possession, at least temporarily, of an attacker, who has another smartphone 140.
- the smartphone 140 has been used to record the voice of the enrolled user of the smartphone 10.
- the smartphone 140 is connected to a high quality loudspeaker 150. Then, the smartphone 10 is positioned close to the loudspeaker 150, and the recording of the enrolled user's voice is played back through the loudspeaker 150. As before, if the voice biometric system is unable to detect that the enrolled user's voice that it detects is a recording, the attacker will gain access to one or more services that are intended to be accessible only by the enrolled user.
- the loudspeaker 150 may be of high enough quality that the recording of the enrolled user's voice played back through the loudspeaker will not be reliably distinguishable from the user's voice, and so the audio features of the speech signal cannot be used to identify the replay attack.
- many loudspeakers, and particularly high quality loudspeakers are electromagnetic loudspeakers in which an electrical audio signal is applied to one or both of two voice coils, which are located between the poles of permanent magnets, causing the coil or coils to move rapidly backwards and forwards. This movement of a coil causes a respective diaphragm attached to the coil to move backwards and forwards, creating sound waves.
- Figure 5 illustrates the general form of one such loudspeaker device 150 that is in widespread use. Specifically, the illustrated loudspeaker device 150 has two
- loudspeakers with respective voice coils and diaphragms, as described above.
- the first of these loudspeakers is a woofer 152, which is intended to play back relatively low frequency sounds, for example at frequencies up to 1 kHz, or at frequencies up to 2kHz.
- the second of the loudspeakers is a tweeter 154, which is intended to play back relatively high frequency sounds, for example at frequencies from 2kHz up to at least the top of the audio frequency range at 20kHz.
- loudspeaker devices that include more than two loudspeakers, which are intended to play back different frequencies.
- the method described herein can be used to identify replay attacks that use those loudspeaker devices too.
- Figure 6 shows a typical arrangement, in which the loudspeaker device 150 is being used to replay speech that is detected by the smartphone 10.
- Figure 6 shows sounds from the woofer 152 reaching the microphone 12 that is located at the bottom end of the smartphone 10, and also reaching the microphones 12a and 12b that are located at the top end of the smartphone 10.
- Figure 6 also shows sounds from the tweeter 154 reaching the microphone 12 that is located at the bottom end of the smartphone 10, and also reaching the microphones 12a and 12b that are located at the top end of the smartphone 10.
- Figure 6 shows a flow chart, illustrating a method of detecting a replay attack on a voice biometrics system
- Figure 8 is a block diagram illustrating functional blocks in the voice biometrics system.
- Figure 8 shows a voice biometrics system 180, in which audio signals generated by one or more of the microphones 12, 12a, 12b in response to detected ambient sounds are passed to a feature extraction block 182, in order to obtain features of the speech that is detected in the signals.
- the extracted features are passed to a model compare block 184, in which the extracted features are compared with the features of one or more model of the speech of an enrolled user. For example, there may be only one enrolled user of a voice biometrics system associated with one particular device 10. Then, the extracted features of the detected speech are compared with the model of that user's speech, in order to decide whether the detected speech should be considered to be the speech of the enrolled user.
- speech signals are received from at least a first microphone 12 and a second microphone 12a.
- signals generated by the microphones 12, 12a may be passed to a voice activity detector, and only those segments of the signals that contain speech may be processed further.
- the speech signal generated by the microphone 12 is passed to a first filter bank 186, and the speech signal generated by the microphone 12a is passed to a second filter bank 188.
- the filter banks 186, 188 extract components of the speech signals at at least first and second frequencies.
- the filter banks 186, 188 may extract components in a first relatively narrow frequency band and in a second relatively narrow frequency band.
- the two frequency bands may have bandwidths of, say 10-200Hz.
- the first frequency band may be centred on a frequency in the range of 100Hz-1 kHz, for example at 200Hz.
- the second frequency band may be centred on a frequency in the range of 2kHz-15kHz, for example at 5kHz.
- the filter banks 186, 188 may extract components in a first relatively wide frequency band and in a second relatively wide frequency band.
- the two frequency bands may have bandwidths of, say 200Hz-2kHz.
- the first frequency band may be centred on a frequency in the range of 100Hz-1 kHz, for example at 200Hz.
- the second frequency band may be centred on a frequency in the range of 2kHz-15kHz, for example at 5kHz.
- the filter bank may be implemented as a Fast Fourier Transform (FFT) block.
- FFT Fast Fourier Transform
- the extracted frequency components are passed to a position information derivation block 190.
- the position information derivation block 190 obtains information about a position of a source of the first frequency component of the speech signal, relative to the first and second
- the position information derivation block 190 obtains information about a position of a source of the second frequency component of the speech signal, relative to the first and second microphones. In one embodiment, the position information derivation block 190 obtains information about the positions of the sources of the frequency components by determining an angle of arrival of each frequency component at the first and second microphones.
- correlation methods will be used to determine the time difference between two signals.
- a method known as generalised cross- correlation using phase transform can be used to estimate the time delay for an arbitrary waveform.
- GCC-PHAT would be applied to the different frequency bands to measure the relative delay. These delays can then be transformed into an angle of arrival that provides information about the position of the source of the signal in that frequency band. Beamformers may be used.
- sounds emanating from the woofer 152 will have a shorter path to the microphone 12 than to the microphone 12a, and so they will arrive at the microphone 12 before they arrive at the microphone 12a.
- This time difference can be used to provide some information about the position of the source of any component of the speech signal that is being produced by the woofer 152.
- sounds emanating from the tweeter 154 will have a shorter path to the microphone 12a than to the microphone 12a, and so they will arrive at the microphone 12a before they arrive at the microphone 12.
- This time difference can be used to provide some information about the position of the source of any component of the speech signal that is being produced by the tweeter 154.
- the respective time difference can be determined by calculating a cross-correlation between the signals received at the two microphones 12, 12a.
- the peak in the cross-correlation value will indicate the difference in the time of arrival of the relevant frequency component at the two microphones.
- the method described herein does not rely on any assumption about the position of the device 10 relative to the speaker device 150. For most positions of the device, the time difference between the signals from the woofer 152 arriving at the two microphones 12, 12a will be different from the time difference between the signals from the tweeter 154 arriving at the two microphones 12, 12a.
- Figure 9 illustrates the form of the processing to determine the cross-correlation for one frequency component. Specifically, Figure 9 shows the form of the processing to perform a Generalised Cross Correlation with PHAse Transform (GCC-PHAT). This combines the computational efficiency of a transform-domain processing with a spectral whitening state to calculate the correlation function with the narrowest lobe.
- GCC-PHAT Generalised Cross Correlation with PHAse Transform
- Signals from two microphones 1 1 10, 1 1 12 are passed to respective Fast Fourier Transform (FFT) blocks 1 1 14, 1 1 16.
- FFT Fast Fourier Transform
- the signals that are passed to the FFT blocks 1 1 14, 1 1 16 are the relevant frequency components of the signals generated by the microphones 1 1 10, 1 1 12.
- the outputs of the FFT blocks 1 1 14, 1 1 16 are passed to a correlation block 1 1 18.
- the output of the correlation block 1 1 18 is passed to a normaliser 1 120, and the result of the normalisation is passed to an Inverse Fast Fourier Transform (IFFT) block 1 122 to give the correlation result.
- IFFT Inverse Fast Fourier Transform
- the output of the IFFT block 1 122 is the cross-correlation result for one frequency component, between the signals generated by the first and second microphones in response to that frequency component.
- the signals received by the two microphones will typically be the same, but with an offset that depends on the time difference of arrival of the signal at the two microphones.
- Figure 10 shows the general form of the cross-correlation 1 128.
- the peak 1 130 of the cross-correlation 1 128 occurs at a sample offset value that corresponds to a specific time difference of arrival. However, obtaining this directly from the cross-correlation
- the accuracy of the determination can be improved by interpolating the cross- correlation 1 128 to determine the position of the peak 1 130.
- One method that can be used for this is to apply a parabolic interpolator on the peak of the correlation waveform. That is, a point close to the peak 1 130 is chosen, and then one point on either side of that first point is also chosen. A parabolic interpretation is performed in order to find the actual position of the peak.
- a second order polynomial interpolation is performed on the smoothed power spectrum, using 3 points: the left and right crossing of the selected data with 0.8 (frequencies fieft and fright), and the central frequency is.
- This equation can then be solved to obtain the value of f at which the peak value occurs, and this can be converted back to a time difference.
- An alternative, and possibly more robust, method for finding the location of the peak 1 130, and hence the time difference of arrival between the signals received at the two microphones is to use the Hilbert transform to shift the phase of the waveform.
- the imaginary part of the Hilbert transformed waveform is shown by the reference numeral 1 132 in Figure 10.
- the peak 1 130 of the waveform 1 128 now corresponds to the point at which the waveform 1 132 crosses the zero line, and this can be found by using a zero cross based interpolation. This is now a subsample method and limited to the accuracy of the sample rate. Thus, for this particular frequency component of the received sound, it is possible to find the time difference of arrival of the sound at the two microphones.
- Figure 11 shows the situation where the source of the sound is in the far field. That is, the source is far enough from the microphones that the respective paths 1 140, 1 142 from the source to the two microphones 1 144, 1 146 can be considered parallel.
- d is the distance between the microphones 1 144, 1 146
- ⁇ is the angle of approach of the paths 1 140, 1 142 from the source to the microphones 1 144, 1 146.
- Figure 12 illustrates the results obtained for an example in which the received input signal is divided into two frequency components. Specifically, Figure 12 shows an angle of approach ⁇ at a frequency fi and an angle of approach ⁇ 2 at a frequency f 2 .
- the time difference between the times of arrival at the two microphones gives some information about the position of the source of the first frequency component and the position of the source of the second frequency component, although in this embodiment that information does not precisely indicate the positions of the sources.
- the position information is passed to a comparator block 192, for comparing the position of the source of the first frequency component and the position of the source of the second frequency component.
- the position of the source of the first frequency component differs from the position of the source of the second frequency component by more than a threshold amount.
- a threshold amount it may be determined that the position of the source of the first frequency component differs from the position of the source of the second frequency component by more than the threshold amount if the difference between the angles of approach ⁇ and ⁇ 2 exceeds a threshold amount.
- the speech signal may have been generated by a loudspeaker, and hence may result from a replay attack.
- the operation of the voice biometrics system is adapted.
- the output from the model compare block 184 may be accompanied by some information about the possibility that the input signal may result from a replay attack. This information can then be taken into consideration when deciding whether to treat the received speech signal as coming from the enrolled user and to act on it.
- the operation of the model compare block 184 may be adapted or even prevented.
- the embodiment described so far filters two frequency components of the received speech signal, and obtains information about the positions of the sources of those two components.
- more than two frequency components may be filtered from the received speech signal.
- the result that would be characteristic of a signal generated by a loudspeaker device including a woofer and a tweeter would be that all of the low frequency components are found to come from one source location, and all high frequency components are found to come from a different source location.
- Figure 13 illustrates this, in the case where the position information relates to the angle of approach of a frequency component of the received input signal.
- six frequency components have been extracted, with angles of approach ⁇ - ⁇ 6 corresponding to frequencies fi - f 6 , respectively.
- the average angles of approach can be considered to give information about the positions of the sources of a first frequency component and a second frequency component, and it can then be determined that the speech signal may result from a replay attack if the position of the source of the first frequency component differs from the position of the source of the second frequency component by more than a threshold amount.
- the largest value ⁇ 5 of the angle of approach can be compared with the smallest value ⁇ 2 of the angle of approach and it can then be determined that the speech signal may result from a replay attack if the position of the source of the frequency component with the largest value ⁇ 5 of the angle of approach differs from the position of the source of the frequency component with the smallest value ⁇ 2 of the angle of approach by more than a threshold amount.
- the second largest value ⁇ 4 of the angle of approach can be compared with the second smallest value ⁇ of the angle of approach and it can then be determined that the speech signal may result from a replay attack if the position of the source of the frequency component with the second largest value ⁇ 4 of the angle of approach differs from the position of the source of the frequency component with the second smallest value ⁇ of the angle of approach by more than a threshold amount.
- a result that would be characteristic of a signal generated by a loudspeaker device including three loudspeakers would be that one or more low frequency components are found to come from one source location, one or more mid-frequency components are found to come from a second source location, and one or more high frequency components are found to come from a third source location.
- information is obtained about the respective positions of the sources of more than two frequency components of the speech signal, relative to the first and second microphones.
- the positions of the source of the frequency components are compared, and it is determined that the speech signal may result from a replay attack if the position of the source of one frequency component differs from the position of the source of at least one other frequency component by more than a threshold amount.
- signals from only two microphones 12, 12a are used.
- signals from more than two microphones are used. For example, if signals from three microphones 12, 12a, 12b are all used, with the signal from the microphone 12b being passed to a filter bank 194 and the resulting
- the exact location of the source of each component can be derived using triangulation.
- the separation of the source locations can be compared with a threshold value that is related to the size of a human mouth (on the basis that a separation that exceeds the size of a human mouth indicates that the speech does not come from a human speaker), and/or with a threshold that is related to the size of a typical loudspeaker device (on the basis that a separation that corresponds to the size of a typical loudspeaker device indicates that the speech may well come from such a loudspeaker device).
- the method proceeds as described above, using signals from two microphones.
- the signal from a third microphone may also be taken into account. That is, the signal from the third microphone is passed to a respective filter bank, in order to extract the relevant frequency components, and then, for each frequency component, the signals from the three microphones are examined in order to obtain more precise location information.
- This more precise location information for each frequency component can then be used to determine whether the different frequency components are coming from different source locations, and hence whether the speech signal may result from a replay attack.
- Figure 14 shows a third example of a situation in which a replay attack is being performed, in an attempt to overcome a method of detection described above.
- the smartphone 10 is provided with voice biometric functionality.
- the smartphone 10 is in the possession, at least temporarily, of an attacker, who has another smartphone 240.
- the smartphone 240 has been used to record the voice of the enrolled user of the smartphone 10.
- the smartphone 240 is connected to a high quality loudspeaker 2150. Then, the smartphone 10 is positioned close to the loudspeaker 2150, and the recording of the enrolled user's voice is played back through the loudspeaker 2150.
- the voice biometric system is unable to detect that the enrolled user's voice that it detects is a recording, the attacker will gain access to one or more services that are intended to be accessible only by the enrolled user.
- the loudspeaker 2150 may be of high enough quality that the recording of the enrolled user's voice played back through the loudspeaker will not be reliably distinguishable from the user's voice, and so the audio features of the speech signal cannot be used to identify the replay attack.
- the loudspeaker 2150 is an electrostatic loudspeaker such as a Quad® ESL, or a balanced mode radiator loudspeaker, or a bending mode or bending wave loudspeaker, or any other type of flat panel loudspeaker.
- loudspeakers One feature of many such loudspeakers is that the apparent source of the sound is not at one point, but is diffuse, i.e. distributed over the loudspeaker.
- Figure 15 shows a typical arrangement, in which the loudspeaker device 2150 is being used to replay speech that is detected by the smartphone 10.
- Figure 15 shows sounds from a point 2152 in the lower part of the loudspeaker 2150 reaching the microphone 12 that is located at the bottom end of the smartphone 10, and also reaching the microphones 12a and 12b that are located at the top end of the smartphone 10.
- Figure 15 also shows sounds from a point 2154 in the upper part of the loudspeaker 2150 reaching the microphone 12 that is located at the bottom end of the smartphone 10, and also reaching the microphones 12a and 12b that are located at the top end of the smartphone 10.
- Figure 16 is a flow chart, illustrating a method of detecting a replay attack on a voice biometrics system
- Figure 17 is a block diagram illustrating functional blocks in the voice biometrics system.
- a first signal is generated at a first microphone.
- the first microphone may be the microphone 12 that is located at the bottom end of the smartphone 10. This microphone generates a signal in response to the received sound.
- a second signal is generated at a second microphone.
- the second microphone may be one of the microphones 12a that is located at the upper end of the smartphone 10. Again, this microphone generates a signal in response to the received sound.
- the first and second microphones may be spaced apart by a distance in the range of 5-20cm.
- the first and second signals are passed to a feature extraction block 2190, which extracts features of the audio signals in a known manner.
- the features of the audio signals may be Mel Frequency Cepstral Coefficients (MFCCs).
- MFCCs Mel Frequency Cepstral Coefficients
- the first and second signals are also passed to a location information derivation block 2194.
- step 2174 the location information derivation block 2194 uses the first and second signals to determine a location of an apparent source of the received sound.
- the location information derivation block 2194 performs a correlation operation on the first signal and the second signal, and determines a correlation function.
- the correlation operation determines a value for the cross-correlation Rxy between the first signal and the second signal, for a range of time offsets.
- the first and second signals are responding to the same received sound.
- the value of the correlation depends on the position of the source of the received sound. For example, if the sound arrives at the first microphone before the second
- the signals will need to be offset relative to each other in one direction to achieve a match between them. This results in a high value in the correlation function with an offset in that direction. If the sound arrives at the second microphone before the first microphone, the signals will need to be offset relative to each other in the other direction to achieve a match between them. This results in a high value in the correlation function with an offset in that other direction.
- the source of the received sound is a point source.
- the source has a finite width, and so the overall correlation function that is calculated is the integral, across the whole width of the source, of these correlations between received sounds coming from point sources.
- the times of flight of the sound from that point to the two microphones can be calculated as ⁇ and ⁇ ⁇ .
- the width of central lobe of this function therefore depends on the width of the source of the sound.
- a suitable threshold value can be set. This threshold can represent the maximum width of the central lobe that would be expected, if the source of the sound were in fact a human mouth. If the width of the central lobe exceeds this threshold value, it can be determined that the source of the sound is likely to be a loudspeaker.
- Figure 18 illustrates an example situation where the sound is arriving at the first and second microphones from a narrow source that is located equidistantly from the first and second microphones.
- the peak in the central lobe of the correlation function Rxy is relatively sharp, with a width Wi between the points at which the central lobe of the correlation function reaches zero, and is located at zero offset.
- Figure 19 illustrates an example situation where the sound is arriving at the first and second microphones from a diffuse source, similar to that shown in Figure 15.
- some parts of the source (for example the point 2152 in the lower part of the loudspeaker 2150) are closer to the microphone 12 that is located at the bottom end of the smartphone 10 than to the microphone 12a that is located at the top end of the smartphone 10.
- step 2178 of the process shown in Figure 16 this width of the central lobe of the correlation function is calculated.
- this calculated width of the central lobe of the correlation function is passed to a determination block 2196, and it is determined that the received sound may result from a replay attack if the apparent source of the received sound is diffuse.
- the apparent source of the received sound may be considered to be diffuse if it is larger than a human mouth, for example if it exceeds a diameter of 5cm.
- it is determined that the received sound may result from a replay attack if the width of the central lobe of the correlation function exceeds a threshold value. That threshold value may be chosen so that the width of the central lobe of the correlation function exceeds the threshold value if the source of the received sound exceeds a diameter of about 5-8cm.
- information may be obtained about the usage mode of the smartphone. For example, information may be obtained about the distance of the smartphone from the source of the received sound, for example using an ultrasound or optical proximity detection function. The threshold value may then be set based on the distance of the smartphone from the source of the received sound.
- an output flag or signal is sent to a further function in the voice biometric system.
- the output of the model comparison block 2192 may be halted, or may be altered so that a subsequent processing block gives less weight (or no weight at all) to an output indicating that the voice was that of the enrolled speaker.
- signals from two microphones were used to determine whether the source of the received sound is diffuse.
- signals from three of more microphones may be cross-correlated (for example cross-correlated against each other in pairs) to obtain more information about the spatial diversity of the source of the detected sound.
- the signals from two microphones were used to determine whether the source of the received sound is diffuse.
- a further development of this is based on the recognition that, for certain loudspeakers at least, The idea may be extended by noting that the apparent width of the loudspeaker will vary with frequency. More specifically, the loudspeaker will appear to be wider at low frequencies than at higher frequencies.
- the location information derivation block 2194 includes two or more band-pass filters, for extracting respective frequency bands of the received signal. The method described above is then performed separately on these two frequency bands. More specifically, the first microphone generates a first signal from received sound, wherein the first signal has a first component at a first frequency and a second component at a second frequency, and wherein the first frequency is higher than the second frequency. The second microphone generates a second signal from the received sound.
- a first correlation function is determined based on a correlation between the first component of the first signal and the first component of the second signal. The width of a central lobe of that first correlation function is calculated.
- a second correlation function is determined based on a correlation between the second component of the first signal and the second component of the second signal. The width of a central lobe of that second correlation function is calculated.
- the two widths are then compared, and it is determined that the received sound may have been generated by a loudspeaker, and for example may result from a replay attack, if the width of the central lobe of the determined second correlation function exceeds the width of the central lobe of the determined first correlation function by more than a threshold value.
- processor control code for example on a non- volatile carrier medium such as a disk, CD- or DVD-ROM, programmed memory such as read only memory (Firmware), or on a data carrier such as an optical or electrical signal carrier.
- a non- volatile carrier medium such as a disk, CD- or DVD-ROM
- programmed memory such as read only memory (Firmware)
- a data carrier such as an optical or electrical signal carrier.
- DSP Digital Signal Processor
- ASIC Application Specific Integrated Circuit
- FPGA Field Programmable Gate Array
- the code may comprise conventional program code or microcode or, for example code for setting up or controlling an ASIC or FPGA.
- the code may also comprise code for dynamically configuring re- configurable apparatus such as re-programmable logic gate arrays.
- the code may comprise code for a hardware description language such as Verilog TM or VHDL (Very high speed integrated circuit Hardware Description Language).
- Verilog TM or VHDL Very high speed integrated circuit Hardware Description Language
- the code may be distributed between a plurality of coupled components in communication with one another.
- the embodiments may also be implemented using code running on a field-(re)programmable analogue array or similar device in order to configure analogue hardware.
- module shall be used to refer to a functional unit or block which may be implemented at least partly by dedicated hardware components such as custom defined circuitry and/or at least partly be implemented by one or more software processors or appropriate code running on a suitable general purpose processor or the like.
- a module may itself comprise other modules or functional units.
- a module may be provided by multiple components or sub-modules which need not be co-located and could be provided on different integrated circuits and/or running on different processors.
- Embodiments may be implemented in a host device, especially a portable and/or battery powered host device such as a mobile computing device for example a laptop or tablet computer, a games console, a remote control device, a home automation controller or a domestic appliance including a domestic temperature or lighting control system, a toy, a machine such as a robot, an audio player, a video player, or a mobile telephone for example a smartphone.
- a host device especially a portable and/or battery powered host device such as a mobile computing device for example a laptop or tablet computer, a games console, a remote control device, a home automation controller or a domestic appliance including a domestic temperature or lighting control system, a toy, a machine such as a robot, an audio player, a video player, or a mobile telephone for example a smartphone.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- General Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Theoretical Computer Science (AREA)
- Computing Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- General Physics & Mathematics (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Software Systems (AREA)
- Biomedical Technology (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Human Computer Interaction (AREA)
- Measurement Of Velocity Or Position Using Acoustic Or Ultrasonic Waves (AREA)
- Circuit For Audible Band Transducer (AREA)
Abstract
Priority Applications (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| GB2004478.0A GB2581595B (en) | 2017-10-13 | 2018-10-11 | Detection of Replay Attack |
| CN201880065597.4A CN111194445A (zh) | 2017-10-13 | 2018-10-11 | 重放攻击的检测 |
| KR1020207013324A KR102532584B1 (ko) | 2017-10-13 | 2018-10-11 | 리플레이 공격의 검출 |
Applications Claiming Priority (8)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US201762571959P | 2017-10-13 | 2017-10-13 | |
| US62/571,959 | 2017-10-13 | ||
| US201762585721P | 2017-11-14 | 2017-11-14 | |
| US62/585,721 | 2017-11-14 | ||
| GBGB1803570.9A GB201803570D0 (en) | 2017-10-13 | 2018-03-06 | Detection of replay attack |
| GB1803570.9 | 2018-03-06 | ||
| GBGB1804843.9A GB201804843D0 (en) | 2017-11-14 | 2018-03-26 | Detection of replay attack |
| GB1804843.9 | 2018-03-26 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2019073234A1 true WO2019073234A1 (fr) | 2019-04-18 |
Family
ID=66100457
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/GB2018/052906 Ceased WO2019073234A1 (fr) | 2017-10-13 | 2018-10-11 | Détection d'attaque par reproduction |
Country Status (4)
| Country | Link |
|---|---|
| KR (1) | KR102532584B1 (fr) |
| CN (1) | CN111194445A (fr) |
| GB (1) | GB2581595B (fr) |
| WO (1) | WO2019073234A1 (fr) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP3566228B1 (fr) * | 2017-01-03 | 2020-06-10 | Koninklijke Philips N.V. | Capture audio au moyen de formation de faisceau |
| CN112151038B (zh) * | 2020-09-10 | 2022-12-16 | 达闼机器人股份有限公司 | 语音重放攻击检测方法、装置、可读存储介质及电子设备 |
| CN120729437A (zh) * | 2024-03-29 | 2025-09-30 | 华为技术有限公司 | 一种声波通信方法及电子设备 |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20130289999A1 (en) * | 2012-04-30 | 2013-10-31 | Research In Motion Limited | Dual microphone voice authentication for mobile device |
| WO2015163774A1 (fr) * | 2014-04-24 | 2015-10-29 | Igor Muttik | Procédés et appareil pour améliorer une sécurité d'authentification |
| GB2541466A (en) * | 2015-08-21 | 2017-02-22 | Validsoft Uk Ltd | Replay attack detection |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9767817B2 (en) * | 2008-05-14 | 2017-09-19 | Sony Corporation | Adaptively filtering a microphone signal responsive to vibration sensed in a user's face while speaking |
| KR101166612B1 (ko) * | 2009-08-19 | 2012-07-18 | 엘지전자 주식회사 | 단말기에서의 음원 처리 방법 및 이를 적용한 단말기 |
| WO2013058728A1 (fr) * | 2011-10-17 | 2013-04-25 | Nuance Communications, Inc. | Amélioration de signal de paroles à l'aide d'informations visuelles |
| JP6220304B2 (ja) | 2014-03-28 | 2017-10-25 | セコム株式会社 | 音声識別装置 |
-
2018
- 2018-10-11 KR KR1020207013324A patent/KR102532584B1/ko active Active
- 2018-10-11 GB GB2004478.0A patent/GB2581595B/en active Active
- 2018-10-11 WO PCT/GB2018/052906 patent/WO2019073234A1/fr not_active Ceased
- 2018-10-11 CN CN201880065597.4A patent/CN111194445A/zh active Pending
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20130289999A1 (en) * | 2012-04-30 | 2013-10-31 | Research In Motion Limited | Dual microphone voice authentication for mobile device |
| WO2015163774A1 (fr) * | 2014-04-24 | 2015-10-29 | Igor Muttik | Procédés et appareil pour améliorer une sécurité d'authentification |
| GB2541466A (en) * | 2015-08-21 | 2017-02-22 | Validsoft Uk Ltd | Replay attack detection |
Non-Patent Citations (1)
| Title |
|---|
| CHEN SI ET AL: "You Can Hear But You Cannot Steal: Defending Against Voice Impersonation Attacks on Smartphones", PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON DISTRIBUTED COMPUTING SYSTEMS, IEEE COMPUTER SOCIETY, US, 5 June 2017 (2017-06-05), pages 183 - 195, XP033122979, ISSN: 1063-6927, [retrieved on 20170713], DOI: 10.1109/ICDCS.2017.133 * |
Also Published As
| Publication number | Publication date |
|---|---|
| KR20200066691A (ko) | 2020-06-10 |
| CN111194445A (zh) | 2020-05-22 |
| GB2581595B (en) | 2021-09-22 |
| KR102532584B1 (ko) | 2023-05-12 |
| GB202004478D0 (en) | 2020-05-13 |
| GB2581595A (en) | 2020-08-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10839808B2 (en) | Detection of replay attack | |
| US11276409B2 (en) | Detection of replay attack | |
| US11704397B2 (en) | Detection of replay attack | |
| US11705135B2 (en) | Detection of liveness | |
| US11017252B2 (en) | Detection of liveness | |
| US11023755B2 (en) | Detection of liveness | |
| US20200357415A1 (en) | Magnetic detection of replay attack | |
| US12136432B2 (en) | Methods for reducing error in environmental noise compensation systems | |
| WO2019002831A1 (fr) | Détection d'attaque par reproduction | |
| US20120263019A1 (en) | Passive proximity detection | |
| US9591405B2 (en) | Automatic audio enhancement system | |
| CN104041075A (zh) | 音频源位置估计 | |
| KR102532584B1 (ko) | 리플레이 공격의 검출 | |
| US10529356B2 (en) | Detecting unwanted audio signal components by comparing signals processed with differing linearity | |
| US12431132B2 (en) | Natural speech detection | |
| US12487356B1 (en) | Method for wall direction estimation | |
| Yarkan | A Novel Acoustic Source Localization Technique for Edge AI Applications: A Lightweight Framework and Implementation for IoT and Smart Sensing Devices | |
| WO2023286413A1 (fr) | Système et procédé de reproduction de zones |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 18788841 Country of ref document: EP Kind code of ref document: A1 |
|
| ENP | Entry into the national phase |
Ref document number: 202004478 Country of ref document: GB Kind code of ref document: A Free format text: PCT FILING DATE = 20181011 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| ENP | Entry into the national phase |
Ref document number: 20207013324 Country of ref document: KR Kind code of ref document: A |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 18788841 Country of ref document: EP Kind code of ref document: A1 |