'Stagefright' Flaw: Compromise Android With Just a Text
An anonymous reader writes: Up to 950 million Android phones may be vulnerable to a new exploit involving the Stagefright component of Android, which lets attackers compromise a device through a simple multimedia text — even before the recipient sees it. Researchers from Zimperium zLabs reported the related bugs to Google in April. Google quickly accepted a patch and distributed it to manufacturers, but the researchers say they don't think the manufacturers have yet passed it on to most consumers.
"The weaknesses reside in Stagefright, a media playback tool in Android. They are all "remote code execution" bugs, allowing malicious hackers to infiltrate devices and exfiltrate private data. All attackers would need to send out exploits would be mobile phone numbers, Drake noted. From there, they could send an exploit packaged in a Stagefright multimedia message (MMS), which would let them write code to the device and steal data from sections of the phone that can be reached with Stagefright's permissions. That would allow for recording of audio and video, and snooping on photos stored in SD cards. Bluetooth would also be hackable via Stagefright."
"The weaknesses reside in Stagefright, a media playback tool in Android. They are all "remote code execution" bugs, allowing malicious hackers to infiltrate devices and exfiltrate private data. All attackers would need to send out exploits would be mobile phone numbers, Drake noted. From there, they could send an exploit packaged in a Stagefright multimedia message (MMS), which would let them write code to the device and steal data from sections of the phone that can be reached with Stagefright's permissions. That would allow for recording of audio and video, and snooping on photos stored in SD cards. Bluetooth would also be hackable via Stagefright."
How can Stagefright be uninstalled / disabled?
My carrier blocks MMS--suck it!
"Android versions prior to Jelly Bean, version 4.1, representing roughly 100 million devices, have “inadequate exploit mitigations” that wouldn’t prevent Stagefright attacks over MMS."
You're welcome.
This group sounds like they acted reasonably and responsibly, letting Google know there was a problem, and submitting good patches to correct the issue.
If, now, there's some other fundamental impediment to distributing a correction to the bug that does not have to do with Google, but rather with the heaploads of cell phone manufacturers who use Google's code and who may or may not have the ability to distribute the fix, why should the vulnerability be made public? I don't see any apparent upside to the public good.
Put my fist through my alarm clock with its ding-dong death inside my ear. - The Blackjacks.
The problem appears to lie in one of the files /system/lib/libstagefright*
NPR is saying that Google Hangouts makes the problem worse:
It would appear prudent to uninstall Google Hangouts. If you can disable MMS with your carrier, do so, otherwise do not look at text messages from originators that you do not know - delete the conversations.
Carriers are unlikely to patch (look at SamsungIME.apk if you think OEMs or carriers will lift a finger to help us).
Root your phone, and await a new set of /system/lib/libstagefright* files - Cyanogenmod will likely provide KitKat copies if they ever shirk their laziness long enough to deliver the final promised KitKat milestone.
Hmm, the article suggests that we must consider ALL devices to be open to this attack, and later states that quote you provided. So are builds above 4.1 already fixed? I'm running the S4 stock 5.0.1 and yes, it took Samsung forever to get that released compared to the google release of the code.
I'll have to take a look at the CVEs myself as the article seems to leave me in conflict, either all devices are waiting for a patch, or devices below 4.1 need it.
This sounds far less than the 95% of Android devices stated in the article. It would affect 11% of users (http://developer.android.com/about/dashboards/index.html).
because my android tablet is so slow its completely useless now.
So, remote execution vunerbility on nearly 1 billion devices...
I wonder how much they would have made if they had sold it on the black market, instead of telling Google about it?
Please give me your phone numbers so I can text you the fix for this issue.
It is unclear to me from these articles or any research I was able to do, if you are vulnerable to this exploit if you use Lollipop which uses NuPlayer by default, not Stagefright.
"Google informed HTC of the issue and provided the necessary patches, which HTC began rolling into projects in early July. All projects going forward contain the required fix."
I presume that means that if you buy a new HTC phone you'll get the patch. If you currently own one, you're probably SOL.
If Windows or Linux or Unix or any other manufacturer of an operating system had put the ability and responsibility for patching the OS in the hands of the device manufacturers or the ISPs or anybody else, they would all have the same problem that Android is suffering.
Android gets tarnished, not because Google is lax in the updates, but because Google allowed the carriers/device manufacturers to take ownership for patching devices. At least MSFT was smart enough not to leave that up to Dell, Acer, Compaq, HP, etc.
Google should draw a line in the sand and say going forward they will issue the patches and the carriers have to enable that on new devices or they can't play with Android toys.
I'm pretty fucked if anyone wants to pwn my Sprint HTC Evo 4G.
If I have been able to see further than others, it is because I bought a pair of binoculars.
I interpreted this sentence to imply that these versions (prior to 4.1) can not even be PATCHED. Poorly worded to say the least.
I have my data plan turned off. When I receive multimedia texts, it receives nothing but a message prompting me to download it, but it doesn't actually download anything.
God spoke to me
I am disappointed to read that Google hasn't even patched its Nexus line yet. Theoretically, if I had a Nexus 6, I would be pissed that my Nexus 6 wasn't patched yet. Good thing I have an iPhone (shifty eyes), so don't bother texting me this exploit.
We see reports here is exploits like this or RSC Android last week (Link), the reports more than 99% of all mobile malware targeting Android (Link) etc., and it makes me wonder... Why would anyone trust a vehicle running Android?
If your phone stops working you can get another one (less than 1% of mobile malware targets Apple iOS, Windows and Blackberry combined), if your car stops working or gets hacked, it can kill you. Just wait until the first time the brakes are not available until you pay the ransomware (Link) money.
Disclaimer: I am the user of an old dumb phone, it is not very smart...
Procrastination; I'll think of a sig tomorrow.
It's a mix of two factors:
1) Fixes are available for 4.1 and up, *but*
2) Virtually no phones have *received* the patch, because it has to flow through the manufacturer, and they simply don't *care* about updating any phone which isn't currently their flagship model.
Yep, gonna be that annoying SoB and just make note that my BlackBerry z10 has had no ridiculous remote exploit vulnerabilities like this, has the worlds best messaging platform (BlackBerry Hub), awesome battery life, a rock-solid OS that multi-tasks like a dream. And it can run most all Android apps (though they are sandboxed to prevent their many flaws from compromising the rest of the system).
Now bring on the BB bashing!
I will never get anything other than a NEXUS !!!!
Who hasn't given up any expectation privacy when installing apps that want to pull your contact list, accounts, bloody everything? Then on the logistics front: the play store provides updates to hangout. Why would vendor (ex: Samsung, Verizon, Motorola) need to provide a patch? Is this core functionality the issue? Would seem the next time Play store wants to update Hangouts, in goes the patch. Is this just -another- slow press day when we are all supposed to be afraid, and pay attention to the media?
Time for a new Political party in the US (or two!) One is off the rails Other cant pony up a leader.
It would appear prudent to uninstall Google Hangouts.
Prudent but not always possible. On some versions of Android, Google Hangouts is a system app part of the os image. It can not be uninstalled. Only updates can be uninstalled, which is not helpful in this case.
This is not the case of my old phone. It runs Gingerbread and Hangouts did not exist when Gingerbread came out. It also not true of my new phone. I'm running a third party "debloated" version of Lollipop that omits Hangouts and other not-necessarily desired apps from the image.
Versions before 4.1 are extra vulnerable because stagefright has more privileges in those versions; I think the difference is that stage fright is sandboxed in 4.1+, but not in previous versions. So, 4.1+ is limited, an understatement, to unfettered access to the camera, microphone and storage barring the use of an additional exploit. 4.0- is totally screwed.
So Lollipop is unaffected, all recent builds of CyanogenMod and pretty much all non-stock AOSP roms are unaffected. That "up to 950 million" number looks a little bullshitty...
If you have rooted your device, you can remount /system in read-write mode, and from there you can remove any file in /system/app (thus removing Google Hangouts if it was installed in this location).
Google, the OEMs, and the carriers have formally abdicated any security stewardship for Android (case in point - Towelroot).
If you wish to maintain a secure Android device, you must root it yourself. No one else can or will help you until you root.
"There are some mitigations, for example, in Google Hangout settings, a user is able to request that MMS messages are not automatically downloaded."
Source: https://threatpost.com/android...
Even root access won't save my HTC Desire 510. Whenever I mount the system as read-write and remove files, (such as Facebook and Twitter .apk and .odex files), or even change files, (such as that stupid MP3 the phone plays while the screen says 'Quietly Brilliant'), HTC oh-so-helpfully restores them for me at the next cold boot, whether or not there's any network access. I'd love to install Cyanogenmod, but there's no fully functional ROM available for my phone.
'The Economy' is a giant Ponzi scheme whose most pitiable suckers are the youngest among us and the yet-unborn.
If you wish to maintain a secure Android device, you must root it yourself. No one else can or will help you until you root.
So, IOW, for the 99.999999997% of Android Users that don't even know what "rooting" is, let alone how to do it, they are simply SOL until they purchase an iPhone.
It's a mix of two factors: 1) Fixes are available for 4.1 and up, *but* 2) Virtually no phones have *received* the patch, because it has to flow through the manufacturer, and they simply don't *care* about updating any phone which isn't currently their flagship model.
How's that iPhone sounding about now? At least THEY patch vulnerabilities several models back, and overall, pretty fast, too.
Try installing zero-size files of the same name. Set the permissions to 000, and apply the immutable bit (chattr +i). The chattr command is bundled with the SuperSU; it is also included with busybox.
In the ksh, applying the output redirection operator to a file without a preceding command will serve to truncate the target file (i.e.: > facebook.apk).
...and I hope the class action lawsuits provide a useful object lesson to the Android marketplace about the importance of security patches. The more vendor agony, the better at this point.
A bunch of people here are all saying "vendors don't give a crap.", but I got a nag screen for a security update a few days ago on my Samsung S5, and if that addresses this issue, then they fixed it before I even knew there was a problem.
I mean, every, single, time I bring up the topic of mobile device (in)security to, well, virtually anyone not employed in an IT Department, they get a bit of a glazed look in their eye, and a puzzled expression on their face and usually announce/ask, "wtf do I care?"
NOBODY outside of professional IT people give a rat's ass about mobile device security... as long as their latest brainless app/game du jour works and keeps them entertained, the rest of the world can rot.
This is most clearly evidenced by the lack of uptake with the BB10 mobile OS: out of the box it's THE MOST secure operating system for mobile devices currently available in retail, but it has virtually no uptake because of apps and because nobody gives a rats ass about security anymore....
-AC
Also try making the file as a directory, and/or installing it as the null device file. On my Android, based on the directory entry for /dev/null, I might install an alias for it as mknod c 1 3 /system/app/facebook.apk
It's questionable ethics to fix a security flaw for someone by hacking into their system to fix it, but it DOES seem preferable to have a white-hat text patches out to everyone prior to exploit by a bad actor, especially if the fix is relatively simple and low-risk.
Better yet would be if the vendors just took care of it, of course, but given their lack of motivation and alacrity.....
--PM
If you wish to maintain a secure Android device, you must root it yourself. No one else can or will help you until you root.
So, IOW, for the 99.999999997% of Android Users that don't even know what "rooting" is, let alone how to do it, they are simply SOL until they purchase an iPhone.
I'm sure the attention this will be receiving from the media will force the vendors to patch this. They wouldn't want a massive turnover to iPhone because they were too lazy to provide a simple patch,
It's a mix of two factors:
1) Fixes are available for 4.1 and up, *but*
2) Virtually no phones have *received* the patch, because it has to flow through the manufacturer, and they simply don't *care* about updating any phone which isn't currently their flagship model.
How's that iPhone sounding about now? At least THEY patch vulnerabilities several models back, and overall, pretty fast, too.
Google patched it back in April. The manufacturer's of the phone's are now responsible for providing it to you.
iPhone isn't any faster. There were multiple exploits and problems that went for months until they made headlines. Plus with this information any user can root their phone and fix it. That's not something that be easily done with an iPhone.
Comment removed based on user account deletion
Who knew Drake was so big into network security? He's quoted in TFS!!!
I'm sure the attention this will be receiving from the media will force the vendors to patch this. They wouldn't want a massive turnover to iPhone because they were too lazy to provide a simple patch,
How much would you like to lose on that bet?
The difference is that when Apple patches a security flaw, every semi-current iPhone user worldwide can install the patch and Apple usually patches the current version and one version back. For instance, the "goto fail" security patch that was released in March 2014 patched every phone back to iPhone 3GS in 2009 (patch for 6.x) and IOS 7.
Google patched it back in April. The manufacturer's of the phone's are now responsible for providing it to you.
No, you mean the CARRIER'S are now "responsible" for providing it to you; since THEY are the final arbiters of what code runs in your phone.
iPhone isn't any faster. There were multiple exploits and problems that went for months until they made headlines.
1. There is no company called "iPhone". Just like there is no company called "Android".
2. Citation, please?
Plus with this information any user can root their phone and fix it.
No. With this information, some Slashdot readers can root their phone and fix it. For those who even HAVE a "rootable" Android phone, the vast majority wouldn't even know how to look up how to root their Android device, let alone be able to actually do it without bricking their phone, or something else equally entertaining (but unhelpful).
What is the impact if other media.stagefright* entries are disabled? I see a long list.
because ONLY haxx0rz can use this, and there aren't so many of them. After all, how many cyber bogey men can you find in your local cyber space interweb?
Thanks emil, I'll try those things. I already set the perms to 000, and that didn't work, but I've never heard of the 'immutable bit' before - have to check that one out. Can I do it from Root File Explorer, or do I need to get to a terminal?
I'll try the folder idea first, as it's easy and I've previously used it on my Linux boxen to get rid of the 'Recently Used' file.
'The Economy' is a giant Ponzi scheme whose most pitiable suckers are the youngest among us and the yet-unborn.
Grab Google Messenger off of Google Play
https://play.google.com/store/apps/details?id=com.google.android.apps.messaging
Open it, go into Settings.
Make it your Default SMS app.
Click Advanced
Uncheck "Automatically retrieve MMS messages"
If it hasn't retrieved it, it can't parse / process it, right?
Enjoy the clean awesomeness that is Google Messenger. Grab their keyboard and launcher while you are at it.
If we're now using Tweet to mean a small amount of text we need to know how big this is in the new unit of measure.
You might try creating it as a directory first - you're trying to sabotage whatever script is running that restores these files, and the simplest sabotage is the best.
Here is the description of the immutable flag from the chattr man page:
You're a fucking idiot.
The data comes from the app store, from only a 7-day period. People buying lower-end phones (often featuring older versions of Android) and keeping them longer, are much more likely to use less features, less often, than others... These stats are more about "which versions to target, when aiming for rich people using their phone a lot"...
they are simply SOL until they purchase an iPhone.
I seem to remember reading that in the Android support manual.
>>"ad space available -- low rates!!!"
If you wish to maintain a secure Android device, you must root it yourself. No one else can or will help you until you root.
So, IOW, for the 99.999999997% of Android Users that don't even know what "rooting" is, let alone how to do it, they are simply SOL until they purchase an iPhone.
Not everybody can afford Apple's enormous price premium (yes just look at the huge profit margin).
So, IOW, for the 99.999999997% of Android Users that don't even know what "rooting" is, let alone how to do it, they are simply SOL until they purchase an iPhone.
You should be happy that there are Android users, if everybody was an iDrone (I don't mean that to be particularly derogatory -- in fact I am one myself -- just that we all use the same phone which is the complete anti-thesis of the original 1984 marketing spiel) then Apple's products would suffer due to being hit with anti-trust suits. Their anti-competitive behavior of private APIs, arbitrarily locking competitors out of their platform and product bundling is only allowed because they don't have significant market power.
How's that iPhone sounding about now?
Why are you so desperate for everybody to use the same phone? Is it that you want validation that you made a good choice? Or you have a vested interest in it?
How's that iPhone sounding about now?
Literally exactly the same that it sounded before this was announced. I'm going through my list of all of the reasons why I don't have an iPhone, and this announcement doesn't seem to have changed even a single one of those reasons.
"Our two-party system is like a bowl of shit looking at itself in a mirror." - Lewis Black
Why are you so desperate for everybody to use the same phone?
Nobody asked for that. We just want Apple to suffer the death penalty like King Jobs did for going nuclear on patents.
See subject...
APK
P.S.=> That's for anyone here old enough to recall that... apk
Sorry bout that JBallz - you "beat me to the punch" -> http://it.slashdot.org/comment...
* :)
(Nice to see there's somebody here that got that one - even IF it was before me...)
APK
P.S.=> Didn't see yours: In any event? "Onwards & UPWARDS"... apk
Google patched it back in April. The manufacturer's of the phone's are now responsible for providing it to you.
That's the problem with the Android ecosystem, Google makes the code change but then the questions of how/when/if that will reach users remain unanswered. Yes Android is open source (well the AOSP is anyway) but Google has the Open Handset Alliance which enforces terms on its members so they can use Google's Android services and get early access to the source code. Part of this contract should be a well-defined mechanism and commitment for getting security updates to users.
When Apple puts out an update for iOS or Microsoft puts out an update for Windows it is available to all users at the same time and getting updated code to users is what matters. Google should be making it work the same way.
Not everybody can afford Apple's enormous price premium (yes just look at the huge profit margin).
IPhone 6 Plus 64 GB Unlocked, no SIM, direct from Apple: $US849. One Year Apple Warranty.
Samsung Galaxy S6 64 GB Unlocked, "International Version", listed on Amazon: US$815. And this nice disclaimer:"This cell phone may not include a US warranty as some manufacturers do not honor warranties for international version phones. Please contact the seller for specific warranty information."
So, I'm a bit baffled; where's all that "enormous price premium"?
... where they can be perma-bricked by another SMS exploit. Good thinking!
So, I'm a bit baffled; where's all that "enormous price premium"?
Well first let's be clear that Samsung is not the only Android phone manufacturer so comparing just to one Samsung device is not representative of the wider market. Secondly pointing out that Apple has an enormous price premium on the iPhone does not in any way suggest that Samsung does not have an enormous price premium on the Galaxy S6. Thirdly Apple does have an enormous profit margin on the iPhone.
So I'm not sure why you are baffled. Except perhaps your inability to understand that a statement about Apple does not mean that it applies exclusively to Apple and no other company.
It'll give you a warning before stagefright is used
https://github.com/WhisperSyst...
you can find SMSSecure on f-droid
Also check to make sure hangouts isn't using mms (just to be on the safe side)
1. There is no company called "iPhone".
The legal name of the company is Apple Inc. It has the authority to update system software on iPhone and iPad brand devices. When people refer to "iPhone", they refer to the division of Apple responsible for iOS updates.
Just like there is no company called "Android".
A company called Google Inc. acquired a company called Android Inc. But there is no one entity with authority to update system software on devices. This is delegated to device manufacturers (for Wi-Fi-only tablets) or to carriers (for phones and tablets supporting cellular data service).
How can pre-Jelly Bean ~= 100 million devices?
This would mean post Jelly Bean ~= 1 billion devices?!?! Not possible.
At least for hangouts (not the built-in messaging app), Google could release an update that does not rely on stagefright.
Silence is a state of mime.
No, manufacturers are responsible. Why the fuck would a carrier have anything to do with the OS on *my* phone which another company manufactured?
So I'm not sure why you are baffled. Except perhaps your inability to understand that a statement about Apple does not mean that it applies exclusively to Apple and no other company.
Nice backtracking.
While I understand it could be about other companies besides Apple, it was obvious to the most casual observer that it was not intended to be about anyone but Apple.
No, manufacturers are responsible. Why the fuck would a carrier have anything to do with the OS on *my* phone which another company manufactured?
Because, dimwit, if you have an Android phone, it is the CARRIER that gets the last word on the OS software running in your phone; not Google; and not the phone's manufacturer.
(Why the HELL are there now TWO front page threads about this??)
I know I'm a bit late to this, but this is what I posted in the other thread:
--
Concerning CyanogenMod, this was posted to their Facebook page a few hours ago:
Recent Stagefright issues
The following CVE's have been patched in CM12.0 and 12.1 nightlies for a couple weeks. If you haven't updated already, we strongly encourage you to do so.
CM11 will see these updates hit as part of out of band fixes this weekend (these releases occur weekly).
CVE-2015-1538
CVE-2015-1539
CVE-2015-3824
CVE-2015-3826
CVE-2015-3827
CVE-2015-3828
CVE-2015-3829
We are actively following all the DefCon events and announcements and will be keeping tabs on other disclosures that could impact CM and its derivatives.
Even without counting non-smart phones (you know, these funny things you put a simcard in and then use to place phone calls), you get for instance Jolla phones, based on Sailfish OS, Blackberry phones, even the (somehow fossil) Openmoko device...
The main issue I feel here is most people want things to be solved, but without losing any comfort, nor even changing OS.
In such a case you are doomed. But not me.
Those around calling for class action etc. are near ridiculous -the answer will simply list the devices above, to dismiss the case...
Herve S.
So apple convinced you that they have no security vulnerability ??...
Laughable....g