Live data from Hacker News

Exploiting a Bug in Google's Glass

saurik.com

11–20 of 32 posts

Re: Exploiting a Bug in Google's Glass

#11
post #9

While the first part of this article couldn't decide whether it was directed toward technical or non-technical audience, second part about security implications of such an easy way to get root was definitely thought-provoking. While I was super-eager to get Glass before, it really got me wondering if having camera and microphone in your glasses is such an great idea after all.

Yes it's a great idea. Microphones are already a standard part of widely accepted headphones/headsets. Cameras aren't as accepted yet but they will be, whether that's in 2015 or 2025 is the 64 billion dollar question.

Re: Exploiting a Bug in Google's Glass

#12
"At this point, I could have simply complained to Google in order to obtain the source code for the kernel. However, I expected that would take days (Google actually ended up posting the code within hours on Saturday, but that was under rather large public pressure), "

FWIW:

1. It wouldn't have taken days, it would have taken roughly the same time no matter when it happened, or whether it was requested privately or publicly.

In most cases, faster. Part of the time delay was that I needed to give the code.google.com oncall folks a heads up in case it caused them a massive amount of traffic (it's generally bad form to cause a DDOS to someone else's service without giving them a heads up), since that was not the original planned release mechanism, and historically, these releases generate a bunch of traffic.

2. The very small number of times (in the 7 years i've been there) these things have been screwed up, even privately, we have almost always given people source within hours, so i'm going to say it was more that I try to correct mistakes as quickly as possible.

The only case it didn't happen that quickly that i'm aware of was when someone in a beta program requested pre-release GPL source, which we, of course, gave them, but it took a day or two to actually pull it together.

When it comes to stuff like open source compliance, what you do when things go wrong matters as much as what you do when things go right.

You should always feel free to ask folks for source, and beat them over the head if they don't reply quickly.

Besides that, the general rule of thumb for the GPL is that if you give binaries outside the company, that's what matters, not whether it was only sold to a few people, labeled a beta, or whatever.

There were a few companies (this is about 13 years ago now) using GCC that tried to use NDA's to separately restrict GPL release of new architecture patches until some "public release date" for that architecture, and the FSF threatened suit. It got worked out, and eventually led to this seemingly random message to the GCC mailing list: http://gcc.gnu.org/ml/gcc/2001-07/msg01342.html

(This is also when the GPL FAQ was updated with the same answer)

Re: Exploiting a Bug in Google's Glass

#13
post #4

Earlier quoted context omitted.

I think the entire ensuing discussion and a small part of this followup article point to the fact that at the time at which he exploited the device, the kernel source was unavailable, as well as that flashing a new boot image is only useful if you can actually build a kernel to flash. Given that the kernel source was not made available until the next day, he could not have used oem unlock - even "if he wanted to."

Why would you need the kernel source to fastboot unlock?

Unlocking the bootloader just allows you to have access to boot an unsigned system image. He points out in the article that you'd still need an image to boot.

With an unlocked bootloader, you could boot something that then messed with the filesystem to drop "su" out in the bin (and this is what happens when you boot a recovery image to root an Android phone).

But in order to do that, you'd need kernel sources, so that you could have something that would properly boot on the device and mount the filesystem.

Re: Exploiting a Bug in Google's Glass

#15
Very pleased to see such a detailed post. I'm also perturbed by how quickly I went from "Sweet, I can't wait to get glass and compile my own stuff," to "Wait, right, security holes in a 24/7 camera. Umm..." I mean, there have been studies that show you can identify passwords from audio recordings of known keyboard keys clicking. Then again, we did already have such as cellphones. (For quite some time I preferred iOS /because/ it was so hard to jailbreak...)

Re: Exploiting a Bug in Google's Glass

#16

Very pleased to see such a detailed post. I'm also perturbed by how quickly I went from "Sweet, I can't wait to get glass and compile my own stuff," to "Wait, right, security holes in a 24/7 camera. Umm..." I mean, there have been studies that show you can identify passwords from audio recordings of known keyboard keys clicking. Then again, we did already have such as cellphones. (For quite some time I preferred iOS…

> from audio recordings of known keyboard keys clicking

Neat.

http://dl.acm.org/citation.cfm?id=1102169

"We present a novel attack taking as input a 10-minute sound recording of a user typing English text using a keyboard, and then recovering up to 96% of typed characters. There is no need for a labeled training recording. Moreover the recognizer bootstrapped this way can even recognize random text such as passwords."

I think this also works on dvorak, but it might be stumped by plover + custom dictionaries. Especially for short typing sessions. Although short sessions might be mitigated by recording from multiple locations... hm.

Re: Exploiting a Bug in Google's Glass

#17

Very pleased to see such a detailed post. I'm also perturbed by how quickly I went from "Sweet, I can't wait to get glass and compile my own stuff," to "Wait, right, security holes in a 24/7 camera. Umm..." I mean, there have been studies that show you can identify passwords from audio recordings of known keyboard keys clicking. Then again, we did already have such as cellphones. (For quite some time I preferred iOS…

Not sure if you meant 'was' so hard to jailbreak there. I'm pretty sure jailbreaking the iPhone is the hardest it's ever been.

Re: Exploiting a Bug in Google's Glass

#18
post #9

While the first part of this article couldn't decide whether it was directed toward technical or non-technical audience, second part about security implications of such an easy way to get root was definitely thought-provoking. While I was super-eager to get Glass before, it really got me wondering if having camera and microphone in your glasses is such an great idea after all.

It would be interesting if there was some way to pop the camera/microphone off so that Glass could still give you notifications, just not collect input. Would solve a few problems.

paper and sticky tape should sort the camera out nicely.

Re: Exploiting a Bug in Google's Glass

#19

"At this point, I could have simply complained to Google in order to obtain the source code for the kernel. However, I expected that would take days (Google actually ended up posting the code within hours on Saturday, but that was under rather large public pressure), " FWIW: 1. It wouldn't have taken days, it would have taken roughly the same time no matter when it happened, or whether it was requested privately or p…

Hey, so speaking as someone who has tried and failed to get support from Google in the past, can you tell me the right way to complain to Google about such things?

(Who to email, which webpage I submit the request at, or whatever the official process is)

I'm asking here because what you said sounds great, but unfortunately Googling for "google gpl request" and the like didn't turn up anything.

Re: Exploiting a Bug in Google's Glass

#20
post #9

While the first part of this article couldn't decide whether it was directed toward technical or non-technical audience, second part about security implications of such an easy way to get root was definitely thought-provoking. While I was super-eager to get Glass before, it really got me wondering if having camera and microphone in your glasses is such an great idea after all.

your phone has both, specially the microphone is always with you in possible working condition, if not the camera that could be blinded in your pocket.
Post reply on HN