Table of Contents
Description
The Impacket Toolkit is a collection of Python libraries and scripts designed for network penetration testing and security research. It provides tools for working with various network protocols, particularly those used in Windows environments.
Installation
To install impacket we can simply clone it from github and run the “setup.py” to build it.
git clone https://github.com/SecureAuthCorp/impacket.git - Download it
python setup.py install - Build it
To update and install impacket - if not installed - we can also use pip (or pipx) if python is available
sudo pip install impacket --upgrade
Common Tools
Remote code execution
Kerberos
impacket-GetUserSPNs
impacket-GetNPUsers
impacket-getTGT
impacket-ticketer
impacket-ticketConverter
kerberos.py
Databases
DCSync
Servers
Relay
GPO
impacket-owneredit
impacket-dacledit
Other tools
raiseChild.py
lookupsid.py
samrdump.py
GetADUsers.py