How To Install redsnarf on Kali Linux
Introduction
In this tutorial we learn how to install redsnarf
on Kali Linux.
What is redsnarf
redsnarf is:
This package contains a pentesting / redteaming tool by Ed Williams for retrieving hashes and credentials from Windows workstations, servers and domain controllers using OpSec Safe Techniques. RedSnarf functionality includes:
- Retrieval of local SAM hashes
- Enumeration of user/s running with elevated system privileges and their corresponding lsa secrets password;
- Retrieval of MS cached credentials;
- Pass-the-hash;
- Quickly identify weak and guessable username/password combinations (default of administrator/Password01);
- The ability to retrieve hashes across a range;
- Hash spraying
There are three methods to install redsnarf
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 redsnarf Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install redsnarf
using apt-get
by running the following command:
sudo apt-get -y install redsnarf
Install redsnarf Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install redsnarf
using apt
by running the following command:
sudo apt -y install redsnarf
Install redsnarf 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 redsnarf
using aptitude
by running the following command:
sudo aptitude -y install redsnarf
How To Uninstall redsnarf on Kali Linux
To uninstall only the redsnarf
package we can use the following command:
sudo apt-get remove redsnarf
Uninstall redsnarf And Its Dependencies
To uninstall redsnarf
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove redsnarf
Remove redsnarf Configurations and Data
To remove redsnarf
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge redsnarf
Remove redsnarf configuration, data, and all of its dependencies
We can use the following command to remove redsnarf
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge redsnarf
Dependencies
redsnarf have the following dependencies:
- creddump7
- passing-the-hash
- python3-docopt
- python3-impacket
- python3-ipy
- python3-ldap
- python3-libnmap
- python3-netaddr
- python3-pycryptodome
- python3-pyuserinput
- python3-smb
- python3-termcolor
- python3-wget
References
Summary
In this tutorial we learn how to install redsnarf
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.