BKDR_AGENT.APR
Backdoor:Win32/Agent.NAB (Microsoft); [0124]:Generic Dropper.r (McAfee); Infostealer.Gampass (Symantec); PAK:ASPack, PAK:UPX, Backdoor.Win32.Agent.ah (Kaspersky); Backdoor.Agent.AH (Sunbelt); Backdoor.Agent.AH (FSecure)
Windows 2000, Windows XP, Windows Server 2003
Threat Type: Backdoor
Destructiveness: No
Encrypted:
In the wild: Yes
OVERVIEW
This backdoor arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.
It deletes itself after execution.
TECHNICAL DETAILS
41,500 bytes
EXE
No
19 Sep 2012
Arrival Details
This backdoor 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 backdoor registers itself as a BHO to ensure its automatic execution every time Internet Explorer is used by adding the following registry keys:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Explorer\
Browser Helper Objects\{CF021F40-3E14-23A5-CBA2-717177657972}
Other System Modifications
This backdoor adds the following registry keys:
HKEY_CLASSES_ROOT\QWE7972.QWE7972.1
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
QWE7972.QWE7972.1\CLSID
HKEY_CLASSES_ROOT\QWE7972.QWE7972
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
QWE7972.QWE7972\CurVer
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{CF021F40-3E14-23A5-CBA2-717177657972}
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{CF021F40-3E14-23A5-CBA2-717177657972}\ProgID
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{CF021F40-3E14-23A5-CBA2-717177657972}\VersionIndependentProgID
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{CF021F40-3E14-23A5-CBA2-717177657972}\Programmable
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{CF021F40-3E14-23A5-CBA2-717177657972}\InprocServer32
HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Explorer\
Browser Helper Objects
HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Explorer\
Browser Helper Objects\{CF021F40-3E14-23A5-CBA2-717177657972}
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
TypeLib\{CF021F32-3E14-23A5-CBA2-717177657972}
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
TypeLib\{CF021F32-3E14-23A5-CBA2-717177657972}\1.0
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
TypeLib\{CF021F32-3E14-23A5-CBA2-717177657972}\1.0\
FLAGS
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
TypeLib\{CF021F32-3E14-23A5-CBA2-717177657972}\1.0\
0
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
TypeLib\{CF021F32-3E14-23A5-CBA2-717177657972}\1.0\
0\win32
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
TypeLib\{CF021F32-3E14-23A5-CBA2-717177657972}\1.0\
HELPDIR
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
Interface\{CF021F3F-3E14-23A5-CBA2-717177657972}
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
Interface\{CF021F3F-3E14-23A5-CBA2-717177657972}\ProxyStubClsid
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
Interface\{CF021F3F-3E14-23A5-CBA2-717177657972}\ProxyStubClsid32
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
Interface\{CF021F3F-3E14-23A5-CBA2-717177657972}\TypeLib
It adds the following registry entries:
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{CF021F40-3E14-23A5-CBA2-717177657972}\InprocServer32
ThreadingModel = "Apartment"
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
Interface\{CF021F3F-3E14-23A5-CBA2-717177657972}\TypeLib
Version = "1.0"
Dropping Routine
This backdoor drops the following files:
- %System%\qwe7972.dll
- %User Temp%\TFR1.tmp
- %System Root%\y.bat
(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.. %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.. %System Root% is the root folder, which is usually C:\. It is also where the operating system is located.)
Other Details
This backdoor deletes itself after execution.
This report is generated via an automated analysis system.
SOLUTION
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
Close all opened browser windows
Step 3
Delete this registry key
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_CLASSES_ROOT
- QWE7972.QWE7972.1
- In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\QWE7972.QWE7972.1
- CLSID
- In HKEY_CLASSES_ROOT
- QWE7972.QWE7972
- In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\QWE7972.QWE7972
- CurVer
- In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID
- {CF021F40-3E14-23A5-CBA2-717177657972}
- In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{CF021F40-3E14-23A5-CBA2-717177657972}
- ProgID
- In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{CF021F40-3E14-23A5-CBA2-717177657972}
- VersionIndependentProgID
- In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{CF021F40-3E14-23A5-CBA2-717177657972}
- Programmable
- In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{CF021F40-3E14-23A5-CBA2-717177657972}
- InprocServer32
- In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer
- Browser Helper Objects
- In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Browser Helper Objects
- {CF021F40-3E14-23A5-CBA2-717177657972}
- In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib
- {CF021F32-3E14-23A5-CBA2-717177657972}
- In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{CF021F32-3E14-23A5-CBA2-717177657972}
- 1.0
- In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{CF021F32-3E14-23A5-CBA2-717177657972}\1.0
- FLAGS
- In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{CF021F32-3E14-23A5-CBA2-717177657972}\1.0
- 0
- In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{CF021F32-3E14-23A5-CBA2-717177657972}\1.0\0
- win32
- In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{CF021F32-3E14-23A5-CBA2-717177657972}\1.0
- HELPDIR
- In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface
- {CF021F3F-3E14-23A5-CBA2-717177657972}
- In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{CF021F3F-3E14-23A5-CBA2-717177657972}
- ProxyStubClsid
- In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{CF021F3F-3E14-23A5-CBA2-717177657972}
- ProxyStubClsid32
- In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{CF021F3F-3E14-23A5-CBA2-717177657972}
- TypeLib
Step 4
Delete this registry value
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\Classes\CLSID\{CF021F40-3E14-23A5-CBA2-717177657972}\InprocServer32
- ThreadingModel = "Apartment"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{CF021F3F-3E14-23A5-CBA2-717177657972}\TypeLib
- Version = "1.0"
Step 5
Search and delete these files
- %System%\qwe7972.dll
- %User Temp%\TFR1.tmp
- %System Root%\y.bat
Step 6
Scan your computer with your Trend Micro product to delete files detected as BKDR_AGENT.APR. 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.