Windows Lab Shows Local Privilege Escalation Through Misassigned SeTcbPrivilege

· Original article ↗

Summary

A lab walkthrough demonstrates how a standard domain account granted SeTcbPrivilege through Group Policy can use tcb-lpe to gain local administrator rights, and outlines auditing, monitoring, and least-privilege mitigations.

Key points

  • The tutorial assigns SeTcbPrivilege to a standard domain user through the Default Domain Policy in an Active Directory lab.
  • The account connects to a Windows host over WinRM and verifies that the privilege is enabled.
  • The tcb-lpe tool uses the privilege to run a command as SYSTEM, adding the account to the local Administrators group.
  • The article says SeTcbPrivilege is a legitimate Windows right; the risk arises when it is granted to accounts that do not require it.
  • Recommended mitigations include auditing Group Policy assignments, restricting the privilege to necessary service accounts, and enforcing least privilege.
  • Suggested detection includes correlating sensitive privilege-use and service-installation events; the article also recommends restricting WinRM access and using application control.

Article Details

Topic
Windows privilege escalation through misconfigured SeTcbPrivilege assignments and use of the tcb-lpe exploit

People

Products

Tools

Related Articles