Earlier quoted context omitted.
Could you elaborate on this? My interesting stuff detector is going crazy but I'm kinda out of my depth as to what exactly you're talking about. Are you referring to information leakage from the guest to the host operating system that might allow the host to sniff the inner workings of crypto algorithms running on the guest? Or perhaps guests sniffing other guests through timing attacks and suchlike?
Here's a fine starting point: http://eprint.iacr.org/2006/351
/dev/random and virtual systems
11–20 of 42 posts
Re: /dev/random and virtual systems
#12I did some research work last semester on crypto inside VMs. One of our initial readings was Yilek's work on attacking VM crypto through VM snapshots http://cseweb.ucsd.edu/~syilek/ndss2010.html
That's an interesting trick but not really representative of the problem. Reusing an RNG's entropy pool wholesale after restarting a snapshot is a mistake, not a design flaw.
Re: /dev/random and virtual systems
#13Earlier quoted context omitted.
That's an interesting trick but not really representative of the problem. Reusing an RNG's entropy pool wholesale after restarting a snapshot is a mistake, not a design flaw.
Part of the problem is the conflict of transparency and security here. Fixing the wholesale reuse of RNG state would most likely require modifying the guest so that it is aware of being restarted from a snapshot so it can react appropriately. However, that might have consequences on what restoring from a snapshot means conceptually.
Re: /dev/random and virtual systems
#14Re: /dev/random and virtual systems
#15Earlier quoted context omitted.
Could you elaborate on this? My interesting stuff detector is going crazy but I'm kinda out of my depth as to what exactly you're talking about. Are you referring to information leakage from the guest to the host operating system that might allow the host to sniff the inner workings of crypto algorithms running on the guest? Or perhaps guests sniffing other guests through timing attacks and suchlike?
Here's a fine starting point: http://eprint.iacr.org/2006/351
You are still secure from script kiddies, of course, and you've done a fairly good job if this is the easiest way to hack you.
Re: /dev/random and virtual systems
#16I put up a poll on the subject: http://news.ycombinator.com/item?id=2597256
Re: /dev/random and virtual systems
#17Earlier quoted context omitted.
Here's a fine starting point: http://eprint.iacr.org/2006/351
For the benefit of everyone in a hurry: those attacks are very real. If you're running on AWS, assume that the NSA [EDIT: or anyone with deep pockets, or plenty of time on his hands] can break any crypto algorithm you use. You are still secure from script kiddies, of course, and you've done a fairly good job if this is the easiest way to hack you.
Re: /dev/random and virtual systems
#18Earlier quoted context omitted.
For the benefit of everyone in a hurry: those attacks are very real. If you're running on AWS, assume that the NSA [EDIT: or anyone with deep pockets, or plenty of time on his hands] can break any crypto algorithm you use. You are still secure from script kiddies, of course, and you've done a fairly good job if this is the easiest way to hack you.
This isn't NSA-hard stuff; it's $500,000-contract hard.
Good point, though; I've edited my comment.
Re: /dev/random and virtual systems
#19I put up a poll on the subject: http://news.ycombinator.com/item?id=2597256
Why do you feel a poll is useful?
That is my own failure, of course. I wonder, though, whether everyone else knew about the VM RNG issue, or if only I had missed the memo. If the majority of poll respondents have never thought about the problem at all, perhaps I should start an awareness campaign on wikis and forums.
Re: /dev/random and virtual systems
#20Earlier quoted context omitted.
Part of the problem is the conflict of transparency and security here. Fixing the wholesale reuse of RNG state would most likely require modifying the guest so that it is aware of being restarted from a snapshot so it can react appropriately. However, that might have consequences on what restoring from a snapshot means conceptually.
How about having a command to manually reseed the PRNG?