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 😉

Run applications as administrator by default in Windows 10

If a search lead you here, and you want to always run a specific application as administrator even when launching its associated file type, you have to use the registry. Those compatibility tabs on properties are no longer available in windows 10.

Create a new registry key in one of these existing keys,
for current account only:

HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers

for all users:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers

Create a new key, the name of the new key should be the path to the application you want to always launch elevated, the value of this key should be
~ RUNASADMIN

Outlook 2010 on Windows XP CompareStringOrdinal KERNEL32.dll error

Try to start the program i get this error: “The procedure entry point CompareStringOrdinal could not be located in the dynamic link library KERNEL32.dll”.

Solution:

Please uninstall the security update for Outlook 2010 – KB4011273 (January 9, 2018).  B4011273 should be listed under Control panel > Add or remove programs.  Make sure Show updates is checked (Windows XP).