On TV.com: TOP 10 Shows CANCELED Too Soon
BNET Business Network:
BNET
TechRepublic
ZDNet

By Joris Evers
Posted on ZDNet News: Jun 1, 2006 7:42:00 PM

Microsoft is starting a game of hide-and-seek with malicious code writers.

Windows Vista Beta 2, released last week, includes a new security feature designed to protect against buffer overrun exploits. Called Address Space Layout Randomization (ASLR), the feature loads key system files in different memory locations each time the PC starts, making it harder for malicious code to run, according to Microsoft.

"It is not a panacea, it is not a replacement for insecure code," Michael Howard, a senior security program manager at Microsoft, wrote in a blog post announcing the feature. "But when used in conjunction with other technologies...it is a useful defense, because it makes Windows systems look 'different' to malware, making automated attacks harder."

A buffer overrun exploit is malicious code that seeks to exploit a common error in computer code called a buffer overrun or buffer overflow. In such an attack, data is stored beyond the boundaries of a buffer, with the result that the extra data overwrites adjacent memory locations. This can cause a process to crash, or allow malicious code to run.

ASLR is not a Microsoft invention. Several open-source security systems use it already, including OpenBSD, and the PaX and Exec Shield patches for Linux.

Certain attacks attempt to call Windows system functions, such as the "socket()" function in "wsock32.dll," to open a network socket. The new security feature moves these system files around so they're in unpredictable locations. In Windows Vista Beta 2, a DLL or EXE file could be loaded into any of 256 locations, Howard wrote.

"An attacker has a 1/256 chance of getting the address right," Howard wrote.

Randomization seems to have served open-source systems fairly well, said Russ Cooper, senior scientist at Cybertrust, a security vendor in Herndon, Va. The question is how Microsoft implements ASLR and whether the randomization is predictable at all, he said.

"I suspect this will be the first thing looked for--something which tells you which of the locations has been chosen, or anything that provides you with a pointer," Cooper said.

special coverage
Piecing together Vista
All the latest on Microsoft's Windows update.

Attackers could also create malicious software that tries to poke at all 256 memory locations. However, that's more likely to cause the PC to crash, rather than allow a complete compromise, Cooper said. "That's good if all you care about is preventing malware from running, but it might not bode well for keeping systems up and running," he said.

ASLR feedback
Microsoft gets some praise in the security world for its ASLR efforts in Vista. "Remote exploitation of overflows has just got a lot harder," David Litchfield, a researcher at Next Generation Security Software, wrote in an e-mail to the BugTraq mailing list.

But there is also skepticism. Somebody using the alias "c0ntex" wrote in a reply to Litchfield that ASLR has been "trivially circumvented in Linux for years now."

Microsoft has only just added ASLR to a Windows Vista trial release, another sign that the successor to Windows XP is not yet ready for prime time. "We added ASLR pretty late in the game, but we decided that adding it to beta 2 and enabling it by default was important so we can understand how well it performs in the field," Howard wrote.

Together with other enhancements in Vista, ASLR raises the bar in terms of security in the forthcoming operating system, Microsoft says. The company has described Vista, slated to be broadly available in January, as the most secure version of Windows to date.

In addition to ASLR, Howard mentioned a buffer overrun detection option in Visual C++; an exception checker in Vista; function pointer obfuscation; and support for NX, or No-Execute, data execution protection that is included in processors.

"The net of this is, ASLR is seen as just another defense," Howard wrote.

SponsoredWhite Papers, Webcasts, and Downloads

  • Talkback
  • Most Recent of 229 Talkback(s)
Lack of understanding about...
exploiting buffer overflows demonstrated in this post. It's not about randomizing where a dll is being stored on disk or whether a dll is infectable or not. It's all about forcing an external infectio... (Read the rest)
Posted by: Boomslang Posted on: 06/11/06 You are currently: a Guest | | Terms of Use
20 THINGS TO NOT LIKE ABOUT VISTA  itanalyst | 06/01/06
Message has been deleted.  hopefulcoder | 06/01/06
well said  spdrcrtob | 06/01/06
Ditto...  GuyAlanDye | 06/01/06
I'll keep my reading glasses on!  zdnet reader | 06/01/06
well said  arzasa@... | 06/01/06
RE: well said  richdave | 06/01/06
PClinuxOS  hopefulcoder | 06/01/06
Linux better beta testing / design / development  zdnet reader | 06/01/06
Hmmm...that's funny...  GuyAlanDye | 06/02/06
You need to try Linux  zdnet reader | 06/02/06
Thanks, but...  GuyAlanDye | 06/02/06
Yes  zdnet reader | 06/02/06
How right you are...  jrbeaman | 06/02/06
the 2nd thing he needs is reading comprehension  mdsmedia | 06/01/06
Dude, how did you miss this one????  James T. Kirk | 06/01/06
page error  hopefulcoder | 06/01/06
URL was wrapped and a space was "helpfully" inserted by ZDNet  James T. Kirk | 06/01/06
Hats off to Mr. Frantz  NewCyberian | 06/02/06
Page error..as well !  TSEG72351@... | 06/02/06
apple beats  hopefulcoder | 06/01/06
SO WHAT?  jrbeaman | 06/02/06
Oh boy, a follow-up article on how MS lands consulting deals!!!!!  James T. Kirk | 06/02/06
Wow...more like Linux then ever  Cayble | 06/01/06
From the article you linked;  ShadeTree | 06/02/06
ZOOM! It's gone.  shadowgryphon@... | 06/02/06
MICROSUCKS tries to BUY a CLUE but fails.  realitycheck101 | 06/01/06
Wow...You're Neato.  GuyAlanDye | 06/01/06
...and yours?  NewCyberian | 06/02/06
Just trying to make a point...  GuyAlanDye | 06/02/06
and your content....  jrbeaman | 06/02/06
Okay...'Substance' and 'Analysis.'  GuyAlanDye | 06/02/06
Or yours?  Boot_Agnostic | 06/02/06
hmmm  richvball44 | 06/03/06
hmmm  richvball44 | 06/03/06
COOLIO MAN!! I NEVER THOUGHT OF CAPS!!!  Cayble | 06/01/06
MS innovation  luv_skewer | 06/04/06
This is good!  bka1959 | 06/01/06
I challenge you to find a time when ...  ShadeTree | 06/02/06
Vista plays hide-and-seek with hackers  Loverock Davidson | 06/01/06
Yes, I'm Amazed By This Overpriced Piece Of Bloatware  itanalyst | 06/01/06
ROTFLMAO  999ad@... | 06/01/06
hmm  hopefulcoder | 06/01/06
Who gave you the crystal ball?  mdsmedia | 06/01/06
reply  hopefulcoder | 06/01/06
Why waste your time replying to posts like that....  darreno1 | 06/01/06
Linux has bloatware now ...  ShadeTree | 06/02/06
comment  richvball44 | 06/03/06
This, coming from someone...  Spikey_Mike | 06/02/06
A link that wouldn't have been wrapped ....  ShadeTree | 06/02/06
Hook and sinker, you should have analyzed that...  ajole | 06/01/06
Very true!  Leria | 06/01/06
it is unless you live in a card board box  dougogd | 06/02/06
Sheesh.. Why are you paying RETAIL???  Wolfie2K3 | 06/02/06
so you  Shelendrea | 06/02/06
try it  richvball44 | 06/03/06
Well *Not Exactly*  swbobcat | 06/01/06
There have been no exploits of Vista ...  ShadeTree | 06/02/06
If your right, Microsoft is finished  Cayble | 06/01/06
What is really going on here ?  TSEG72351@... | 06/02/06
Since the price of Vista has not been set yet, ...  ShadeTree | 06/02/06
Can you read?  techboy_z | 06/01/06
Can you?  Loverock Davidson | 06/01/06
Hey Loverock ,,,  I'm Ye, the MS SHILL . | 06/01/06
blah  hopefulcoder | 06/01/06
You're right. Oh, wait...  GuyAlanDye | 06/01/06
Ohh good, so you'll show us...  mdsmedia | 06/01/06
And...  Wolfie2K3 | 06/02/06
Oops...  GuyAlanDye | 06/02/06
Hey Loverock,,,  arzasa@... | 06/01/06
OMG when will MS EVER catch up with Linux?  ajole | 06/01/06
If all they have is marketshare to hang their hat on  mdsmedia | 06/01/06
Nice try  darreno1 | 06/01/06
You've just described the single BIGGEST flaw of Linux...  Wolfie2K3 | 06/02/06
Shhh...  Spikey_Mike | 06/02/06
Entertaining visions  Zeppo9191 | 06/01/06
Entertaining indeed?  Loverock Davidson | 06/01/06
LD praises open source!  Reverend MacFellow | 06/01/06
!!!!ROTFL!!!!  Shelendrea | 06/02/06
If I understand it correctly...  rapson | 06/02/06
January?  jrbeaman | 06/02/06
Better thank BSD for the idea/code  barsteward | 06/02/06
Am I missing something?  techboy_z | 06/01/06
Just what we need...  jrbeaman | 06/02/06
Message has been deleted.  michael_t | 06/01/06
Next MS Strategy: PickaBoo !!! happy  michael_t | 06/02/06
hacker will find a way  toxicfreak | 06/01/06
Yes, they always find a way...  bdlang | 06/01/06
An honestly good post!  ajole | 06/01/06
Hackers will play Seek-and-Destroy with Vista.  Mr. Roboto | 06/01/06
Your garbage can needs an OS? Wow, I gotta see that...NT  ajole | 06/01/06
My garbage can has a sticker on it...  Spikey_Mike | 06/02/06
Why does Vista terrify you so?  John Zern | 06/02/06
Energy "drink" ?  jrbeaman | 06/02/06
What don't you get you dinosaur .  I'm Ye, the MS SHILL . | 06/01/06
The best at what?  ajole | 06/01/06
They just don't get it...  jrbeaman | 06/02/06
You're whining, acting like a cry baby...  Grayson Peddie | 06/03/06
interesting...  hopefulcoder | 06/01/06
You read the article right?  ickusslime@... | 06/01/06
Is he a hopefulcoder, or hopeful reader?NT  ajole | 06/01/06
error  hopefulcoder | 06/01/06
hahahaha...a "*nix killer" and "copy it to *nix"  mdsmedia | 06/01/06
Argh!!!  Spikey_Mike | 06/02/06
If his code is as good as his analysis here...  jrbeaman | 06/02/06
vista  alandee4 | 06/01/06
AMEN! (nt)  bdlang | 06/01/06
RE: vista  richdave | 06/01/06
Why eliminate the registry?  NonZealot | 06/02/06
One problem..  Patrick Jones | 06/02/06
Yes, it is a problem  NonZealot | 06/02/06
Unused registry is different  rpmyers1 | 06/04/06
You first, richdave...  GuyAlanDye | 06/02/06
Windows Rot  swbobcat | 06/01/06
What are you going to get for the thousands of $$  IronCladChicken | 06/02/06
A Vista Computer??  swbobcat | 06/02/06
Where is it?  GuyAlanDye | 06/02/06
Quote, and Things to Consider  swbobcat | 06/03/06
No thainks...  GuyAlanDye | 06/04/06
For goodness sake! .....  Reverend MacFellow | 06/01/06
Don't buy a Mac!!  Leans_To_Center | 06/01/06
Wait, you are saying a Mac actually costs MORE than a PC in downtime?  ajole | 06/01/06
Downtime???  mdsmedia | 06/01/06
It's the choice of hardware...  Leans_To_Center | 06/01/06
I agree....the lack of choice..  mdsmedia | 06/01/06
Good point...  GuyAlanDye | 06/02/06
Agreed  csa0307 | 06/02/06
Same here but....  mypl8s4u2 | 06/02/06
Yes but...  danformen@... | 06/02/06
Why do you bother posting here?  jrbeaman | 06/02/06
Give it a rest  Code Poet | 06/01/06
and that's why you're here is it?  mdsmedia | 06/01/06
Thanx  Code Poet | 06/01/06
I have one word for you Code Poet...  Spikey_Mike | 06/02/06
Ok... back it up with facts  Code Poet | 06/01/06
but it's what you expected from this forum  mdsmedia | 06/01/06
re above post  mdsmedia | 06/01/06
Hey why argue your the expert!!!!  Code Poet | 06/02/06
Yeah,  jrbeaman | 06/02/06
Gawd you worn out bashers need new material.  No_Ax_to_Grind | 06/01/06
I have to admit...  NonZealot | 06/01/06
HACKERS Need a New Playtoy -- VISTA  swbobcat | 06/01/06
You're lack of understanding is comical.  GuyAlanDye | 06/02/06
While you're not one of the worst...  mdsmedia | 06/01/06
Better read again.  No_Ax_to_Grind | 06/02/06
Pot Kettle Black?  Rick_K | 06/02/06
Hold the Phone!  Shelendrea | 06/02/06
Now you know  jrbeaman | 06/02/06
Here's some new material  Chad_z | 06/03/06
MS is fixing a symptom and not the problem  Chas_ | 06/01/06
Microsoft is starting a game  not of this world | 06/01/06
Agree  mypl8s4u2 | 06/02/06
OH, not of this world...  GuyAlanDye | 06/02/06
System "Issues"  D|N|A | 06/01/06
Split Microsoft up for its own good  bportlock | 06/02/06
Agreed  Boot_Agnostic | 06/02/06
How do you know they don't do that now?  John Zern | 06/02/06
Just look at Firefox...  GuyAlanDye | 06/02/06
Are you brain-dead?  jrbeaman | 06/02/06
Stupid analogy  eb276 | 06/02/06
Too bad this wasn't done years ago.  jrbeaman | 06/02/06
When you point your finger  tonyman262 | 06/01/06
I didn't see anything in the article...  mdsmedia | 06/01/06
Your basic position is  jrbeaman | 06/02/06
"The Most Secure Version of Windows to Date"  swbobcat | 06/01/06
Well sw that was quite a rant  Don Bradley | 06/01/06
MS decisions and success  Mr_Dave | 06/01/06
Look Mr._Dave  Don Bradley | 06/02/06
Re: Look Mr. Dave  swbobcat | 06/02/06
sw : There You Go Again  Don Bradley | 06/02/06
Don, Why Not?  swbobcat | 06/03/06
OK sw One More Last Time  Don Bradley | 06/04/06
not quite  kasajian | 06/03/06
I have to disagree with one point  CobraA1 | 06/03/06
Umm, then they were 'at that date'  Boot_Agnostic | 06/02/06
Maybe....  mypl8s4u2 | 06/02/06
You just cancelled yourself out...  GuyAlanDye | 06/02/06
How can it be "more secure"  jrbeaman | 06/02/06
A billion, huh?  GuyAlanDye | 06/02/06
Yes, and bloated too...  jrbeaman | 06/02/06
THE MORE M$ TRIES TO IMPROVE...  Jay E Court | 06/01/06
When is billy boy going to stop stealing ideas  IronCladChicken | 06/02/06
Man when is Apple going to stop stealing ideas  aemc | 06/02/06
video of vista copying osx  netzd | 06/02/06
LMFAO  Rick_K | 06/02/06
THAT IS FUNNY!!!!!!!!!!!  jrbeaman | 06/02/06
Only the 1st OS and Applications are original  Boot_Agnostic | 06/02/06
What are you talking about?  Mark Miller | 06/02/06
Virtual Machine & Vista  Zolar | 06/01/06
Search anyone?  nomorems | 06/01/06
I turn it all off...  jrbeaman | 06/02/06
Why reveal the game plan?  Mark Miller | 06/02/06
Hide-n-seek with system files  bportlock | 06/02/06
It's 256 locations in memory, not disk locations  Mark Miller | 06/02/06
Memory? Disk? What's the difference?  bportlock | 06/04/06
Lack of understanding about...  Boomslang | 06/11/06
Ever heard of a trial-balloon?  jrbeaman | 06/02/06
PUT ON YOUR CRASH HELMITS  ghawkins@... | 06/02/06
Not to mention  Shelendrea | 06/02/06
All for the new you  jheine | 06/02/06
Maybe just give it a chance?  John Zern | 06/02/06
I would be open to doing that  Shelendrea | 06/02/06
Not a Chance  swbobcat | 06/02/06
Where is this quote?  GuyAlanDye | 06/02/06
Forgot?  jrbeaman | 06/02/06
One Quote Coming Right Up  swbobcat | 06/02/06
Right on...  GuyAlanDye | 06/03/06
Not true  eb276 | 06/02/06
Wow...you must be new.  GuyAlanDye | 06/02/06
I did, but Fedora remained fairly crash and panic free  Boot_Agnostic | 06/03/06
How do the normal applications find the stuff?  quantumstate | 06/02/06
How it works  Spacely Spacerockets | 06/02/06
Addresses...  ChrisTyler | 06/02/06
Thanks, that answered my question  NonZealot | 06/02/06
What difference does it make?  jrbeaman | 06/02/06
Would you rather be owned?  Spacely Spacerockets | 06/04/06
How it works  eb276 | 06/02/06
And your box crashes.  jrbeaman | 06/02/06
And You beta tested it to contribute what improvement  Boot_Agnostic | 06/02/06
EXACTAMUNDO!  jrbeaman | 06/02/06
buffer overruns  gingoro | 06/02/06
ASLR  topaz_z | 06/02/06
ASLR  topaz_z | 06/02/06
Windows loses things.  creep144 | 06/02/06
Funny Vista Video, but very True!  netzd | 06/03/06
Vista is a remarkable piece of code  michael_t | 06/03/06
MS should develop better code  Boot_Agnostic | 06/03/06
Sheesh! It's crazy here  BlazeEagle | 06/04/06
Only works on bootup  kokuryu | 06/05/06

What do you think?

advertisement
advertisement

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