This is another one of those quick-hits that often comes in handy… you’ve captured a hash (maybe via mimikatz, through a Metasploit module such as post/windows/gather/hashdump, etc), and you need to want to directly use that hash rather than cracking it. How do you do that?
If you need to install CrackMapExec (CME), which for some reason isn’t included in Kali Linux, you can do so with the following commands:
apt-get install -y libssl-dev libffi-dev python-dev build-essential apt-get install virtualenvwrapper source /usr/share/virtualenvwrapper/virtualenvwrapper.sh mkvirtualenv CME (CME) #~ pip install crackmapexec
Lifted from the CME Wiki install instructions.