Your browser is not supported. Please update it.

19 May 2017

Trump signs cybersecurity exec-order as WannaCry ravages enterprise

Whatever your view of the US president, an executive order that demands reviews and improvements in national cybersecurity resilience is, on paper at least, good news for the Internet of Things. However, the order’s signing was somewhat serendipitous, as the WannaCry ransomware wreaked havoc across enterprises and governments this week.

The order will require US federal agencies to follow the National Institute of Standards and Technology’s (NIST) cybersecurity framework, as well as examine the security of critical infrastructure such as banking, healthcare, telecommunications, and utility grids. A third section of the order is targeted at online security, including DDoS and botnets, and aims to better protect the USA against attacks.

Trump’s order doesn’t appear to include the more recent IoT recommendations from NIST, but its timing comes as IT departments around the world are being rocked by WannaCry – a piece of ransomware that locks people out of PCs, which has been spreading like wildfire. With billions of dollars of headaches or opportunities on the table, depending on which side of the fence you are on, modernizing enterprise IT systems to integrate IoT applications will be a huge undertaking.

The WannaCry/WannaCrypt malware hijacks vulnerable Windows machines and encrypts its files, before demanding a ransom from the PC operator – to be paid in bitcoin, further tarnishing the reputation of the cryptocurrency. While this kind of ransomware is not new, what makes the attack notable is that the code’s author/s exploited a recently leaked Windows vulnerability that had been stockpiled by the NSA – codenamed Eternalblue, which exploited Windows network file sharing.

Since the attack, Microsoft has been railing against the NSA for its stockpile, which the agency had hoarded for use in its surveillance mandate – contrary to rules that were meant to ensure the wider security of the industry by compelling these zero-day exploits so that they can be patched.

Calling for a ‘Digital Geneva Convention,’ Microsoft argues that the incident illustrates the dangers of stockpiling zero-days, and outlets have compared the leak of the vulnerability to the stealing of physical weapon systems, and a digital act of war. Blame can certainly be placed on the NSA for not adequately protecting its stockpile, but political leanings will determine whether you can justify the secret stash.

The attacks have hit banks, FedEx, Telefonica Spain, local government branches, many businesses, and most seriously, dozens of hospitals in the UK – hospitals that had to turn away non-emergency patients entirely, cancel operations, and return to using pen and paper for administrative tasks. China and Russia have also been hit hard.

The worm was accidentally stopped by a researcher that found a URL in the code, which was being pinged by the ransomware. Registering the URL to learn more, the researcher (@MalwareTechBlog) discovered that the URL was a kill-switch to stop the worm spreading – with the code stopping the spread once the URL was registered.

Frantic patching has been taking place, with Microsoft releasing emergency fixes for the vulnerability, although new versions of the worm are already being spotted. A fix for Windows 10 was pushed in March, after the NSA leak, but Microsoft had not shipped the fix for legacy versions of Windows until the attack had occurred.

As many enterprises depend on outdated versions of software, not just Microsoft’s OS, this sort of attack will always be possible – especially if the customer IT departments are not able to push updates to their live deployments as soon as the vendors publish them.

The NHS, and parts of the UK government, have come under criticism in the past for taking out contracts with Microsoft to support their legacy deployments of Windows XP – an OS that was first launched in 2001, yet still holds around 7% of the Windows footprint. Notably, the UK government cancelled a support extension contract as a cost-saving measure, which will have been a far smaller sum than the cost of this downtime – assuming that the program would have prevented the outage.

One approach would be to take the update process out of the hands of the end-user, something that Microsoft is experimenting with in Windows 10 and the greater prevalence of automatic and background updates. However, while waiting 20 minutes for a restart-cycle is an annoyance for a consumer, any form of downtime in a business environment is a huge headache for those IT departments.

The fear of downtime is why IT departments are so slow to push vendor updates, as they want to properly vet them beforehand. In a similar manner, no two IT deployments are the same, and due to custom forks or implementations, IT departments often need to take unusual (from the vendor’s perspective) steps to push the update.

Consequently, the lag between the vendor and the live deployment is a dangerous period, and any infections that occur in this period are inevitably going to provoke a blame game between the vendor, the IT department, and the end-user – with complaints of vendor lock-in, best practices, complex operational rollouts, and management that sees no way in which an upgrade can improve their margins.

As for the origin of the attack, a smattering of researchers are pointing to similarities in parts of the code and malware used by the Lazarus group, which was behind the attacks on Sony Pictures back in 2014, among others. The backdoor techniques used apparently are similar enough to those used by North Korea that South Korean research firm Hauri has said pinned the blame on North Korean attackers.