Installing impacket on Windows

This is a quick guide on installing impacket (https://github.com/CoreSecurity/impacket/) library and scripts on a Windows machine:

  1. Install Python 2.7 from python.org
  2. Install pre-compiled Windows version of PyCrypto from http://www.voidspace.org.uk/python/modules.shtml#pycrypto
  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.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store