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.
Autostart Technique
This Trojan registers as a system service to ensure its automatic execution at every system startup by adding the following registry keys:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\CryptPol\Parameters
Other System Modifications
This Trojan deletes the following files:
- %User Profile%\Application Data\6.tmp
(Note: %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.)
It adds the following registry entries:
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\CryptPol\Parameters
ServiceDll = "%User Profile%\Application Data\CryptPol.dll"
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\
Services\CryptPol\Parameters
ServiceMain = "DriverInit"
It modifies the following registry entries:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
Windows NT\CurrentVersion\SvcHost
netsvcs = "{random characters}"
(Note: The default value data of the said registry entry is {random values}.)
Dropping Routine
This Trojan drops the following files:
- %User Profile%\Application Data\3.tmp
- %User Profile%\Application Data\CryptPol.dll
(Note: %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.)
Other Details
This Trojan connects to the following possibly malicious URL:
This report is generated via an automated analysis system.
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
[ Learn More ]
[ back ]
To restart in Safe Mode:
• For Windows 2000 users
- Restart your computer.
- Press F8 when you see the Starting Windows bar at the bottom of the screen.
- Choose the Safe Mode option from the Windows Advanced Options menu then press Enter.
• For Windows XP users
- Restart your computer.
- Press F8 after the Power-On Self Test (POST) routine is done. If the Windows Advanced Options menu does not appear, try restarting then pressing F8 several times when the POST screen appears.
- Choose the Safe Mode option from the Windows Advanced Options menu then press Enter.
• For Windows Server 2003 users
- Restart your computer.
- Press F8 after Windows starts up. If the Windows Advanced Options menu does not appear, try restarting again and pressing F8 several times afterward.
- On the Windows Advanced Option menu, use the arrow keys to select Safe Mode then press Enter.
• For Windows Vista, Windows 7, and Windows Server 2008 users
- Restart your computer.
- Press F8 after the Power-On Self Test (POST) routine is done. If the Advanced Boot Options menu does not appear, try restarting and then pressing F8 several times after the POST screen is displayed.
- On the Advanced Boot Options menu, use the arrow keys to select the Safe Mode option, and then press Enter.
• For Windows 8, Windows 8.1, and Windows Server 2012 users
- Access the Charms bar by moving your mouse pointer to the upper right corner of the screen.
- Move your mouse pointer down and click Settings>Change your PC Settings.
- In the left panel, click General.
- In the right panel, scroll down to the bottom to find the Advanced startup section, then click the Restart now button and wait for the system to restart.
- In the Advanced Startup menu, click Troubleshoot>Advanced Options>Startup Settings>Restart and wait for the system to restart.
- In the Startup Settings menu, press 4 to enable safe mode.
Step 3
Delete this registry key
[ Learn More ]
[ back ]
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\SYSTEM\CurrentControlSet\Services\CryptPol
To delete the registry key this malware/grayware created:
- Open Registry Editor.
» For Windows 2000, Windows XP, and Windows Server 2003 users, click Start>Run, type regedit in the text box provided, and then press Enter.
» For Windows Vista, Windows 7, and Windows Server 2008 users, click the Start button, type regedit in the Search input field then press Enter.
» For Windows 8, Windows 8.1, and Windows Server 2012 users, right-click on the lower left corner of the screen, click Run, type regedit in the text box provided, and then press Enter. - In the left panel, double-click the following:
HKEY_LOCAL_MACHINE>SYSTEM>CurrentControlSet>Services>CryptPol - Still in the left panel, locate and delete the key:
Parameters - Close Registry Editor.
Step 4
Delete this registry value
[ Learn More ]
[ back ]
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\SYSTEM\ControlSet001\Services\CryptPol\Parameters
- ServiceDll = "%User Profile%\Application Data\CryptPol.dll"
- In HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\CryptPol\Parameters
- ServiceMain = "DriverInit"
To delete the registry value this malware/grayware created:
- Open Registry Editor.
» For Windows 2000, Windows XP, and Windows Server 2003 users, click Start>Run, type regedit in the text box provided, and then press Enter.
» For Windows Vista, Windows 7, and Windows Server 2008 users, click the Start button, type regedit in the Search input field then press Enter.
» For Windows 8, Windows 8.1, and Windows Server 2012 users, right-click on the lower-left corner of the screen, click Run, type regedit in the text box provided, and then press Enter. - In the left panel, double-click the following:
HKEY_LOCAL_MACHINE>SYSTEM>ControlSet001>Services>CryptPol>Parameters - In the right panel, locate and delete the entry:
ServiceDll = "%User Profile%\Application Data\CryptPol.dll" - Again In the right panel, locate and delete the entry:
ServiceMain = "DriverInit" - Close Registry Editor.
Step 5
Restore these modified registry values
[ Learn More ]
[ back ]
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 NT\CurrentVersion\SvcHost
- From: netsvcs = "{random characters}"
To: netsvcs = ""{random values}""
To restore registry values this malware/grayware modified:
- Open Registry Editor. To do this:
- On Windows 2000, XP, and Server 2003:
Click Start>Run, type REGEDIT in the text box provided, and then press Enter. - On Windows Vista, 7, and Server 2008:
Click the Start button, type REGEDIT in the Search input field then press Enter. - On Windows 8, 8.1, and Server 2012:
Right-click on the lower left corner of the screen and click Run, type REGEDIT in the Run input field, and then press Enter.
- In the left panel, double-click the following:
HKEY_LOCAL_MACHINE>SOFTWARE>Microsoft>Windows NT>CurrentVersion>SvcHost - In the right panel, locate the registry value:
netsvcs = "{random characters}" - Right-click on the value name and choose Modify. Change the value data of this entry to:
netsvcs = "{random values}" - Close Registry Editor.
Step 6
Search and delete these components
[ Learn More ]
[ back ]
There may be some components 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 Profile%\Application Data\3.tmp
- %User Profile%\Application Data\CryptPol.dll
To manually delete a malware/grayware file from an affected system:
• For Windows 2000, Windows XP, and Windows Server 2003:
- Right-click Start then click Search....
- In the File name* input box, type the following:
- %User Profile%\Application Data\3.tmp
- %User Profile%\Application Data\CryptPol.dll
- In the Look In drop-down list, select My Computer then press Enter.
- Once located, select the file then press SHIFT+DELETE to delete it.
*Note: The file name input box title varies depending on the Windows version (e.g. Search for files or folders named or All or part of the file name.).
• For Windows Vista, Windows 7, Windows Server 2008, Windows 8, Windows 8.1, and Windows Server 2012:
- Open a Windows Explorer window.
- For Windows Vista, 7, and Server 2008 users, click Start>Computer.
- For Windows 8, 8.1, and Server 2012 users, right-click on the lower left corner of the screen,then click File Explorer.
- In the Search Computer/This PC input box, type:
- %User Profile%\Application Data\3.tmp
- %User Profile%\Application Data\CryptPol.dll
- Once located, select the file then press SHIFT+DELETE to delete it.
*Note: Read the following Microsoft page if these steps do not work on Windows 7.
Step 7
Restart in normal mode and scan your computer with your Trend Micro product for files detected as TROJ_CRYPT.YYSHR. 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 Profile%\Application Data\6.tmp
Did this description help? Tell us how we did.