On TechRepublic: Five super-secret features in Windows 7
BNET Business Network:
BNET
TechRepublic
ZDNet

January 23rd, 2006

Guide to hardware-based DEP protection

Posted by George Ou @ 2:00 am

Categories: Security

Tags:

When the WMF exploit hit the wild and existing workarounds were tacky and the official Microsoft patch a week away, the DEP or Data Execution Prevention feature shined through when it was completely enabled and supported by NX or XD capable hardware.  While NX and XD also support other operating systems like Windows 2003 Server with SP1, BSD, and Linux, the vast majority of users will use it through Windows XP SP2.  The down side to DEP protection in Windows XP SP2 is that it isn’t completely enabled by default and most older computers don’t have NX or XD capability from their AMD or Intel processor.  Fixing the first issue is just a few clicks away but fixing the second issue is a bit trickier because it involves having the right hardware.

Hopefully, you have a CPU that already has NX or XD capability.  The easiest way to verify this if you have Windows XP SP2 is to simply look at your DEP settings.  You do this by right-clicking on "My Computer" and then selecting "Properties".  In the "System Properties", go to the "Advanced" tab as shown here:

Then you click on the "Settings" button and you’ll get the "Performance Options" window as shown here:

Jump to the "Data Execution Prevention" tab and you should "turn on DEP protection for all programs and services except those I select".  This allows DEP to work on all applications and services.  This is also where you verify if you have an NX or XD capable processor.  If you see the warning message at the bottom where it tells you that your computer’s processor does not support hardware-based DEP, then you don’t have an NX or XD capable processor.

If you don’t have hardware-based DEP, then your only choice is to get a new Processor that has AMD NX or Intel XD capability or buy a new computer with the NX or XD CPU built in.  If you go the Processor upgrade route, that usually means you need a new motherboard too.  Fortunately, price isn’t a big issue since I’ve seen $80 deals where you get both an AMD Sempron 2800+ NX capable CPU and a motherboard.  I’ve also seen similar deals with Intel Pentium 4 2.66 CPUs and a free motherboard for around $110.  The tricky part is recognizing which CPUs have NX or XD capability and which do not.  To help you figure this out, I’ve compiled a list processors from both Intel and AMD that support hardware-enforced DEP.

Intel Processors with XD support:

AMD processors with NX support:

* Except AMD64 based on Clawhammer-512 core rev. C0

It’s fairly safe to assume all of the newest CPUs from Intel and AMD will support this feature in the future.  All of the newest server chips from Intel or AMD that weren’t listed here also support hardware-enforced DEP.  Intel’s newest dual-core Duo and single-core Solo CPUs will definitely support XD.   Only the low-end AMD Socket A and end-of-life Socket 940 CPUs don’t have this feature.  All you need to do is follow the steps above and enable DEP and you’ll be a lot more secure.  However, DEP by itself should never be considered a complete substitute for other forms of security and should only be treated as an extra layer of protection.

George Ou is Technical Director of ZDNet. See his full profile and disclosure of his industry affiliations.

  • Talkback
  • Most Recent of 40 Talkback(s)
RE: you are stuck on the fundamentals...
(and I have 70,000 exploits to my credit since 2001 that have yet to be patched by vendors).

Hahaha, that's great. Working nonstop for the past 5 years that about 38 exploits a day.

You sound like a smart guy alright...... (Read the rest)
Posted by: ytpete Posted on: 03/29/06 You are currently: a Guest | | Terms of Use
Is it Safe? / Do I have DEP Alternatives?  D. T. Schmitz | 01/23/06
Yes - it is safe/ DEP has leaks  cburgess-iPALADIN | 01/23/06
Not again  george_ou | 01/23/06
Theoretical  tombalablomba | 01/23/06
These methods apply to software DEP  george_ou | 01/23/06
The point is...  cburgess-iPALADIN | 01/23/06
The point is that you don't understand anything about security  george_ou | 01/23/06
you are stuck on the fundamentals...  cburgess-iPALADIN | 01/23/06
Open mind is one thing, not knowing the basics is just dangerous  george_ou | 01/23/06
RE: you are stuck on the fundamentals...  ytpete | 03/29/06
Geez, George!  techboy_z | 01/27/06
VMPlayer for Linux SuSE  D. T. Schmitz | 01/23/06
I've used that, it's alright  george_ou | 01/23/06
Now you're talking my kind of fun...  cburgess-iPALADIN | 01/23/06
'Just' Alright?  D. T. Schmitz | 01/23/06
Doing everything in a VM isn't the answer to everything  george_ou | 01/23/06
Stay in the Now  D. T. Schmitz | 01/23/06
You don't have to run as Admin  george_ou | 01/23/06
VEP Whahtt?  D. T. Schmitz | 01/23/06
Are you sure?  george_ou | 01/23/06
I passed by without stopping to read it  D. T. Schmitz | 01/23/06
About 37,000 search results  george_ou | 01/23/06
FYI, my name is Ou and not Berlind  george_ou | 01/23/06
Boring  D. T. Schmitz | 01/23/06
NX/XD also good for Linux and BSD  george_ou | 01/23/06
BZZZZZT WRONGO!  Roger Ramjet | 01/25/06
Stop embarrassing yourself Roger  george_ou | 01/25/06
Linus is wrong  Roger Ramjet | 01/26/06
This is the problem with technology  ordaj@... | 01/23/06
Read the blog a little more carefully  george_ou | 01/23/06
Point still stands  ordaj@... | 01/23/06
How does that help anyone?  george_ou | 01/23/06
You don't have to be a butthead about things  ordaj@... | 01/23/06
My attitude?  george_ou | 01/23/06
Dude...you've been so rude lately...  techboy_z | 01/27/06
Amen to that  ejhonda | 01/26/06
I have no idea what this guy is trying to say  george_ou | 01/26/06
DEP = cludge  Roger Ramjet | 01/25/06
Itanium isn't all that...  techboy_z | 01/27/06
Your DEP guide is wrong about Socket 940  Guy Fawkes | 03/27/06

What do you think?

SponsoredWhite Papers, Webcasts, and Downloads

Click Here
advertisement

Recent Entries

Top Rated

    Archives

    ZDNet Blogs

    White Papers, Webcasts, and Downloads

    SmartPlanet

    • Thought-provoking progressive ideas on diverse topics that intersect with technology, business, and life, and matter to the world at large. Visit SmartPlanet
    • More from IBM
    • Innovate your business' process model, play against the market, compete against others on our scoreboards and WIN! Try INNOV8 2.0: A BPM Simulator
    • Enabling Real-World Business Transformation through IBM Service Management Read the EMA Analyst Report
    Click Here