Prune XP services: Eliminate Traffic and Save RAM
Default installations of Windows XP Home and Professional Editions boot with a number of services that are not necessary for correct operation in home and many enterprise offices. Some of these pose security problems because they advertise services or solicit connections from anonymous (read: unauthenticated) hosts. Others simply waste RAM.
If you administer a firewall and have blocked all outbound services except those you authorize, you will "discover" PCs running XP on your trusted interface by the appearance of DENIED traffic to port 1900, the SSDP Discovery Service. If you aren't administering a firewall, run LAN analysis software like Ethereal on internal networks to see if SSDP is blathering on your LANs. If you are unwilling to do either, there is little point in reading further.
XP uses the Simple Service Discovery Protocol to gather information about Universal Plug and Play (UPnP) devices like a networked printer on a network. UPnP device responses provide lots of useful information but also provide a vector for DOS and DDOS attacks (Google "UPnP vulnerabilities"). If you are certain you don't have UPnP devices, you can safely disable this service, eliminate port 1900-directed traffic, and save some RAM. If you don't see traffic at Port 5000 (read on) you probably don't have UPnP devices on your network.
If you disable SSDP, you can also disable the companion UPnP Device Host service, which supports the UPnP peer-to-peer exchanges using Port 5000. This unfortunate port "assignment" collides with a remote administration tool (RAT, a form of trojan program) called Sockets de Troie, and lots of Internet Chess servers. If you do disable UPnP and still see traffic at port 5000, investigate further!
I've discussed SSDP/UPnP in the context of XP, but ME also has this service, and patches exist to add these to Windows 95/98.
One last point. UPnP is not the same OS function as Plug and Play, which manages device discovery on your PC.
This single act of pruning saves a bit of RAM, a fair amount of noise on your LAN, and improves your risk profile. If I've whetted your appetite and you want to learn how to prune-and-tune your PC, download Black Viper's excellent paper on XP services configurations.
Archived at http://www.securityskeptic.com/arc20030801.htm#BlogID112
by Dave Piscitello