BAT_OTORUN.A

 Analysis by: Cris Nowell Pantanilla

 ALIASES:

Worm.BAT.Agent.cl (Kaspersky), Worm:BAT/Melrin.B (Microsoft), BAT/Autorun.BZ (ESET-NOD32)

 PLATFORM:

Windows

 OVERALL RISK RATING:
 REPORTED INFECTION:

  • Threat Type: Trojan

  • Destructiveness: No

  • Encrypted: No

  • In the wild: Yes

  OVERVIEW

Infection Channel:

Via physical/removable drives


This Trojan arrives via removable drives.

It uses Windows Task Scheduler to create a scheduled task that executes the dropped copy.

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

  TECHNICAL DETAILS

File Size:

3,855 bytes

File Type:

BAT

Memory Resident:

No

Initial Samples Received Date:

13 Oct 2010

Arrival Details

This Trojan arrives via removable drives.

Installation

This Trojan drops the following copies of itself into the affected system and executes them:

  • %Windows%\system32\windows.cmd

(Note: %Windows% is the Windows folder, where it usually is C:\Windows on all Windows operating system versions.)

It then creates the following non-malicious file(s):

  • %Windows%\Tasks\VTTimer.job ← Scheduled Task

(Note: %Windows% is the Windows folder, where it usually is C:\Windows on all Windows operating system versions.)

It uses Windows Task Scheduler to create a scheduled task that executes the dropped copy.

Other System Modifications

This Trojan adds the following registry entries:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion
RegisteredOwner = "ARDI ARIANSYAH"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion
RegisteredOrganization = "Indonesia (Garuda Didadaku)"

It modifies the following registry entries:

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Explorer\
Advanced
Hidden = 0

(Note: The default value data of the said registry entry is {user settings}.)

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

(Note: The default value data of the said registry entry is {user settings}.)

Propagation

This Trojan drops copies of itself in the following drives:

  • Drives E: to O:

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]
shellexecute=windows.cmd
icon=icon.ico

Dropping Routine

This Trojan sets the attributes of its dropped file(s) to the following:

  • Hidden
  • System
  • Read-only

Other Details

This Trojan does the following:

  • It copies the file "icon.ico" (if exist) on the same directories where it drops a copy of itself.

  SOLUTION

Minimum Scan Engine:

9.800

FIRST VSAPI PATTERN FILE:

7.536.17

FIRST VSAPI PATTERN DATE:

13 Oct 2010

VSAPI OPR PATTERN File:

7.537.00

VSAPI OPR PATTERN Date:

14 Oct 2010

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

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_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion
    • RegisteredOwner = "ARDI ARIANSYAH"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion
    • RegisteredOrganization = "Indonesia (Garuda Didadaku)"

Step 3

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 = "0"
      To: Hidden = {user settings}

Step 4

Search and delete these files

[ Learn More ]
There may be some files that are hidden. Please make sure you check the Search Hidden Files and Folders checkbox in the "More advanced options" option to include all hidden files and folders in the search result.
%Windows%\Tasks\VTTimer.job
{malware path}\icon.ico

Step 5

Search and delete AUTORUN.INF files created by BAT_OTORUN.A that contain these strings

[ Learn More ]
[autorun]
shellexecute=windows.cmd
icon=icon.ico

Step 6

Scan your computer with your Trend Micro product to delete files detected as BAT_OTORUN.A. 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.


Did this description help? Tell us how we did.