(Photo by Flickr user Leonardo Rizzi, used under a Creative Commons license)
The recently announced exploits Meltdown and Spectre
Meltdown is an exploit that takes advantage of how modern Intel CPUs execute instructions out-of-order in an attempt to be more efficient and performant. Exploiting this vulnerability gives the attacker access to most, if not all of the privileged data stored in memory. This exploit operates at the hardware level, and therefore applies to all operating systems, including Windows, Linux and macOS. It also enables a guest virtual machine to break into hypervisor memory and containers to break into host memory. As such, this exploit affects not only desktop and server operating systems, but also resources hosted in the cloud.
In light of the exploits, the major OS vendors have created a safeguard that mitigates the vulnerability. The safeguard has been applied successfully to most of the major cloud vendors, including AWS, Azure and GCP. The patching did require a reboot of the hypervisor, and so some organizations may have seen unexpected downtime during this period of maintenance.
For those affected by the required maintenance, I recommend looking at your current cloud deployment and verifying that it is configured in a highly available manner, in line with the best practices of the public cloud vendor. For instance, Azure VMs should be placed in availability sets and EC2 instances should be located in two or more availability zones.
In addition to revisiting your cloud architecture, you should also take care to patch your existing virtual machines with the updates available from your vendor. Both Linux and Windows patches are available. Tread lightly, though, as the patches for Windows have been running into some problems with anti-virus software. If you deploy cloud VMs from an image, make sure that the image has also been patched or updated by the vendor.
For your on-premises machines, it is time to roll out this patch to your servers and desktops. Again, follow best practices and test the patch on non-production machines first. Any templates you use in your virtualization environment or for imaging should also be patched as well. It is worth noting that many vendors use Linux as the basis for their appliance deployments. Although nothing has been reported yet, it is possible that some firewalls, load balancers and other network equipment is also vulnerable to the Meltdown exploit. I recommend checking with your appliance vendors as well.
Finally, the fix put in place to mitigate Meltdown — known as KAISER — has potentially serious implications for the performance of your applications. The fix effectively forces the CPU to switch between user and kernel mode far more often than before, and performance hits of up to 30 percent have been shown in the wild. Once you have patched your systems, I recommend keeping a close eye on performance metrics, especially on database servers, to see if you need to increase hardware resources to compensate.
Here’s everything we know about the Philly courts website shutdown
AWeber’s secret to retaining top tech talent (hint: it’s not free lunches)
Why this game developer thinks Philly is ‘lucky to be an indie culture’
This apprenticeship program is opening the door for candidates with nontraditional backgrounds
Why tech experts so often struggle to become leaders — and what they can do about it
You do everything else on your phone. Why not vote?
What is open science?
How AI can help humans, not replace them
Sign-up for daily news updates from Technical.ly Philadelphia