Making Linux Kernel Exploit Cooking Tougher

The Linux kernel is a key element for the safety of the Web. Google makes use of Linux in nearly every part, from the computer systems our staff use, to the merchandise folks around the globe use each day like Chromebooks, Android on telephones, vehicles, and TVs, and workloads on Google Cloud. Due to this, now we have closely invested in Linux’s safety – and at present, we’re saying how we’re constructing on these investments and growing our rewards.

In 2020, we launched an open-source Kubernetes-based Seize-the-Flag (CTF) challenge referred to as, kCTF. The kCTF Vulnerability Rewards Program (VRP) lets researchers hook up with our Google Kubernetes Engine (GKE) cases, and if they will hack it, they get a flag, and are probably rewarded. All of GKE and its dependencies are in scope, however each flag caught to this point has been a container breakout via a Linux kernel vulnerability. We’ve discovered that discovering and exploiting heap reminiscence corruption vulnerabilities within the Linux kernel could possibly be made so much tougher. Sadly, safety mitigations are sometimes onerous to quantify, nonetheless, we expect we’ve discovered a manner to take action concretely going ahead.

After we launched kCTF, we hoped to construct a group of Linux kernel exploitation hackers. This labored properly and allowed the group to be taught from a number of members of the safety group like Markak, starlabs, Crusaders of Rust, d3v17, slipper@pangu, valis, kylebot, pqlqpql and Awarau.

Now, we’re making updates to the kCTF program. First, we’re indefinitely extending the elevated reward quantities we introduced earlier this 12 months, that means we’ll proceed to pay $20,000 – $91,337 USD for vulnerabilities on our lab kCTF deployment to reward the necessary work being accomplished to know and enhance kernel safety. That is along with our present patch rewards for proactive safety enhancements.

Second, we’re launching new cases with further rewards to judge the most recent Linux kernel secure picture in addition to new experimental mitigations in a customized kernel we have constructed. Moderately than merely studying concerning the present state of the secure kernels, the brand new cases shall be used to ask the group to assist us consider the worth of each our newest and extra experimental safety mitigations. 

At this time, we’re beginning with a set of mitigations we imagine will make a lot of the vulnerabilities (9/10 vulns and 10/13 exploits) we obtained this previous 12 months tougher to take advantage of. For brand spanking new exploits of vulnerabilities submitted which additionally compromise the most recent Linux kernel, we pays a further $21,000 USD. For these which compromise our customized Linux kernel with our experimental mitigations, the reward shall be one other $21,000 USD (if they’re clearly bypassing the mitigations we’re testing). This brings the whole rewards as much as a most of $133,337 USD. We hope this may permit us to be taught extra about how onerous (or simple) it’s to bypass our experimental mitigations.

The mitigations we have constructed try and sort out the next exploit primitives:

With the kCTF VRP program, we’re constructing a pipeline to investigate, experiment, measure and construct safety mitigations to make the Linux kernel as protected as we will with the assistance of the safety group. We hope that, over time, we will make safety mitigations that make exploitation of Linux kernel vulnerabilities as onerous as attainable.