Live data from Hacker News

New cloud attack takes full control of virtual machines with little effort

arstechnica.com

101–105 of 105 posts

Re: New cloud attack takes full control of virtual machines with little effort

#101
post #42

Ouch. Before reading this article I was seriously considering deploying a signing service as a HaLVM (Haskell) Xen PV unikernel running on EC2. The service would receive its private key after startup, such that the key never touches disk. Now I'm a lot less inclined to pretend that the Xen interface actually protects me...

Afaik xen does not use memory deduplication. KVM aside, one should be worried about things running inside a linux host/vm, like containers. Maybe I am missing something

Re: New cloud attack takes full control of virtual machines with little effort

#102
post #34
post #31

Earlier quoted context omitted.

cant you limit sharing to Read/eXecute pages only?

Isn't rowhammer done purely by read operations?

from what I remember you need control (=ability to write to) over adjacent rows?

Re: New cloud attack takes full control of virtual machines with little effort

#103
post #37

Earlier quoted context omitted.

In retrospect I regret bringing up the Phenom because my argument could've stood without it, and I could realistically argue either way. But my original intention was pointing out that the failure mode of the Phenom was such that it wasn't exploitable for anything other than potentially denial-of-service; it was just inconvenient, and only affected a subsystem of the CPU which worked fine without it using a firmware…

I think that is the reason for the misunderstanding.. FDIV was not really insidious in the way you describe. It was 100% predictable, certain bit patterns always gave the wrong answer in the quotient on the affected hardware and it had a very straightforward software fix (with a performance effect sure). You could demonstrate it immediately, but it really wasn't severe. (Q9 and Q10 http://www.trnicely.net/pentbug/pen…

The early 386 32-bit multiplication bug is probably a better example. Fortunately there was little 32-bit software at the time.

Re: New cloud attack takes full control of virtual machines with little effort

#104
post #73

Earlier quoted context omitted.

I too am of this opinion and am surprised this view isn't widely shared. With DDR4, we should be asking for a refund and/or starting a class-action suit, yet we're putting up with software 'mitigations' instead. I extensively test all the hardware I buy (CPU: LINPACK, RAM: MemTest86+) and if it fails any of those tests, it gets returned as "not fit for purpose". I've done this successfully a few times. A lot of other…

How do you do it, regarding LINPACK? I assume just compiling it and execute some tests that are part of it?

The Intel LINPACK distribution contains, besides the library, a sample benchmarking application using it, and that happens to be a very intense and "real" workload (solving systems of equations, i.e. scientific computation.) There's plenty of posts on various PC enthusiasists forums about how to run it correctly. (And plenty arguing that it's irrelevant, mostly because their insane overclock seems fine but instantly fails this test. There's a good reason most doing "real" scientific computing don't overclock; a lot of CPUs just barely pass this absolutely realistic test with stock speeds and voltages.)

Re: New cloud attack takes full control of virtual machines with little effort

#105
post #49
post #2

It is more costly, but this is a good reason to use a dedicated chunk of memory for every Xen PV domU. No oversubscription! Allowing multiple domU VMs on the same dom0 (or the equivalent in other hypervisor platforms) to re-use memory and balloon/contract memory on the fly is what enables this.

Can you point me to some services that provide, specifically, Xen PV VMs with non-oversubscribed memory? I'm considering deploying a custom unikernel for protecting the private key data for my app[1], until I have enough money for a Hardware Security Module. [1] http://security.stackexchange.com/questions/135457/penetrati...

I'm not sure if anyone actually oversubscribes ram with Xen. But we (prgmr.com) still allow you to order PV VMs, mostly because NetBSD performance is abysmal in HVM mode.
Post reply on HN