One Day Sec

What is the recommended universal method for privilege reduction from SYSTEM to a normal user, and what tool helps identify suitable parent processes?

The universal method is using SelectMyParent to spawn a process as a child of a process already running with the target user's privileges. To find such a parent, you can use `tasklist /v /fo list /fi "USERNAME eq <whoami output>"` or a custom C++ tool that differentiates between admin and standard user processes. The article includes a small tool for traversing and judging process permissions (admin or not), which is especially useful because `tasklist` alone cannot distinguish between administrator and standard user tokens. This combined approach reliably reduces privileges from SYSTEM.
SelectMyParentprocess permission tooltasklistadmin vs standard useruniversal privilege reduction

Browse all Q&A →