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/28/2016
06:40 PM
Connect Directly
Twitter
LinkedIn
RSS
E-Mail
50%
50%

Google Adds New Kernel-Level Protections For Android

Measures include kernel memory controls and features to reduce attack surface.

Google yesterday rolled out new security measures for protecting Android’s Linux kernel against malicious attacks and other threats.

One set of measures is designed to provide memory level protections while the other is designed to reduce the overall attack surface of Android’s Linux kernel.

Jeff Vander Stoep, a member of the Android Security team, said the new memory protections are focused on ensuring that the integrity of the Linux kernel is maintained even if there are vulnerabilities in it.

“One of the major security features provided by the kernel is memory protection for userspace processes in the form of address space separation,” Stoep wrote on Google’s Security Blog.

User space is the area in an operating system kernel where applications execute. User-space processes are segmented and have only restricted access to memory so as to minimize the potential for applications to interfere with each other and cause problems like crashing a system.

“Unlike userspace processes, the kernel’s various tasks live within one address space,” Stoep said. As a result, a vulnerability anywhere in the kernel has the potential to impact other, unrelated portions of the system’s memory, he said.

Google’s new memory protection measures are designed to mitigate this threat. They include a new kernel memory segmentation feature with access restrictions for each segment that is similar to those found in the user space area. Another new feature restricts the kernel space from directly accessing memory in the user space. “This can make a number of attacks more difficult because attackers have significantly less control over kernel memory that is executable,” Stoep wrote.

Google’s new measures for reducing the kernel’s overall attack surface include removing some code and removing access to certain entry points to the kernel.

Nougat Nixes 'Perf' Access

Starting with Android Nougat--the next version of the operating system--Google will block access by default to a kernel feature called "perf" that lets developers perform performance measurement and certain other tasks at the kernel level. While perf serves a valuable purpose for developers, it adds “unnecessary attack surface” for most Android users, Stoep said. Developers who need access to the functionality would be able have it by enabling certain settings, said.

Starting with Android Nougat, Google will also restrict the number of so-called input/output control commands that are available to applications to minimize the kernel’s attack surface. Most of the vulnerabilities that have been reported in Android’s Linux kernel have been in drivers that are accessible via input/output control commands, according to Stoep.

The new measures add to a slew of ongoing projects that Google currently has underway to protect the Linux kernel, which Android relies on for tasks like enforcing mandatory access control over processes, automatic policy creation, and limiting the actions that privileged processes can take.

Examples of some of the other projects include the Kernel Self Protection Project and two separate projects for helping fuzzers more easily identity the root cause of kernel level crashes.

With Android devices increasingly being used in enterprise settings, Google has a lot at stake boosting the security of the operating system. A report by Hewlett-Packard Enterprise earlier this year identified Android as the second most heavily targeted operating system last year after Windows and also the platform with the second most number of vulnerabilities in it after Windows.

Related stories:

  

Jai Vijayan is a seasoned technology reporter with over 20 years of experience in IT trade journalism. He was most recently a Senior Editor at Computerworld, where he covered information security and data privacy issues for the publication. Over the course of his 20-year ... View Full Bio
 

Recommended Reading:

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
RyanSepe
50%
50%
RyanSepe,
User Rank: Ninja
7/31/2016 | 9:53:19 PM
Step in the right direction
This is definitely a step in the right direction. Will there be anyway to revert from these kernel level protections, and will they be set by default?
Commentary
Ransomware Is Not the Problem
Adam Shostack, Consultant, Entrepreneur, Technologist, Game Designer,  6/9/2021
Edge-DRsplash-11-edge-ask-the-experts
How Can I Test the Security of My Home-Office Employees' Routers?
John Bock, Senior Research Scientist,  6/7/2021
News
New Ransomware Group Claiming Connection to REvil Gang Surfaces
Jai Vijayan, Contributing Writer,  6/10/2021
Register for Dark Reading Newsletters
White Papers
Video
Cartoon
Current Issue
The State of Cybersecurity Incident Response
In this report learn how enterprises are building their incident response teams and processes, how they research potential compromises, how they respond to new breaches, and what tools and processes they use to remediate problems and improve their cyber defenses for the future.
Flash Poll
How Enterprises are Developing Secure Applications
How Enterprises are Developing Secure Applications
Recent breaches of third-party apps are driving many organizations to think harder about the security of their off-the-shelf software as they continue to move left in secure software development practices.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2021-24376
PUBLISHED: 2021-06-21
The Autoptimize WordPress plugin before 2.7.8 attempts to delete malicious files (such as .php) form the uploaded archive via the "Import Settings" feature, after its extraction. However, the extracted folders are not checked and it is possible to upload a zip which contained a directory w...
CVE-2021-24377
PUBLISHED: 2021-06-21
The Autoptimize WordPress plugin before 2.7.8 attempts to remove potential malicious files from the extracted archive uploaded via the 'Import Settings' feature, however this is not sufficient to protect against RCE as a race condition can be achieved in between the moment the file is extracted on t...
CVE-2021-24378
PUBLISHED: 2021-06-21
The Autoptimize WordPress plugin before 2.7.8 does not check for malicious files such as .html in the archive uploaded via the 'Import Settings' feature. As a result, it is possible for a high privilege user to upload a malicious file containing JavaScript code inside an archive which will execute w...
CVE-2021-24379
PUBLISHED: 2021-06-21
The Comments Like Dislike WordPress plugin before 1.1.4 allows users to like/dislike posted comments, however does not prevent them from replaying the AJAX request to add a like. This allows any user (even unauthenticated) to add unlimited like/dislike to any comment. The plugin appears to have some...
CVE-2021-24383
PUBLISHED: 2021-06-21
The WP Google Maps WordPress plugin before 8.1.12 did not sanitise, validate of escape the Map Name when output in the Map List of the admin dashboard, leading to an authenticated Stored Cross-Site Scripting issue