Sumemry

SeShutdownPrivilege simply allows a Windows account/process to shut down or restart the system.

Attacks

Service abuse

SeShutdownPrivilege can be useful in a service privilege escalation attack. If you have found a vulnerable service, such as one running as SYSTEM with a writable binary or DLL, but your account cannot stop, start, or restart the service, you can use SeShutdownPrivilege to reboot the host with shutdown /r /t 0. If the service is configured to start automatically, it will execute again during boot, potentially executing your modified binary or DLL with the service’s privileges.

To check what is the startmode type of the service you can run Get-CimInstance, here’s a syntax example - Get-CimInstance -ClassName win32_service | Select Name, StartMode | Where-Object {$_.Name -like 'mysql'}.