Home / malwarePDF  

Backdoor:W32/TDSS


First posted on 05 December 2008.
Source: SecurityHome

Aliases :

There are no other names known for Backdoor:W32/TDSS.

Explanation :

A remote administration utility which bypasses normal security mechanisms to secretly control a program, computer or network.

right]This malware installs a rootkit onto the system. In addition to hiding its presence on the system, the rootkit is able to inject a dropped file into a process, which is then able to function as a backdoor program.

Installation & Rootkit

During installation, this malware creates a copy of the file %System%ADVAPI32.DLL as:

  • %Temp%TDSS%randchar2%.tmp.

It then modifies this file with 21 bytes at the entry point, in order to load the file %Temp%TDSS%randchar1%.tmp. A number of additional changes must take place for this to occur.

First, the malware deletes the "KnownDllsadvapi32.dll" section object of the Windows Operating System, in order to remove the legitimate advapi32.dll. The section object is then recreated and linked to the %Temp%TDSS%randchar2%.tmp file. It then stops and restarts the "MSISERVER" Windows service, which subsequently loads the %Temp%TDSS%randchar2% file.

The cumulative effect of these changes causes %Temp%TDSS%randchar1%.tmp to be loaded as a Windows service, which then creates a file, %systemdir%driversTDSServ.sys. This sys file is the actual rootkit driver file. The rootkit hides all its files, as well as registry components beginning with the string 'TDSS'.

The loaded rootkit driver then drops a dll file in the %systemdir% as "TDSSl.dll". It injects the dropped file into SVCHOST.EXE and tries to connects to a number of websites, which are still live at time of writing.

The injected dll can also function as a backdoor, which may be commanded to perform any of the following routines:

  • Download and execute programs
  • Display pop-up advertisements

NOTE:
TDSS%randchar1%.tmp is the first temporary file created with random characters added as part of the filename
TDSS%randchar2%.tmp is the second temporary file created with different random characters added as part of the filename


Registry Modifications

The rootkit driver is registered with the key:

  • HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesTDSSserv.sys

It may also create the following registry subkeys:

  • HKEY_LOCAL_MACHINESOFTWARETDSSversions
  • HKEY_LOCAL_MACHINESOFTWARETDSSinjector
  • HKEY_LOCAL_MACHINESOFTWARETDSSdisallowed
  • HKEY_LOCAL_MACHINESOFTWARETDSSconnections

The Trojan creates the following registry entries:

  • HKEY_LOCAL_MACHINESOFTWARETDSS, build = "standart"
  • HKEY_LOCAL_MACHINESOFTWARETDSS, type = "clicker"
  • HKEY_LOCAL_MACHINESOFTWARETDSS, affid = "5"
  • HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion dssdata, affid = "5"
  • HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion dssdata, subid = "1"
  • HKEY_LOCAL_MACHINESOFTWARETDSS, subid = "1"
  • HKEY_LOCAL_MACHINESOFTWARETDSS, serversdown = [dword value]

A mutex is then created so that only one copy of the malware will reside in memory at any given session.

Last update 05 December 2008

 

TOP