• Stars
    star
    131
  • Rank 275,867 (Top 6 %)
  • Language
    C++
  • License
    Other
  • Created almost 6 years ago
  • Updated over 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

This is collaborative work of Ned Williamson and Niklas Baumstark

Hack2Win 2018 -- Chrome sandbox

This is a sandbox escape exploit for Chrome 69.0.3497.92 / Windows 1803 (up to date on Sep 21st 2018)

Authors: Ned Williamson (bug & exploit), Niklas Baumstark (exploit & plugging everything together)

Bug report/writeup: https://bugs.chromium.org/p/chromium/issues/detail?id=888926

Building vulnerable Chrome & patching the renderer

It would be hard to reproduce the full-chain exploit because Chrome & Windows version have to match what we targetted back in September 2018. The files for the renderer patch via DLL injection are just here for reference (in inject/).

Instead you can build a vulnerable version of Chrome and apply custom renderer patches to reproduce the sandbox escape as a standalone exploit: In an existing Chromium source directory, do git checkout 271eaf && gclient sync, then rebuild. To apply the renderer patches required for the standalone sandbox escape, do patch -p1 < /path/to/renderer-271eaf.patch.

Running

pwn.py is the web server that serves the exploit. Run it on Linux (or WSL) and start Chrome in guest mode, then browse to http://localhost:8000/

License

This code is released under a BSD license specified in the file LICENSE

More Repositories

1

libc-database

Build a database of libc offsets to simplify exploitation
Shell
1,680
star
2

dryscrape

[not actively maintained] A lightweight Python library that uses Webkit to enable easy scraping of dynamic, Javascript-heavy web pages
Python
532
star
3

3dpwn

VirtualBox 3D exploits & PoCs
Python
160
star
4

sploits

C++
156
star
5

contest-algos

C++
121
star
6

bspfuzz

C++
91
star
7

35c3ctf-challs

Python
88
star
8

elgoog

elgoog/searchme challenge from 34C3 CTF / WCTF 2018: sources & exploit
C
66
star
9

webkit-server

[not actively maintained] The C++ webkit-server from capybara-webkit with useful extensions and Python bindings
C++
48
star
10

memfuzzing

Memory fuzzing based on sinn3r's In Memory Fuzzer
Python
26
star
11

ruby-dynamic-binding

Implements a flexible form of dynamic binding to Ruby which allows to run a Proc inside a custom name lookup context
Ruby
26
star
12

bingrep

A small utility to grep for pointers & binary data in memory dumps / live process memory
C++
23
star
13

34c3ctf-sols

Solutions for my 34C3CTF challenges
Python
22
star
14

dump-seccomp

GDB plugin to dump SECCOMP rules set via prctnl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER)
C
22
star
15

tcr

ICPC team contest reference of German team hacKIT
C++
19
star
16

ctf-tools

Python
16
star
17

rpi-qemu

Shell
11
star
18

haskell-brainfuck

BF interpreter written in Haskell as a small exercise
Haskell
8
star
19

ub-to-rce

C
7
star
20

kitbot

Yet another, minimalistic IRC bot
Ruby
7
star
21

rubyfun

Ruby
6
star
22

33c3ctf-mario

Source for mario challenge from 33C3 CTF
Python
6
star
23

apache-ssl-key-extract

Modification of passe-partout utility (http://www.hsc.fr/ressources/outils/passe-partout/) to read memory from files instead of relying on ptrace
C
5
star
24

codingpad-ideone

A modification of the excellent Codingpad Chrome extension by Felix Kling that uses ideone.com as a backend instead of codepad.org.
JavaScript
4
star
25

33c3ctf-coercive

code and exploit for 33C3 CTF task 'coercive'
Haskell
4
star
26

pbbs-maxflow

C++
3
star
27

gdbinit

Python
3
star
28

mona

Corelan Repository for mona.py
Python
3
star
29

save-the-robot

TeX
3
star
30

boxes

Stuff to manage virtual machines
Python
3
star
31

arch-initramfs-dropbear-decrypt

mkinitcpio hooks for Arch Linux to unlock encrypted partitions on boot via remote login
Shell
3
star
32

chrome-builds

3
star
33

linux-syscalls

Create tables to get an overview over system calls numbers and signatures for x86 and x86-64
Python
3
star
34

haskell-soy

A Haskell implementation of Google's Closure Templates
Haskell
2
star
35

vvz-ssh

An SSH tunnel for VVZ
Ruby
2
star
36

niklasb.github.com

My github pages
2
star
37

sudoku-pdf

A set of scripts to generate Sudoku puzzles and write them to a PDF
Python
2
star
38

lz-index

Implementation of an LZ index based on the SDSL library
C++
2
star
39

sslutils

Some helpful(?) stuff for working with CAs
Ruby
2
star
40

winhook

C++
2
star
41

crhash

A customizable hash brute forcer
C++
2
star
42

ctf-glicko2

Source code for Glicko-2 rating app for CTF teams 2016.
HTML
2
star
43

ida-colors

1
star
44

gpuc-rainbow

C++
1
star
45

test

1
star
46

webgdb

JavaScript
1
star
47

dotfiles

Shell
1
star
48

linux-config

Shell
1
star
49

xkcd-hash

C
1
star
50

faustctf-vpn-gateway

VPN setup used for FaustCTF
Shell
1
star
51

vimrc

My vimrc (loosely based on https://github.com/nvie/vimrc)
Vim Script
1
star
52

contest-tasks-webapp

Hosted at http://dtun.de/tasks/
PHP
1
star
53

linux-notes

Notes for Linux stuff
1
star
54

random-scripts

Shell
1
star