Appletax
Well-Known Member
- Reaction score
- 386
- Location
- Northern Michigan
Official Malware Removal Guide
Please let me know what you think. If I should add, remove, or alter anything.
Thanks
How to remove an MBR virus
Malware Removal Guide:
Helpful sites:
"Probably the Best Free Security List in the World"
AV Comparatives - "Independent comparatives of Anti-Virus software"
2-Spyware - "The 2-Spyware.com project is all about spyware and malware removal"
Enter Safe Mode by pressing the F8 key after starting the system. An operating system in safe mode will have reduced functionality,
but the task of isolating problems is easier because many non-core components are disabled (turned off).
rKill - Run this first. Kills unnecessary/suspect processes. View the log to find where malware was found, then remove the malware.
Run CCleaner at the beginning and end to empty the Recycle Bin, temporary files folder, cookies - (may harbor malware)
Manually remove malware and check files/folders before using scanners:
Advanced Malware Cleaning PDF
Learn how to use Autoruns and Process Explorer by watching the video The Case of the Unexplained, 2010: Troubleshooting with Mark Russinovich
Autoruns tip: open the program and choose the Options menu and enable the following option by clicking on them: 1. Include empty location, 2. Verify Code Signatures, 3. Hide Signed Microsoft Entries. Press F5 to refresh the startups list. More Info
Also watch Manually Delete that stubborn Virus File
Check Windows Services (processes that run in the background that require no user intervention):
Win Key + R (open Run): MSCONFIG -> Services -> check “Hide all Microsoft services” (these are good).
Alternative: open Run and type services.msc. Also, while in MSCONFIG, check the startup programs.
Scan with HiJackThis and scan results at hijackthis.de
Check proxy/LAN (TCP/DNS) settings
Check HOSTS files Wiki, MS Fix, MVPS HOSTS File, See this thread for a batch file that'll give you permission to edit the HOSTS file
- malware can alter this file and cause you to be redirected to a different address/site then the one you’re trying to go to.
Reset web browsers
Search these files and folders for malware:
* First -> Explorer -> Alt key -> Folder Options -> View -> Check “Show hidden files, folders, or drives”
(Change back to original setting at the end)
FOLDERS
c:\Windows\system32 - sort by date so the latest files are at the top and look for suspicious files there (if you can't tell the difference ... you'll have to Google all the exe's and dll's)
c:\Users\%user%\AppData
C:\Documents and Settings\All Users\Start Menu\Programs\Startup
C:\Documents and Settings\Default User\Start Menu\Programs\Startup
C:\Documents and Settings\*User Name*\Start Menu\Programs\Startup
C:\windows\tasks
FILES
C:\autoexec.bat
C:\Windows\Win.ini
C:\Windows\System.ini
Search these registry subkeys for malware:
Access by typing Win Key + R, and then regedit
- Be very careful with what you delete because you could corrupt the Registry.
You may want to make a System Restore Point beforehand as well as backup
the Registry (file -> export).
Demystifying the Windows Registry:
http://www.bleepingcomputer.com/tutorials/tutorial74.html
* RegASSASSIN can remove stubborn Registry entries
These registry paths are the most common paths that malware will reside to start up with the system:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunServices
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunServicesOnce
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunServices
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunServicesOnce
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run
Other places to check:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\*service* >ImagePath
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Currentversion\explorer\User Shell Folders
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\SharedTaskScheduler
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\Browser Helper Objects
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\ShellExecuteHooks
HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Toolbar
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Userinit
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ShellServiceObjectDelayLoad
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved
HKEY_LOCAL_MACHINE\Software\CLASSES\batfile\shell\open\command
HKEY_LOCAL_MACHINE\Software\CLASSES\comfile\shell\open\command
HKEY_LOCAL_MACHINE\Software\CLASSES\exefile\shell\open\command
HKEY_LOCAL_MACHINE\Software\CLASSES\htafile\Shell\open\Command
HKEY_LOCAL_MACHINE\Software\CLASSES\piffile\shell\open\command
HKEY_CLASSES_ROOT\exefile\shell\open\command
HKEY_CLASSES_ROOT\comfile\shell\open\command
HKEY_CLASSES_ROOT\batfile\shell\open\command
HKEY_CLASSES_ROOT\htafile\Shell\Open\Command
HKEY_CLASSES_ROOT\piffile\shell\open\command
How To Fix The Windows Registry Hive Error
Scanners to use (always best to run multiple scans just to be sure):
Avast - Preferred
Avira - An excellent altern. to Avast
Malwarebytes
SuperAntiSpyware
Kaspersky Virus Fighting Utilities
Spybot Search & Destroy
Dr. Web CureIt
CWShredder
McAfee Stinger
F-Secure Easy Scan
MS Malicious Software Removal Tool
For stubborn malware (be careful with these):
ComboFix
Smitfraudfix
Anti-Rootkit:
GMER
Sophos
TDSSKiller
- More -
Live CDs (contains a bootable operating system that loads directly into memory):
UBCD4Win
Kaspersky Rescue Disc
AVG Rescue CD
Dr Web Live CD
Turn off the System Restore feature and turn it back on (purges it)
- Only do this at the end in case you need to do a restore
Other tools and tips:
Dial-a-fix (XP) - www.bleepingcomputer.com/tutorials/tutorial59.html
LSPFix (XP)
List of Windows Malware Infection Locations
Places that viruses and Trojans hide on start up
If you receive these errors: Error loading operating system, missing operating system, invalid boot partition, then look into repairing a damaged Master Boot Record.
http://helpdeskgeek.com/how-to/fix-mbr-xp-vista/
Run chkdsk /f /r from the command prompt to fix and recover data. If you see that it has had to recover or repair anything, then check the health of the hard drive with Crystal Disk Info and HD Tune.
Bad sectors on the hard drive can cause data to become corrupt.
INI File start up entries: win.ini, system.ini and boot.ini are areas that software can start up. Extreme caution should be taken with editing these files. Boot.ini should be left well alone unless you know exactly what you are doing. If you make a mistake with that file Windows will fail to load.
How to determine what services are running under a SVCHOST.EXE process:
http://www.bleepingcomputer.com/tutorials/tutorial129.html
Use SpywareBlaster to secure the web browser:
www.bleepingcomputer.com/tutorials/tutorial49.html
There are various clues that your machine may be infected. Here are some of the most common:
• Your PC is often sluggish, unresponsive and slow.
• Your Windows Task Manager shows high system resource use while idle.
• Strange new icons on your desktop, or there are additions to your Favorites bookmarks or toolbars that you did not install.
• Your browser opens up elsewhere than your normal home page.
• Your internet connection monitor shows a lot of activity during relatively inactive web browsing.
• Prolific popup advertising while you are on the internet and sometimes even when you are not. This is usually a sign that you have a problem with Adware.
See this thread for a huge list of very useful tips and tools:
Go to www.technibble.com and search for “My Tool Kit + Tune Up + Software”, which is in the Guides, Tips, and Tricks section
Malware Analyst's Cookbook
Malware Removal Guide 1 (.doc) - Download
Please let me know what you think. If I should add, remove, or alter anything.
Thanks
How to remove an MBR virus
Malware Removal Guide:
Helpful sites:
"Probably the Best Free Security List in the World"
AV Comparatives - "Independent comparatives of Anti-Virus software"
2-Spyware - "The 2-Spyware.com project is all about spyware and malware removal"
Enter Safe Mode by pressing the F8 key after starting the system. An operating system in safe mode will have reduced functionality,
but the task of isolating problems is easier because many non-core components are disabled (turned off).
rKill - Run this first. Kills unnecessary/suspect processes. View the log to find where malware was found, then remove the malware.
Run CCleaner at the beginning and end to empty the Recycle Bin, temporary files folder, cookies - (may harbor malware)
Manually remove malware and check files/folders before using scanners:
Advanced Malware Cleaning PDF
Learn how to use Autoruns and Process Explorer by watching the video The Case of the Unexplained, 2010: Troubleshooting with Mark Russinovich
Autoruns tip: open the program and choose the Options menu and enable the following option by clicking on them: 1. Include empty location, 2. Verify Code Signatures, 3. Hide Signed Microsoft Entries. Press F5 to refresh the startups list. More Info
Also watch Manually Delete that stubborn Virus File
Check Windows Services (processes that run in the background that require no user intervention):
Win Key + R (open Run): MSCONFIG -> Services -> check “Hide all Microsoft services” (these are good).
Alternative: open Run and type services.msc. Also, while in MSCONFIG, check the startup programs.
Scan with HiJackThis and scan results at hijackthis.de
Check proxy/LAN (TCP/DNS) settings
Check HOSTS files Wiki, MS Fix, MVPS HOSTS File, See this thread for a batch file that'll give you permission to edit the HOSTS file
- malware can alter this file and cause you to be redirected to a different address/site then the one you’re trying to go to.
Reset web browsers
Search these files and folders for malware:
* First -> Explorer -> Alt key -> Folder Options -> View -> Check “Show hidden files, folders, or drives”
(Change back to original setting at the end)
FOLDERS
c:\Windows\system32 - sort by date so the latest files are at the top and look for suspicious files there (if you can't tell the difference ... you'll have to Google all the exe's and dll's)
c:\Users\%user%\AppData
C:\Documents and Settings\All Users\Start Menu\Programs\Startup
C:\Documents and Settings\Default User\Start Menu\Programs\Startup
C:\Documents and Settings\*User Name*\Start Menu\Programs\Startup
C:\windows\tasks
FILES
C:\autoexec.bat
C:\Windows\Win.ini
C:\Windows\System.ini
Search these registry subkeys for malware:
Access by typing Win Key + R, and then regedit
- Be very careful with what you delete because you could corrupt the Registry.
You may want to make a System Restore Point beforehand as well as backup
the Registry (file -> export).
Demystifying the Windows Registry:
http://www.bleepingcomputer.com/tutorials/tutorial74.html
* RegASSASSIN can remove stubborn Registry entries
These registry paths are the most common paths that malware will reside to start up with the system:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunServices
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunServicesOnce
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunServices
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunServicesOnce
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run
Other places to check:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\*service* >ImagePath
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Currentversion\explorer\User Shell Folders
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\SharedTaskScheduler
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\Browser Helper Objects
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\ShellExecuteHooks
HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Toolbar
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Userinit
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ShellServiceObjectDelayLoad
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved
HKEY_LOCAL_MACHINE\Software\CLASSES\batfile\shell\open\command
HKEY_LOCAL_MACHINE\Software\CLASSES\comfile\shell\open\command
HKEY_LOCAL_MACHINE\Software\CLASSES\exefile\shell\open\command
HKEY_LOCAL_MACHINE\Software\CLASSES\htafile\Shell\open\Command
HKEY_LOCAL_MACHINE\Software\CLASSES\piffile\shell\open\command
HKEY_CLASSES_ROOT\exefile\shell\open\command
HKEY_CLASSES_ROOT\comfile\shell\open\command
HKEY_CLASSES_ROOT\batfile\shell\open\command
HKEY_CLASSES_ROOT\htafile\Shell\Open\Command
HKEY_CLASSES_ROOT\piffile\shell\open\command
How To Fix The Windows Registry Hive Error
Scanners to use (always best to run multiple scans just to be sure):
Avast - Preferred
Avira - An excellent altern. to Avast
Malwarebytes
SuperAntiSpyware
Kaspersky Virus Fighting Utilities
Spybot Search & Destroy
Dr. Web CureIt
CWShredder
McAfee Stinger
F-Secure Easy Scan
MS Malicious Software Removal Tool
For stubborn malware (be careful with these):
ComboFix
Smitfraudfix
Anti-Rootkit:
GMER
Sophos
TDSSKiller
- More -
Live CDs (contains a bootable operating system that loads directly into memory):
UBCD4Win
Kaspersky Rescue Disc
AVG Rescue CD
Dr Web Live CD
Turn off the System Restore feature and turn it back on (purges it)
- Only do this at the end in case you need to do a restore
Other tools and tips:
Dial-a-fix (XP) - www.bleepingcomputer.com/tutorials/tutorial59.html
LSPFix (XP)
List of Windows Malware Infection Locations
Places that viruses and Trojans hide on start up
If you receive these errors: Error loading operating system, missing operating system, invalid boot partition, then look into repairing a damaged Master Boot Record.
http://helpdeskgeek.com/how-to/fix-mbr-xp-vista/
Run chkdsk /f /r from the command prompt to fix and recover data. If you see that it has had to recover or repair anything, then check the health of the hard drive with Crystal Disk Info and HD Tune.
Bad sectors on the hard drive can cause data to become corrupt.
INI File start up entries: win.ini, system.ini and boot.ini are areas that software can start up. Extreme caution should be taken with editing these files. Boot.ini should be left well alone unless you know exactly what you are doing. If you make a mistake with that file Windows will fail to load.
How to determine what services are running under a SVCHOST.EXE process:
http://www.bleepingcomputer.com/tutorials/tutorial129.html
Use SpywareBlaster to secure the web browser:
www.bleepingcomputer.com/tutorials/tutorial49.html
There are various clues that your machine may be infected. Here are some of the most common:
• Your PC is often sluggish, unresponsive and slow.
• Your Windows Task Manager shows high system resource use while idle.
• Strange new icons on your desktop, or there are additions to your Favorites bookmarks or toolbars that you did not install.
• Your browser opens up elsewhere than your normal home page.
• Your internet connection monitor shows a lot of activity during relatively inactive web browsing.
• Prolific popup advertising while you are on the internet and sometimes even when you are not. This is usually a sign that you have a problem with Adware.
See this thread for a huge list of very useful tips and tools:
Go to www.technibble.com and search for “My Tool Kit + Tune Up + Software”, which is in the Guides, Tips, and Tricks section
Malware Analyst's Cookbook
Malware Removal Guide 1 (.doc) - Download
Last edited: