Google Rebuilt the Android Media Stack To Prevent Another Stagefright 50
Reader Trailrunner7 writes: Android Nougat is bringing with it a slew of security improvements, many of them under the covers, and the one that likely will have the biggest long-term effect is the major rebuilding effort Google undertook on the media stack. That component of the operating system is meant to process audio and video, and it's been a weak spot in Android. The media stack includes the mediaserver process, which is used by a number of apps on Android devices. Researcher Josh Drake last year discovered a critical vulnerability in the libstagefright function in the media stack, which could allow an attacker to get complete control of a target device by sending a malicious MMS message. The Stagefright vulnerability is among the more widespread and dangerous flaws to affect Android, and though Google patched it last year, the company decided to take a more systemic approach to the problem in Nougat. Rather than addressing vulnerabilities on a case by case basis, Google implemented technologies to prevent a large group of bugs.
Just do it in rust (Score:1)
no need for this sandboxing stuff. Sandboxes should be a second line of defense, not a first one.
Re: (Score:2)
Re: Just do it in rust (Score:1)
So, are they lying or stupid? (Score:3)
Re: (Score:2)
Such as which driver exactly?
Re: (Score:2)
TL;DR: The theory is that Google couldn't update their Nexus 5 to Android 7 because the hardware doesn't meet an arbitrary requirement for Vulkan support that Google set.
Re: (Score:2)
Re: (Score:3)
This is an architectural change, not a patch for a security vulnerability. It doesn't remove a vulnerability; it changes the nature of a type of theoretical vulnerabilities.
Your argument is akin to claiming a company's new product has major new safety features, and thus that they are compelled to perform a safety recall on unsafe defects in prior products which don't have said features. Suddenly all cars made before a certain year must be recalled because they don't have airbags or antilock brakes and ar
Re: (Score:2)
This is an architectural change, not a patch for a security vulnerability. It doesn't remove a vulnerability; it changes the nature of a type of theoretical vulnerabilities.
Yep. Trading in one set of problems for a different set of problems.
Re: (Score:2)
Re: (Score:2)
If the risks in the new set of problems are more-manageable, that's a good strategy. .
Yep, agree with what you said. But you don't know whether new problems are more manageable until much later. Only point I am trying to make is that re-architecting out old problems is great, but with any non-trivial project you introduce new (improved! :^) cracks for things to fall through. Kind of like how the military is always preparing new methods to win the last war.
Re: (Score:2)
That's called risk. Risk is manageable by historical information. For example: we have modern programming practices and design patterns, which we know reduces the likelihood of bugs in the first place, and improves maintainability of large and complex code bases. A legacy code base using old design and being updated to fit new technology (new codecs, transports, hardware, APIs, and so forth) will insert small amounts of code into a large basis of high-risk-architecture code, causing risk; a refactor or
Re: (Score:2)
Now the question becomes - they got rid of stagefright bugs by removing stagefright. But did introducing a new media stack introduce a whole pile of new security bugs? This is important because starting from scratch generally does end up with a pile of bugs (see Apple's attempts at an init system, or even their SMB implementation).
So yes
Re: (Score:2)
Google said they would update the phone with new Android version for 2 years from the release date.
They did. It was released in October 2013. It now has Marshmellow, released in October 2015.
How has anyone been screwed?
Re: (Score:2)
They see it as a general security improvement and cost avoidance. They won't have to deal with individual vulnerabilities in the future, so they will avoid expenses over time.
Since Android 5 and 6 will remain in the wild for years, they will be fixing those issues anyway---Lollipop and Marshmallow run on more than just the Nexus 5.
Re: (Score:2)
Re: (Score:2)
I've heard this assertion before but I see no proof for it. It's possible Google just wanted to obsolete the Nexus 5 faster, but nobody seems to have any sources to back this up.
Re: (Score:2)
I think a big part of the problem is that phones don't have standardized hardware interfaces the way PCs do. You can't just install Linux on a computer with completely proprietary hardware.
Re:Read as: Google fails to patch Stagefright (Score:5, Interesting)
Rearchitecting a product so that it is inherently less vulnerable is exactly what every software developer should be doing.
Taking a stab at Google over this is something only an idiot would do.
Re: (Score:2)
Re: (Score:2)
It was. Take a look at http://www.libressl.org/.
LibreSSL fails to eat its own dog food (Score:2)
The real WTF is that https://www.libressl.org/ [libressl.org] produces "Firefox can’t establish a connection to the server at www.libressl.org." They aren't even eating their own dog food.
Re: (Score:2)
That was my point. Why isn't the website of a TLS implementation available through TLS?
Re: (Score:2)
It starts... (Score:2)
The "hidden fixes whenever we want, oh and full control of your device for your safety and ours" maneuver starts now.
Apple is next.
Re: (Score:2)
Google don't write the code that controls the radio, the vendor who makes the radio chip does.
Blame Qualcomm and others for that.
Is Vulnerability a bug? (Score:2)
Thoughts?
Re: (Score:2)
A bug is a flaw in the code that produces incorrect or unexpected results.
Relying on binary blobs (Score:2)
The whole media stack is still based around the binary blobs provided by the SoC supplier and wrapped by hacking shims to provide an common API.
It would be nice to see Google use it's power for good and start forcing manufacturers to open up the SoCs. Unlikely, but I can dream :-)