News for hackers. Stuff that matters.
Re:Meltdown Update Kernel doesnt boot by brokenmachine on Wednesday January 10, 2018 @05:54PM (#16119914)
I watched that spy demo. How does it know what memory location contains the password being typed?
Re:Meltdown Update Kernel doesnt boot by KallDrexx on Wednesday January 10, 2018 @06:03PM (#16119971)
I'm assuming if you know either common byte patterns or string patterns you might be able to figure out where the password string is being allocated and watch that area of memory for changes.
Re:Meltdown Update Kernel doesnt boot by brokenmachine on Wednesday January 10, 2018 @06:43PM (#16120193)
Not sure if Meltdown is the same, but I read that Spectre can recover memory at about 10kb/sec. So it wouldn't be very efficient to scan the entire memory for a known pattern.

I suppose if there was an exploit targeted at a specific program, it would be possible to work out what location the secrets are stored in?

Re:Meltdown Update Kernel doesnt boot by monk_e_boy on Wednesday January 10, 2018 @09:09PM (#16120950)
I leave my machine on for weeks at a time. If something was scanning the memory even if it failed to find the location of my password 99.9% before it is erased eventually it will be lucky and get it.
Re:Meltdown Update Kernel doesnt boot by brokenmachine on Wednesday January 10, 2018 @09:30PM (#16121028)
Good point. I was only thinking about a single run but that makes sense.
Re:Meltdown Update Kernel doesnt boot by Zakharov on Wednesday January 10, 2018 @11:29PM (#16121394)
According to the paper, Meltdown can recover memory at about 500 kb/s
Re:Meltdown Update Kernel doesnt boot by hvidgaard on Thursday January 11, 2018 @02:21AM (#16122032)
It's still "only" 1.7gb/hour. If programs follow reasonable security practices, it shouldn't be possible to stumble upon secrets in the memory. This underlines the importance of things such as ASLR and not holding your key in memory longer than needed and rotating them as well.
Re:Meltdown Update Kernel doesnt boot by AstralStorm on Thursday January 11, 2018 @04:01AM (#16122379)
Once you know the location, if the process is not randomized, you can extract from that location. You may assume some things about implementation (e.g. libstdc++ or libc++, glibc memory allocator, general compiler version)

Additionally some hardening methods like stack protector make stack allocated objects stand out a lot from register values.

Re:Meltdown Update Kernel doesnt boot by fpoling on Thursday January 11, 2018 @02:57AM (#16122156)
Meltdown is fast enough to learn everything about layout of data structures in kernel or other programs and then use it to extract information from particular areas holding the keys.
Re:Meltdown Update Kernel doesnt boot by jnordwick on Wednesday January 10, 2018 @08:40PM (#16120837)
It appears to be known to the exploit. I feel that this is being so overblown and that the exploits we are seeing require more info that something in the wild would have.
Re:Meltdown Update Kernel doesnt boot by monk_e_boy on Wednesday January 10, 2018 @09:07PM (#16120942)
Code in the wild would have access to all memory (slowly) so could eventually find the correct location.

Given that whoever writes is would also have access to the other program, they would have a lot more information on where to look in memory.