Dangers of Windows API and Administrator accounts?
- by Brett Powell
I wrote a game server plugin last night that allowed me to create a user account and set it as administrator, which is a huge problem. Of course the simple fix is to create a basic user account with limited privileges for the game servers, so they would not have access to do things like this.
I wanted to find out if there's anything else in the Windows API that would create such a huge vulnerability though? I guess I want to just make sure that when the client's game servers accounts are moved to limited access accounts, we won't have to worry about any of them using the windows API to sabotage the machines. There is already enough exploits in the game itself to worry about, without having to worry about client's taking over the machines with plugins lol.
Some of the questions relative would be...
Can you disable/enable Remote Desktop from c++?
Can you get a list of AD user groups from c++? (not that a user belongs to, but a complete list)