On TV.com: TOP 10 Shows CANCELED Too Soon
BNET Business Network:
BNET
TechRepublic
ZDNet

January 30th, 2007

Vista Speech Command exposes remote exploit

Posted by George Ou @ 3:40 pm

Categories: Browsers, Desktop, News, Security, Vista

Tags: Microsoft Windows Vista, Speech Command, George Ou

In Focus » See more posts on: Vista, Vista

[Update 1/31/2007 - Microsoft confirmsSebastian Krahmer on the Dailydave security mailing list started a discussion about the potential for exploiting Vista’s speech recognition feature by hosting malicious sound files on a website that would playback a series of audio commands to try to subvert the Operating System.  Krahmer didn’t actually test any of these theories, but raised an interesting concern about the safety of Vista’s speech command system and I followed up and came up with the actual tests to prove the first Vista remote exploit.

I initially responded to the list explaining that an Operating System should filter out the sounds it picks up on the Microphone to avoid a nasty feedback problem, but it’s still possible for the Mic to pick up enough of the voice to run.  Someone else responded that Apple tried similar functionality 15 years ago and quickly realized that they had to guard the feature with a keyword that needed to be spoken because people were playing gags with the “shutdown” command.  But I have used speech command and realized that Vista only requires a static command so I proceeded to investigate with an actual test to test these theories.

I recorded a sound file that would engage speech command on Vista, then engaged the start button, and then I asked for the command prompt.  When I played back the sound file with the speakers turned up loud, it actually engaged the speech command system and fired up the start menu.  I had to try a few more times to get the audio recording quality high enough to get the exact commands I wanted but the shocking thing is that it worked!  Anyone that’s ever visited MySpace knows how many annoying webpages out there that will start blasting loud MP3 music as soon as they enter the page.  [Update 4:17PM - Someone asked me how loud I had the speakers.  To my surprise, not very loud at all and I was shocked at how well it worked.  I didn't even believe it would work at the loudest setting let alone at a moderate sound level.]

There are some mitigating factors but there is no doubt this is still a serious exploit.  Most people won’t have Vista speech commands configured and enabled but if they do, the speech command control console will automatically load with the operating system and park itself on the top of the desktop waiting for audio commands.  The other mitigating factor is that if you visit a webpage and it starts barking out slow and loud Vista speech commands, it will be rather obvious to most people that something is very wrong.  But it’s still possible that a webpage might delay the sound playback and hope that the user is not around to stop the exploit.  Another mitigating factor is that the Vista command prompt doesn’t seem to take any speech commands at all, but that doesn’t prevent a remote hacker from interacting with your OS in an unauthorized manner.

My recommendation is that Vista users disable the speech command feature from automatically starting up in Vista and only use it in a supervised manner until there is a patch for this.  Vista speech commands should completely filter out any sound coming out of the computer system to prevent unauthorized speech commands coming from malicious sound files for a long term fix.  Microsoft should at least implement a short term fix by letting the user set a unique pass phrase or series of numbers to activate speech commands rather than allowing a fixed phrase activate the system.

[Update 4:55 PM - Someone (who shall remain unnamed until they give me permission to name them) emailed me and criticized me that this isn't a remote exploit and that I was being "ludicrous" and that this can't bypass UAC.  Well I never claimed this would bypass UAC and secure desktop nor do I think it needs to to be able to do some serious damage.  The fact that a website can play a moderate level sound file to interact in a way with the desktop by activating an idle speech command system and be able to delete user documents with zero user interaction is serious by any stretch of the imagination.]

[Update 2/1/2007]
Disagreement over impact of Vista’s analog hole

George Ou is Technical Director of ZDNet. See his full profile and disclosure of his industry affiliations.

  • Talkback
  • Most Recent of 104 Talkback(s)
Fooling speech systems is nothing new.  Mr. Roboto | 01/30/07
New or not, this shouldn't be exploitable  georgeou | 01/30/07
Obvious?  Yagotta B. Kidding | 01/30/07
And you think they're the only ones making stupid mistakes?  georgeou | 01/30/07
The point is...  John L. Ries | 01/30/07
it's not bad programming...  Scott W | 01/31/07
Lifecycle  Yagotta B. Kidding | 01/31/07
...and inadequate testing.  John L. Ries | 01/31/07
Far from it  Yagotta B. Kidding | 01/31/07
Yagotta B. Right  msolgeek | 01/31/07
Commands versus acoustics  danson@... | 01/31/07
don't get it  patibulo | 01/31/07
Echo cancellation is NOT hard  georgeou | 01/31/07
my point is...  patibulo | 01/31/07
Please see above  Yagotta B. Kidding | 01/31/07
Non-Techie Approach  perryroyce@... | 01/31/07
since we are at it  patibulo | 01/31/07
No offence intended  perryroyce@... | 01/31/07
Ah, but  Yagotta B. Kidding | 01/30/07
Not just MS  John L. Ries | 01/30/07
What's really fascinating  Yagotta B. Kidding | 01/30/07
"Little" review?  toadlife | 01/30/07
Well, that's obvious  John Zern | 01/30/07
But Microsoft should have caught this problem...  Tony Agudo | 01/30/07
So not even features in the OS are MS fault now  Richard Flude | 01/30/07
No, I don't think he's saying that  georgeou | 01/30/07
I think perhaps he is  mds_z | 01/31/07
The lesson here  frgough | 01/31/07
"Testing" is not "Review"  Yagotta B. Kidding | 01/31/07
...and beta testing is not enough  John L. Ries | 01/31/07
2 million testers is little?  No_Ax_to_Grind | 01/31/07
Not their job  Yagotta B. Kidding | 01/31/07
Then they weren't really testers  Patrick Jones | 01/31/07
Overstating the case  Yagotta B. Kidding | 01/31/07
Maybe...  Patrick Jones | 01/31/07
Let's not use it at all  TonyMcS | 01/30/07
So you will remain "calm" if a website deletes your documents?  georgeou | 01/30/07
Why not?  Yagotta B. Kidding | 01/31/07
Taking off in the Wild  jcg_z | 01/31/07
uhm...  ju1ce | 01/31/07
One Vulnerable Community  bhartman36 | 01/31/07
Exploit  D. T. Schmitz | 01/30/07
As in...  D. T. Schmitz | 01/30/07
It's an exploit Dietrich  Tony Agudo | 01/30/07
It's less accidental than that  georgeou | 01/30/07
Not just websites.  dave.leigh@... | 01/31/07
Big deal, George  Yagotta B. Kidding | 01/31/07
Big difference here...  Raymond Danner | 01/31/07
Well, your problem is that you're making overreaching indictments  georgeou | 01/31/07
Worst?  Yagotta B. Kidding | 01/31/07
Microsoft has one of the better processes  georgeou | 01/31/07
eeeeeeeek  D. T. Schmitz | 01/30/07
Being able to delete files remotely by a malicious webpage not exploit?  georgeou | 01/30/07
I just thought of something...  Tony Agudo | 01/30/07
It helps but not required  georgeou | 01/30/07
Good Lord  D. T. Schmitz | 01/30/07
here's a question or two  g_ludlow | 01/31/07
Not that strange  Yagotta B. Kidding | 01/31/07
good point  g_ludlow | 01/31/07
Thinking like scum  Yagotta B. Kidding | 01/31/07
Screen Lock  hoffmeister.c.w | 02/01/07
No, haven't tried yet.  georgeou | 02/01/07
true  notsofast | 02/02/07
Ok  notsofast | 02/02/07
Some voice commands could make great pranks.  kraterz | 01/30/07
Format disk is not possible, but deleting your documents is  georgeou | 01/30/07
More to the point  Yagotta B. Kidding | 01/31/07
I could see the RIAA  Monkey_MCSE | 01/31/07
Totally wrong, more like this...  Boomslang | 02/02/07
Maybe Ed Bott was right  dave.leigh@... | 01/31/07
LOL  georgeou | 01/31/07
Ed Bott Right?  shane@... | 01/31/07
Good one? Anyone point him to this blog? (NT)  ju1ce | 01/31/07
Likelyhood of average user smelling a rat.  enduser_z | 01/31/07
Vista=swiss cheese  DarthRidiculous | 01/31/07
Enough already people  jedi105@... | 01/31/07
You've got to be kidding me..  shane@... | 01/31/07
Yeah  danmarce | 01/31/07
You've never been to a website that plays sounds?  georgeou | 01/31/07
No sound for me?  danmarce | 02/01/07
YouTube would work just fine  georgeou | 02/01/07
I have this picture in my mind...  Cardinal_Bill | 01/31/07
Interestingly enough...  John L. Ries | 01/31/07
How macs are set up for this  j.m.galvin | 01/31/07
Thanks,  georgeou | 01/31/07
Hal are you listening?  wjkahlssmd@... | 01/31/07
IS THIS A MICROSOFT PROBLEM?  BALTHOR | 01/31/07
Ok  danmarce | 01/31/07
the chances of this actually harming a system..  steve.costa@... | 01/31/07
speakers?  art58@... | 01/31/07
Sure, but that requires user action  georgeou | 02/01/07
possible exploits  kamahl928 | 01/31/07
Can't do that  georgeou | 02/01/07
Who's voice is it anyway?  burtoni | 02/01/07
OK, I see more of a problem now...  burtoni | 02/01/07
It worked with different voices  georgeou | 02/01/07
I'll never trust another radio announcer around my PC (NT)  burtoni | 02/01/07
On the plus side !  sweklaweklfwe@... | 02/01/07
What type of mic are you using int his test?  notsofast | 02/02/07
It's a high quality omnidirectional mic  georgeou | 02/02/07
Simple problem, not MS' fault, lack of fix IS  critic-at-arms | 02/02/07
Kind of like the F10 joke in Counter Strike happy  georgeou | 02/02/07
It's all about the microphone...  jbrisson | 03/25/07
RE: Vista Speech Command exposes remote exploit  a1931582 | 11/22/09

What do you think?

SponsoredWhite Papers, Webcasts, and Downloads

Click Here
advertisement

Recent Entries

Top Rated

    advertisement

    Archives

    ZDNet Blogs

    White Papers, Webcasts, and Downloads

    Meet Doc

    • Here to help you with your Document Management Needs
    • Doc is an enigma. Born to a Russian ballerina and a German electrical engineer, he grew up in various locations in the United States. He’s seen the insides of more brands, versions, and generations of printer and printer-related hardware than almost anyone.
    • To learn more about this mysterious figure check out his blog on ZDNet and his Workspace on TechRepublic. You’ll be glad you did.
    • Produced by
      ZDNet and