JS_KOPILUWAK.A
JS.Kopiwak(Symantec);Trojan.JS.Agent.silepy(Kaspersky)
Windows
Threat Type: Trojan
Destructiveness: No
Encrypted: Yes
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
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 drops the following files:
- %Application Data%\Microsoft\Protect\~~.tmp
- %Application Data%\Microsoft\Protect\appidpolicyconverter.js ← detected by TREND MICRO as JS_KOPILUWAK.B
(Note: %Application Data% is the Application Data folder, where it usually is C:\Documents and Settings\{user name}\Application Data on Windows 2000, Windows Server 2003, and Windows XP (32- and 64-bit); C:\Users\{user name}\AppData\Roaming 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
The scheduled task executes the malware every:
- 7:24am everyday, repeat every 10 minutes indefinitely
Other Details
This Trojan does the following:
- Create scheduled task namely PolicyConverter to execute %Application Data%\Microsoft\Protect\appidpolicyconverter.js FileTypeXML gwVAj83JsiqTz5fG
- Executes the following commands and append the output in %Application Data%\Microsoft\Protect\~~.tmp:
- systeminfo >
- net view >>
- net view /domain >>
- tasklist /v >>
- gpresult /z >>
- netstat -nao >>
- ipconfig /all >>
- arp -a >>
- net share >>
- net use >>
- net user >>
- net user administrator >>
- net user /domain >>
- net user administrator /domain >>
- set >>
- dir %systemdrive%\Users\*.* >>
- dir %userprofile%\AppData\Roaming\Microsoft\Windows\Recent\*.* >>
- dir %userprofile%\Desktop\*.* >>
- tasklist /fi \modules eq wow64.dll\ >>
- tasklist /fi \modules ne wow64.dll\ >>
- dir \%programfiles(x86)%\ >>
- dir \%programfiles%\ >>
- dir %appdata% >>
- dir \%programfiles%\Kaspersky Lab\ >>
- dir \%programfiles(x86)%\Kaspersky Lab\ >>
- tracert www.google.com >>
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
Note that not all files, folders, and registry keys and entries are installed on your computer during this malware's/spyware's/grayware's execution. This may be due to incomplete installation or other operating system conditions. If you do not find the same files/folders/registry information, please proceed to the next step.
Step 3
Restart in Safe Mode
Step 4
Delete the Scheduled Tasks added by this malware/grayware
To delete the added Scheduled Task file:
For Windows 2000, Windows XP, and Windows Server 2003:
- Open the Windows Scheduled Tasks. To do this, click Start>Programs>Accessories>System Tools>Scheduled Tasks.
- Double-click on a .JOB file.
- Check if the malware path and file name exists in the .JOB file. To do this, check the value in the Run field.
- If found, select the .JOB file then press SHIFT+DELETE to permanently delete the file.
- Repeat the steps above for the remaining .JOB files.
For Windows Vista, Windows 7, Windows Server 2008, Windows 8, Windows 8.1, and Windows Server 2012:
- Open the Windows Task Scheduler. To do this:
• On Windows Vista, Windows 7, and Windows Server 2008, click Start, type taskschd.msc in the Search input field, then press Enter.
• On Windows 8, Windows 8.1, and Windows Server 2012, right-click on the lower left corner of the screen, click Run, type taskschd.msc, then press Enter. - In the left panel of the Task Scheduler Window, click Task Scheduler Library.
- In the upper-middle panel, click a Task.
- In the lower middle panel, click the Actions tab
- Check if the malware path and file name exists in the task. To do this, check the value in the Details column under the Actions tab.
- If found, select the task and press DELETE and click Yes to delete the task.
- Repeat the steps above for the remaining tasks.
Step 5
Search and delete this file
- %Application Data%\Microsoft\Protect\~~.tmp
- %Application Data%\Microsoft\Protect\appidpolicyconverter.js
Step 6
Restart in normal mode and scan your computer with your Trend Micro product for files detected as JS_KOPILUWAK.A. 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.