Skip to content

Pwning theToughest Target, the Largest Bug Bounty in the History of ASR

Guang Gong

Guang Gong presents pwning thetoughest target, the largest bug bounty in the history of asr: In recent years, Google has made many great efforts in exploit mitigation and attack surface reduction to strengthen the s...

Summary

Architecture and Background

In recent years, Google has made many great efforts in exploit mitigation and attack surface reduction to strengthen the security of android system. It is becoming more and more difficult to remotely compromise Android phones especially Google’s Pixel phone. The Pixel phone is protected by many layers of security.

Vulnerability Analysis

It was the only device that was not pwned in the 2017 Mobile Pwn2Own competition. But our team discovered a remote exploit chain—the first of its kind since the Android Security Rewards (ASR) program expansion, which could compromise The Pixel phone remotely. The exploit chain was reported to Android security team directly. They took it seriously and patched it quickly.

Exploitation and Demonstrations

Because of the severity and our detailed report, we were awarded the highest reward ($112,500) in the history of the ASR program. In this talk we will detail how we used the exploit chain to inject arbitrary code into system_server process and get system user permissions. The exploit chain includes two bugs, CVE-2017-5116 and CVE-2017-14904. CVE-2017-5116 is a V8 engine bug related with Webassembly and SharedArrayBuffer.

Remediation and Defensive Strategies

It is used to get remote code execution in sandboxed Chrome render process. CVE-2017-14904 is a bug in Android's libgralloc module that is used to escape from the sandbox. The way we used for sandbox escaping is very interesting, rarely talked about before. All details of vulnerabilities and mitigation bypassing techniques will be given in this talk.

Related talks

Main Stage·47 min

  • DEF CON
  • Wireless
  • Date: Aug 2018
  • Location: Las Vegas

Alexei Bulazel

Alexei Bulazel presents reverse engineering windows defenders emulator: Windows Defender Antivirus's mpengine.dll implements the core of Defender's functionality in an enormous ~11 MB, 30,000+ function DLL.

wireless-securityrf-hackingprotocol-analysis+1

Main Stage·42 min

  • DEF CON
  • Wireless
  • Date: Aug 2018
  • Location: Las Vegas

Greenstadt · Dr Caliskan

Greenstadt and Dr Caliskan presents de-anonymizing programmers from source code: Many hackers like to contribute code, binaries, and exploits under pseudonyms, but how anonymous are these contributions really?

wireless-securityrf-hackingprotocol-analysis+1

Main Stage·35 min

  • DEF CON
  • Wireless
  • Date: Aug 2018
  • Location: Las Vegas

Yu Wang

Yu Wang presents attacking the macos kernel graphics driver: Just like the Windows platform, graphic drivers of macOS kernel are complicated and provide a large promising attack surface for EoPs and sandbox escapes...

wireless-securityrf-hackingprotocol-analysis+1