TROJ_PROAGENT.C


 ALIASES:

TrojanSpy:Win32/ProAgent.2_0, TrojanSpy:Win32/ProAgent.H (Microsoft); [2.nsis\2.nsis]:PWS-Progent (McAfee); Trojan.Progent (Symantec); ARC:NSIS, PAK:[1.exe]:FSG, [1.exe]:Trojan.Win32.Agent.dr, [1.exe]:Trojan.Win32.Agent.dr, ARC:[Betfai (Kaspersky); BehavesLike.Win32.Malware.bsu (vs) (Sunbelt); Dropped:Trojan.Generic.2068850 (FSecure)

 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,520,464 bytes

File Type:

EXE

Memory Resident:

Yes

Initial Samples Received Date:

21 Jul 2012

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%\DOCUME~1
  • %System Root%\DOCUME~1\ADMINI~1
  • %User Profile%\LOCALS~1
  • %Application Data%\Thinstall\Cache
  • %Application Data%\Thinstall
  • %User Profile%\Thinstall\Betfair Trader
  • %User Profile%\Application Data\Thinstall

(Note: %System Root% is the root folder, which is usually C:\. It is also where the operating system is located.. %User Profile% is the current user's profile folder, which is usually C:\Windows\Profiles\{user name} on Windows 98 and ME, C:\WINNT\Profiles\{user name} on Windows NT, and C:\Documents and Settings\{user name} on Windows 2000, XP, and Server 2003.. %Application Data% is the current user's Application Data folder, which is usually C:\Windows\Profiles\{user name}\Application Data on Windows 98 and ME, C:\WINNT\Profiles\{user name}\Application Data on Windows NT, and C:\Documents and Settings\{user name}\Local Settings\Application Data on Windows 2000, XP, and Server 2003.)

Autostart Technique

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

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
qservices = "%Windows%\qservice.exe"

Other System Modifications

This Trojan deletes the following files:

  • %User Temp%\nst1.tmp
  • %Windows%\qservice.exe
  • %User Profile%\Betfair Trader\Registry.rw.tvr.lck
  • %System%\agnt_fps.dat
  • %System%\agnt_mps.dat
  • %System%\agnt_msn.dat
  • %System%\_pnc.dat

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

It adds the following registry keys:

HKEY_CURRENT_USER\Software\NirSoft\
MailPassView

HKEY_CURRENT_USER\Software\NirSoft\
MessenPass

HKEY_CURRENT_USER\SOFTWARE\mirabilis\
icq\NewOwners

HKEY_LOCAL_MACHINE\SOFTWARE\Miranda

HKEY_LOCAL_MACHINE\SOFTWARE\mirabilis\
icq\DefaultPrefs

HKEY_CURRENT_USER\SOFTWARE\mirabilis\
icq\DefaultPrefs

HKEY_CURRENT_USER\SOFTWARE\RIT\
The Bat!

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Uninstall\
Trillian

HKEY_CURRENT_USER\Software\Far\
Plugins\FTP\Hosts

HKEY_CURRENT_USER\Software\Ghisler\
Windows Commander

HKEY_CURRENT_USER\Software\Ghisler\
Total Commander

HKEY_LOCAL_MACHINE\Software\Ghisler\
Windows Commander

HKEY_LOCAL_MACHINE\Software\Ghisler\
Total Commander

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Uninstall\
&RQ

It adds the following registry entries:

HKEY_CURRENT_USER\Software\Microsoft\
Windows
pVer = "c8"

HKEY_CURRENT_USER\Software\Microsoft\
Windows
qservices = "qservices"

HKEY_CURRENT_USER\Software\Microsoft\
Windows
pPid = "788"

Dropping Routine

This Trojan drops the following files:

  • %User Temp%\1.exe
  • %User Temp%\Betfair Trader.exe
  • %User Profile%\Betfair Trader\Registry.rw.tvr.lck.BRIAN-15CCAD32E.ffffffff678
  • %User Profile%\Betfair Trader\Registry.tlog.cache
  • %Windows%\services.dll
  • %System%\drivers\KeenSense.sys
  • %System%\drivers\ksdevice.sys
  • %System%\HookApi.dll
  • %Windows%\JiurlPortHide.sys
  • %Windows%\kurlmon.dll
  • %System%\agnt_fps.exe
  • %System%\agnt_mps.exe
  • %System%\agnt_msn.exe
  • %System%\agnt_pnc.exe
  • agnt_fps.dat
  • agnt_mps.dat
  • agnt_msn.dat
  • _pnc.dat
  • %User Temp%\ie1D18.tmp
  • %Windows%\qservice.exe
  • %User Profile%\Betfair Trader\Registry.rw.tvr.transact

(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.. %User Profile% is the current user's profile folder, which is usually C:\Windows\Profiles\{user name} on Windows 98 and ME, C:\WINNT\Profiles\{user name} on Windows NT, and C:\Documents and Settings\{user name} on Windows 2000, XP, and Server 2003.. %Windows% is the Windows folder, which is usually C:\Windows or C:\WINNT.. %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_CURRENT_USER\Software\NirSoft
    • MailPassView
  • In HKEY_CURRENT_USER\Software\NirSoft
    • MessenPass
  • In HKEY_CURRENT_USER\SOFTWARE\mirabilis\icq
    • NewOwners
  • In HKEY_LOCAL_MACHINE\SOFTWARE
    • Miranda
  • In HKEY_LOCAL_MACHINE\SOFTWARE\mirabilis\icq
    • DefaultPrefs
  • In HKEY_CURRENT_USER\SOFTWARE\mirabilis\icq
    • DefaultPrefs
  • In HKEY_CURRENT_USER\SOFTWARE\RIT
    • The Bat!
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
    • Trillian
  • In HKEY_CURRENT_USER\Software\Far\Plugins\FTP
    • Hosts
  • In HKEY_CURRENT_USER\Software\Ghisler
    • Windows Commander
  • In HKEY_CURRENT_USER\Software\Ghisler
    • Total Commander
  • In HKEY_LOCAL_MACHINE\Software\Ghisler
    • Windows Commander
  • In HKEY_LOCAL_MACHINE\Software\Ghisler
    • Total Commander
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
    • &RQ

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\Run
    • qservices = "%Windows%\qservice.exe"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows
    • pVer = "c8"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows
    • qservices = "qservices"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows
    • pPid = "788"

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.
  • %User Temp%\1.exe
  • %User Temp%\Betfair Trader.exe
  • %User Profile%\Betfair Trader\Registry.rw.tvr.lck.BRIAN-15CCAD32E.ffffffff678
  • %User Profile%\Betfair Trader\Registry.tlog.cache
  • %Windows%\services.dll
  • %System%\drivers\KeenSense.sys
  • %System%\drivers\ksdevice.sys
  • %System%\HookApi.dll
  • %Windows%\JiurlPortHide.sys
  • %Windows%\kurlmon.dll
  • %System%\agnt_fps.exe
  • %System%\agnt_mps.exe
  • %System%\agnt_msn.exe
  • %System%\agnt_pnc.exe
  • agnt_fps.dat
  • agnt_mps.dat
  • agnt_msn.dat
  • _pnc.dat
  • %User Temp%\ie1D18.tmp
  • %Windows%\qservice.exe
  • %User Profile%\Betfair Trader\Registry.rw.tvr.transact

Step 6

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%\DOCUME~1
  • %System Root%\DOCUME~1\ADMINI~1
  • %User Profile%\LOCALS~1
  • %Application Data%\Thinstall\Cache
  • %Application Data%\Thinstall
  • %User Profile%\Thinstall\Betfair Trader
  • %User Profile%\Application Data\Thinstall

Step 7

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

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%\nst1.tmp
  • %Windows%\qservice.exe
  • %User Profile%\Betfair Trader\Registry.rw.tvr.lck
  • %System%\agnt_fps.dat
  • %System%\agnt_mps.dat
  • %System%\agnt_msn.dat
  • %System%\_pnc.dat


Did this description help? Tell us how we did.