Pass-the-Certificate Demonstrates Active Directory Access With PFX and Kerberos Tickets

· Original article ↗

Summary

A hands-on guide demonstrates using PFX certificates and derived CCACHE tickets for remote execution across Active Directory protocols, compares tools’ execution artifacts, and outlines detection opportunities and defenses.

Key points

  • NetExec uses a PFX certificate for command execution over SMB, WMI, WinRM, and MSSQL; the guide assumes the administrator certificate was obtained beforehand.
  • Impacket tools and Evil-WinRM use a Kerberos CCACHE ticket for remote commands or interactive shells.
  • The demonstrations compare execution artifacts: PsExec creates a service and drops an executable, while WmiExec avoids those artifacts.
  • Suggested monitoring includes Kerberos events 4768 and 4769, service creation event 7045, process creation event 4688, and scheduled-task event 4698.
  • Recommended defenses include auditing AD CS templates, monitoring certificate issuance, restricting administrative protocols, and limiting privileged certificate use to designated workstations.

Article Details

Topic
Pass-the-Certificate and pass-the-ticket techniques for remote execution in Active Directory using certificates and Kerberos tickets

MITRE ATT&CK

Vendors

Products

Tools

Related Articles