Vawtrak uses Tor2Web to connect to Tor hidden C&C servers

Posted by   Virus Bulletin on   Jun 11, 2015

Option hides the servers, without having to include a Tor client in the malware.

The authors of the Vawtrak trojan (also known as Neverquest) have moved some of its C&C servers to Tor hidden services and made the malware use Tor2Web to connect to them, Fortinet researcher Raul Alvarez writes.

The use of hidden services for C&C servers isn't a new technique and is often used because it makes botnets less vulnerable to sinkholing and takedowns. Using Tor2Web meant that the Vawtrak authors didn't have to include a Tor client in their malware: it uses normal HTTP to connect to the Tor2Web server, which then uses Tor to connect to the actual hidden service.

This does leave the connection vulnerable to detection by IDS or IPS, but that's likely of little concern for the authors of the banking trojan, many of whose victims are ordinary home users. Of course, those using Tor hidden services to evade censorship or to engage in whistleblowing should never use services like Tor2Web.

  A number of DWORD values are hard-coded inside the malware to be used in the DGA. Source: Fortinet.

The new version of Vawtrak includes a domain generation algorithm (DGA) to generate the .onion domains of the C&C servers. However, as there is little choice in such domains (they are hashes generated based on the public key of the hidden service), the algorithm will be implemented to generate values already known to the authors; hence the DGA is likely used only to prevent detection of the C&C domains, not to generate domains that can subsequently be registered.

Earlier this year, VB published Raul's paper 'Nesting Doll', in which he analysed the various layers of obfuscation in Vawtrak itself.

Posted on 11 June 2015 by Martijn Grooten

twitter.png
fb.png
linkedin.png
googleplus.png
reddit.png

 

Latest posts:

Throwback Thursday: Ten memorable Virus Bulletin conference presentations - part 2

In the second part of this two-part blog series, we look at five more memorable Virus Bulletin conference presentations.

Five tips for submitting to Calls for Papers

With the VB2017 Call for Papers out, here are five tips to increase your chances of getting your submission accepted.

The WannaCry kill switch wasn't inserted to make someone a hero

Following the arrest of WannaCry hero Marcus Hutchings, suggestions have been made that he was behind the WannaCry malware itself, and that he inserted the kill switch to make himself a hero. This seems highly unlikely.

Throwback Thursday: Ten memorable Virus Bulletin conference presentations - part 1

In a two-part blog post series, we look back at ten memorable VB conference presentations from the past ten years.

Worms wiggling inside your networks are a lot harder to stop

The authors of the Trickbot banking trojan seem to have taken note of the use of SMB by WannaCry and (Not)Petya and have added an (experimental) module that uses SMB for lateral movement.