Install CrackMapExec On Windows

Download:

Install:

  • Pyton 2.7
    • standard install method
  • OpenSSL
    • standard install, and add OpenSSL \bin directory to path
  • Microsoft Visual C++ Compiler for Python 2.7
    • standars install method
  • CrackMapExec
    • simply unzip to a folder
    • run installer (python setup.py install) (do not get crushed with the errors you’ve returned)
    • pip install pywinrm
    • pip install pywerview
    • modify cm\first_run.py file to:
      • TMP_PATH = os.path.join(‘c:\\temp’, ‘cme_hosted’) (change c:\\temp to y Temp directory)
      • remove 77-88 lines (generate SSL cert)
    • in user .cme dir (ex: C:\Users\_username_\.cme) generate SSL cert
      • openssl req -new -x509 -keyout cme.pem -out cme.pem -days 365 -nodes -subj “/C=US”

Done 😉