Coder Social home page Coder Social logo

temesgeny / vikiroot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from timwr/vikiroot

0.0 1.0 1.0 33 KB

CVE-2016-5195 (Dirty COW) PoC for Android 6.0.1 Marshmallow

License: GNU General Public License v3.0

Makefile 5.06% C 73.62% Assembly 21.32%

vikiroot's Introduction

VIKIROOT

This is a CVE-2016-5195 PoC for 64-bit Android 6.0.1 Marshmallow (perhaps 7.0 ?), as well as an universal & stable temporal root tool. It does not require a SUID executable or any filesystem changes.

Features

  • SELinux bypass
  • Memory-only: does not modify the filesystem or need special executable
  • Stable: does not affect stability of your device
  • Scalable: easy to add new kernel and/or new devices
  • Reversible: the backdoor is cleared automatically after the root shell ends, which means no reboot is required after usage

Prerequisite

  • I, Robot by Isaac Asimov.
  • "dirtycow-capable" device.

Building

Binaries are available on the release page. Otherwise, just run make in a native aarch64 debian.

Usage

You may run it through an adb shell (place it under /data/local/tmp) and get a root shell either in the built-in terminal or a remote terminal server such as nc. For details, run it without any parameters.

Credits

@scumjr for the vdso patching method.

TODO

  • Turn it into a SuperSU installer.
  • Enrich the kernel database for 32-bit support and so on.
  • Test it on Android 7 Nougat (help wanted!).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.