
Course 25 - API Python Hacking | Episode 5: Managing and Verifying Process Privileges
In this lesson, you’ll learn about:
Fundamentals of Windows Access Tokens
Tokens define a process's privileges, such as shutting down the system or debugging memory
Tokens are static: you can enable/disable existing privileges but cannot add new ones
Difference between default tokens (limited rights, e.g., SeChangeNotify) and administrative tokens (powerful rights, e.g., SeDebugPrivilege)
Programmatic Access to Tokens
Using Python’s ctypes to interface with kernel32.dll and advapi32.dll
Obtaining a privileged handle with OpenProcess
Accessing a process token via OpenProcessToken with…
The skinny
The skinny isn't ready yet — notes appear once the transcript is processed.