BKDR_TENPEQ.AD
Windows
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 disables Task Manager, Registry Editor, and Folder Options.
TECHNICAL DETAILS
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.
Installation
This backdoor creates the following folders:
- %User Temp%\AA_
(Note: %User Temp% is the user's temporary folder, where it usually is C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Local\Temp on Windows Vista (32- and 64-bit), Windows 7 (32- and 64-bit), Windows 8 (32- and 64-bit), Windows 8.1 (32- and 64-bit), Windows Server 2008, and Windows Server 2012.)
Autostart Technique
This backdoor adds the following registry entries to enable its automatic execution at every system startup:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Run
82354699 = "{malware path and file name}"
It modifies the following registry entries to ensure it automatic execution at every system startup:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\Winlogon
AutoRestartShell = "1"
(Note: The default value data of the said registry entry is 1.)
Other System Modifications
This backdoor adds the following registry keys:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\policies\
Explorer
HKEY_CURRENT_USER\Software\Microsoft\
Windows Script\Settings
It adds the following registry entries:
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Control\Session Manager\Memory Management
IoPageLockLimit = "8"
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
CLSID\{00021400-0000-0000-C000-000000000046}
MenuShowDelay = "1"
HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Explorer
DesktopProcess = "1"
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Control\FileSystem
NtfsDisableLastAccessUpdate = "1"
HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Internet Settings
MaxConnectionsPer1_0Server = "a"
HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Internet Settings
MaxConnectionsPerServer = "a"
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\Tcpip\Parameters
EnablePMTUDiscovery = "1"
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\Tcpip\Parameters
EnablePMTUBHDetect = "1"
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\Tcpip\Parameters
Tcp1323Opts = "3"
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\Tcpip\Parameters
SackOpts = "1"
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\Tcpip\Parameters
TcpMaxDupAcks = "2"
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\lanmanworkstation\parameters
MaxCmds = "1e"
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\lanmanworkstation\parameters
MaxThreads = "1e"
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\lanmanworkstation\parameters
MaxCollectionCount = "2"
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\policies\
Explorer
NoDriveTypeAutoRun = "ff"
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Control\FileSystem
ConfigFileAllocSize = "1f4"
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Explorer
AlwaysUnloadDLL = "1"
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\SharedAccess\Parameters\
FirewallPolicy\StandardProfile\AuthorizedApplications\
List
%System%\attrib.exe = "%System%\attrib.exe:*:Enabled:Sevsl"
HKEY_CURRENT_USER\Software\Microsoft\
Windows Script\Settings
JITDebug = "0"
It modifies the following registry entries:
HKEY_CURRENT_USER\Control Panel\Desktop
HungAppTimeout = "1000"
(Note: The default value data of the said registry entry is 5000.)
HKEY_CURRENT_USER\Control Panel\Desktop
WaitToKillAppTimeout = "1000"
(Note: The default value data of the said registry entry is 20000.)
HKEY_CURRENT_USER\Control Panel\Desktop
AutoEndTasks = "1"
(Note: The default value data of the said registry entry is 0.)
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Control\PriorityControl
Win32PrioritySeparation = "26"
(Note: The default value data of the said registry entry is 2.)
HKEY_CURRENT_USER\Control Panel\Desktop\
WindowMetrics
MinAnimate = "0"
(Note: The default value data of the said registry entry is 1.)
HKEY_CURRENT_USER\Control Panel\Desktop
MenuShowDelay = "0"
(Note: The default value data of the said registry entry is 400.)
HKEY_CURRENT_USER\Control Panel\Desktop
UserPreferencesMask = "{random values}"
(Note: The default value data of the said registry entry is {random values}.)
HKEY_CURRENT_USER\Control Panel\Desktop
DragFullWindows = "0"
(Note: The default value data of the said registry entry is 1.)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\AeDebug
Auto = "0"
(Note: The default value data of the said registry entry is 0.)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
PCHealth\ErrorReporting
ShowUI = "0"
(Note: The default value data of the said registry entry is 1.)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
PCHealth\ErrorReporting
DoReport = "0"
(Note: The default value data of the said registry entry is 1.)
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\NetBT\Parameters
NameSrvQueryTimeout = "bb8"
(Note: The default value data of the said registry entry is 5dc.)
HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Policies\
Explorer
NoDriveTypeAutoRun = "ff"
(Note: The default value data of the said registry entry is 91.)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\SystemRestore
DisableSR = "1"
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Control\Session Manager\Memory Management\
PrefetchParameters
AppLaunchMaxNumPages = "fa"
(Note: The default value data of the said registry entry is fa0.)
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Control\Session Manager\Memory Management\
PrefetchParameters
AppLaunchMaxNumSections = "aa"
(Note: The default value data of the said registry entry is aa.)
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Control\Session Manager\Memory Management\
PrefetchParameters
AppLaunchTimerPeriod = "{random values}"
(Note: The default value data of the said registry entry is {random values}.)
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Control\Session Manager\Memory Management\
PrefetchParameters
BootMaxNumPages = "1f4"
(Note: The default value data of the said registry entry is 1f400.)
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Control\Session Manager\Memory Management\
PrefetchParameters
BootMaxNumSections = "ff"
(Note: The default value data of the said registry entry is ff0.)
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Control\Session Manager\Memory Management\
PrefetchParameters
BootTimerPeriod = "{random values}"
(Note: The default value data of the said registry entry is {random values}.)
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Control\Session Manager\Memory Management\
PrefetchParameters
EnablePrefetcher = "3"
(Note: The default value data of the said registry entry is 3.)
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Control\Session Manager\Memory Management\
PrefetchParameters
MaxNumActiveTraces = "8"
(Note: The default value data of the said registry entry is 8.)
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Control\Session Manager\Memory Management\
PrefetchParameters
MaxNumSavedTraces = "8"
(Note: The default value data of the said registry entry is 8.)
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Control\Session Manager\Memory Management\
PrefetchParameters
RootDirPath = "Prefetch"
(Note: The default value data of the said registry entry is Prefetch.)
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Control\Session Manager\Memory Management\
PrefetchParameters
VideoInitTime = "15b5"
(Note: The default value data of the said registry entry is 3e.)
HKEY_CURRENT_USER\Software\Microsoft\
Internet Explorer\Main
Start Page = "www.naver.com"
(Note: The default value data of the said registry entry is http://www.microsoft.com/isapi/redir.dll?prd=ie&pver=6&ar=msnhome.)
It creates the following registry entry(ies) to disable Task Manager, Registry Tools and Folder Options:
HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Policies\
Explorer
NoLowDiskSpaceChecks = "1"
HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Policies\
Explorer
NoSharedDocuments = "1"
HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Policies\
Explorer
NoThumbnailCache = "1"
Dropping Routine
This backdoor drops the following files:
- %User Temp%\58b8052567ade6540adf05ec8d813970.zip
(Note: %User Temp% is the user's temporary folder, where it usually is C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Local\Temp on Windows Vista (32- and 64-bit), Windows 7 (32- and 64-bit), Windows 8 (32- and 64-bit), Windows 8.1 (32- and 64-bit), Windows Server 2008, and Windows Server 2012.)
Other Details
This backdoor connects to the following possibly malicious URL:
- {BLOCKED}0.1
- {BLOCKED}.110.74
- {BLOCKED}.205.21
- {BLOCKED}.209.211
This report is generated via an automated analysis system.
SOLUTION
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 BKDR_TENPEQ.AD using either the Startup Disk or Recovery Console
Step 3
Enable Registry Editor, Task Manager, and Folder options
Step 4
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_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies
- Explorer
- In HKEY_CURRENT_USER\Software\Microsoft\Windows Script
- Settings
Step 5
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\Microsoft\Windows\CurrentVersion\Run
- 82354699 = "{malware path and file name}"
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Memory Management
- IoPageLockLimit = "8"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{00021400-0000-0000-C000-000000000046}
- MenuShowDelay = "1"
- In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer
- DesktopProcess = "1"
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\FileSystem
- NtfsDisableLastAccessUpdate = "1"
- In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings
- MaxConnectionsPer1_0Server = "a"
- In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings
- MaxConnectionsPerServer = "a"
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters
- EnablePMTUDiscovery = "1"
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters
- EnablePMTUBHDetect = "1"
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters
- Tcp1323Opts = "3"
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters
- SackOpts = "1"
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters
- TcpMaxDupAcks = "2"
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\lanmanworkstation\parameters
- MaxCmds = "1e"
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\lanmanworkstation\parameters
- MaxThreads = "1e"
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\lanmanworkstation\parameters
- MaxCollectionCount = "2"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer
- NoDriveTypeAutoRun = "ff"
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\FileSystem
- ConfigFileAllocSize = "1f4"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer
- AlwaysUnloadDLL = "1"
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\AuthorizedApplications\List
- %System%\attrib.exe = "%System%\attrib.exe:*:Enabled:Sevsl"
- In HKEY_CURRENT_USER\Software\Microsoft\Windows Script\Settings
- JITDebug = "0"
Step 6
Restore these modified registry values
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_CURRENT_USER\Control Panel\Desktop
- From: HungAppTimeout = "1000"
To: HungAppTimeout = ""5000""
- From: HungAppTimeout = "1000"
- In HKEY_CURRENT_USER\Control Panel\Desktop
- From: WaitToKillAppTimeout = "1000"
To: WaitToKillAppTimeout = ""20000""
- From: WaitToKillAppTimeout = "1000"
- In HKEY_CURRENT_USER\Control Panel\Desktop
- From: AutoEndTasks = "1"
To: AutoEndTasks = ""0""
- From: AutoEndTasks = "1"
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\PriorityControl
- From: Win32PrioritySeparation = "26"
To: Win32PrioritySeparation = ""2""
- From: Win32PrioritySeparation = "26"
- In HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics
- From: MinAnimate = "0"
To: MinAnimate = ""1""
- From: MinAnimate = "0"
- In HKEY_CURRENT_USER\Control Panel\Desktop
- From: MenuShowDelay = "0"
To: MenuShowDelay = ""400""
- From: MenuShowDelay = "0"
- In HKEY_CURRENT_USER\Control Panel\Desktop
- From: UserPreferencesMask = "{random values}"
To: UserPreferencesMask = ""{random values}""
- From: UserPreferencesMask = "{random values}"
- In HKEY_CURRENT_USER\Control Panel\Desktop
- From: DragFullWindows = "0"
To: DragFullWindows = ""1""
- From: DragFullWindows = "0"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug
- From: Auto = "0"
To: Auto = ""0""
- From: Auto = "0"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PCHealth\ErrorReporting
- From: ShowUI = "0"
To: ShowUI = ""1""
- From: ShowUI = "0"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PCHealth\ErrorReporting
- From: DoReport = "0"
To: DoReport = ""1""
- From: DoReport = "0"
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\NetBT\Parameters
- From: NameSrvQueryTimeout = "bb8"
To: NameSrvQueryTimeout = ""5dc""
- From: NameSrvQueryTimeout = "bb8"
- In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
- From: NoDriveTypeAutoRun = "ff"
To: NoDriveTypeAutoRun = ""91""
- From: NoDriveTypeAutoRun = "ff"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore
- DisableSR = "1"
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Memory Management\PrefetchParameters
- From: AppLaunchMaxNumPages = "fa"
To: AppLaunchMaxNumPages = ""fa0""
- From: AppLaunchMaxNumPages = "fa"
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Memory Management\PrefetchParameters
- From: AppLaunchMaxNumSections = "aa"
To: AppLaunchMaxNumSections = ""aa""
- From: AppLaunchMaxNumSections = "aa"
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Memory Management\PrefetchParameters
- From: AppLaunchTimerPeriod = "{random values}"
To: AppLaunchTimerPeriod = ""{random values}""
- From: AppLaunchTimerPeriod = "{random values}"
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Memory Management\PrefetchParameters
- From: BootMaxNumPages = "1f4"
To: BootMaxNumPages = ""1f400""
- From: BootMaxNumPages = "1f4"
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Memory Management\PrefetchParameters
- From: BootMaxNumSections = "ff"
To: BootMaxNumSections = ""ff0""
- From: BootMaxNumSections = "ff"
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Memory Management\PrefetchParameters
- From: BootTimerPeriod = "{random values}"
To: BootTimerPeriod = ""{random values}""
- From: BootTimerPeriod = "{random values}"
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Memory Management\PrefetchParameters
- From: EnablePrefetcher = "3"
To: EnablePrefetcher = ""3""
- From: EnablePrefetcher = "3"
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Memory Management\PrefetchParameters
- From: MaxNumActiveTraces = "8"
To: MaxNumActiveTraces = ""8""
- From: MaxNumActiveTraces = "8"
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Memory Management\PrefetchParameters
- From: MaxNumSavedTraces = "8"
To: MaxNumSavedTraces = ""8""
- From: MaxNumSavedTraces = "8"
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Memory Management\PrefetchParameters
- From: RootDirPath = "Prefetch"
To: RootDirPath = ""Prefetch""
- From: RootDirPath = "Prefetch"
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Memory Management\PrefetchParameters
- From: VideoInitTime = "15b5"
To: VideoInitTime = ""3e""
- From: VideoInitTime = "15b5"
- In HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main
- From: Start Page = "www.naver.com"
To: Start Page = ""http://www.microsoft.com/isapi/redir.dll?prd=ie&pver=6&ar=msnhome""
- From: Start Page = "www.naver.com"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
- From: AutoRestartShell = "1"
To: AutoRestartShell = ""1""
- From: AutoRestartShell = "1"
Step 7
Search and delete this file
- %User Temp%\58b8052567ade6540adf05ec8d813970.zip
Step 8
Search and delete this folder
- %User Temp%\AA_
Step 9
Scan your computer with your Trend Micro product to delete files detected as BKDR_TENPEQ.AD. 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.