Research News

App uses smartphone compass to prevent voice hacking

speech recognition purple flat.

The app uses the magnetometer in a phone, which is there for the phone’s compass, to detect a magnetic field.

By GROVE POTTER

Published June 7, 2017 This content is archived.

Print
headshot of Kui Ren.
“Hackers are out there, more than you can imagine. There is a whole underground gray market to sell your password and your personal information. ”
Kui Ren, professor of computer science and engineering and director
Ubiquitous Security and Privacy Research Laboratory

While convenient, Siri, WeChat and other voice-based smartphone apps can expose you to a growing security threat: voice hacking.

With just a few minutes of audio samples, attackers can replay your voice convincingly enough to trick people, as well as top digital security systems. The consequences, from impersonating you with your friends to dipping into your bank account, are terrifying.

Using only tools already on smartphones, including the compass, a UB-led team of engineers is creating an app to stop voice hacking. Described in a study to be presented this week in Atlanta at the 37th International Conference on Distributed Computing Systems, a prototype proved highly accurate in stopping machine-based voice impersonation attacks.

“Every aspect of your life is now on your phone,” says Kui Ren, director of the Ubiquitous Security and Privacy Research Laboratory (UbiSeC) at UB and one of the study’s lead authors. “That is your security hub. It is really critical now.”

Ren, a professor of computer science and engineering in the School of Engineering and Applied Sciences, doesn’t mince words when discussing the importance of better cellphone security.

“Hackers are out there, more than you can imagine. There is a whole underground gray market to sell your password and your personal information,” he says.

The best way to protect your cellphone, he says, is to use several security methods.

“Technology is advancing so fast; we have to think of different ways. The strategy is using multiple lines of defense. We call that defense in depth,” he explains.

Voice recognition could become a more common security tool because more internet-connected devices are being developed that do not have keypads, he says.

“With the internet of things, what is a security interface? It is not like the phone. There is often no touch screen or keypad, so voice authentication may be useful.” he says.

The study, which Ren co-authored with former PhD student Si Chen (now an assistant professor at West Chester University of Pennsylvania), has been awarded the Best Student Paper Award at the conference, which is organized by the Institute of Electrical and Electronic Engineers.

Voice-recognition attacks can come in various forms. Attacks can synthesize your voice, but these are detectable by existing algorithms. A human can imitate your voice, but again, existing technology can detect this.

A third method is replaying someone’s actual voice, and here is where Ren’s invention comes in. Any replay must be broadcast on a speaker, and speakers have magnetic fields. Ren’s system uses the magnetometer in a phone, which is there for the phone’s compass, to detect a magnetic field.

In addition, the system uses the phone’s trajectory mapping algorithm to measure the distance between the speaker and the phone. It requires a phone user to be close to the phone when speaking to guarantee that anyone using a replay of a voice over a mechanical speaker is close enough that the magnetic field can be detected.

Finally, the system requires that the phone be moving — swung in front of the mouth — when the voice recognition is being used. When a replayed voice is moved, the magnetic field changes and the phone can detect this.

Several of Ren’s former and current PhD students are co-authors of the study, including Chen, Sixu Piao, Cong Wang and Qian Wang, in addition to Lu Su and Aziz Mohaisen, both assistant professors in UB’s Department of Computer Science and Engineering, and Jian Weng from Jinan University, China.

The team plans to refine the system and soon make it downloadable as an app.

“We cannot decide if voice authentication will be pervasive in the future. It might be. We’re already seeing the increasing trend,” Ren says. “And if that is the case, we have to defend against voice-replay attacks. Otherwise, voice authentication cannot be secure.”

The research was supported in part by the National Science Foundation.