The Hackr

Hack any Android and get Root access in 20 Seconds

Dirty COW or otherwise called Dirty copy-on-write is a computer security vulnerability for the Linux kernel that affects all Linux based Operating Systems including Android. It is a local privilege escalation bug that exploits a race condition in the implementation of the copy-on-write mechanism in the kernel’s memory management subsystem.

Because of the race condition, a local attacker can exploit the copy-on-write mechanism and get root access or the super-user access.
The vulnerability has the CVE designation CVE-2016-5195.

It’s a privilege-escalation bug that has been present on the Linux kernel code for about 9 years. he vulnerability is present on every Linux system that uses a Linux kernel version greater than 2.6.22, which means every Android version (from Android 1.0 to 7.1.1 Nougat) can be exploited using Dirty Cow vulnerability to get root access.

So How to Hack Android using Dirty COW Exploit in 20 seconds?

STEP 1

Fire up any Linux Operating System that has Android NDK installed. Here, in this demo, we are using Kali.

STEP 2

Clone the root.zip from this link. Extract the root.sh script file in it.

STEP 3

Enable Developer options and USB debugging on the victim’s Android device. “Developer Settings” can be enabled in Settings>About Phone>hit the build number 7 times and then you will see Developer Settings in the bottom portion of the Settings Panel. Then, later click on it and enable USB debugging by tapping it.

STEP 4

Copy the root.sh script file on to the victim’s Android device’s internal storage. Then run the root.sh script by typing

./root.sh


Now you can check the whether if you got the root access using the command

su

and then

whoami
Hope you guys enjoyed the tutorial. Let us know how you feel in the comments below!

Sreehas

The hacking trend these days has definitely turned criminal because of e-commerce ¯\_(ツ)_/¯

up