Installing impacket on Windows

This is a quick guide on installing impacket ( library and scripts on a Windows machine:

  1. Install Python 2.7 from
  2. Install pre-compiled Windows version of PyCrypto from
  3. Add C:\Python27 and C:\Python27\Scripts to your PATH (open Advanced System Settings either through Control Panel or run sysdm.cpl, select Advanced tab and click Environment Variables… — don’t remove existing paths, separate entries using a semicolon). Adjust the path if you didn’t install Python into the default location.
  4. Start cmd.exe as Administrator and run:
pip install pyasn1
pip install impacket

Now you would be able to use scripts that come with impacket (they are installed to C:\Python27\Scripts and will be in your PATH).

Random rumblings about #InfoSec. The opinions expressed here are my own and not necessarily those of my employer.