A new exploit spotted by Trend Micro is designed to target small home and office (SOHO) routers, as well as consumer-grade home routers, by changing their internal domain name service (DNS) setting to one that is determined by the attacker.
Trend researchers note that this exploit is effected using the cross-site request forgery (CSRF) method.
Once the malicious DNS has been installed, the router becomes part of a "pharming" attack. This kind of attack will redirect website traffic from all the devices connected to the same router by resolving targeted domains to the IP address of their server.
Trend named the exploit kit Novidade -- "novelty" in Portuguese -- due to the title string "Novidade!" on the web pages of all the current variants of it.
Novidade was found to be delivered through differing methods include malvertising, compromised website injection, and instant messengers. The user needs to click on a link to activate the first steps of the attack.
The first thing the malicious URL in the link does is to try HTTP requests to common local IP address that are mostly used by routers. Should a connection be successfully established, Novidade will query the detected IP address to download a corresponding exploit payload, encoded in Base64. It will then try and log into the router with a set of default account names and passwords, after which a CSRF attack is attempted that can actually change the DNS settings.
After that change, if -- for example -- a user tries to connect to a targeted bank domain the injected DNS server could resolve the request to an IP address that hosts a fake banking website.
Trend researchers has found three variants of Novidade, and they all have similar attack operations. The first version was the most basic of the group, and was seen in the wild in August 2017.
Also, the third variant embedded a shortened URL link on the Novidade landing page. This is not used for redirection efforts but tracks attack statistics.
In its report, Trend researchers identify the following list of routers, which they admit is not all inclusive, that are being targeted by the attack.
This list includes:
- A-Link WL54AP3 / WL54AP2
- D-Link DSL-2740R
- D-Link DIR 905L
- Medialink MWN-WAPR300
- Motorola SBG6580
- Roteador GWR-120
- Secutech RiS-11/RiS-22/RiS-33
- TP-Link TL-WR340G / TL-WR340GD
- TP-Link WR1043ND V1
Trend recommends changing the router's default IP address, as well as disabling remote access features, which will minimize the chances for an attacker to externally manipulate the device.
— Larry Loeb has written for many of the last century's major "dead tree" computer magazines, having been, among other things, a consulting editor for BYTE magazine and senior editor for the launch of WebWeek.