Most Windows Applications Use Microsoft's DEP

SDL Progress Report from Microsoft shows one-third of popular consumer apps using ASLR

Dark Reading logo in a gray background | Dark Reading

Most popular consumer applications today use Microsoft's Data Execution Prevention (DEP) attack mitigation feature in Windows, while about one-third use its Address Space Layout Randomization (ASLR) security function.

The data was released today as part of Microsoft's progress report on its Security Development Lifecycle (SDL). The software giant surveyed the DEP and ASLR settings in 41 popular third-party applications to measure the adoption of these attack mitigation technologies. ASLR was not deployed in 70 percent of browser plug-ins: That means even if a browser were running ASLR, if a plug-in does not, then ASLR isn't fully functional.

Microsoft's SDL, a process of building security and privacy into its software, has been mandatory in-house at the software giant since 2004. Microsoft in 2007 began publicly releasing SDL tools and documentation in order to promote secure coding. DEP and ASLR are two of the higher profile security functions Microsoft has added to Windows.

Jeff Jones, director of Trustworthy Computing at Microsoft, says the disparity between DEP and ASLR adoption among apps likely has to do with DEP being available longer (since XP Service Pack 2) as well as being "simpler to understand." DEP prevents an exploit from directly injecting and executing code from sections of memory used for data.

"It has been around longer, and it's pretty simple to enable," Jones says. ASLR didn't come on the scene until Windows Vista, where it first rolled out. ASLR is basically a security feature in Vista and Windows 7 that protects the system from an exploit attempting to call a system function. It places code in random areas of memory that makes it more difficult for an attacker to run malware on a machine.

While ASLR is fully enabled in 34 percent of these apps, it's partially enabled in 46 percent of the commercial apps. Some 20 percent don't use ASLR at all.

Microsoft's Jones says that's a respectable percentage of adoption. "I was pleasantly surprised. Eighty percent has either fully or partially [deployed] it -- that's a good number," he says.

Gary McGraw, CTO at Cigital, also considers the new Microsoft data on DEP and ASLR deployment good news. "That rate of adoption is pretty darn good ... because [the technology] is relatively new," says Gary McGraw, CTO at Cigital.

But deploying ASLR and DEP alone doesn't make for a secure app, he says. "If you just count on only these two security functions, you won't get a secure app. You have to do everything else, too, [including] static analysis, pen testing, and the rest of the [steps] in the SDL."

When apps only partially enable ASLR, that means not all libraries are compiled with ASLR, which could allow an attacker to bypass DEP, notes Thomas Kristensen, CTO at Secunia.

And apps that only support either DEP or ASLR, or just partially support one, don't reap the same security benefits, security experts say.

"DEP alone is less effective than ASLR as there are much easier ways to defeat DEP than ASLR. Combining DEP and ASLR results in the most effective exploit mitigation," says Chaouki Bekrar, CEO and head of research at VUPEN.

Some app developers avoid DEP because it can crash buggy apps, notes Secunia's Kristensen. "That obviously doesn't look good, and then it is natural to choose less security and more 'stability,'" he says.

Even so, DEP and ASLR aren't impenetrable. Security researchers have found and demonstrated ways to bypass DEP. "There are ways to bypass each individually, but combining the two makes the protection more efficient and significantly harder to exploit," Kristensen says.

The Microsoft SDL Progress Report can be downloaded here.

Have a comment on this story? Please click "Add Your Comment" below. If you'd like to contact Dark Reading's editors directly, send us a message.

About the Author

Kelly Jackson Higgins, Editor-in-Chief, Dark Reading

Kelly Jackson Higgins is the Editor-in-Chief of Dark Reading. She is an award-winning veteran technology and business journalist with more than two decades of experience in reporting and editing for various publications, including Network Computing, Secure Enterprise Magazine, Virginia Business magazine, and other major media properties. Jackson Higgins was recently selected as one of the Top 10 Cybersecurity Journalists in the US, and named as one of Folio's 2019 Top Women in Media. She began her career as a sports writer in the Washington, DC metropolitan area, and earned her BA at William & Mary. Follow her on Twitter @kjhiggins.

Keep up with the latest cybersecurity threats, newly discovered vulnerabilities, data breach information, and emerging trends. Delivered daily or weekly right to your email inbox.

You May Also Like


More Insights