Passing the Hash (PtH)

NTLM

Extracting NTLM Hashes

  1. From the Local SAM Database

    • Commands:

  2. From LSASS Memory

    • Commands:


Using Extracted Hashes

  1. Reverting Privileges Before Use

    • Command:

  2. Exploiting With PtH

    • Example Command:


Passing the Hash Using Linux

  1. Connect to RDP Using PtH

    • Command:

  2. Connect via PsExec Using PtH

    • Command:

    • Note: Only the Linux version of psexec supports PtH.

  3. Connect to WinRM Using PtH

    • Command:

Last updated