Microsoft adopts open-source security feature

If you can't beat 'em ...

Microsoft is taking a page out of the open-source community's book where it comes to security. In Windows Vista Beta 2, released last week, the company included a feature called address space layout randomisation (ASLR), a method of foiling some classes of attack that has usually been associated with open-source projects.

ASLR involves arranging the positions of certain data areas, such as the position of libraries, heap and stack, randomly in a process' address space. Certain types of attacks, which rely on these components having predictable target addresses, thus have a low chance of success when ASLR is in place.

Until now, the feature has been most prominently used in the OpenBSD Unix variant and the PaX and Exec Shield security patches for Linux.

In a blog entry, Microsoft security expert Michael Howard said the feature had not only been included in Vista Beta 2, but switched on by default.

"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," he said.

He said ASLR can defeat attacks such as "return-to-libc", where exploit code attempts to call a system function to open a socket. Because the memory address of the function is randomised, such attacks are much harder to carry out, Howard said.

"In the case of Windows Vista Beta 2, a DLL or EXE could be loaded into any of 256 locations, which means an attacker has a 1/256 chance of getting the address right," he said. "In short, this makes it harder for exploits to work correctly."

He cautioned, however that not only could ASLR cause compatibility problems - one of the main points the team hopes to test in Vista Beta 2 - but it won't solve all problems.

"It is not a panacea, it is not a replacement for secure code," he said. "It is a useful defense because it makes Windows systems look 'different' to malware, making automated attacks harder."

Howard also outlined a number of other security features Microsoft has been adding to Vista over time, such as the /GS stack-based buffer overrun detection option; /SafeSEH, which can automatically kill some corrupted processes; Data Execution Protection, aka NX, which requires hardware support and can prevent buffer overflows; and Function Pointer Obfuscation, which involves encoding many of Vista's long-lived pointers, frequent targets for attack.

Microsoft released a whitepaper detailing these security features.


What are your views on this subject? Use the form below to post a comment on this article up to 500 characters.


Characters remaining: 500

Related Security news

Microsoft denies building security 'backdoor' in Windows 7

Privacy organisations shouldn't read too much into NSA involvement it says

Pentagon expands exclusive deal with McAfee

Department of Defense uses McAfee products

Police arrest pair over global banking web scam

Man and woman arrested in Manchester for using notorious Zeus Trojan

Security star Fortinet sets price for IPO

Investors still have taste for tech.



Email this article to a friend or colleague:


PLEASE NOTE: Your name is used only to let the recipient know who sent the story, and in case of transmission error. Both your name and the recipient's name and address will not be used for any other purpose.

Techworld White Papers

Database security: Preventing enterprise data leaks at the source

IDC discusses the growing internal threats to business information, the impact of government regulations on the protection of data, and how enterprises must adopt database security best practices...

Download Whitepaper

Service-oriented security

SOA has become an integral part of enterprise software by providing a framework to efficiently develop software as services that is easily sharable, reusable, and integrated. No where is the need more apparent than in the Identity Management space. Welcome to the age of Service-Oriented Security (SOS).

Download Whitepaper

Data protection prospective vendor checklist

Organisations need a way to map business needs against all these challenges in procuring a technical solution. To help, SANS has developed the following Prospective Vendor Checklist.

Download Whitepaper

Unlock the power of the mainframe

This whitepaper presents the notion of CICS as an integration hub based on a component-based, service-oriented architecture supporting Web services. Highlights will review the challenges and contrasted support for Web services natively in CICS.

Download Whitepaper

Techworld UK - Technology - Business

COLT White Paper

Are all VoIP services the same?

Questions to ask your service provider to ensure you get the VoIP service you need
With careful choice of partner, your business can have all the advantages of VoIP access - reduced costs, flexibility and simplicity - without the drawbacks.
This white paper is your guide to ensure you get right the VoIP service and details the pitfalls which businesses would do well to avoid.

Download white paper
BMC

Ride the express lane in the journey to speed ITIL adoption

Explore the challenges in making the journey to ITIL and the criteria for selecting consulting services
By following ITIL practices, your IT organisation will become more closely integrated with the business. We recommend making the journey to ITIL in a sequence of six incremental steps, the phases of which are driven through execution of a strategic transformational roadmap.

Download white paper

Webcast: IT Financial Management: Cost Optimisation for Efficiency and Agility.
On Demand Webcast
Join this webcast to learn about the techniques and technologies that can help you prove the value of IT to the business by understanding the true cost of today's IT services and those that will be necessary to deliver future success.

Register Today

Site Map

IDG Network

* *