TSPY_DEKA.AP
Trojan-PSW.Win32.Deka.hd (Kaspersky); Mal/Agent-AOG (Sophos); Trojan.Win32.Generic.pak!cobra (Sunbelt)
Windows 2000, Windows Server 2003, Windows XP (32-bit, 64-bit), Windows Vista (32-bit, 64-bit), Windows 7 (32-bit, 64-bit)
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
2,903,520 bytes
EXE
Yes
30 May 2014
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.
Installation
This spyware creates the following folders:
- %System Root%\users\public\Public Document
- %System Root%\users
- %System Root%\users\public
- %User Temp%\Adobe
- %User Profile%\Msn\Msn2
- %User Profile%\Msn
(Note: %System Root% is the root folder, which is usually C:\. It is also where the operating system is located.. %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.. %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.)
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
stat = "%User Profile%\Msn2\aagj.bat"
HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
stat2 = "%User Profile%\Msn2\aagj.bat"
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Run
stat7 = "%System Root%\Users\Public\Public Document\mdej.exe "
Other System Modifications
This spyware deletes the following files:
- %System Root%\users\public\Public Document\bare.zip
- %System Root%\users\public\Public Document\unzip2.exe
(Note: %System Root% is the root folder, which is usually C:\. It is also where the operating system is located.)
It adds the following registry keys:
HKEY_CURRENT_USER\Software\Adobe\
Adobe Acrobat\10.0
HKEY_CURRENT_USER\Software\Adobe\
Adobe Synchronizer\10.0
HKEY_LOCAL_MACHINE\System\Acrobatbrokerserverdispatchercpp789
HKEY_CURRENT_USER\Software\Adobe\
Acrobat Reader\10.0\Installer\
Migrated
It adds the following registry entries:
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\SharedAccess\Parameters\
FirewallPolicy\StandardProfile
EnableFirewall = "0"
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\SharedAccess\Parameters\
FirewallPolicy\StandardProfile
DoNotAllowExceptions = "0"
It modifies the following registry entries:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Run\
OptionalComponents\IMAIL
Installed = "1"
(Note: The default value data of the said registry entry is 1.)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Run\
OptionalComponents\MAPI
Installed = "1"
(Note: The default value data of the said registry entry is 1.)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Run\
OptionalComponents\MAPI
NoChange = "1"
(Note: The default value data of the said registry entry is 1.)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows\CurrentVersion\Run\
OptionalComponents\MSFS
Installed = "1"
(Note: The default value data of the said registry entry is 1.)
Dropping Routine
This spyware drops the following files:
- abc.klm
- bare.zip
- crp.exe
- decj.bat
- mk.qaz
- pic.pdf
- stap.vbs
- unzip2.exe
- bar.zip
- unzip.exe
- aagj.bat
- cogj.reg
- dj.vbs
- icj.bat
- iej.bat
- iewj.bat
- image.abc
- images.abc
- keeprun.ini
- mdej.abc
- picture viewer.abc
- saj.vbs
- wmsn.klb
- msn.klc
- wmsn.klc
Other Details
This spyware connects to the following possibly malicious URL:
- {BLOCKED}.57.8
- {BLOCKED}0.1
This report is generated via an automated analysis system.
SOLUTION
9.700
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
Restart in Safe Mode
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_CURRENT_USER\Software\Adobe\Adobe Acrobat
- 10.0
- In HKEY_CURRENT_USER\Software\Adobe\Adobe Synchronizer
- 10.0
- In HKEY_LOCAL_MACHINE\System
- Acrobatbrokerserverdispatchercpp789
- In HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\10.0\Installer
- Migrated
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\Microsoft\Windows\CurrentVersion\Run
- stat = "%User Profile%\Msn2\aagj.bat"
- In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
- stat2 = "%User Profile%\Msn2\aagj.bat"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
- stat7 = "%System Root%\Users\Public\Public Document\mdej.exe "
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile
- EnableFirewall = "0"
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile
- DoNotAllowExceptions = "0"
Step 5
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_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\OptionalComponents\IMAIL
- From: Installed = "1"
To: Installed = ""1""
- From: Installed = "1"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\OptionalComponents\MAPI
- From: Installed = "1"
To: Installed = ""1""
- From: Installed = "1"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\OptionalComponents\MAPI
- From: NoChange = "1"
To: NoChange = ""1""
- From: NoChange = "1"
- In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\OptionalComponents\MSFS
- From: Installed = "1"
To: Installed = ""1""
- From: Installed = "1"
Step 6
Search and delete these components
- abc.klm
- bare.zip
- crp.exe
- decj.bat
- mk.qaz
- pic.pdf
- stap.vbs
- unzip2.exe
- bar.zip
- unzip.exe
- aagj.bat
- cogj.reg
- dj.vbs
- icj.bat
- iej.bat
- iewj.bat
- image.abc
- images.abc
- keeprun.ini
- mdej.abc
- picture viewer.abc
- saj.vbs
- wmsn.klb
- msn.klc
- wmsn.klc
Step 7
Search and delete these folders
- %System Root%\users\public\Public Document
- %System Root%\users
- %System Root%\users\public
- %User Temp%\Adobe
- %User Profile%\Msn\Msn2
- %User Profile%\Msn
Step 8
Restart in normal mode and scan your computer with your Trend Micro product for files detected as TSPY_DEKA.AP. 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 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.
- %System Root%\users\public\Public Document\bare.zip
- %System Root%\users\public\Public Document\unzip2.exe
Did this description help? Tell us how we did.