Meltdown and Spectre security – Musato Technologies


We enable business and management decisions through the delivery of cutting-edge ICT solutions...





Get inspired…
  
  
  

Meltdown and Spectre security

How the Meltdown and Spectre security holes fixes will affect you

Get ready to patch every piece of computing gear in your home and company to deal with this CPU nightmare. You Meltdown and Spectre security

can’t get away from Meltdown and Spectre. These chip bugs will make your life miserable. Everything you run — and I mean everything — PCs, Macs, iPhones, tablets, cloud computing, and servers — use vulnerable CPUs. Apple, Linux developers, and Microsoft have all released patches. And all of them will slow down at least some of your programs.-Meltdown and Spectre security

While Intel gets most of the heat for these hardware vulnerabilities, it’s not alone. According to Red Hat, ARM, IBM System Z, POWER8 (Big Endian and Little Endian), and POWER9 (Little Endian) processors are all open to attack. AMD claims its chips are largely invulnerable, but it concedes there’s a near zero — but not zero — the risk of exploitation from one class of attack.

So, what does that mean for you? Here’s what the experts say you can expect from your devices and services.

DESKTOPS, SMARTPHONES, AND OTHER END-USER DEVICES

To protect your Linux, macOS, or Windows PC, patch it. Now.

Linux patches are out for some, but not all, systems. Red Hat, Centos, and Fedora all have patches. SUSE has released SUSE Linux Enterprise (SLE) patches. Ubuntu and related distributions had scheduled patches to be out on Jan. 9. Now that the news is out, their developers are pushing the fixes out as fast as possible.

On Windows PCs, Microsoft pushed an emergency patch out on Jan. 3. If you didn’t get it, go to Start > Settings > Update and Security > Windows Update. Then, click the Check now button under “Update status.” You can also just search for “Windows Update.” This works on Windows 7 and Windows 8, too.

For Apple systems, iOS 11.2, macOS 10.13.2, and tvOS 11.2 come with patches. Unlike Microsoft, Apple has yet to release patches for older versions of its operating systems.

Android patches were included in 2018’s first security patch pack. Unfortunately, only the newest Nexus and Pixel devices have received these so far. Chrome OS users with version 63 are protected. This update was pushed out on Dec. 15, 2017. This fix won’t be ported to older versions of Chrome OS. If you’re still using an out-of-support Chromebook, it may be time to finally retire it.

Regardless of what computer you’re using, you should be wary of JavaScript. – Meltdown and Spectre security

As Alan Cox, a senior Linux developer and Intel software engineer wrote on Google+: “What you do need to care about big time is JavaScript because the exploit can be remotely used by javascript on web pages to steal stuff from your system memory. Mozilla and Chrome both have pending updates. and some recommendations about protection. Also, consider things like Adblock and extensions like NoScript that can stop a lot of junk running in the first place. Do that ASAP.”

Google has announced that Chrome 64’s V8 JavaScript engine, which will be released on or around Jan. 23, 2018, will include mitigations for these potential attacks.

While all these patches may reduce some system performance, it’s not believed that it will be noticeable on any of these platforms.

SERVERS AND THE CLOUD – Meltdown and Spectre security

It’s a different story on servers and the cloud. Red Hat ran extensive Meltdown/Spectre performance benchmarks and found the following performance issues:

Measurable: 8 percent to 19 percent — Highly cached random memory with buffered I/O, OLTP database workloads and benchmarks with high kernel-to-user space transitions are impacted between 8 percent to 19 percent. Examples include OLTP Workloads (TPC), sysbench, pgbench, netperf (< 256 bytes), and fio (random I/O to NvME).

Modest: 3 percent to 7 percent — Database Analytics, Decision Support System (DSS), and Java VMs are impacted less than the “Measurable” category. These applications may have a significant sequential disk or network traffic, but kernel/device drivers are able to aggregate requests to moderate level of kernel-to-user transitions. Examples include SPECjbb2005, Queries/Hour, and overall analytic timing (sec).

Small: 2 percent to 5 percent — HPC (High-Performance Computing) CPU-intensive workloads are affected the least, with only 2 percent to 5 percent performance impact, because jobs run mostly in user space and are scheduled using CPU-pinning or numa-control. Examples include Linpack NxN on x86 and SPECcpu2006.

Minimal: Linux accelerator technologies that generally bypass the kernel in favor of user direct access are the least affected, with less than 2 percent overhead measured. Examples tested include DPDK (VsPERF at 64 bytes) and OpenOnload (STAC-N). Userspace accesses to VDSO like get-time-of-day are not impacted. We expect similar minimal impact for other offloads.

An Amazon Web Service (AWS) discussion thread shows that these slowdowns aren’t just testbed results. As one sysadmin complained, “It is simply as if the instance (m1.medium) was somehow degraded to a lesser performing one following the reboot.”

Similar performance hits can be expected on Windows and Unix server and cloud systems.

Richard Morrell, CTO, and security lead of Falanx, a cyber defense company, said in a technical note to customers  “Amazon, Rackspace, and Verizon along with Microsoft are rebooting swathes of their infrastructure during Friday – Sunday 5th – 8th January. If you are a cloud customer of any provider please seek clarification from your provider. The changes may affect your application performance and your DevOps/Agile leads should consult your vendor to determine if they expect impact at this time.”

Other cloud companies are expected to do the same. Besides being ready for brief service interrupts, sysadmins must be ready to deal with poorer performance and greater system loads. It’s going to be a hard week for serious cloud users.

All these patches are stop-gap measures. As the Spectre white paper states: “While makeshift processor-specific countermeasures are possible in some cases, sound solutions will require fixes to processor designs as well as updates to instruction set architectures (ISAs) to give hardware architects and software developers a common understanding as to what computation state CPU implementations are (and are not) permitted to leak.”

Or, as CERT put it, “The underlying vulnerability is primarily caused by CPU architecture design choices. Fully removing the vulnerability requires replacing vulnerable CPU hardware.” In other words, to be fully secure, you must replace every computing device you own.

Brace yourself, 2018 is going to be a really hard — and expensive — year for IT. Meltdown and Spectre security, an article by By Steven J. Vaughan-Nichols

Contact Musato Technologies for more information and updates.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.