WORM_TATERF.NF

 Analysis by: Nikko Tamana

 ALIASES:

Mal/Taterf-B (Sophos), W32/OnlineGames!tr (Fortinet), Worm.Win32.Taterf (Ikarus), Trojan-GameThief.Win32.Magania.bptu (Ikarus), Worm:Win32/Taterf.B (Microsoft)

 PLATFORM:

Windows 2000,Windows XP, Windows Server 2003

 OVERALL RISK RATING:
 DAMAGE POTENTIAL:
 DISTRIBUTION POTENTIAL:
 REPORTED INFECTION:

  • Threat Type: Worm

  • Destructiveness: No

  • Encrypted:

  • In the wild: Yes

  OVERVIEW

This worm arrives via removable drives. It arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.

It drops an AUTORUN.INF file to automatically execute the copies it drops when a user accesses the drives of an affected system.

As of this writing, the said sites are inaccessible.

It deletes the initially executed copy of itself.

  TECHNICAL DETAILS

File Size:

102,558 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

15 Apr 2013

Arrival Details

This worm arrives via removable drives.

It arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.

Installation

This worm drops the following component file(s):

  • %User Temp%\4tddfwq0.dll
  • %System%\drivers\cdaudio.sys

(Note: %User Temp% is the current user's Temp folder, which is usually C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000, XP, and Server 2003, or C:\Users\{user name}\AppData\Local\Temp on Windows Vista and 7.. %System% is the Windows system folder, which is usually C:\Windows\System32.)

It drops the following copies of itself into the affected system:

  • %User Temp%\xvassdf.exe

(Note: %User Temp% is the current user's Temp folder, which is usually C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000, XP, and Server 2003, or C:\Users\{user name}\AppData\Local\Temp on Windows Vista and 7.)

Autostart Technique

This worm adds the following registry entries to enable its automatic execution at every system startup:

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
54dfsger = "%User Temp%\xvassdf.exe"

Other System Modifications

This worm adds the following registry keys:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\AVPsys

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\AVPsys\Security

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\AVPsys\Enum

It adds the following registry entries as part of its installation routine:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\AVPsys
Type = "1"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\AVPsys
Start = "3"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\AVPsys
ErrorControl = "1"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\AVPsys
ImagePath = "\??\%System%\drivers\cdaudio.sys"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\AVPsys
DisplayName = "AVPsys"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\AVPsys\Security
Security = "{random hex values}"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\AVPsys\Enum
Count = "0"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\AVPsys\Enum
NextInstance = "0"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\AVPsys\Enum
INITSTARTFAILED = "1"

It modifies the following registry entries:

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Explorer\
Advanced
Hidden = "2"

(Note: The default value data of the said registry entry is 1.)

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Explorer\
Advanced
ShowSuperHidden = "0"

(Note: The default value data of the said registry entry is 1.)

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Explorer\
Advanced\Folder\Hidden\
SHOWALL
CheckedValue = "0"

(Note: The default value data of the said registry entry is 1.)

Propagation

This worm drops the following copy of itself in all physical and removable drives:

  • {Drive Letter}:\s9h3v.bat

It drops an AUTORUN.INF file to automatically execute the copies it drops when a user accesses the drives of an affected system.

The said .INF file contains the following strings:

[AutoRun]
open=s9h3v.bat
shell\open\Command=s9h3v.bat

Download Routine

This worm accesses the following websites to download files:

  • http://{BLOCKED}sa.com/1rb/ar1.rar

As of this writing, the said sites are inaccessible.

Other Details

This worm deletes the initially executed copy of itself

NOTES:

It copies the original %System%\drivers\cdaudio.sys to %System%\dllcache\cdaudio.sys which is a legitimate file.

It then replaces the %System%\drivers\cdaudio.sys with its dropped component.

  SOLUTION

Minimum Scan Engine:

9.300

FIRST VSAPI PATTERN FILE:

9.858.05

FIRST VSAPI PATTERN DATE:

15 Apr 2013

VSAPI OPR PATTERN File:

9.859.00

VSAPI OPR PATTERN Date:

16 Apr 2013

Step 1

Before doing any scans, Windows XP, Windows Vista, and Windows 7 users must disable System Restore to allow full scanning of their computers.

Step 2

Since this malware cannot be removed in normal and safe mode, it is necessary to restart using the Windows Recovery Console. To restart the system using the Windows Recovery Console:

• On Windows XP and Server 2003 systems:

  1. Click Start>Run. In the Open input box, type secpol.msc and press Enter.
  2. In the left panel, double-click Local Policies>Security Options.
  3. In the right panel, double-click Recovery Console: Allow floppy copy and access to all drives and folders.
  4. Select Enabled and click OK.
  5. Insert the Windows Installation CD into the CD drive, then restart your computer.
  6. When prompted, press any key to boot from the CD.
  7. On the main menu, type r to go to the Recovery Console.
  8. Type the number that corresponds to the drive and directory that contains Windows (usually C:\WINDOWS) and press Enter.
  9. Type the Administrator password and press Enter.
  10. In the input box, type the following then press Enter:
    SET AllowAllPaths = TRUE
    • cd %System Root%
    • del s9h3v.bat
    • cd %User Temp%
    • del 4tddfwq0.dll
    • del xvassdf.exe
    • cd {Drive Letter}
    • del s9h3v.bat
    • Repeat the last two lines for other Physical/Removable Drives - DO NOT TYPE THIS LINE
  11. Type exit and press Enter to restart the system normally.

• On Windows Vista and 7 systems:

  1. Insert your Windows Installation DVD in the DVD drive, then Press the restart button.
  2. When prompted, press any key to boot from the DVD.
  3. Depending on your Windows Installation DVD, you might be required to select the installation language. Then on the Install Windows window, choose your language, locale, and keyboard layout or input method. Click Next, then click Repair your computer.
  4. Select Use recovery tools that can help fix problems starting Windows. Select your installation of Windows. Click Next.
  5. If the Startup Repair window appears, click Cancel, Yes, then Finish.
  6. In the System Recovery Options window, click Command Prompt.
  7. In the Command Prompt window, type the following then press Enter:
    • cd %System Root%
    • del s9h3v.bat
    • cd %User Temp%
    • del 4tddfwq0.dll
    • del xvassdf.exe
    • cd {Drive Letter}
    • del s9h3v.bat
    • Repeat the last two lines for other Physical/Removable Drives - DO NOT TYPE THIS LINE

    (Note: In Windows 7, all local drives will be assigned one more than normal. For example, the C: drive becomes D:.)
  8. Type exit and press Enter to close the Command Prompt window.
  9. Click Restart to restart the system normally.

Step 3

Delete this registry value

[ Learn More ]

Important: Editing the Windows Registry incorrectly can lead to irreversible system malfunction. Please do this step only if you know how or you can ask assistance from your system administrator. Else, check this Microsoft article first before modifying your computer's registry.

 
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
    • 54dfsger = "%User Temp%\xvassdf.exe"

Step 4

Restore this modified registry value

[ Learn More ]

Important: Editing the Windows Registry incorrectly can lead to irreversible system malfunction. Please do this step only if you know how or you can ask assistance from your system administrator. Else, check this Microsoft article first before modifying your computer's registry.

  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
    • From: Hidden = "2"
      To: Hidden = "1"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
    • From: ShowSuperHidden = "0"
      To: ShowSuperHidden = "1"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\Hidden\SHOWALL
    • From: CheckedValue = "0"
      To: CheckedValue = "1"

Step 5

Delete this registry key

[ Learn More ]

Important: Editing the Windows Registry incorrectly can lead to irreversible system malfunction. Please do this step only if you know how or you can ask assistance from your system administrator. Else, check this Microsoft article first before modifying your computer's registry.

  • In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
    • AVPsys

Step 6

Search and delete AUTORUN.INF files created by WORM_TATERF.NF that contain these strings

[ Learn More ]
[AutoRun]
open=s9h3v.bat
shell\open\Command=s9h3v.bat

Step 7

Scan your computer with your Trend Micro product to delete files detected as WORM_TATERF.NF. If the detected files have already been cleaned, deleted, or quarantined by your Trend Micro product, no further step is required. You may opt to simply delete the quarantined files. Please check this Knowledge Base page for more information.

NOTES:

Copy %System%\dllcache\cdaudio.sys and replace %System%\drivers\cdaudio.sys with it.


Did this description help? Tell us how we did.