Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Vulnerabilities / Threats

7/24/2013
01:11 AM
50%
50%

Visualization Helps Attackers Spot Flaws In Software's Armor

Using data visualization techniques, researchers make memory and randomization flaws easier to recognize, spotting vulnerabilities in anti-exploitation technology such as ASLR and DEP

Simple data visualization techniques can be used to find weaknesses in the software technologies designed to protect operating systems from exploitation, according to a pair of researchers who will present their findings at Black Hat USA next week.

Click here for more of Dark Reading's Black Hat articles.

The researchers, Georg Wicherski and Alexandru Radocea of security startup CrowdStrike, used space-filling fractals known as Hilbert Curves--the most famous of which are the heat maps for visualizing the Internet's address space--to map out memory page tables, using brighter colors to indicate more dangerous areas. The technique can help researchers better see problems in anti-exploitation techniques such as address-space layout randomization (ASLR) and data-execution prevention (DEP), Wicherski says.

"We wanted to find ways to make these concepts more accessible to more researchers," he says. "How do you see what is randomized, what is not randomized, and what is a potential vulnerability?"

Using the techniques, the researchers found that Android and other versions of Linux have flaws on the ARM architecture that significantly weaken exploitation mitigations. On ARM, the whole Linux kernel memory area is both writable and executable, allowing any memory-corruption bug to overwrite the kernel code, Wicherski says.

"You don't have to do any advanced exploitation techniques on ARM at all," Wicherski says.

The researchers also plan to demonstrate some weaknesses of iOS using visualizations of the operating system's address space.

To produce the maps, the researchers first categorized areas of memory by their permissions, whether each one was writable, executable or both. Attackers look for pages that are writable and executable and in a consistent location, because they can write their own malicious code to that section of memory and then execute it.

[Attackers cheated two widely respected Microsoft security features to wage targeted attacks via a previously unknown flaw in Internet Explorer. See New IE Zero-Day Attack Bypasses Key Microsoft Security Measures.]

Technologies like data-execution prevention (DEP) attempt to virtually separate the parts of memory to which data can be written and the parts of memory that can be executed. Address space layout randomization (ASLR) makes it hard for attackers to know where a certain section of memory will be located. Analyzing the implementation of these technologies can be hard, but visualization can help researchers spot patterns that they might not otherwise detect, says Ollie Whitehouse, associate director of the NCC Group, a security testing and compliance firm.

"Being able to identify pages that are both readable and writable is important," Whitehouse says. "The way that they did it is innovative, because humans are very visual and good at pattern recognition, so giving them visual representations of these problems can work extremely well."

The technique does not work against logic flaws or other types of code analysis. Yet, it could be a useful way for developers to visualize the way their code uses memory and more easily spot implementation flaws, says CrowdStrike's Wicherski. Vulnerability researchers can also use it to gauge the relative strength of a program's mitigations.

"If you have a new operating system that you want to attack and you want to understand how these mitigations work there and how effective they are, you can use this as a real tool," he says.

In addition, the technique could help developers that are not intimately familiar with how to identify and find memory flaws and weaknesses to see problems with their code, says NCC Group's Whitehouse.

"If you take security problems into the visualization realm, you open them up to people who might not be hardcore reverse engineers and security software analysts," he says.

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. Veteran technology journalist of more than 20 years. Former research engineer. Written for more than two dozen publications, including CNET News.com, Dark Reading, MIT's Technology Review, Popular Science, and Wired News. Five awards for journalism, including Best Deadline ... View Full Bio

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
COVID-19: Latest Security News & Commentary
Dark Reading Staff 9/21/2020
Cybersecurity Bounces Back, but Talent Still Absent
Simone Petrella, Chief Executive Officer, CyberVista,  9/16/2020
Meet the Computer Scientist Who Helped Push for Paper Ballots
Kelly Jackson Higgins, Executive Editor at Dark Reading,  9/16/2020
Register for Dark Reading Newsletters
White Papers
Video
Cartoon
Latest Comment: Exactly
Current Issue
Special Report: Computing's New Normal
This special report examines how IT security organizations have adapted to the "new normal" of computing and what the long-term effects will be. Read it and get a unique set of perspectives on issues ranging from new threats & vulnerabilities as a result of remote working to how enterprise security strategy will be affected long term.
Flash Poll
How IT Security Organizations are Attacking the Cybersecurity Problem
How IT Security Organizations are Attacking the Cybersecurity Problem
The COVID-19 pandemic turned the world -- and enterprise computing -- on end. Here's a look at how cybersecurity teams are retrenching their defense strategies, rebuilding their teams, and selecting new technologies to stop the oncoming rise of online attacks.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2020-4643
PUBLISHED: 2020-09-21
IBM WebSphere Application Server 7.0, 8.0, 8.5, and 9.0 is vulnerable to an XML External Entity Injection (XXE) attack when processing XML data. A remote attacker could exploit this vulnerability to expose sensitive information. IBM X-Force ID: 185590.
CVE-2020-4590
PUBLISHED: 2020-09-21
IBM WebSphere Application Server Liberty 17.0.0.3 through 20.0.0.9 running oauth-2.0 or openidConnectServer-1.0 server features is vulnerable to a denial of service attack conducted by an authenticated client. IBM X-Force ID: 184650.
CVE-2020-4731
PUBLISHED: 2020-09-21
IBM Aspera Web Application 1.9.14 PL1 is vulnerable to cross-site scripting. This vulnerability allows users to embed arbitrary JavaScript code in the Web UI thus altering the intended functionality potentially leading to credentials disclosure within a trusted session. IBM X-Force ID: 188055.
CVE-2020-4315
PUBLISHED: 2020-09-21
IBM Business Automation Content Analyzer on Cloud 1.0 does not set the secure attribute on authorization tokens or session cookies. Attackers may be able to get the cookie values by sending a http:// link to a user or by planting this link in a site the user goes to. The cookie will be sent to the i...
CVE-2020-4579
PUBLISHED: 2020-09-21
IBM DataPower Gateway 2018.4.1.0 through 2018.4.1.12 could allow a remote attacker to cause a denial of service by sending a specially crafted HTTP/2 request with invalid characters. IBM X-Force ID: 184438.