Page 2 of 13
Windows XP
Securing Windows XP Vol. 1 - Version 2

What You Need To Protect Yourself

Freeware Programs To Download For This Guide
Microsoft Baseline Security Analyzer V1.2.1 Ad-Aware SE Personal - spyware finder
Firefox* - Fast, secure alternative to Internet Explorer. Spybot - Search & Destroy - Spyware finder.
Thunderbird* - Fast, secure alternative to Outlook Express Explorer. SpywareBlaster - prevents spyware sites from setting cookies, and installing ActiveX based spyware.
HOSTS File* - A HOSTS file that helps to block advertising and sites that are known to download spyware to your system SpywareGuard - prevents spyware .exe and .cab files from being executed as well as prevent browser hijacking.
* - Optional but highly recommended.

In addition to the above software you'll need a few things:

Software firewall - Windows XP's built-in firewall isn't enough. 3rd party firewalls offer protection and configurations that Windows Firewall doesn't. Did you know that Windows Firewall only protects inbound communications and not outbound?

DiamondCS Process Guard and Systernal RootkitRevealer - While we have tried to recommend freeware products in this paper, we are not aware of any  freeware products available at the time this paper was written that will prevent the installation of rootkits, dll injections or global hooks.  Process Guard is a relatively mature and inexpensive shareware product that has this ability.   It is very important to realize that ProcessGuard can only prevent the installation of new rootkits, dll injection or global hooks, it cannot remove those that are already present at the time it is installed.  Process Guard also depends on the weakest security link of all, user decisions.  Users must decide, often with inadequate information, whether to permit or deny the use and/or installation of a global hook, dll or service.  An excellent review and description of the current version of Process Guard (v3.150) can be found at the ABXLabs Forum of ABXZone.com.

Freeware RootkitRevealer can be used to find most known, but probably not all, rootkits that have previously been installed on a system.  RootkitRevealer does not have the capability to reveal dll injections or global hooks, nor can it clean a system after it has become compromised.

So, what are "rootkits", "dll injection" and "global hooks", and why are they so dangerous?

Firewall router - If you connect to the Internet via a broadband connection, buy a good hardware firewall router. Most quality cable/DSL routers have firewalls built-in today. Many people buy these to share an Internet connection, not knowing the built-in protection that these devices offer. Even if you only have one computer connected to the Internet via a broadband connection you should have a good hardware firewall router. Configured correctly, it is an excellent first layer of defense against crackers (more on this later). Basic firewall routers are not expensive; many on-line shops sell name-brand ones for as little as $50 (US).

Router options should include:

A Brief Explanation of SPI

In order to use the Internet, you do have to open some ports and protocols on your firewall router to outbound packets. In return, you need to be able to receive return packets back from the Internet in order to say, get your email. That means that there is an open vulnerability to attack via those open ports and protocols that can be exploited IF a cracker is sophisticated enough to be able to break through your NAT protections, and there are some that certainly can do exactly that.

What SPI does is create a "one way door" so to speak. It "remembers" requests that have been made, again say for your email, and will permit entry only for those packets which are being received in response to that request. So, unrequested packets, spoofing a response to a request for email for example will not be permitted entry because there was no corresponding outbound request. Thus, it protects necessary open ports and protocols from inbound attacks.

Anti Virus (AV) Software

This is critical. Virus and Trojan outbreaks are a daily occurrence, and statistics show that an unprotected system will become infected by a virus or Trojan in an average of 16 minutes. This time is called "Survival Time" and is tracked by SANS - Internet Storm Center. An excellent "white paper", published by SANS, on this subject is Windows XP: Surviving the First Day. This frightening statistic means that a totally unprotected system may not have enough time to download critical security-based Windows updates before becoming fatally infected.