How To Install pacu on Kali Linux
Introduction
In this tutorial we learn how to install pacu
on Kali Linux.
What is pacu
pacu is:
This package contains an open-source AWS exploitation framework, designed for offensive security testing against cloud environments. Created and maintained by Rhino Security Labs, Pacu allows penetration testers to exploit configuration flaws within an AWS account, using modules to easily expand its functionality. Current modules enable a range of attacks, including user privilege escalation, backdooring of IAM users, attacking vulnerable Lambda functions, and much more.
There are three methods to install pacu
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 pacu Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install pacu
using apt-get
by running the following command:
sudo apt-get -y install pacu
Install pacu Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install pacu
using apt
by running the following command:
sudo apt -y install pacu
Install pacu 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 pacu
using aptitude
by running the following command:
sudo aptitude -y install pacu
How To Uninstall pacu on Kali Linux
To uninstall only the pacu
package we can use the following command:
sudo apt-get remove pacu
Uninstall pacu And Its Dependencies
To uninstall pacu
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove pacu
Remove pacu Configurations and Data
To remove pacu
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge pacu
Remove pacu configuration, data, and all of its dependencies
We can use the following command to remove pacu
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge pacu
Dependencies
pacu have the following dependencies:
- python3-boto3
- python3-dsnap
- python3-sqlalchemy
- python3-sqlalchemy-utils
- awscli
- python3-botocore
- python3-requests
- python3-sqlalchemy
- python3-typing-extensions
- python3-urllib3
- python3
References
Summary
In this tutorial we learn how to install pacu
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.