Make or break with Windows XP SP2

TechRepublic
The release of Service Pack 2 for Windows XP will mark a milestone in the life of this operating system. Microsoft is pulling out all the stops to improve security. So much so, in fact, that it will cause many problems -- because SP2 will de-emphasise backward compatibility with legacy systems and code for the sake of security. Administrators need to know in advance just what SP2 will mean for the Windows XP systems on their networks.
Based on Service Pack 2 RC1
The information in this article is based on Windows XP Service Pack 2, Release Candidate 1. There could be a few minor changes to the software in the final release, but nearly everything you read here will still apply.


Details
Windows XP SP2 will dramatically improve the default security configuration for XP in nearly every area from e-mail to Web browsing to increased protection against the ubiquitous buffer overrun. But, all of these security improvements won't come without some considerable pain. ZDNetUK reports that Microsoft admits that as many as one application in 10 will experience problems due to the upgrade (I consider that a conservative estimate).

Here are some of the most important security changes that are part of XP SP2:

  • The Internet Connection Firewall is now enabled by default, which should improve security for SOHO users. However, in a corporate environment it could cause problems for users trying to connect to network resources. The firewall will also now activate much earlier in the boot cycle, even before the network stack is enabled. On shutdown, it will now remain active until after the stack is disabled.
  • The Messenger service is now disabled by default.
  • A pop-up ad blocker has been turned on by default.
  • A unified security application called the Windows Security Center has been added (for more information on this feature, see this News.com article). It is supposed to bring all of the most basic security configuration information into one easy-to-manage place that will show whether your firewall is enabled, if your antivirus software is working, and if you have the latest software updates installed.
  • NX support is added to Windows XP. NX (no execute) will allow NX-enabled CPUs to mark certain areas of memory as non-executable; that is, any code pushed into those areas (perhaps by malware such as Blaster or other viruses) will just sit there, unable to run and therefore will be rendered harmless. This will harden the OS against the notorious buffer overrun threats. NX is currently only supported for AMD's K8 and Intel's Itanium processors, but 32- and 64-bit support for this important security feature is expected in most future processor releases.
  • DCOM (the Distributed Component Object Model) gets a new set of restrictions in the form of an access control list for nearly every action of any COM server. There will also be a more detailed set of COM permissions, which will allow administrators to fine-tune COM permission policies.
  • There is improved port management. It will no longer be up to the application to close ports after it is finished. Before, if a developer left out the closing routine or the application crashed, a port could remain open and leave XP open to attack. SP2 encourages port management with an application white list that only a user with administrator privileges can alter. Placing an application (such as a peer-to-peer program) on the white list causes ports to be managed automatically. Such applications can also now be run as a regular user rather than needing local administrator privileges to open ports in ICF.
  • New RPC restrictions help tighten communications. The XP SP2 changes in this area let administrators fine-tune RPC services. This granular control over RPC will allow you to specify that a port be used for RPC even if the application is not on the white list. There are a lot of changes for RPC, including a new RestrictRemoteClients registry key that by default blocks most, but not all, remote anonymous access to RPC interfaces on the system. The RPC interface restriction will require an RPC caller to perform authentication, which makes it much more difficult to attack an interface, and helps mitigate against Trojan attacks.
Potential problems
The NX protection mentioned above is an excellent example of something that is definitely a powerful improvement from the security standpoint. However, NX has already been reported to have caused considerable problems (at least in the 64-bit version). The biggest problem will come for applications that use just-in-time code creation. On the other hand, the .NET Framework common language runtime code already supports NX as implemented in SP2.

RPC changes are the most likely to wreak havoc with existing applications. In the pre-SP2 Windows XP implementation, there are literally scores of RPC-based services running, all of which provide a window for attack. That changes dramatically with SP2.

Page II: Learn about the plethora of security enhancements that Microsoft has included in Windows XP Service Pack 2, as well as how these security features could impair the functionality of some applications.

Because of the change in port management, if an application needs to open ports but doesn't use stateful filtering, administrators installing it need to place the program on the white list. With the built-in firewall enabled by default, IPv4-application inbound connections for audio and video, such as for MSN or Windows Messenger, need to have their port opening and closing managed automatically. Inbound services connections (IPv4) will require some changes to configuration and/or code. Services that listen on fixed ports should ask users if the service should be permitted to open the port in ICF and, if so, the service should use the INetFwV4OpenPort API to alter ICF rules.

Another problem is the fact that Microsoft won't be offering this service patch to those who hold pirated copies of Windows XP, which is reasonable enough, but there are a lot of illegal copies out there, especially in the Far East where a lot of worms get a quick foothold in the Internet. SP2 will apparently check Product IDs looking for known pirated copies and will not install on systems with bad Product IDs. This is understandable, but will reduce the overall effectiveness of the security upgrade.

A lot of the potential problems posed by SP2 are beyond the control of administrators. Some programming code for custom applications will have to be rewritten, but at least now you know what to look for when problems come up, rather than deploying XP SP2 and finding out that it breaks your most important line-of-business application.


Further reading
This report can only scratch the surface of such a major overhaul to an operating system. For more information see:


Final word
I expect to hear screams of pain as people deploy SP2 and discover that legacy applications no longer work, but those are probably the same people who complain so loudly (and legitimately) that Microsoft doesn't deploy secure systems.

Nearly every security expert knew that, at some point, Microsoft would be forced to bite the bullet and take a big compatibility hit in order to solidify operating system soft spotsââ,¬"many of which are due to legacy code support. Plus, the XP SP2 changes will force developers to produce more secure applications and not just take advantage of a permissive Windows OS to write code that doesn't pay attention to security.

Of course, I would never recommend that anyone deploy such a major upgrade widely the day it hits the street. You should install SP2 on a testing network (or at least a single testing system) as soon as possible, and begin compatibility testing for your specific applications.

Those of you who have the budgetary luxury of being able to conduct even more extensive testing and want to get a leg up on evaluating XP SP2 even before final release should check out the Technical Preview Program, which makes SP2 RC1 generally available for testing by IT professionals (not just those on the beta list). The initial download, which doesn't include any support other than some Microsoft-sponsored newsgroups, requires Windows XP to be installed already. English and German versions of the update are now available and are about 270 MB in size.

As soon as you feel comfortable that Windows XP SP2 will not cause a significant interruption for users (or you have fixed the issues that would lead to a potential interruption), then you should deploy SP2 company-wide. It is an important upgrade that can only improve the security of your network.

TechRepublic is the online community and information resource for all IT professionals, from support staff to executives. We offer in-depth technical articles written for IT professionals by IT professionals. In addition to articles on everything from Windows to e-mail to firewalls, we offer IT industry analysis, downloads, management tips, discussion forums, and e-newsletters.

©2004 TechRepublic, Inc.

Talkback

Add your opinion

In order to post a comment, you need to be registered. (Sign In or register below)

Post your comment

Terms of Service - As a ZDNet registrant, and by using this service, you indicate that you agree to our Terms and Conditions and have read and understand our Privacy Policy.

ZDNet Australia Live

Can #Windows Phone bring a new challenge? http://t.co/CpTjZ2lk via @zdnetaustralia

NBN users opt for 100Mbps - ZDNet Australia http://t.co/eVVB5xyS

NBN users opt for 100Mbps - ZDNet Australia http://t.co/4oaTruaN

Where's Mathew whats-his-face complaining about how the secret nasty NBNCo plan is all about "forcing" people onto higher ARPU? Sounds l...

10 minutes ago by Gwyntaglaw on NBN users opt for 100Mbps

Story filed for @zdnetaustralia. Please don't tell @engochick that I've waffled on for 1200 words. I'm exhausted now.

RT @markjohnston_au: Australian Privacy Laws catching up with the world http://t.co/OCU7uwqe but will this help change tickbox security to real protection?

Given the early priority given to Tasmania, it is around 90% likely that the entire state will receive the full NBN rollout as originally...

13 minutes ago by Gwyntaglaw on NBN's Tassie upgrade to cost $1.3 million

NSW outlines datacentre migration plans - ZDNet Australia: NSW outlines datacentre migration plansZDNet Australi... http://t.co/MosIfczQ

NBN users opt for 100Mbps - ZDNet Australia: Brisbane TimesNBN users opt for 100MbpsZDNet AustraliaCustomers are... http://t.co/T5oBSVZQ

A relevant lesson for NZ - NBN users opt for 100Mbps http://t.co/KScaSdRI via @zdnetaustralia

RT @zdnetaustralia: #NBN users are opting for 100Mbps plans on fibre more than any other, according to NBN Co http://t.co/oTl5R1UY ^jt

RT @ninefold: Interesting Q&A on #cloud security, debating Patriot Act & more: ZDNet Australia http://t.co/qc933yKJ

#DataCentre NSW outlines datacentre migration plans - ZDNet Australia: NSW outlines datacentre migration plansZD... http://t.co/ViOllBWa

Interesting Q&A on #cloud security, debating Patriot Act & more: ZDNet Australia http://t.co/qc933yKJ

NBN users opt for 100Mbps http://t.co/YwwtyyNP

NBN users opt for 100Mbps http://t.co/5pkGDfHq via @zdnetaustralia

RT @zdnetaustralia: #NBN users are opting for 100Mbps plans on fibre more than any other, according to NBN Co http://t.co/oTl5R1UY ^jt

If you’re running 1:1 then whoever it was that did the original design did not future proof. You should aim to 10:1 for small use stati...

34 minutes ago by amckern on 30 servers to 7: BUPA redoes virtualisation

NSW outlines datacentre migration plans - ZDNet Australia http://t.co/uM54858G

NSW outlines datacentre migration plans - ZDNet Australia http://t.co/2F4qnFnF

RT @zdnetaustralia: #NBN users are opting for 100Mbps plans on fibre more than any other, according to NBN Co http://t.co/oTl5R1UY ^jt

RT @zdnetaustralia: #NBN users are opting for 100Mbps plans on fibre more than any other, according to NBN Co http://t.co/oTl5R1UY ^jt

RT @zdnetaustralia: #NBN users are opting for 100Mbps plans on fibre more than any other, according to NBN Co http://t.co/oTl5R1UY ^jt

Yes, after all when you do your personal tax return, you don't say to your accountant: "oh, give the government a couple of thousand out...

37 minutes ago by meski on Much ado about Google's tax

That would be Ayn, not Ann. And if you read Atlas Shrugged and came away with the impression of selfish, there's not much I can say to c...

40 minutes ago by meski on Much ado about Google's tax

by http://t.co/vmlLt4bh: NBN users opt for 100Mbps: Customers are picking the top fibre plan that is available on... http://t.co/5GJcYYte

NBN users opt for 100Mbps: Customers are picking the top fibre plan that is available on the National Broadband ... http://t.co/dvPawsBi

#NBN users are opting for 100Mbps plans on fibre more than any other, according to NBN Co http://t.co/oTl5R1UY ^jt

RT @zdnetaustralia: #NBN users are opting for 100Mbps plans on fibre more than any other, according to NBN Co http://t.co/oTl5R1UY ^jt

RT @zdnetaustralia: #NBN users are opting for 100Mbps plans on fibre more than any other, according to NBN Co http://t.co/oTl5R1UY ^jt

NBN users opt for 100Mbps: Customers are picking the top fibre plan that is available on the National Broadband ... http://t.co/3rJ41YBn

NSW outlines datacentre migration plans: The New South Wales Government has today revealed the cost of its datac... http://t.co/QCbazWTR

NSW outs datacentre deal details: http://t.co/A1Cj4Eot ^LH

Biometric bugs too dangerous for public? http://t.co/rDh6rXKC

Qld govt IT to be raked by audit http://t.co/LernzEK9

by http://t.co/vmlLt4bh: Qld govt IT to be raked by audit: Queensland IT Minister Ros Bates has begun the post-el... http://t.co/6VOUJv8t

Every cloud needs an SOA lining: analyst http://t.co/SjgLjFWI

Qld govt IT to be raked by audit http://t.co/9zsECPBI via @zdnetaustralia

The Queensland Government is conducting an IT audit across its agencies to find every saving it can http://t.co/1sFpAuWe ^ST

Three tips for businesses to support connected customers http://t.co/7Q9qDgvs

Download Angry Birds Space free

1 hour ago by EminnyAssence on iiNet undercuts Internode with NBN pricing

I think the CBA point here is fairly much moot now. There was some, limited, argument for it before the NBN began, but as many people hav...

2 hours ago by seven_tech on NBN cost-benefit analyses are so 2011

Reading this article is like stepping back in time. If I was Paul Berryman I would hang my head in shame. How embarrassing!!! I can’t b...

4 hours ago by MikeSkoey on 30 servers to 7: BUPA redoes virtualisation

The registration sticker provided a visual reminder to the driver to renew regardless of what happened to the renewal letter. The experie...

4 hours ago by dccharron on NSW ditches rego stickers for tech

"xfire: Why is telecommunications being treated different to roads, water and electricity?" Good question, my guess is AUS is far behind...

5 hours ago by ngoctranminh on Five pros and cons of the NBN

Thanks for the response Luke, Given that the quotes are accurate, then the person in charge of the Vic Health App needs to find another j...

5 hours ago by butterflyeffecs on Android fragmentation steers Vic Health

Nice analogy. Another factor is whether you can find 50 people with powerful enough weapons. Minassian's argument is essentially that the...

5 hours ago by Mukimu on National Botnet Network coming: Earthwave

It's nice to see Tas finally get some decent internet connectivity, for too long Tas has been stooged on decent internet connectivity but...

5 hours ago by Jingles on NBN's Tassie upgrade to cost $1.3 million

Who is Luke Hartsuyker? He must be the Apprentice FUDster. As PaulPC has already said regional consumers want, deserve and are entitled...

6 hours ago by dickster on Regional review highlights NBN, mobile

Its good to see the NBN keeping up with the latest equipement & letting the people benefit from it. After all thats why it was a trial, ...

6 hours ago by fibretech on NBN's Tassie upgrade to cost $1.3 million

Shadow Minister for Regional Communications Luke Hartsuyker has got it wrong. Regional consumers want improved mobile services AND the NB...

7 hours ago by PaulPC on Regional review highlights NBN, mobile

Just remember that Google haven't broken any laws here, they're just doing what all their other multinational competitiors do; minimise t...

7 hours ago by Pachanga on Much ado about Google's tax

ルイヴィトン バッグ : http://www.lovebagjp.com/ Louis Vuitton bags, Louis Vuitton pretension nose about,Louis Vuitton daydre...

8 hours ago by bundLourb on Reservoir blogs: Fan fakes Tarantino diary

シャネル バッグ : http://www.bagssalejp.org/ Chanel trap,chanel shekels,gucci bags,direct purse,poor recent Louis Vuitton keep...

10 hours ago by bybrinkLync on Reservoir blogs: Fan fakes Tarantino diary

I guess but in both cases, dead body!

19 hours ago by Doubt on National Botnet Network coming: Earthwave

This story has been voted 12000 times in the last 24 hours!

1 day ago, Is Bill Gates a great leader?

This story has been voted 10 times in the last 24 hours!

2 days ago, CeBIT 2012 opens: photos

This story has been voted 15 times in the last 24 hours!

2 days ago, Lenovo ThinkPad 3G tablet (32GB)

Facebook Activity

Keep up with ZDNet Australia

ZDNet Events Calendar

ZDNet Events Calendar