TSPY_AGENT.EFR


 ALIASES:

TrojanDownloader:Win32/Agent.ABF (Microsoft); [2.nsis]:Downloader.gen.a (McAfee); SecurityRisk.Downldr, Downloader (Symantec); ARC:NSIS, PAK:[data0002]:PE_Patch, [data0002]:Trojan-Downloader.Win32.QQHelper.fq (Kaspersky); Trojan.Win32.Generic!BT (Sunbelt); Dropped:Trojan.Dloader.APQ (FSecure)

 PLATFORM:

Windows 2000, Windows, XP, Windows Server 2003

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

  • Threat Type: Spyware

  • Destructiveness: No

  • Encrypted:

  • In the wild: Yes

  OVERVIEW


This spyware 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:

132,318 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

18 Nov 2011

Arrival Details

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

Autostart Technique

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

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Run
res = "%System%\res.exe"

Other System Modifications

This spyware deletes the following files:

  • %User Temp%\nsy1.tmp

(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.)

It adds the following registry keys:

HKEY_LOCAL_MACHINE\software\media

It adds the following registry entries:

HKEY_LOCAL_MACHINE\SOFTWARE\media
R29udIW0AYKKAB== = "NEB1NEV2PFVxNFR4"

HKEY_LOCAL_MACHINE\SOFTWARE\media
S3WqAB== = "OlSEOFN1NlZ5OESDOEmGOkh5PFWHOEh0OkSFPVWESEF="

HKEY_LOCAL_MACHINE\SOFTWARE\media
AYimcnGuAR== = "RaqdW0mPSF9YV1yafYO0AX0aNmyzAYNvAYim"

HKEY_LOCAL_MACHINE\SOFTWARE\media
Z29vAn5icXV= = "RaqdW0mPSF9YV1yafYO0AX0aNmy1dD5lcHx="

HKEY_LOCAL_MACHINE\SOFTWARE\media
R29vAmWxAHG0AWSqcXV= = "NUNzNUV2PUZ2Oh=="

HKEY_LOCAL_MACHINE\SOFTWARE\media
WHizAXGlTXR= = "OkJ0"

HKEY_LOCAL_MACHINE\SOFTWARE\media
V2OwdnVwcHW2AXx= = "MUN="

HKEY_LOCAL_MACHINE\SOFTWARE\media
V2OwdnVwd3CwdoSa = "NB=="

HKEY_LOCAL_MACHINE\SOFTWARE\media
V2OwdnVwd3SwZ2t= = "NB=="

HKEY_LOCAL_MACHINE\SOFTWARE\media
V2OwdnVwfYWtAYis = "NB=="

HKEY_LOCAL_MACHINE\SOFTWARE\media
V2OwdnVwbHGwbHGw = "NB=="

HKEY_LOCAL_MACHINE\SOFTWARE\media
V2OwdnVwZ29uZ29u = "NB=="

HKEY_LOCAL_MACHINE\SOFTWARE\media
V2OwdnVwc3WzeYOz = "NB=="

HKEY_LOCAL_MACHINE\SOFTWARE\media
SHG5VHWzbX9lMx==SHG5V3SidoSVbX1mMR== = "NUNzNUV2PUZ2PB=="

HKEY_LOCAL_MACHINE\SOFTWARE\media
SHG5VHWzbX9lMx==SHG5VHWzbX9lMR== = "NB=="

HKEY_LOCAL_MACHINE\SOFTWARE\media
SHG5VHWzbX9lMx==SHG5VHWzbX9lR291coRu = "NB=="

HKEY_LOCAL_MACHINE\SOFTWARE\media
SHG5VHWzbX9lMx==SHG5VHWzbX9lTX5lAYhu = "MUF="

HKEY_LOCAL_MACHINE\SOFTWARE\media
SHG5VHWzbX9lMx==SHG5VHWzbX9lRXO0UoWuMR== = "NB=="

HKEY_LOCAL_MACHINE\SOFTWARE\media
SHG5VHWzbX9lMx==SHG5RXO0VH9qcoSKcnSmfD0= = "MUF="

HKEY_LOCAL_MACHINE\SOFTWARE\media
SHG5VHWzbX9lMx==SHG5VnWndnWabGOmdnmicD0= = "NB=="

HKEY_LOCAL_MACHINE\SOFTWARE\media
SHG5VHWzbX9lMx==SHG5V3SidoSVbX1mMXOwcnZ= = "NUNzNUV2PUZ2PB=="

HKEY_LOCAL_MACHINE\SOFTWARE\media
SHG5VHWzbX9lMx==SHG5VHWzbX9lMXOwcnZ= = "Nx=="

HKEY_LOCAL_MACHINE\SOFTWARE\media
SHG5VHWzbX9lMx==SHG5VHWzbX9lR291coRuZ29vAh== = "NUBxNEB="

HKEY_LOCAL_MACHINE\SOFTWARE\media
SHG5VHWzbX9lMx==SHG5VHWzbX9lTX5lAYhuZ29vAh== = "MUF="

HKEY_LOCAL_MACHINE\SOFTWARE\media
SHG5VHWzbX9lMx==SHG5VHWzbX9lRXO0UoWuMXOwcnZ= = "OR=="

HKEY_LOCAL_MACHINE\SOFTWARE\media
SHG5VHWzbX9lMx==SHG5RXO0VH9qcoSKcnSmfD1kc25n = "MUF="

HKEY_LOCAL_MACHINE\SOFTWARE\media
SHG5VHWzbX9lMx==SHG5VnWndnWabGOmdnmicD1kc25n = "NB=="

HKEY_LOCAL_MACHINE\SOFTWARE\media
SHG5VHWzbX9lMx==SHG5V3SidoSVbX1mMYK1ch== = "NUNzNUV2PUZ2PB=="

HKEY_LOCAL_MACHINE\SOFTWARE\media
SHG5VHWzbX9lMx==SHG5VHWzbX9lMYK1ch== = "NR=="

HKEY_LOCAL_MACHINE\SOFTWARE\media
SHG5VHWzbX9lMx==SHG5VHWzbX9lR291coRudoWv = "NUBxNEB="

HKEY_LOCAL_MACHINE\SOFTWARE\media
SHG5VHWzbX9lMx==SHG5VHWzbX9lTX5lAYhudoWv = "MUF="

HKEY_LOCAL_MACHINE\SOFTWARE\media
SHG5VHWzbX9lMx==SHG5VHWzbX9lRXO0UoWuMYK1ch== = "NR=="

HKEY_LOCAL_MACHINE\SOFTWARE\media
SHG5VHWzbX9lMx==SHG5RXO0VH9qcoSKcnSmfD1zeX4= = "MUF="

HKEY_LOCAL_MACHINE\SOFTWARE\media
SHG5VHWzbX9lMx==SHG5VnWndnWabGOmdnmicD1zeX4= = "NB=="

HKEY_LOCAL_MACHINE\SOFTWARE\media
V3SidoSVbX1mMx==Snmzd3SUeHGzeB== = "NUNzNUV2PUZ2PB=="

Dropping Routine

This spyware drops the following files:

  • %System%\res.exe
  • %System%\up.dll

(Note: %System% is the Windows system folder, which is usually C:\Windows\System on Windows 98 and ME, C:\WINNT\System32 on Windows NT and 2000, or C:\Windows\System32 on Windows XP and Server 2003.)

This report is generated via an automated analysis system.

  SOLUTION

Minimum Scan Engine:

9.200

Step 1

For Windows XP and Windows Server 2003 users, before doing any scans, please make sure you disable System Restore to allow full scanning of your computer.

Step 2

Restart in Safe Mode

[ 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_LOCAL_MACHINE\software
    • media

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_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
    • res="%System%\res.exe"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\media
    • R29udIW0AYKKAB==="NEB1NEV2PFVxNFR4"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\media
    • S3WqAB==="OlSEOFN1NlZ5OESDOEmGOkh5PFWHOEh0OkSFPVWESEF="
  • In HKEY_LOCAL_MACHINE\SOFTWARE\media
    • AYimcnGuAR==="RaqdW0mPSF9YV1yafYO0AX0aNmyzAYNvAYim"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\media
    • Z29vAn5icXV=="RaqdW0mPSF9YV1yafYO0AX0aNmy1dD5lcHx="
  • In HKEY_LOCAL_MACHINE\SOFTWARE\media
    • R29vAmWxAHG0AWSqcXV=="NUNzNUV2PUZ2Oh=="
  • In HKEY_LOCAL_MACHINE\SOFTWARE\media
    • WHizAXGlTXR=="OkJ0"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\media
    • V2OwdnVwcHW2AXx=="MUN="
  • In HKEY_LOCAL_MACHINE\SOFTWARE\media
    • V2OwdnVwd3CwdoSa="NB=="
  • In HKEY_LOCAL_MACHINE\SOFTWARE\media
    • V2OwdnVwd3SwZ2t=="NB=="
  • In HKEY_LOCAL_MACHINE\SOFTWARE\media
    • V2OwdnVwfYWtAYis="NB=="
  • In HKEY_LOCAL_MACHINE\SOFTWARE\media
    • V2OwdnVwbHGwbHGw="NB=="
  • In HKEY_LOCAL_MACHINE\SOFTWARE\media
    • V2OwdnVwZ29uZ29u="NB=="
  • In HKEY_LOCAL_MACHINE\SOFTWARE\media
    • V2OwdnVwc3WzeYOz="NB=="
  • In HKEY_LOCAL_MACHINE\SOFTWARE\media
    • SHG5VHWzbX9lMx==SHG5V3SidoSVbX1mMR==="NUNzNUV2PUZ2PB=="
  • In HKEY_LOCAL_MACHINE\SOFTWARE\media
    • SHG5VHWzbX9lMx==SHG5VHWzbX9lMR==="NB=="
  • In HKEY_LOCAL_MACHINE\SOFTWARE\media
    • SHG5VHWzbX9lMx==SHG5VHWzbX9lR291coRu="NB=="
  • In HKEY_LOCAL_MACHINE\SOFTWARE\media
    • SHG5VHWzbX9lMx==SHG5VHWzbX9lTX5lAYhu="MUF="
  • In HKEY_LOCAL_MACHINE\SOFTWARE\media
    • SHG5VHWzbX9lMx==SHG5VHWzbX9lRXO0UoWuMR==="NB=="
  • In HKEY_LOCAL_MACHINE\SOFTWARE\media
    • SHG5VHWzbX9lMx==SHG5RXO0VH9qcoSKcnSmfD0=="MUF="
  • In HKEY_LOCAL_MACHINE\SOFTWARE\media
    • SHG5VHWzbX9lMx==SHG5VnWndnWabGOmdnmicD0=="NB=="
  • In HKEY_LOCAL_MACHINE\SOFTWARE\media
    • SHG5VHWzbX9lMx==SHG5V3SidoSVbX1mMXOwcnZ=="NUNzNUV2PUZ2PB=="
  • In HKEY_LOCAL_MACHINE\SOFTWARE\media
    • SHG5VHWzbX9lMx==SHG5VHWzbX9lMXOwcnZ=="Nx=="
  • In HKEY_LOCAL_MACHINE\SOFTWARE\media
    • SHG5VHWzbX9lMx==SHG5VHWzbX9lR291coRuZ29vAh==="NUBxNEB="
  • In HKEY_LOCAL_MACHINE\SOFTWARE\media
    • SHG5VHWzbX9lMx==SHG5VHWzbX9lTX5lAYhuZ29vAh==="MUF="
  • In HKEY_LOCAL_MACHINE\SOFTWARE\media
    • SHG5VHWzbX9lMx==SHG5VHWzbX9lRXO0UoWuMXOwcnZ=="OR=="
  • In HKEY_LOCAL_MACHINE\SOFTWARE\media
    • SHG5VHWzbX9lMx==SHG5RXO0VH9qcoSKcnSmfD1kc25n="MUF="
  • In HKEY_LOCAL_MACHINE\SOFTWARE\media
    • SHG5VHWzbX9lMx==SHG5VnWndnWabGOmdnmicD1kc25n="NB=="
  • In HKEY_LOCAL_MACHINE\SOFTWARE\media
    • SHG5VHWzbX9lMx==SHG5V3SidoSVbX1mMYK1ch==="NUNzNUV2PUZ2PB=="
  • In HKEY_LOCAL_MACHINE\SOFTWARE\media
    • SHG5VHWzbX9lMx==SHG5VHWzbX9lMYK1ch==="NR=="
  • In HKEY_LOCAL_MACHINE\SOFTWARE\media
    • SHG5VHWzbX9lMx==SHG5VHWzbX9lR291coRudoWv="NUBxNEB="
  • In HKEY_LOCAL_MACHINE\SOFTWARE\media
    • SHG5VHWzbX9lMx==SHG5VHWzbX9lTX5lAYhudoWv="MUF="
  • In HKEY_LOCAL_MACHINE\SOFTWARE\media
    • SHG5VHWzbX9lMx==SHG5VHWzbX9lRXO0UoWuMYK1ch==="NR=="
  • In HKEY_LOCAL_MACHINE\SOFTWARE\media
    • SHG5VHWzbX9lMx==SHG5RXO0VH9qcoSKcnSmfD1zeX4=="MUF="
  • In HKEY_LOCAL_MACHINE\SOFTWARE\media
    • SHG5VHWzbX9lMx==SHG5VnWndnWabGOmdnmicD1zeX4=="NB=="
  • In HKEY_LOCAL_MACHINE\SOFTWARE\media
    • V3SidoSVbX1mMx==Snmzd3SUeHGzeB==="NUNzNUV2PUZ2PB=="

Step 5

Search and delete these files

[ Learn More ]
There may be some component 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.
  • %System%\res.exe
  • %System%\up.dll

Step 6

Restart in normal mode and scan your computer with your Trend Micro product for files detected as TSPY_AGENT.EFR. 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 7

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%\nsy1.tmp


Did this description help? Tell us how we did.