Worms wiggling inside your networks are a lot harder to stop

Posted by   Martijn Grooten on   Aug 3, 2017

Damaging though they were, the recent WannaCry and (Not)Petya outbreaks taught security practitioners many valuable lessons. Unfortunately, they taught important lessons to malware authors too.

What contributed to the damage in both cases was the malware's ability to spread internally using a number of methods, most prominently (though in (Not)Petya's case not exclusively), a vulnerability in the SMB protocol that many organizations had failed to patch.

The authors of the 'TrickBot' banking trojan took note of this, and a new version of the malware, discovered by Deloitte researcher Luciano Martins and analysed by Flashpoint's Vital Kremez, suggests that they are experimenting with a module that uses SMB for lateral movement, though the module hasn't been fully implemented yet.

trickbotsmb.png

Trickbot's SMB implementation, as found by Luciano Martins.


Computer worms were a plague around the turn of the century, but thanks to improved security, the ubiquity of firewalls and the often overlooked benefits of NAT, malware that replicates fully automatically tends to be quite rare these days. But while the problem of malware spreading to other networks may have been mitigated pretty well, there are still many opportunities when it comes to malware spreading laterally within an organization.

For every method of lateral movement used by malware, there is probably a fairly easy way to prevent it; in the case of SMB that would be turning it off unless absolutely necessary, and in such cases always patching. But as malware authors shift their focus, it is likely that they will find many other ways to exploit the interconnectedness of computers within an organization. This won't be an easy problem to solve.

Of course, removing connections when they aren't needed could go a long way towards mitigating the damage, and there is a lot of value in network segmentation. But this approach isn't entirely painless. At VB, we have (touch wood!) never suffered from an attack that moved laterally within our networks. We have, however, spent quite a few frustrating hours having to find solutions to connections having become unavailable due to increased segmentation.

For more on recent changes to Trickbot, I recommend hasherezade's analysis at Malwarebytes's blog.

On the lessons learned from WannaCry that can be used for the common good, Razvan Gavrila from the EU's network agency ENISA will give a Small Talk at VB2017 in Madrid. Speaking of which, analyses of recent changes in malware would be excellent topics for last-minute papers – the call for last-minute papers closes on 3 September!

twitter.png
fb.png
linkedin.png
hackernews.png
reddit.png

 

Latest posts:

VB2019 conference programme announced

VB is excited to reveal the details of an interesting and diverse programme for VB2019, the 29th Virus Bulletin International Conference, which takes place 2-4 October in London, UK.

VB2018 paper: Under the hood - the automotive challenge

Car hacking has become a hot subject in recent years, and at VB2018 in Montreal, Argus Cyber Security's Inbar Raz presented a paper that provides an introduction to the subject, looking at the complex problem, examples of car hacks, and the…

VB2018 paper and video: Android app deobfuscation using static-dynamic cooperation

Static analysis and dynamic analysis each have their shortcomings as methods for analysing potentially malicious files. Today, we publish a VB2018 paper by Check Point researchers Yoni Moses and Yaniv Mordekhay, in which they describe a method that…

VB2019 call for papers closes this weekend

The call for papers for VB2019 closes on 17 March, and while we've already received many great submissions, we still want more!

Registration open for VB2019 ─ book your ticket now!

Registration for VB2019, the 29th Virus Bulletin International Conference, is now open, with an early bird rate available until 1 July.

We have placed cookies on your device in order to improve the functionality of this site, as outlined in our cookies policy. However, you may delete and block all cookies from this site and your use of the site will be unaffected. By continuing to browse this site, you are agreeing to Virus Bulletin's use of data as outlined in our privacy policy.