How to install Impacket/Ntlmrelayx.py


Ntlmrelayx.py is as python script that will simply relay NTLMv1/v2 hashes. Installing it is just straight forward on Kali Linux.


Step 1:  Install the dependencies


Ldapdomaindump is needed first, which can be installed by typing


┌──(root㉿kali)-[/home/kali/ActiveDirectory]

└─# pip install ldap3 dnspython


┌──(root㉿kali)-[/home/kali/ActiveDirectory]

└─# pip install ldapdomaindump






Step 2: Once the dependencies are installed, download the impacket suite

┌──(root㉿kali)-[/home/kali/ActiveDirectory]
└─# git clone https://github.com/CoreSecurity/impacket.git




Once downloaded, go to the directory and install it

┌──(root㉿kali)-[/home/kali/ActiveDirectory/impacket]
└─# python setup.py install




And once installed, You can now run Impacket, run ntlmrelayx.py from any directory now.

┌──(root㉿kali)-[/home/kali/ActiveDirectory/impacket]
└─# ntlmrelayx.py -tf target.txt -smb2support







Comments

Popular posts from this blog

GOAD Active Directory LAB Setup on a Windows host

My Short Analysis - Redline Infostealer

Regular expressions - Notes