# VPNFilter malware

**URL:** <https://forum.mikrotik.com/t/vpnfilter-malware/119744>\
**Category:** General\
**Created:** [May 23, 2018, 3:03pm UTC](https://forum.mikrotik.com/t/vpnfilter-malware/119744 "2018-05-23T15:03:20Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![dvm](https://forum.mikrotik.com/letter_avatar/dvm/32/6_449c533f586939b6e5f246632a46421f.png) [@dvm](https://forum.mikrotik.com/u/dvm)\
**Post date:** [May 23, 2018, 3:03pm UTC](https://forum.mikrotik.com/t/vpnfilter-malware/119744/1 "2018-05-23T15:03:20Z")

</div>

[https://blog.talosintelligence.com/2018/05/VPNFilter.html](https://blog.talosintelligence.com/2018/05/VPNFilter.html)

> While the list may not be complete, the known devices affected by VPNFilter are Linksys, MikroTik, NETGEAR and TP-Link networking equipment in the small and home office (SOHO) space, as well at QNAP network-attached storage (NAS) devices.

Comments from MikroTik?

---

<div class="post-metadata">

**Author:** ![mrz](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/mrz/32/308_2.png) [@mrz](https://forum.mikrotik.com/u/mrz)\
**Post date:** [May 23, 2018, 3:12pm UTC](https://forum.mikrotik.com/t/vpnfilter-malware/119744/2 "2018-05-23T15:12:53Z")

</div>

[http://forum.mikrotik.com/t/urgent-security-advisory/117944/1](http://forum.mikrotik.com/t/urgent-security-advisory/117944/1)

---

<div class="post-metadata">

**Author:** ![NickOlsen](https://forum.mikrotik.com/letter_avatar/nickolsen/32/6_449c533f586939b6e5f246632a46421f.png) [@NickOlsen](https://forum.mikrotik.com/u/NickOlsen)\
**Post date:** [May 23, 2018, 5:07pm UTC](https://forum.mikrotik.com/t/vpnfilter-malware/119744/3 "2018-05-23T17:07:27Z")

</div>

MRZ, I assume you’re indicating this vulnerability was patched in 6.38.5? Can you confirm?

---

<div class="post-metadata">

**Author:** ![mbaute](https://forum.mikrotik.com/letter_avatar/mbaute/32/6_449c533f586939b6e5f246632a46421f.png) [@mbaute](https://forum.mikrotik.com/u/mbaute)\
**Post date:** [May 23, 2018, 9:52pm UTC](https://forum.mikrotik.com/t/vpnfilter-malware/119744/4 "2018-05-23T21:52:07Z")

</div>

> [@](#):
>
> [http://forum.mikrotik.com/t/urgent-security-advisory/117944/1](http://forum.mikrotik.com/t/urgent-security-advisory/117944/1)

This thread was locked a couple months ago, but what dvm links is from hours ago. Are you positive sure that we’re talking about the same threat?

---

<div class="post-metadata">

**Author:** ![aidan](https://forum.mikrotik.com/letter_avatar/aidan/32/6_449c533f586939b6e5f246632a46421f.png) [@aidan](https://forum.mikrotik.com/u/aidan)\
**Post date:** [May 23, 2018, 10:12pm UTC](https://forum.mikrotik.com/t/vpnfilter-malware/119744/5 "2018-05-23T22:12:12Z")

</div>

> [@](#):
>
> MRZ, I assume you’re indicating this vulnerability was patched in 6.38.5? Can you confirm?

The Talos blog indicates they reached out to Mikrotik about the problem, so I’m confident that mrz would be aware of any and all developments related to this exploit.

---

<div class="post-metadata">

**Author:** ![TyBermea](https://forum.mikrotik.com/letter_avatar/tybermea/32/6_449c533f586939b6e5f246632a46421f.png) [@TyBermea](https://forum.mikrotik.com/u/TyBermea)\
**Post date:** [May 24, 2018, 1:45am UTC](https://forum.mikrotik.com/t/vpnfilter-malware/119744/6 "2018-05-24T01:45:58Z")

</div>

[https://www.thedailybeast.com/exclusive-fbi-seizes-control-of-russian-botnet](https://www.thedailybeast.com/exclusive-fbi-seizes-control-of-russian-botnet)

---

<div class="post-metadata">

**Author:** ![normis](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/normis/32/8_2.png) [@normis](https://forum.mikrotik.com/u/normis)\
**Post date:** [May 24, 2018, 5:40am UTC](https://forum.mikrotik.com/t/vpnfilter-malware/119744/7 "2018-05-24T05:40:15Z")

</div>

Cisco informed us on May 22nd of 2018, that a malicious tool was found on several manufacturer devices, including three devices made by MikroTik. We are highly certain that this malware was installed on these devices through a vulnerability in MikroTik RouterOS software, which was already patched by MikroTik in March 2017. Simply upgrading RouterOS software deletes the malware, any other 3rd party files and closes the vulnerability. Let us know if you need more details. Upgrading RouterOS is done by a few clicks and takes only a minute.

To be safe against any kinds of attacks, make sure you secure access to your devices:  
[https://wiki.mikrotik.com/wiki/Manual:Securing\_Your\_Router](https://wiki.mikrotik.com/wiki/Manual:Securing_Your_Router)

Statement discussion topic:  
[http://forum.mikrotik.com/t/vpnfilter-official-statement/119763/1](http://forum.mikrotik.com/t/vpnfilter-official-statement/119763/1)

---

<div class="post-metadata">

**Author:** ![kazoo106](https://forum.mikrotik.com/letter_avatar/kazoo106/32/6_449c533f586939b6e5f246632a46421f.png) [@kazoo106](https://forum.mikrotik.com/u/kazoo106)\
**Post date:** [May 24, 2018, 4:28pm UTC](https://forum.mikrotik.com/t/vpnfilter-malware/119744/8 "2018-05-24T16:28:59Z")

</div>

We have a CCR 1036 running 6.40.5 - and has been for some months  
Today we got an abuse report for this router  
So clearly there is a problem at least up to 6.40.5  
Can Mikrotik please respond here?

---

<div class="post-metadata">

**Author:** ![CZFan](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/czfan/32/1747_2.png) [@CZFan](https://forum.mikrotik.com/u/CZFan)\
**Post date:** [May 24, 2018, 4:55pm UTC](https://forum.mikrotik.com/t/vpnfilter-malware/119744/9 "2018-05-24T16:55:25Z")

</div>

> [@](#):
>
> We have a CCR 1036 running 6.40.5 - and has been for some months  
> Today we got an abuse report for this router  
> So clearly there is a problem at least up to 6.40.5  
> Can Mikrotik please respond here?

Yes, that is to be expected, there was a vulnerability locked down in 6.40.8

_“What’s new in 6.40.8 (2018-Apr-23 11:34):_  
   
_!) winbox - fixed vulnerability that allowed to gain access to an unsecured router;”_

---

<div class="post-metadata">

**Author:** ![pwuk](https://forum.mikrotik.com/letter_avatar/pwuk/32/6_449c533f586939b6e5f246632a46421f.png) [@pwuk](https://forum.mikrotik.com/u/pwuk)\
**Post date:** [May 24, 2018, 6:33pm UTC](https://forum.mikrotik.com/t/vpnfilter-malware/119744/10 "2018-05-24T18:33:44Z")

</div>

> [@](#):
>
> Yes, that is to be expected, there was a vulnerability locked down in 6.40.8
> 
> _“What’s new in 6.40.8 (2018-Apr-23 11:34):_  
>    
> _!) winbox - fixed vulnerability that allowed to gain access to an unsecured router;”_

I wonder how that worked, and what “unsecured” means.

As a rule I tend to have the following config

```plaintext
/ip firewall filter
add action=accept chain=input connection-state=established
add action=accept chain=input connection-state=related
add action=accept chain=input protocol=icmp
add action=drop chain=input in-interface=wan-interface

/tool mac-server
set [find default=yes] disabled=yes
add interface=lan-bridge-1
add interface=lan-bridge-2
/tool mac-server mac-winbox
set [find default=yes] disabled=yes
add interface=lan-bridge-1
add interface=lan-bridge-2

```

Then add extra input rules if needed (e.g. allow ssh on the wan port from a given management address-list), which I believe secures things enough to not be a major concern if I can’t keep a given router uptodate (I’ve got some in horrendous places that are 3 days travel away at best, really don’t like risking bricking them!)

Of course it only takes 1 infected box internally to bypass that. I’ve locked down access to only specific management address ranges in the past, but have been burnt when I’ve had routing protocols break, and the only way to get in is to ssh from the next hop, which I neglected to put in the config. I wonder if a “allow TTL=254 on wan” would do the trick as a template.

With those precautions, the risk from zero-day exploits is significantly minimized.
