A portion of the disclosure of this patent document contains material which is subject to copyright protection. The copyright owner has no objection to the facsimile reproduction by anyone of the patent document or the patent disclosure, as it appears in the Patent and Trademark Office patent file or records, but otherwise reserves all copyright rights whatsoever.
1. Field of the Invention
The present invention relates to techniques for providing computer security. More specifically, the present invention relates to a method and an apparatus for masking acoustic emanations from a keyboard to prevent an eavesdropper from recognizing the acoustic signatures of individual keystrokes.
2. Related Art
Many types of sensitive data, such as passwords, are routinely entered into computer keyboards. This type of data entry has become significantly less secure because of recently-developed signal-processing techniques, which can be used to determine what information is typed into a keyboard. These techniques operate by recording the sound produced by the keyboard and then processing the sound to determine which keys were pressed. (See L. Zhuang, F. Zhou and J. D. Tygar, “Keyboard Acoustic Emanations Revisited,” Proceedings of the 12th ACM Conference on Computer and Communications Security, November 2005.) Consequently, it is presently possible for an eavesdropper to gather acoustic emanations from a keyboard from a distance using a long-range “shotgun” microphone, and to then process these acoustic emanations to reveal what was typed into the keyboard. This could result in a serious breach of computer system security if a critical password is compromised.
This type of eavesdropping can be somewhat mitigated by providing sound-insulation in any room in which typing takes place to prevent an eavesdropper from gathering an audio signal of a stream of keystrokes. However, it is quite expensive and cumbersome to provide such sound-insulation. Furthermore, portable computing devices, such as laptops, are often used in public locations, where sound insulation is not available.
It is also possible to mask the sound of the typing by placing a white-noise source in the vicinity of the typing. However, such a white noise source is likely to be annoying and impractical in most locations.
Hence, what is needed is a method and an apparatus for preventing eavesdroppers from gathering acoustic emanations from a keyboard and then analyzing these emanations to determine what was typed into the keyboard.
One embodiment of the present invention provides a system that masks acoustic emanations from a keyboard. Upon receiving a signal indicating that a key on the keyboard has been pressed and/or released, the system generates a masking signal, and then outputs the masking signal to one or more audio transducers located in proximity to the keyboard, thereby masking acoustic emanations caused by the key being pressed and/or released.
In a variation on this embodiment, generating the masking signal involves generating an unpredictable, or substantially unpredictable, audio signal.
In a further variation, generating the unpredictable audio signal involves generating a randomized signal so that a different masking signal is generated each time a specific key is pressed and/or released. This randomized signal can be generated by: (1) obtaining an acoustic signal caused by a given key being pressed and/or released to act as a template for the masking signal, and (2) randomly modifying the template to produce the masking signal. Alternatively, the randomized masking signal can be generated by: (1) obtaining a pulse of substantially constant amplitude to act as a template for the masking signal, and then (2) randomly modifying the template to produce the masking signal.
In a variation on this embodiment, generating the masking signal involves generating a signal which is characteristic of a different key being pressed and/or released, instead of the actual key that was pressed and/or released. In this way, an eavesdropper may be misled into determining that the different key was pressed and/or released.
In a variation on this embodiment, the one or more audio transducers include multiple speakers located in proximity to the keyboard. In this embodiment, generating the masking signal involves generating signals for the multiple speakers which spatially position the resulting sound so that the resulting sound appears to emanate from the vicinity of the key that was pressed and/or released.
In a variation on this embodiment, the system enables (or disables) outputting of the masking signal based on a user-selectable preference.
In a variation on this embodiment, the masking signal is generated by a computing device which receives input from the keyboard, or alternatively is generated by a computing engine which is integrated into the keyboard.
In a variation on this embodiment, the keyboard can include any type of data entry device or mechanism which has multiple keys or buttons. For example, the keyboard can include: a computer keyboard, a keypad for a computing device such as a personal digital assistant (PDA), a keypad for an alarm system, a keypad for a combination lock that restricts access to a building or a safe, a keypad for an automated teller machine (ATM), or a keypad associated with a credit/debit card reader located at a retail store, e.g. supermarket checkout stand.
Table 1 presents exemplary code that generates and outputs a masking signal in accordance with an embodiment of the present invention.
The following description is presented to enable any person skilled in the art to make and use the invention, and is provided in the context of a particular application and its requirements. Various modifications to the disclosed embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other embodiments and applications without departing from the spirit and scope of the present invention. Thus, the present invention is not limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features disclosed herein.
The data structures and code described in this detailed description are typically stored on a computer-readable storage medium, which may be any device or medium that can store code and/or data for use by a computer system. This includes, but is not limited to, magnetic and optical storage devices, such as disk drives, magnetic tape, CDs (compact discs) and DVDs (digital versatile discs or digital video discs).
Computing Device with Keyboard
Keyboard 102 can include any type of data entry device or mechanism which has multiple keys or buttons, such as a keyboard or a keypad.
Speakers 104 can include any type of acoustic transducer that can produce acoustic signals, which can be used to mask acoustic emanations from keyboard 102.
Computing device 100 can include any type of computational engine, such as a microprocessor, which can perform the computational operations which are described below.
Process of Masking the Sound of a Key Being Pressed and/or Released
One embodiment of the present invention uses an audio transducer, such as a speaker, to produce masking sounds, which are synchronized with corresponding keystrokes on a keyboard. These masking sounds can be randomized to decrease an eavesdropper's ability to differentiate individual keystrokes by analyzing their acoustic signatures. Moreover, producing a masking sound which is coincident with a keystroke provides an ergonomic advantage in some situations by providing audible feedback for a keystroke.
More specifically,
Next, the system receives a signal indicating that a specific key has been pressed and/or released (step 204). It is well-known in the art how to receive such a signal within a computer system, so this step will not be described any further in this specification.
Upon receiving this signal, the system terminates the output of a preceding masking signal, if necessary (step 206). The system also uses a random number generator to randomize the masking signal to produce a “randomized masking signal” (step 208). (A number of exemplary randomized masking signal waveforms are illustrated in
If there are multiple speakers, the system can also generate masking signals for the multiple speakers so that the resulting sound appears to emanate from the vicinity of the key that was pressed and/or released (step 210). This “spatial-positioning operation” can be performed using any one of a number of well-known techniques for spatially-positioning sounds in stereo or multi-channel audio systems, so that the sounds appear to emanate from specific locations.
Finally, the system outputs the generated masking sounds to the speakers 104, which are located in the vicinity of keyboard 102 (step 212).
An exemplary section of computer code which performs these masking operations appears in Table 1 below.
The foregoing descriptions of embodiments of the present invention have been presented only for purposes of illustration and description. They are not intended to be exhaustive or to limit the present invention to the forms disclosed. Accordingly, many modifications and variations will be apparent to practitioners skilled in the art. Additionally, the above disclosure is not intended to limit the present invention. The scope of the present invention is defined by the appended claims.
This application is a continuation-in-part of a pending U.S. patent application, entitled “Method and Apparatus for Masking Acoustic Keyboard Emanations,” by inventors Guy L. Tribble and Richard F. Murphy, having Ser. No. 11/303,760 and a filing date of 15 Dec. 2005 (Attorney Docket No. APL-P4057US1). This application hereby claims priority under 35 U.S.C. §120 to the above-listed patent application. Furthermore, the above-listed application is hereby incorporated by reference.
Number | Date | Country | |
---|---|---|---|
Parent | 11303760 | Dec 2005 | US |
Child | 11327531 | Jan 2006 | US |