Google reports that spectre cant be fixed by software alone.
So my question is how safe is a project in a cloud platform like AWS, Azure, DIgital Ocean, Hetzner Cloud?
I am having a hard time understanding how hard and how fast can it be exploited, since when you have a cloud thing you are along with many other instances that are not owned by you.
No sugar coating or fanboyism, just plain facts, it it’s a hardware bug lets face it.
I believe the fix for this was essentially turning off Branch Prediction, which is what spectre exploited. This was/is mainly more of an issue with older Intel procs as apparently a good amount of their performance boost back in the day was from this predictive processing. When we applied this patch across our servers in our VMware cluster it essentially turned off the predictive branch processing at the hardware/firmware level (which sadly netted us a 30% performance decrease in some of our older boxes).
I would assume that big cloud setups like AWS, Azure and the like, not only run on newer hardware, but have also taken similar steps to turn off predictive branch processing, in terms of applied BIOS and low end firmware patches. I think I remember my personal old R610 server that hadn’t gotten a BIOS update since 2015, suddenly got one in late 2018 to fix the exploits found from not only Spectre but Portsmash.
As far as I know, this is all theoretical and R&D based. No one has actually seen this happen. It’s a pain in the ass to pull off, when social engineering or lateral network attacks are more reliable/efficient to perform.
To answer your question: It depends on you. Are you taking firewall rules seriously? Are you using keys instead of passwords? Are you disabling remote root access to systems and databases? Are you using encrypted data instead of plain text? Do you have private subnets that are accessible via NAT or Load Balancers only? Do you have a bastion host?
Golden rule of sysadmin/InfoSec is be paranoid and don’t be lazy.
Any => Any is great when you’re testing something. But I don’t allow shit to go outbound or inbound unless the application or tool specifically needs that port.
What they’re doing right now is patching holes in a dyke, as each hole is filled another one starts spouting water. And given the importance of that dyke, they will continue doing so. It’s safe to assume that your data in the cloud is less secure than it was before Spectre, and more vulnerable to 0day attacks, but then everybody was always vulnerable to 0days.
Ultimately Spectre can only be fixed with new hardware. We’re always known that, since it was first released.
I can’t add much to the above, apart from some evidence that SMT (hyper-threading) could be exploited for Spectre like side-channel attacks.
On that note I can talk a little about some mitigation options available in Azure (I am sure AWS beats out Azure in this regard);
When you look at the VM tiers you will understand that some (e.g. older D & G series) are on servers that have Hyper-threading (SMT) disabled. In azure these VM’s are referred to as having Virtual Cores (and nested virtualization is disabled/was never available). The largest G series VM (GS5) is on a dedicated host.
Some Azure VM series that do use Hyper-Threading (e.g. E v3) allow you to run a single VM on a dedicated host server (E64is v3).
Therefore, if I absolutely had to run some VM’s in Azure, and needed to ensure maximum security I’d be tempted to go for a dedicated E64is V3. These VM’s are also referred to as having Virtual CPU’s (and support Nested Virtualization).
The only(!) downside to using dedicated virtual hosts in Azure is that the amount you will pay per month is eye-watering. The use of Nested Virtualization might help with that if you needed all that RAM etc. The E64is v3 is approx $3,000 per month (64 vCPU & 432GB) and the GS5 is approx $,6,400 per month (32 vCore & 448GB).
I wouldn’t trust any large companies. All they want is money and don’t care about their customers. They are just trying to automate away IT people and its very sad. They are probably selling all your data for what is not already leaked because they only care about the bottom line.
I think their should be legislation to regulate the cloud.
Actually even new hardware, at least on the server end of things won’t get you out of the issue entirely. Looks like intels 9th gen consumer chips got the physical update, but the Xeon’s, as they are still based on Skylake-X did not. Also, while ASW still does run predominantly Xeon hardware, it looks as though they are slowly trying to switch over to their own in house chip, I think even ARM based? They had something going with AMD for a bit to produce a special chip for them, but AMD wasn’t able to deliver on the performance at the time, so they’re looking to manf in house.
By new I meant “future”. The fixes in 9th gen intel chips are simply hardware mitigations for specific attacks, they don’t address the fundamental design flaw we’re talking about in this thread.