by zackmorris · 3y ago · 0 comments
I suspect that nearly all containerization software is insecure. Especially with timing attacks like side-channel attacks (Row Hammer, etc):
https://en.wikipedia.org/wiki/Timing_attack
https://en.wikipedia.org/wiki/Side-channel_attack
In the end, the only way to "prove" container security is to be able to point to the fact that nobody has broken out of it yet. It's ..remarkable that our entire cloud infrastructure runs on containers that have never been audited by brute-force in this manner.
Here's work we did to exploit Firecracker. We had a known, promising vulnerability, and still failed to break out.
https://web.archive.org/web/20220927150915/https://www.grapl...
Exploitation is extremely hard. No one has ever exploited RowHammer in the wild, to my knowledge, and there are a lot of reasons why - but even still, RowHammer isn't magic, you can mitigate against it by increasing your refresh rate, or by limiting the attacker's execution time. Not to mention that vendors have deployed numerous methods of reducing the likelihood of an attack and it is quite complex to pull off these days.
The CPU has a key it uses to decrypt memory on access - and that key is never known by the operating system or any software running within it. If you use RowHammer to access the "wrong" memory location, the decrypted values would be random garbage.
Pure hardware protection, no changes to memory chips, almost no runtime performance cost, effective security.
This seems, well, naive?
You think there aren't a lot of people that have tried to break out of cloud containers?
Both EC2 and gcloud have had issues over the years with container breakout and leaks.
Complex (ie literally layers of operating systems) software has bugs. Yes. But so does the non-containerised base-case.
We have the best style of honeypots you could ever ask for already running- payment infrastructure on the internet. Go get 'em.
Hey that's an interesting solution you have there, do you think that emulation might help guard against side-channel attacks? Do you have any plans to mitigate them? I wonder if anyone has gamified container security, maybe with a honeypot somewhere where people could try to break out.
And I have no idea why you think no one is trying to break them or audit them.
Nah, it’s 2023, brute it