News for hackers. Stuff that matters.
Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by jimrandomh on Monday July 27, 2015 @01:47PM (#9956779)
Summary: MMS messages can cause Android phones to decode video with libstagefright, which is a C++ library with vulnerabilities and insufficient sandboxing, leading to remote code execution without user interaction.

You can partially mitigate the risk by disabling auto-downloading of MMS messages in whichever app you have set to handle text messages, such as Messaging or Hangouts. THIS IS URGENT. While the precise details of the flaw have not been publicly disclosed, this disclosure is sufficient for a skilled person to rediscover the flaw, which means that there is a considerable risk that someone will systematically use it on all the phone numbers.

Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by web007 on Monday July 27, 2015 @02:08PM (#9956907)
For the common Hangouts use case: Settings -> SMS -> Auto Retrieve MMS -> Uncheck
Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by tdicola on Monday July 27, 2015 @04:45PM (#9957881)
Are those the steps for Android 5/Lollipop? I don't see any of those menus in settings.

edit: Ah it's in the actual hangouts app that you have to go to settings. Also if those settings are greyed out then you might not have Hangouts handling your SMS messages, so run the Messaging app instead and go to its settings to disable auto open of MMS.

Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by dan-silver on Monday July 27, 2015 @07:27PM (#9958654)
Any idea why the auto retrieve mms checkbox would be checked and disabled so I can't uncheck it?
Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by tdicola on Monday July 27, 2015 @07:48PM (#9958740)
Yeah that threw me for a loop too, I think it's because Hangouts isn't configured to handle SMS for you. Check the Messaging app and its settings. It has a similar disable auto retrieve MMS setting.
Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by ams6110 on Monday July 27, 2015 @09:36PM (#9959045)
Messaging on my Moto G (Android 4.4.4) does not have this setting.

Edit: Messaging (default app) doesn't have this setting, but Messenger does. I tried Hangouts for awhile but didn't like it.

Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by gcb0 on Monday July 27, 2015 @10:10PM (#9959151)
nobody does. but Google is trying hard to make you use it by deprecating the gvoice app.

now if you want to make calls from your gvoice number, you must use hangouts.

funny how they think forcing newer apps is the solution to the g+fiasco

Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by thisisit on Tuesday July 28, 2015 @06:13AM (#9960513)
Messaging on Moto G2 (Lollipop) does have this setting under MMS. Disabled it from there.
Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by pjbrunet on Tuesday July 28, 2015 @06:46PM (#9965070)
NPR said the Messaging app is safe... ?
Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by pjbrunet on Tuesday July 28, 2015 @06:43PM (#9965060)
Seems to me Google could just update the "Hangouts" app to handle this, assuming people download the update. Yes or no? I think news articles are saying you have to wait for your service provider to issue an update? Sounds like bad advice.
Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by pjbrunet on Tuesday July 28, 2015 @07:01PM (#9965117)
For clarification, this is the Settings option -inside- Hangouts, not Android settings.

Contrary to the NPR article, somebody further down this page said this hack may affect Messenger users too. So I'm sticking with Hangouts!

Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by kpix on Wednesday July 29, 2015 @01:24PM (#9970118)
I tried this and it downloaded automatically the MMS anyway.
Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by 13 on Monday July 27, 2015 @01:54PM (#9956818)
It's likely too late for panic, everyone is probably owned already. It has the best infection vector ever, unauthenticated, unsolicited messaging with an easily discoverable addressing method. What more could a worm want?
Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by cpncrunch on Monday July 27, 2015 @03:37PM (#9957490)
>It's likely too late for panic, everyone is probably owned already

That seems unlikely given that the researcher hasn't publicly released the details of the hack, and he says that "he does not believe that hackers out in the wild are exploiting it".

Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by chronic40 on Monday July 27, 2015 @07:00PM (#9958552)
There are tens of thousands of extremely skilled hackers selling exploits on the order of $10K to $100K. I'm fairly certain someone has been exploiting it. Not everyone is a good guy in the world.
Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by philtar on Tuesday July 28, 2015 @05:37AM (#9960407)
If you're taking advantage of the law of large numbers, then it's only fair to use it in reverse: There's literally tens of thousands of iphones used by security researchers. One of them would have received a version if this if it was used on such a wide scale..
Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by dimino on Monday July 27, 2015 @07:37PM (#9958698)
That's absolutely not true, your certainty is based on a fundamental misunderstanding of exploits and the amount of time and energy required to find them.
Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by joepie91_ on Monday July 27, 2015 @10:34PM (#9959218)
I don't see what's "not true" about it. A worm vector of this scale is certainly worth the R&D investment to find exploits, and it is indeed correct to assume that the vulnerability has been found before.

Whether it has actually been used, given the value of the bug, is a different story. But it should absolutely be treated as "in active use" already, especially by state or state-sanctioned actors (like Hacking Team).

Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by dimino on Monday July 27, 2015 @11:20PM (#9959329)
What's not true is that this isn't in the wild. Period. You can make all the points about urgency you want and I will agree completely, but this is not currently in the wild, as far as anyone knows. Saying it actually is being actively used would be factually inaccurate based on the information known right now.
Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by joepie91_ on Monday July 27, 2015 @11:55PM (#9959422)
But that's the point: as far as anyone knows - more specifically, as far as anyone has admitted.

We do not have a 100% reliable way to determine whether an exploit is known by others (and likely never will have), and as such there is only one reasonable assumption left to make: assume that it is out in the wild and known by others.

This isn't a new concept - threat modelling requires that you assume every worst-case possibility is reality, so that you can guard against it. This was formalized in the 19th century as Kerckhoff's Principle[1], and undoubtedly existed before that in military circles. This applies equally to software security.

So given that we simply don't and can't know whether it is out in the wild, the most 'correct' assumption is that it is - because that lets us protect ourselves against that worst-case scenario, which may or may not be the case.

[1] https://en.wikipedia.org/wiki/Kerckhoffs%27s_principle

Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by dimino on Tuesday July 28, 2015 @10:55AM (#9961926)
If you think I'm arguing against the idea of treating the vulnerability like it's in the wild, then you are mistaken. I'm simply stating the fact that no one has any evidence that this is being actively used in the wild.

Are you refuting that fact, or are you not refuting that fact?

Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by ksenzee on Monday July 27, 2015 @02:01PM (#9956868)
Wouldn't you know if you'd received a sketchy MMS from a number you didn't recognize?
Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by kenbellows on Monday July 27, 2015 @03:26PM (#9957418)
The most standout part of this attack (to me) is that it can be 100% silent. The fact that the bug hits before the text notification is fired means that an exploit could potentially stop the notification, delete the message, and go on tramping throughout your phone doing whatever it wants leaving absolutely no indication to you the user that you've been hacked.
Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by ChrisAntaki on Monday July 27, 2015 @02:04PM (#9956884)
Not if the attacker deletes the message post-pwnage.
Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by Florin_Andrei on Monday July 27, 2015 @03:21PM (#9957382)
But wouldn't there be a trail of notifications, or something?
Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by 13 on Monday July 27, 2015 @03:25PM (#9957410)
If malware has root access it can alter everything on the phone without you ever seeing it. Any information falsified, all detection tools subverted.
Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by fragsworth on Monday July 27, 2015 @03:33PM (#9957465)
Possibly, if Google is logging everything on their servers. It should be relatively easy for them to find out who got infected.
Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by lvs on Monday July 27, 2015 @06:25PM (#9958410)
Proper pwnage would erase the MMS as soon as the exploit was complete. The only record of receipt would be on you itemized carrier bill.
Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by jboy55 on Monday July 27, 2015 @07:19PM (#9958631)
Except if the MMS went to an iPhone or other device not affected. Unless you can determine Android/iPhone from just a #, apple/blackberry/MS phones would be full of corrupted MMS messages.
Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by 13 on Monday July 27, 2015 @07:52PM (#9958762)
Why would it be corrupted? Just because it contains a malicious payload doesn't mean it has to be unviewable normally. Could even just tack onto all outgoing MMS by default and never raise anybodies suspicions.
Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by mjard on Monday July 27, 2015 @04:16PM (#9957720)
Even worse, if it's a worm, it's likely it would come from somebody you know.
Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by stephengillie on Monday July 27, 2015 @02:18PM (#9956974)
Is there a way to see if one is "owned"? Could we run a command or view a menu that would list an extra binary? Could we try to exploit ourselves in some way, like visiting a special website?
Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by superuser2 on Monday July 27, 2015 @02:40PM (#9957140)
We know about the vulnerability, not the payload delivered through it. There could be thousands of them with wildly varying characteristics. There could be none.

Some of them could be rootkits, and have patched filesystem and process explorers to hide themselves. Some could be called virus.exe.

But no, you will never know that you haven't been compromised. In the coming weeks, we may learn about some of the specific malware that spreads this way, and you may be able to test your phone for it, but finding nothing does not mean you haven't been owned by something more exotic.

Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by gcb0 on Monday July 27, 2015 @04:26PM (#9957779)
> none there's at lest one. see: team hacking android source code leak

very convenient timing for all that.

Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by simoncion on Monday July 27, 2015 @09:37PM (#9959052)
I don't see where superuser2 said what you attributed to them.

Did they edit their comment between the time you quoted it and the time I posted this comment? Or did HN's quirky rules regarding newlines (gotta put two if you want to display one) change the meaning of your comment?

Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by superuser2 on Monday July 27, 2015 @10:07PM (#9959146)
I think gcb0 meant to quote "none" and then reply on the next line, but commentary ended up on the same line as the quote.
Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by simoncion on Monday July 27, 2015 @10:14PM (#9959158)
I also suspect this, but was asking a primary source for the Official Dirt. :)
Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by ams6110 on Monday July 27, 2015 @10:03PM (#9959130)
I occasionally get picture or video messages from iPhones on my Android phone which just crash the default Messaging app. When this happens, it's not possible to even delete them as the app crashes immediately upon displaying that message. The only recovery I've found is to delete ALL messages. Interestingly this has never occurred when using Hangouts as the messaging app, but the fact that a presumably legit (these were received from known senders) MMS message could crash the app indicates that there are flaws in the programming.
Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by clearf on Tuesday July 28, 2015 @12:27AM (#9959519)
Independent of the question if "everyone" is owned is the interesting (and scary) possibility that specific people have been (or will be) targeted.
Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by jfoster on Monday July 27, 2015 @09:38PM (#9959057)
There would be a lot of side-effects being noticed if it were being exploited as widely as you suggest. For example, carriers would notice lots of unusual activity; MMS step-change at a minimum.
Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by Oletros on Tuesday July 28, 2015 @02:09AM (#9959782)
Why infected? Is there any indication that the exploit can give root access and be used to install things?
Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by zipfle on Monday July 27, 2015 @07:07PM (#9958585)
Presumably anyone exploiting this would end up sending such messages to many iphones as well, where they could not delete themselves. If there are no suspicious messages arriving on iphones, that suggests it may not be being widely exploited.
Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by itake on Monday July 27, 2015 @08:08PM (#9958815)
maybe, they could check to see if a phone number supports imessage which would reduce the number of iphone users.

they may also blast texts out to android only phone numbers (maybe if you gave your phone number to an android app)

Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by mortenjorck on Monday July 27, 2015 @08:54PM (#9958939)
That leads to an interesting security question: How is Apple's iMessage lookup service protected?
Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by hrrsn on Tuesday July 28, 2015 @04:01AM (#9960124)
Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by pd1 on Monday July 27, 2015 @11:08PM (#9959307)
> maybe, they could check to see if a phone number supports imessage

Is that possible? I haven't touched iOS in a long time.

Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by function_seven on Tuesday July 28, 2015 @01:41AM (#9959703)
It's possible through the UI. I'm sure it could be automated, though I don't know how.

When you send a text message from one iOS device to another, it will be blue if it was sent via iMessage, green otherwise.

Again, not sure how this could be automated en masse, but I'm sure it's possible.

Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by stavrianos on Tuesday July 28, 2015 @07:39AM (#9960740)
At the very least, there'd be a wave of unsolicited messages on android phones that don't auto-download attachments.
Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by baconhigh on Monday July 27, 2015 @09:55PM (#9959100)
Note; the bug is in the Stagefright media library (https://source.android.com/devices/media.html) - so while MMS is the method for delivery here, it may not be the only method.

Nuking MMS from orbit won't patch your phone.

Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by tbrock on Tuesday July 28, 2015 @12:10AM (#9959469)
Ok, but normal people are essentially screwed.

- They don't read hacker news so they aren't aware of this.

- They won't be able to disable auto downloading of MMS even if they did hear about it (think grandparents)

- They won't ever get an update to their Android phone to fix it (or be able to update it if one arrived)

Instead, why don't Android phone updates work like Chrome's updates do? I installed Chrome v1 years ago on my parents computer and today they are running version 44 (without any intervention on my behalf). They are fully up to date and protected without them having to even know about or run any sort of update.

Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by stephendedalus on Tuesday July 28, 2015 @12:20AM (#9959500)
Agreed. Even for those of us on Hacker News who know how to deal with this, what's our incentive for staying on Android? I really love the user experience of Android, but all this makes me think about is the next exploit and whether iPhone or even Windows Phone are more secure. At the very least they get patches in a timely fashion.
Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by nsgi on Tuesday July 28, 2015 @10:12AM (#9961583)
It's hit the news, so you don't have to read HN to be aware of it. It's also quite easy to disable auto downloading of MMS if given instructions.
Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by aswanson on Monday July 27, 2015 @09:54PM (#9959096)
decode video with libstagefright, which is a C++ library with vulnerabilities and insufficient sandboxing

Why? Why, if it is known to be a poorly written library, is it still part of an official release? And why the hell are client messages allow to specify the level of media down to the library linkage? Wtf.

Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by serge2k on Tuesday July 28, 2015 @01:56AM (#9959746)
The app is probably using MediaPlayer/MediaCodec and that uses stagefright under the covers.

The author is trying to build up hype for their vulnerability. Maybe if they shit on stagefright enough they can even start selling t-shirts.

Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by jsingleton on Tuesday July 28, 2015 @04:13AM (#9960170)
Alternatively use a different SMS/MMS client such as TextSecure.

To quote moxie: "We don't do any pre-processing that involves stagefright. There are no technical details at all available about this vulnerability (for maximum hype), but you'd have to physically tap on the media and then click through a warning about playing media insecurely before stagefright got involved."

https://github.com/WhisperSystems/TextSecure/issues/3817

See also: https://news.ycombinator.com/item?id=9959070

Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by x0x0 on Monday July 27, 2015 @02:32PM (#9957067)
Hopefully google paid and/or blackmailed carriers into filtering these mms messages. I think that's really the only possible remediation when at least 50% of android phones are functionally un-updatable.
Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by kenbellows on Monday July 27, 2015 @03:34PM (#9957476)
How would you filter out the offending MMS messages? People send legitimate videos as well; is the bug such that it's obvious which videos contain exploits?
Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by fluidcruft on Monday July 27, 2015 @05:20PM (#9958083)
As a brute-force approach, perhaps you could send the video through otherwise identical patched and unpatched emulators and compare post-playback memory and filesystem states?

It's also probably possible to extend the patches to detect malicious input.

Someone could probably also create a video with a payload to hot patch libstagefright.

Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by clearf on Tuesday July 28, 2015 @12:29AM (#9959524)
> Someone could probably also create a video with a payload to hot patch libstagefright.

This is brilliant. Assuming that it doesn't cause further problems.

Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by wedesoft on Tuesday July 28, 2015 @07:44AM (#9960756)
Ok, I guess I better turn MMS auto-retrieve back on then ;)
Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by adynatos on Tuesday July 28, 2015 @04:40PM (#9964317)
This is cool idea. One problem may be that different versions of Android have different versions of libstagefright and just hot-patching that or dropping a replacement may brick older phones.

Here's a more modest idea: Google should immediately issue update for Hangouts and Messenger app that at least disables automatic MMS retrieval. Many users have automatic updates for those apps turned on or maybe at least they'll see a notification about app needing approval to update.

Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by fluidcruft on Wednesday July 29, 2015 @09:09AM (#9968337)
The exploit author told a Forbes reporter that Fennec (Android version of Firefox) has already been patched. If that's correct, that seems to imply two things: (1) MMS is just one of many vectors and (2) apparently somehow the exploit can be mitigated at the app level.
Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by serendipitous on Thursday August 06, 2015 @12:28AM (#10014531)
Firefox packages its own copy of the libraries it uses, including the stagefright library. They patched their copy in the new release.
Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by nicois on Monday July 27, 2015 @06:40PM (#9958475)
I tried chmod 0000 libstagefright* but my rooted 4.4.4 wouldn't boot afterwards. Any ideas on how to disable the libraries without completely breaking android?
Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by simoncion on Monday July 27, 2015 @09:39PM (#9959060)
TextSecure does not decode MMS attachments until you explicitly open them. [0] Switching to it as your default SMS handler should protect you from drive-by infection through malicious MMS payloads.

[0] https://github.com/WhisperSystems/TextSecure/issues/3817

Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by swsieber on Monday July 27, 2015 @03:21PM (#9957386)
Hopefully those who make texting apps will be sensible and push out an update that 1) has a message about the vulnerability and 2) that disables auto-downloading of mms.

Edit:And I say this because even though old phone don't get updated, their apps do. Tenuous at best, but still better than nothing.

Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by e40 on Monday July 27, 2015 @03:26PM (#9957416)
The equivalent fix for the Android Google Voice app is... not needed, because it still doesn't handle MMS.

Yes, I know that Hangouts has GV integration, but it's pretty subpar. There isn't, for example, a decent Hangouts Chrome extension.

Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by praxulus on Monday July 27, 2015 @06:49PM (#9958505)
Pretty sure I've started receiving MMS messages on my google voice number. It looks like support was added around November 2014.
Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by simoncion on Monday July 27, 2015 @09:42PM (#9959068)
Indeed.

The caveat is that MMS media attachments are not accessible in either the Google Voice Android app, or the web UI. They are (IME) only delivered as attachments to the email copy of the MMS.

Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by praxulus on Tuesday July 28, 2015 @07:29PM (#9965244)
Have you tested it recently? I just received a picture and it shows up as expected in hangouts, which handles my GV texts now.
Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by simoncion on Thursday July 30, 2015 @08:46PM (#9979280)
I haven't integrated Hangouts with Google Voice, and I never intend to. I'm still using the standalone Google Voice Android app and the web interface.
Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by praxulus on Friday July 31, 2015 @04:52PM (#9984414)
Ah, I don't think you'll be getting many new features if you don't switch over.
Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by e40 on Tuesday July 28, 2015 @08:56AM (#9961090)
Yeah, I don't call that "support", though.
Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by simoncion on Thursday July 30, 2015 @08:47PM (#9979283)
Why not?
Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by cillian64 on Tuesday July 28, 2015 @11:00AM (#9961968)
Can you confirm whether this is specific to videos or whether it includes images? I just received a rather generic and very unexpected MMS from a friend and wonder if there's a worm on the loose already.
Re:Major Flaw in Android Phones Would Let Hackers in with Ju... by pjbrunet on Wednesday July 29, 2015 @04:10PM (#9971246)
Wondering the same. I got a weird Google Chat message through Hangouts a few months ago. Tried to uninstall Hangouts but it's a "system app" and can't uninstall it.