How To Install linux-exploit-suggester on Kali Linux
Introduction
In this tutorial we learn how to install linux-exploit-suggester
on Kali Linux.
What is linux-exploit-suggester
linux-exploit-suggester is:
This package contains a Linux privilege escalation auditing tool. It’s designed to assist in detecting security deficiencies for given Linux kernel/Linux-based machine. It provides following functionality:
- Assessing kernel exposure on publicly known exploits Tool assesses (using heuristics methods discussed in details here) exposure of the given kernel on every publicly known Linux kernel exploit. For each exploit, exposure is calculated
- Verifying state of kernel hardening security measures LES can check for most of security settings available by your Linux kernel. It verifies not only the kernel compile-time configurations (CONFIGs) but also verifies run-time settings (sysctl) giving more complete picture of security posture for running kernel. This functionality is modern continuation of –kernel switch from checksec.sh tool by Tobias Klein.
There are three methods to install linux-exploit-suggester
on Kali Linux. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install linux-exploit-suggester Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install linux-exploit-suggester
using apt-get
by running the following command:
sudo apt-get -y install linux-exploit-suggester
Install linux-exploit-suggester Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install linux-exploit-suggester
using apt
by running the following command:
sudo apt -y install linux-exploit-suggester
Install linux-exploit-suggester Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install linux-exploit-suggester
using aptitude
by running the following command:
sudo aptitude -y install linux-exploit-suggester
How To Uninstall linux-exploit-suggester on Kali Linux
To uninstall only the linux-exploit-suggester
package we can use the following command:
sudo apt-get remove linux-exploit-suggester
Uninstall linux-exploit-suggester And Its Dependencies
To uninstall linux-exploit-suggester
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove linux-exploit-suggester
Remove linux-exploit-suggester Configurations and Data
To remove linux-exploit-suggester
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge linux-exploit-suggester
Remove linux-exploit-suggester configuration, data, and all of its dependencies
We can use the following command to remove linux-exploit-suggester
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge linux-exploit-suggester
Dependencies
linux-exploit-suggester have the following dependencies:
References
Summary
In this tutorial we learn how to install linux-exploit-suggester
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.