Dangerous software hides from repair tools: The IT Security Office recommends formatting one's hard drive followed by a complete software reinstallation in response to a system compromise. Modern malware relies on rootkits to hide itself from antivirus software and administrator analysis. Rootkits use a variety of techniques, such as executable encryption, alternate data streams, innocently-named files or registry keys, concealment in system restore points or patch clusters, or the use of portions of the disk not conventionally accessible to the operating system. These elaborate, and effective, concealment methods make it difficult or impossible to return a computer to a safe, functional state. Often removal of the malware can render the system nonfunctional. Worse yet, incomplete or ineffective removal means the attacker may regain control of the computer.
Complete reinstallation is necessary: A reinstallation includes not only the operating system, but also application software. It is important to realize that any application software currently on the computer may be tainted by the attacker and only trusted original sources should be used for reinstallation.
Back up essential files: Before reinstalling the operating system and any applications, it is important to preserve any data that may be lost during this process:
Copy these files to CD-ROM or USB drive. As many innocuous file types can actually carry hostile payload, it is important to virus scan these files from another system that is known to be clean.
Follow these steps to rebuild: Once you have copied irreplaceable data off the infected system, the operating system must be reinstalled. Many operating systems have features that allow one to upgrade or repair an existing copy. These methods are not sufficient to remove malware, in our experience. A general process for safely rebuilding an infected system is: