Gyrophone: Recognizing Speech from Gyroscope Signals

Gyrophone: Recognizing Speech from Gyroscope Signals

Gyrophone: Recognizing Speech From Gyroscope Signals Yan Michalevsky Dan Boneh Gabi Nakibly Computer Science Department National Research & Simulation Center Stanford University Rafael Ltd. Abstract gyroscopes are sufficiently sensitive to measure acous- We show that the MEMS gyroscopes found on mod- tic vibrations. This leads to the possibility of recovering ern smart phones are sufficiently sensitive to measure speech from gyroscope readings, namely using the gyro- acoustic signals in the vicinity of the phone. The re- scope as a crude microphone. We show that the sampling sulting signals contain only very low-frequency infor- rate of the gyroscope is up to 200 Hz which covers some mation (<200Hz). Nevertheless we show, using signal of the audible range. This raises the possibility of eaves- processing and machine learning, that this information is dropping on speech in the vicinity of a phone without sufficient to identify speaker information and even parse access to the real microphone. speech. Since iOS and Android require no special per- As the sampling rate of the gyroscope is limited, one missions to access the gyro, our results show that apps cannot fully reconstruct a comprehensible speech from and active web content that cannot access the micro- measurements of a single gyroscope. Therefore, we re- phone can nevertheless eavesdrop on speech in the vicin- sort to automatic speech recognition. We extract fea- ity of the phone. tures from the gyroscope measurements using various signal processing methods and train machine learning al- 1 Introduction gorithms for recognition. We achieve about 50% success rate for speaker identification from a set of 10 speakers. Modern smartphones and mobile devices have many sen- We also show that while limiting ourselves to a small vo- sors that enable rich user experience. Being generally cabulary consisting solely of digit pronunciations (”one”, put to good use, they can sometimes unintentionally ex- ”two”, ”three”, ...) and achieve speech recognition suc- pose information the user does not want to share. While cess rate of 65% for the speaker dependent case and up the privacy risks associated with some sensors like a mi- to 26% recognition rate for the speaker independent case. crophone (eavesdropping), camera or GPS (tracking) are This capability allows an attacker to substantially leak in- obvious and well understood, some of the risks remained formation about numbers spoken over or next to a phone under the radar for users and application developers. In (i.e. credit card numbers, social security numbers and the particular, access to motion sensors such as gyroscope like). and accelerometer is unmitigated by mobile operating We also consider the setting of a conference room systems. Namely, every application installed on a phone where two or more people are carrying smartphones or and every web page browsed over it can measure and tablets. This setting allows an attacker to gain simulta- record these sensors without the user being aware of it. neous measurements of speech from several gyroscopes. Recently, a few research works pointed out unintended We show that by combining the signals from two or more information leaks using motion sensors. In Ref. [34] the phones we can increase the effective sampling rate of the authors suggest a method for user identification from gait acoustic signal while achieving better speech recognition patterns obtained from a mobile device’s accelerometers. rates. In our experiments we achieved 77% successful The feasibility of keystroke inference from nearby key- recognition rate in the speaker dependent case based on boards using accelerometers has been shown in [35]. In the digits vocabulary. [21], the authors demonstrate the possibility of keystroke The paper structure is as follows: in Section 2 we inference on a mobile device using accelerometers and provide a brief description of how a MEMS gyroscope mention the potential of using gyroscope measurements works and present initial investigation of its properties as well, while another study [19] points to the benefits of as a microphone. In Section 3 we discuss speech anal- exploiting the gyroscope. ysis and describe our algorithms for speaker and speech All of the above work focused on exploitation of recognition. In Section 4 we suggest a method for audio motion events obtained from the sensors, utilizing the signal recovery using samples from multiple devices. In expected kinetic response of accelerometers and gyro- Section 5 we discuss more directions for exploitation of scopes. In this paper we reveal a new way to extract in- gyroscopes’ acoustic sensitivity. Finally, in Section 6 we formation from gyroscope measurements. We show that discuss mitigation measures of this unexpected threat. In particular, we argue that restricting the sampling rate is 2.1.1 STMicroelectronics an effective and backwards compatible solution. The design of STMicroelectronics 3-axis gyros is based on a single driving (vibrating) mass (shown in Figure 1). 2 Gyroscope as a microphone The driving mass consists of 4 parts M1, M2, M3 and M4 (Figure 1(b)). They move inward and outward simulta- neously at a certain frequency1 in the horizontal plane. In this section we explain how MEMS gyroscopes oper- As shown in Figure 1(b), when an angular rate is applied ate and present an initial investigation of their suscepti- on the Z-axis, due to the Coriolis effect, M2 and M4 will bility to acoustic signals. move in the same horizontal plane in opposite directions as shown by the red and yellow arrows. When an angular rate is applied on the X-axis, then M1 and M3 will move 2.1 How does a MEMS gyroscope work? in opposite directions up and down out of the plane due to the Coriolis effect. When an angular rate is applied Standard-size (non-MEMS) gyroscopes are usually com- to the Y-axis, then M and M will move in opposite di- posed of a spinning wheel on an axle that is free to as- 2 4 rections up and down out of the plane. The movement sume any orientation. Based on the principles of angular of the driving mass causes a capacitance change relative momentum the wheel resists to changes in orientation, to stationary plates surrounding it. This change is sensed thereby allowing to measure those changes. Nonethe- and translated into the measurement signal. less, all MEMS gyros take advantage of a different phys- ical phenomenon – the Coriolis force. It is a fictitious force (d’Alembert force) that appears to act on an object 2.1.2 InvenSense while viewing it from a rotating reference frame (much like the centrifugal force). The Coriolis force acts in a InvenSense’s gyro design is based on the three separate 2 direction perpendicular to the rotation axis of the refer- driving (vibrating) masses ; each senses angular rate at ence frame and to the velocity of the viewed object. The a different axis (shown in Figure 2(a)). Each mass is a Coriolis force is calculated by F = 2m~v×w~ where m and coupled dual-mass that move in opposite directions. The v denote the object’s mass and velocity, respectively, and masses that sense the X and Y axes are driven out-of- w denotes the angular rate of the reference frame. plane (see Figure 2(b)), while the Z-axis mass is driven Generally speaking, MEMS gyros measure their an- in-plane. As in the STMicroelectronics design the move- gular rate (w) by sensing the magnitude of the Cori- ment due to the Coriolis force is measures by capacitance olis force acting on a moving proof mass within the changes. gyro. Usually the moving proof mass constantly vibrates within the gyro. Its vibration frequency is also called 2.2 Acoustic Effects the resonance frequency of the gyro. The Coriolis force is sensed by measuring its resulting vibration, which is It is a well known fact in the MEMS community that orthogonal to the primary vibration movement. Some MEMS gyros are susceptible to acoustic noise which de- gyroscope designs use a single mass to measure the an- grades their accuracy [22, 24, 25]. An acoustic signal af- gular rate of different axes, while others use multiple fects the gyroscope measurement by making the driving masses. Such a general design is commonly called vi- mass vibrate in the sensing axis (the axis which senses brating structure gyroscope. the Coriolis force). The acoustic signal can be trans- There are two primary vendors of MEMS gyroscopes ferred to the driving mass in one of two ways. First, it for mobile devices: STMicroelectronics [15] and In- may induce mechanical vibrations to the gyros package. venSense [7]. According to a recent survey [18] STMi- Additionally, the acoustic signal can travel through the croelectronics dominates with 80% market share. Tear- gyroscope packaging and directly affect the driving mass down analyses show that this vendor’s gyros can be in case it is suspended in air. The acoustic noise has the found in Apple’s iPhones and iPads [17, 8] and also in the most substantial effect when it is near the resonance fre- latest generations of Samsung’s Galaxy-line phones [5, quency of the vibrating mass. Such effects in some cases 6]. The second vendor, InvenSense, has the remaining can render the gyro’s measurements useless or even satu- 20% market share [18]. InvenSense gyros can be found rated. Therefore to reduce the noise effects vendors man- in Google’s latest generations of Nexus-line phones and ufacture gyros with a high resonance frequency (above tablets [14, 13] as well as in Galaxy-line tablets [4, 3]. 1 These two vendors’ gyroscopes have different mechani- It is indicated in [1] that STMicroelectronics uses a driving fre- quency of over 20 KHz. cal designs, but are both noticeably influenced by acous- 2According to [43] the driving frequency of the masses is between tic noise.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    15 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us