subscribe: Daily Newsletter

 

Were you ready for Wannacry?

0 comments

Stroz Friedberg, an Aon company, is a specialised risk management firm built to help clients solve the complex challenges prevalent in today’s digital, connected, and regulated business world. His latest blog post shares some invaluable insights on the latest ransomware attack that is being called one of the most widespread attacks ever seen

Last week’s ransomware attack was by all accounts one of the most widespread cyber events we’ve seen. The pace at which the malware proliferated and the scope of the impact across companies and geographies was unprecedented.

As the new work week begins, it’s unclear whether the worst is behind us – a “kill switch” that neutered the original version of WannaCry was discovered and registered, but new variants have already been found circulating.

Our technical team is analysing samples of WannaCry and we’re monitoring this situation closely as it evolves. We plan to publish additional information and advisories in the coming days.

Below we offer more detail on the nature of the original ransomware and what you can do to protect your organisation. If you have already been impacted and require assistance stopping the spread, determining the impact or recovering your data.

 

Are you ready:

* When was the last time you reviewed your company’s patch management programme, disaster recovery and business continuity plans?

* Can you identify where all of your mission critical data resides and whether regular backups are being made?

* Does your cyber insurance policy provide adequate coverage? Have you taken the necessary steps to ensure you will be eligible to make a claim if your company is impacted?

* Have you communicated with employees about the latest phishing and social engineering techniques?

* Do you have an incident response plan in place and has it recently been tested so everyone knows what to do in the event of an attack?

* Are all necessary technical and procedural controls in place and operating properly?

* Has your security posture recently been assessed and tested and have you acted on the results?

 

What is WannaCry ransomware?

WannaCry (aka WannaCryptor and Wana Decrypt0r) is a form of ransomware being spread through an exploit called ETERNALBLUE that infects Windows computer systems via a vulnerability in the SMBv1 protocol (MS17-010, a vulnerability in Server Message Block). WannaCry targets and encrypts 176 file types, including Office documents, multimedia files, database files, amongst many others, and demands payment for a key to decrypt, or unlock, the files.

 

Am I impacted?

If you are running Windows computers in your environment that remain unpatched for MS17-010, you are likely at risk. Please see our guidance below on how to remediate this vulnerability and protect your organisation.

 

What does it do and how does it do it?

This malware creates a copy of itself and executes on the vulnerable computer. Once running, the malware attempts to connect to a specific domain; if it is able to do so, it simply exits without releasing its ransomware payload (WannaCry). T

his “kill switch” was discovered and registered by a security researcher over the 13 May weekend, effectively creating a sinkhole  that temporarily halted the spread of the initial version of WannaCry; however, security researchers from Kaspersky have already confirmed new WannaCry variants, and it is likely more will surface.

If the malware is unable to connect to the domain, it activates itself by copying and executing the WannaCry ransomware on the infected machine, which then encrypts the machine’s files so they are inaccessible. The ransomware then demands payment of $300 to $600 in Bitcoin in return for a key to unlock the files.

Organisations should understand that machines already infected with WannaCry will not get their files back just because the “kill switch” described above was registered. There is currently no known method for breaking the ransomware’s encryption.

Organisations may be able to circumvent the ransomware if proper backup copies of impacted files exist and can be properly restored once all infected systems have been patched.

 

How do I know if my organisation is infected with WannaCry?

If the ransomware is activated on an infected system, two prevalent actions will occur:

* A user’s files will become encrypted with the extension “.WCRY”, “.WNCRY” and/or “.WNCRYT”, and will not be accessible.

* The decryptor tool (Wana Decrypt0r) will run automatically and display the following ransom message on an infected machine.

 

Can it spread from machine to machine?

Yes. WannaCry’s worm-like behavior and its ability to easily propagate across the organisation make this a particularly dangerous strain of ransomware.

The malware spreads from the infected computer by scanning other computers and systems on the network, and over the internet, and infecting these connected machines by exploiting the same vulnerability, all without any user action.

Essentially, it only takes one infected user on a network to put the whole organisation at risk.

 

What should you do to protect yourself?

We suggest the following best practices you can adopt and implement to protect your organisation from WannaCry:

One of the most important things you can do immediately (if you haven’t already) is patch all affected Windows systems against the vulnerability in SMB server. Microsoft released Microsoft Security Bulletin MS17-010 for remediating the vulnerability and has also made patches available for otherwise unsupported Windows systems (XP, Server 2003 and Windows 8) that are also affected. If you cannot patch directly, TrendMicro suggests using a virtual patch to help mitigate the threat.

If patching is not possible, organisations should consider segregating machines that cannot be patched – for example at least blocking access to SMB ports on these machines (TCP/445 and TCP/139).

Organisations should also ensure SMB ports (TCP/445 and TCP/139) are blocked at the firewall and appropriate network devices for inbound traffic.

As noted earlier the version of WannaCrypt that was circulating last week had a “kill switch” logic condition that checked with the command and control (C2) domain iuqerfsodp9ifjaposdfjhgosurijfaewrwergwea[.]com before deciding whether to encrypt the system. A security researcher working with law enforcement has now registered this domain.

We recommend companies allow outbound traffic to this C2 domain to continue; or sinkhole the domain internally by redirecting traffic to an internal server. Both solutions will help take advantage of this flaw in the WannaCry code and maximise visibility into systems that are compromised.

Given that we have already seen the attack evolve, customers should consider additional defenses to stop the spread of WannaCry and other SMBv1 attacks by disabling the SMB protocol altogether on systems that do not require it and disabling SMBv1 on machines that do. We would advise against enabling unneeded services to limit the ways an attacker could exploit a vulnerability in your IT environment.

Organisations may also consider additional measures such as deploying the NoMoreCry Tool from CCN-CERT, which prevents the execution of the WannaCry ransomware (Note: It does not clean already infected systems).

Like many other ransomware families, WannaCry calls “vssadmin.exe” to delete Volume Shadow Copies. Organisations may want to consider as both a short and long term recommendation to rename that executable to something unique so that WannaCry (and other ransomware) cannot use the executable to delete Volume Shadow Copies — which would otherwise prevent any chance of a quick system recovery.

Relatedly, once the step above is performed, organisations should consider enabling Volume Shadow Copies on all systems in case of infection and have a cold archive backup that is disconnected from the network. This should allow restore of any files affected by ransomware.

As in many cases of malware, infection can occur via spam and other social engineering / phishing campaigns. Remind the people in your organisation to take great care when clicking on any links in email and only open files from trusted sources (and even then confirm that the email and file are legitimate).

The organisation should also ensure that its end point solution can protect systems from email-based malware and enable the solution if it is not already working.