VPNFilter is a multistage, modular botnet malware family targeting Linux-based networking and embedded devices, particularly small-office/home-office routers and network-attached storage systems. Disclosed in 2018, it was estimated to have infected at least 500,000 devices across 54 countries. Affected equipment spans numerous manufacturers, including ASUS, D-Link, Huawei, Linksys, MikroTik, Netgear, QNAP, TP-Link, and Ubiquiti. VPNFilter is attributed to Sandworm, a threat actor associated with Russia’s military intelligence agency, the GRU.
VPNFilter maintains an initial-stage foothold across device reboots through scheduler-based persistence and retrieves subsequent components that extend its functionality. Its capabilities include stealing website credentials, intercepting and modifying HTTP traffic, delivering exploits, and destructively overwriting device storage to render equipment unusable. It uses encrypted strings, image metadata to derive command-and-control addresses, and Tor or SSL communications to conceal configuration and communications.
The U.S. Department of Justice disrupted VPNFilter infrastructure through a court-authorized operation in 2018. Rebooting infected equipment alone does not eliminate its persistent foothold, allowing later-stage components to be restored. Cyclops Blink was subsequently identified as Sandworm’s replacement framework for VPNFilter.
1 CVE Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
3 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Earlier, another Sandworm botnet called VPNFilter, consisting of thousands of routers, was disrupted by the FBI in 2018.
Cisco Talos first disclosed the existence of VPNFilter on May 23, 2018... The malware’s multi-stage modular platform supported both intelligence-collection and destructive cyber attack operations.
41 distinct techniques documented for this family, organized by ATT&CK tactic.
All scans looked for Mikrotik routers with port 2000 exposed online, and only routers located on Ukrainian networks.
Cyclops Blink, originally discovered in late February, was found attacking firewall appliances from WatchGuard Technologies and routers from Asus to attack users.
The Justice Department today announced a court-authorized operation, conducted in March 2022, to disrupt a two-tiered global botnet of thousands of infected network hardware devices under the control of a threat actor known to security researchers as Sandworm.
Most of the devices targeted are known to use default credentials and/or have known exploits, particularly for older versions.
Most of the targeted devices known to use default credentials and/or have known exploits, particularly for older versions.
Owners are advised to consider disabling remote-management settings on devices and secure with strong passwords and encryption when enabled.
Russian state-sponsored cyber actors have used common but effective tactics to gain access to target networks, including spearphishing, credential harvesting, brute force/password spray techniques, and known vulnerability exploitation
To destroy data on compromised devices, the wiper overwrites file contents with up to 0x40000 bytes of data or uses MEMGETINFO, MEMUNLOCK, MEMERASE, and MEMWRITEOOB input/output control (IOCTL) system calls.
VPNFilter managed to exploit various network devices and affected over 500 000 devices in at least 54 countries.
The first-stage payload can achieve boot persistence on devices and survive reboot operations
Most of the devices targeted are known to use default credentials and/or have known exploits, particularly for older versions.
Most of the targeted devices known to use default credentials and/or have known exploits, particularly for older versions.
Modification of routing traffic rules
Owners are advised to consider disabling remote-management settings on devices and secure with strong passwords and encryption when enabled.
Stage 1 is focused on persistence and redundancy and can survive a reboot.
The Stage One bot is the most lightweight and simple, as its only role is to infect the device and obtain boot persistence.
This limits the ability of this specific malware to become active again... prevent the malware from moving forward to its listening mode, which occurs in the third phase of the first stage.
The first-stage payload can achieve boot persistence on devices and survive reboot operations
Most of the devices targeted are known to use default credentials and/or have known exploits, particularly for older versions.
Most of the targeted devices known to use default credentials and/or have known exploits, particularly for older versions.
The Stage One bot is the most lightweight and simple, as its only role is to infect the device and obtain boot persistence.
both the Photobucket accounts and the toknowall.com domain were hosting images in which the IP address of the C2 server, used by the threat actor to issue instructions to the malware were hidden, disguised within the EXIF metadata of the image.
To keep important data within the malware confidential, the malicious code used encryption, implementing the RC4 encryption algorithm.
Most of the devices targeted are known to use default credentials and/or have known exploits, particularly for older versions.
Most of the targeted devices known to use default credentials and/or have known exploits, particularly for older versions.
Stage 1 is focused on persistence and redundancy and can survive a reboot.
Modification of routing traffic rules
This limits the ability of this specific malware to become active again... prevent the malware from moving forward to its listening mode, which occurs in the third phase of the first stage.
VPNFilter is a multi-stage, modular platform with versatile capabilities to perform a wide range of operations, primarily espionage but also destructive attacks. The malware installs itself on network devices such as routers and NAS
One particular module contained functionality to identify and monitor Modbus network traffic, a protocol widely used in Industrial Control Systems. | the malware could modify the routing information and create custom destinations for certain traffic; redirecting traffic from the genuine destination to a separate system under the control of the attackers.
Clearly, capturing data, especially usernames and passwords, was one goal of the attack.
This limits the ability of this specific malware to become active again... prevent the malware from moving forward to its listening mode, which occurs in the third phase of the first stage.
The malware was capable of downgrading encrypted https connections to an unencrypted http connection, then saving that traffic for future collection.
One particular module contained functionality to identify and monitor Modbus network traffic, a protocol widely used in Industrial Control Systems. | the malware could modify the routing information and create custom destinations for certain traffic; redirecting traffic from the genuine destination to a separate system under the control of the attackers.
devices in over 100 countries are being scanned on ports 23, 80, 2000, and 8080, which are indicative of additional scanning for vulnerable Mikrotik and QNAP NAS devices.
The main malicious functions of these malicious payloads can be resumed in: System discovery and footprinting
Stage 2 contains data exfiltration, command execution, file collection, device management
One of the best ways to minimize potential infection from IoT-malware is to limit the number of exposures one has to the internet. This means, in most cases, disabling any remote management options in the configuration.
Also, disabling Universal Plug-and-Play (UPnP) if the option is available, as this setting might expose services to the internet without the awareness of their users.
Stage 2 contains the main payload and is capable of file collection, command execution, data exfiltration, and device management.
The malware is capable of collecting traffic sent through infected routers, such as website credentials.
VPNFilter is malware that targets routers and NAS devices in order to steal files, information, and examine network traffic as it flows through the device.
The malware was capable of downgrading encrypted https connections to an unencrypted http connection, then saving that traffic for future collection.
By March 2018, additional malware samples were discovered that also reached out to Photobucket, and used toknowall.com as a backup in case Photobucket was unavailable.
Although only 363 networks connected back to our sinkhole... These 363 networks can be taken over by anyone with an understanding of how the malware works.
Obfuscated multiple C2 callback failover (TOR, VPS, Geolocation)
Communication with obfuscated addresses via TOR
Ability to download and install additional payloads
the second-stage component is akin to a remote access trojan (RAT), while the third-stage payloads are plugins for this RAT, which add extra functionality
Stage 3 consists of various plugins that can be installed into the malware that allow it to perform different functionality such as sniff the network, monitor SCADA communication, and to communicate over TOR.
Stage 2 contains the main payload and is capable of file collection, command execution, data exfiltration, and device management.
This malware is a Wiper that will erase all the data in a targeted system.
Among its many plugins, it also included functionality to wipe and brick devices...
This renders any device unusable, as the code needed to start the device has been replaced with jumbled data.
Mirai and VPNFilter have been associated with distributed denial of service attacks
[VPNFilter](https://attack.mitre.org/software/S1010) has the capability to wipe a portion of an infected device's firmware.(Citation: VPNFilter Router)
4 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
67 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.