TROJ_PREALD.AA


 PLATFORM:

Windows 2000, Windows XP, Windows Server 2003

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

  • Threat Type: Trojan

  • Destructiveness: No

  • Encrypted:

  • In the wild: Yes

  OVERVIEW


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

  TECHNICAL DETAILS

File Size:

1,080,848 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

06 Dec 2013

Arrival Details

This Trojan 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 Trojan creates the following folders:

  • %System Root%\Documents and Settings\Wilbert
  • %Desktop%\..
  • %Desktop%\..\temp
  • %Desktop%\..\temp\TeamViewer3
  • %System Root%\DOCUME~1
  • %System Root%\DOCUME~1\Wilbert
  • %User Profile%\LOCALS~1
  • %User Temp%\nsnE.tmp
  • %User Profile%\Application Data\TeamViewer

(Note: %System Root% is the root folder, which is usually C:\. It is also where the operating system is located.. %Desktop% is the current user's desktop, which is usually C:\Documents and Settings\{User Name}\Desktop on Windows 2000, XP, and Server 2003, or C:\Users\{user name}\Desktop on Windows Vista and 7.. %User Profile% is the current user's profile folder, which is usually C:\Documents and Settings\{user name} on Windows 2000, XP, and Server 2003, or C:\Users\{user name} on Windows Vista and 7.. %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 Trojan modifies the following registry entries to ensure it automatic execution at every system startup:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\Winlogon
userinit = "%System%\userinit.exe,%System%\twext.exe,"

(Note: The default value data of the said registry entry is %Windows%\system32\userinit.exe,.)

Other System Modifications

This Trojan modifies the following file(s):

  • %User Profile%\Application Data\Microsoft

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

It deletes the following files:

  • %User Temp%\nsk5.tmp
  • %System%\twext.exe
  • %User Temp%\nsyC.tmp
  • %User Temp%\nsnE.tmp
  • %User Profile%\TeamViewer3\QS.ini

(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.. %User Profile% is the current user's profile folder, which is usually C:\Documents and Settings\{user name} on Windows 2000, XP, and Server 2003, or C:\Users\{user name} on Windows Vista and 7.)

It adds the following registry keys:

HKEY_CURRENT_USER\software\microsoft\
windows\currentversion\explorer\
{43BF8CD1-C5D5-2230-7BB2-98F22C2B7DC6}

HKEY_CURRENT_USER\software\microsoft\
windows\currentversion\explorer\
{5ECCBACD-C6EF-355D-5A40-82CE4647642B}

It adds the following registry entries:

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Explorer\
{43BF8CD1-C5D5-2230-7BB2-98F22C2B7DC6}
{F710FA10-2031-3106-8872-93A2B5C5C620} = "{random values}"

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Explorer\
{43BF8CD1-C5D5-2230-7BB2-98F22C2B7DC6}
{E716FA10-2031-AA96-8E72-93A205C5C62C} = "{random values}"

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Explorer\
{5ECCBACD-C6EF-355D-5A40-82CE4647642B}
{F710FA10-2031-3106-8872-93A2B5C5C620} = "{random values}"

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Explorer\
{5ECCBACD-C6EF-355D-5A40-82CE4647642B}
{E716FA10-2031-AA96-8E72-93A205C5C62C} = "{random values}"

Dropping Routine

This Trojan drops the following files:

  • %User Temp%\{malware file name}
  • %User Temp%\2.tmp
  • %Desktop%\..\temp\TeamViewer3\TeamViewer_.exe
  • %User Temp%\nsnE.tmp\GetVersion.dll
  • %User Temp%\nsnE.tmp\System.dll
  • %Desktop%\..\temp\TeamViewer3\TeamViewer.exe
  • %Desktop%\..\temp\TeamViewer3\TeamViewer_Host.exe
  • %Desktop%\..\temp\TeamViewer3\TV.dll
  • %Desktop%\..\temp\TeamViewer3\SAS.exe
  • %User Profile%\Microsoft\Crypto
  • %User Profile%\Crypto\RSA
  • %User Profile%\RSA\S-1-5-21-1645522239-1292428093-682003330-1003
  • %System%\twext.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.. %Desktop% is the current user's desktop, which is usually C:\Documents and Settings\{User Name}\Desktop on Windows 2000, XP, and Server 2003, or C:\Users\{user name}\Desktop on Windows Vista and 7.. %User Profile% is the current user's profile folder, which is usually C:\Documents and Settings\{user name} on Windows 2000, XP, and Server 2003, or C:\Users\{user name} on Windows Vista and 7.. %System% is the Windows system folder, which is usually C:\Windows\System32.)

Other Details

This Trojan connects to the following possibly malicious URL:

  • http://www.{BLOCKED}rass.ru/ytyfqnb/presentation.doc

This report is generated via an automated analysis system.

  SOLUTION

Minimum Scan Engine:

9.300

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

Identify and delete files detected as TROJ_PREALD.AA using either the Startup Disk or Recovery Console

[ Learn More ]

Step 3

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_CURRENT_USER\software\microsoft\windows\currentversion\explorer
    • {43BF8CD1-C5D5-2230-7BB2-98F22C2B7DC6}
  • In HKEY_CURRENT_USER\software\microsoft\windows\currentversion\explorer
    • {5ECCBACD-C6EF-355D-5A40-82CE4647642B}

Step 4

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\Explorer\{43BF8CD1-C5D5-2230-7BB2-98F22C2B7DC6}
    • {F710FA10-2031-3106-8872-93A2B5C5C620} = "{random values}"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\{43BF8CD1-C5D5-2230-7BB2-98F22C2B7DC6}
    • {E716FA10-2031-AA96-8E72-93A205C5C62C} = "{random values}"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\{5ECCBACD-C6EF-355D-5A40-82CE4647642B}
    • {F710FA10-2031-3106-8872-93A2B5C5C620} = "{random values}"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\{5ECCBACD-C6EF-355D-5A40-82CE4647642B}
    • {E716FA10-2031-AA96-8E72-93A205C5C62C} = "{random values}"

Step 5

Restore these modified registry values

[ Learn More ]

Important:Editing the Windows Registry incorrectly can lead to irreversible system malfunction. Please do this only if you know how to or you can seek your system administrator's help. You may also check out this Microsoft article first before modifying your computer's registry.

  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
    • From: userinit = "%System%\userinit.exe,%System%\twext.exe,"
      To: userinit = ""%Windows%\system32\userinit.exe,""

Step 6

Search and delete these components

[ Learn More ]
There may be some components 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.
  • %User Temp%\{malware file name}
  • %User Temp%\2.tmp
  • %Desktop%\..\temp\TeamViewer3\TeamViewer_.exe
  • %User Temp%\nsnE.tmp\GetVersion.dll
  • %User Temp%\nsnE.tmp\System.dll
  • %Desktop%\..\temp\TeamViewer3\TeamViewer.exe
  • %Desktop%\..\temp\TeamViewer3\TeamViewer_Host.exe
  • %Desktop%\..\temp\TeamViewer3\TV.dll
  • %Desktop%\..\temp\TeamViewer3\SAS.exe
  • %User Profile%\Microsoft\Crypto
  • %User Profile%\Crypto\RSA
  • %User Profile%\RSA\S-1-5-21-1645522239-1292428093-682003330-1003
  • %System%\twext.exe

Step 7

Search and delete these folders

[ Learn More ]
Please make sure you check the Search Hidden Files and Folders checkbox in the More advanced options option to include all hidden folders in the search result.
  • %System Root%\Documents and Settings\Wilbert
  • %Desktop%\..
  • %Desktop%\..\temp
  • %Desktop%\..\temp\TeamViewer3
  • %System Root%\DOCUME~1
  • %System Root%\DOCUME~1\Wilbert
  • %User Profile%\LOCALS~1
  • %User Temp%\nsnE.tmp
  • %User Profile%\Application Data\TeamViewer

Step 8

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

Step 9

Restore deleted/modified files and/or registry entries from backup

*Note: Only Microsoft-related files/keys/values will be restored. If this malware/grayware also deleted registry keys/values related to programs that are not from Microsoft, please reinstall those programs on your computer.

    • %User Profile%\Application Data\Microsoft

Step 10

Restore this file from backup only Microsoft-related files will be restored. If this malware/grayware also deleted files related to programs that are not from Microsoft, please reinstall those programs on you computer again.

  • %User Temp%\nsk5.tmp
  • %System%\twext.exe
  • %User Temp%\nsyC.tmp
  • %User Temp%\nsnE.tmp
  • %User Profile%\TeamViewer3\QS.ini


Did this description help? Tell us how we did.