Exploiting SeTakeOwnershipPrivilege
Overview
Approach
1. Verify Privileges
whoami /priv # Check for SeTakeOwnershipPrivilege2. Enable Privilege (if required)
3. Identify Target Files/Folders
Get-ChildItem -Path <directory> -Recurse # Enumerate files
cmd /c dir /q # Check file owner4. Take Ownership of Target File
5. Modify ACLs to Gain Access
6. Access Data
7. Revert Changes
Tools & Techniques
Commands Used:
Tools:
Techniques:
Notes
Last updated