Every Android Device Launched Since 2012 Impacted By RAMpage Vulnerability (bleepingcomputer.com)
Almost all Android devices released since 2012 are vulnerable to RAMpage bug, an international team of academics has revealed today. From a report: The vulnerability, tracked as CVE-2018-9442, is a variation of the Rowhammer attack. Rowhammer is a hardware bug in modern memory cards. A few years back researchers discovered that when someone would send repeated write/read requests to the same row of memory cells, the write/read operations would create an electrical field that would alter data stored on nearby memory. In the following years, researchers discovered that Rowhammer-like attacks affected personal computers, virtual machines, and Android devices. Through further researcher, they also found they could execute Rowhammer attacks via JavaScript code, GPU cards, and network packets.
That any compiler could figure out, and the processor specs as to "when and how" that would happen would be given to the compiler.
In other news, a bigger fire is hotter than a smaller fire.
The article said that Apple iOS devices may be vulnerable to, but since this is a kind of Rowhammer attack, which Apple mitigated in 2015, I wonder if it is?
It would be nice if the article (and researchers) were more clear about other platforms being vulnerable...
"There is more worth loving than we have strength to love." - Brian Jay Stanley
Unless your objective is to crash the device, rowhammer is a useless technique and even then there are far easier ways to accomplish this. Until you can tell me EXACTLY what cells you are modifying and in what way, you will NEVER be able to utilize this vulnerability interesting observation for any kind of useful exploit. Even then, you would have to know WHAT you are modifying and even the most basic memory page protection prevents that. #SLOWNEWSDAY
Yes combined with web assembly and Google's advertising network the devices are working (worming?) as intended.
Every time I see one of these 'Every Android device is vulnerable!' things, I go 'Wanna bet?' and throw the test app on my Blackberry Priv.
The Priv hasn't been vulnerable to any of 'em yet.
Which makes me suspect most of these things don't work on the various 'security focused' Android builds. I don't have a Samsung Knox or the like to test, however.
I feel you but what mobile OS isnâ(TM)t.
when someone would send repeated write/read requests to the same row of memory cells,
Ouch!
Unless it's posted open source and GPL.
If I were going to post some Malware, I'd make a clean open source/GPL version with handy pre-compiled binaries that had the actual exploits included... we all know very few people would actually go to the trouble to download and compile so you'd get quite a good uptake from people who assumed because the source was open it was safe.
"There is more worth loving than we have strength to love." - Brian Jay Stanley
Snapdragon 808 in the Priv is vuln. Nothing you can do in the OS or with virtualization makes it cease being vulnerable. In addition the hypervisor used on the 808 by all OEMs, including Blackberry, is known to be open to an ARM variant of BluePill and virtualization rootkits are possible on the device.
.. memory chips? If so, then in theory anything using them is vulnerable with enough work. Would using ECC memory avoid all this over hyped crap?
How about RTFA -
The researcher team also believes RAMpage may also affect Apple devices, home computers, or even cloud servers.
Dope.
Does it affect "anything that has RAM" or does it have to be a specific type of RAM?
Ex: is the RAM inside an ATmega328P affected by this security problem?
#DeleteFacebook
Would using ECC memory avoid all this over hyped crap?
Yes ECC memory and ECC cache mitigates Rowhammer. In theory not completely, you could cause an undetected triple-bit error if you ran the attack long enough. However, in that time you are vastly more likely to hit a detectable-but-uncorrectable two-bit error that halts the machine.
(A quick Google implied that modern systems are still stuck with single-correction double-detection. I am not sure that is correct.)
Finally! A year of moderation! Ready for 2019?
Or, even better, RAIM.
> Every Android Device Launched Since 2012 Impacted By RAMpage Vulnerability
Since none of my Android devices have *ever* gotten a *single* OS update, I think it's fair to say that they're actually vulnerable to, well, *everything* that's ever been found out, with no fix in sight.
"Buy new hardware to get up to date" -- fuck you, I'm done playing that game.
If its source isn't open, it is bullshit.
And likely criminal.
That excuse didn't work at the Nürnberg trials, and it doesn't work for you.
I don't care what excuses you come up with; you worked for them; you have to deal with what that entails.
Whether it is because Adolf Hiter personally commands you to build ovens and gas chambers for people, or you design a memory chip that you know will leak information because a tied psycho suit is commanding you to.
I thought rowhammer issues were more or less resolved years ago. Do smartphone memory controllers sold today not have memory scramblers?
The apps I do look at the source, they're the ones that ask for permissions but I still want to use the app. So I'll review all the parts of the code that use the permissions
I think you misunderstand - the code published would not contain anything harmful at all. It would be totally clean. If you actually downloaded, compiled and ran that version you'd be fine... and it would work.
It would just be the pre-compiled binaries people could handily download without compiling, those would have the malicious code.
The beauty of the plan is the people who actually downloaded and compiled the apps would vouch for the authenticity the app even as the versions most people used had malware.
"There is more worth loving than we have strength to love." - Brian Jay Stanley
So again, data corrupted. Rowhammer seems counter productive at gaining access to data. If anything, it's just a nifty exploit to corrupt data and/or kernel panic the OS running on it. Essentially, sabotage.
Life is not for the lazy.
modern systems are still stuck with single-correction double-detection. I am not sure that is correct.
I am not sure either -- but decades ago it took 5 extra bits to guard 16 bits. As I understood it, the ECC was kept there, and on failure it morphed and used 4 bits to point to the incorrect bit and 1 bit to indicate action needed (ie, failure.)
This was only 1 vendor from decades ago, but that's what I remember the technical manual saying (back when they described things.) So I assume from that that it takes more bits to correct more bits; that they haven't improved the math behind the detection algorithm.
You can kinda notice the same thing in RAID5 and ZFS. You can add extra drives for more redundancy, but a single drive can't handle 2 unit failures -- I think the math requires more bits sacrificed to the Data Gods for better coverage, and there's nothing extra the bottom level can do with the bits it can use. (I know! Let's throw away all of those fat 0s and only keep the slim 1s -- that'll easily give us twice the space!)
If the universe is someone's simulation -- does that mean the stars are just stuck pixels?
You can't really improve the algorithm, you can only switch which patterns you correct, which you detect, and which you fail on. Provably optimal algorithms have been known basically since anyone cared.
However, modern memory is 64 bit, not 16 bit. That gives you 20 bit of ECC to play with, and it ought to be possible to do much better with that.
Finally! A year of moderation! Ready for 2019?
An attacker could potentially target a specific program's memory if they can figure out where to hit it with the rowhammer (which is at least theoretically possible with a spectre or meltdown-like attack). Being able to crash or corrupt the memory of a specific program sounds like the kind of thing that could lead to other exploits.
The article should be making the distinction.
It's only a DRAM problem because of DRAM's requirement for refreshing. Other RAM types don't have the constant discharge curve so won't be susceptible.
SRAM is the fastest. Buffers and caches are built of SRAM. MRAM is waiting in the wings to replace all DRAM and possibly some bulk SRAM in the larger caches too.
I'm guessing improved DRAM refresh logic can fix the issue though.
The AVR's are SRAM based. Bulk DRAM inside any uController is almost unheard of. https://it.slashdot.org/commen...