SeTakeOwnershipPrivilege
What is SeTakeOwnershipPrivilege?
Exploiting SeTakeOwnershipPrivilege
PS C:\htb> whoami /priv
PRIVILEGES INFORMATION
----------------------
Privilege Name Description State
============================= ======================================================= ========
SeTakeOwnershipPrivilege Take ownership of files or other objects DisabledPS C:\> Import-Module .\Enable-Privilege.ps1
PS C:\> .\EnableAllTokenPrivs.ps1
PS C:\> whoami /priv
PRIVILEGES INFORMATION
----------------------
Privilege Name Description State
============================= ======================================== =======
SeTakeOwnershipPrivilege Take ownership of files or other objects Enabled1. Taking Ownership of Files or Directories
2. Taking Ownership of Registry Keys
Last updated