Creating a Windows Account Using C ++

First, I will give a basic presentation of the situation. I work for a game server rental company that becomes a victim of an exploit inside the main game engine (source). In fact, the developers left not one, but two exploits in the code: one for sending / receiving files and one that allows clients to launch plugins. It happens that clients launch plugins, upload custom plugins to servers, then servers launch them and, as a result, create remote desktop accounts that these exploiters use to access the machines. (Theres actually a youtube video someone is breaking into one of our lol boxes)

I spent all day creating a fix for this by blocking the server-side SendFile () and RecieveFile () functions, however my employer requested that when I do this, I use the exploit to access the box in which he lost his password . Therefore, I wrote all the necessary code, except that I need to create a temporary account, as these exploiters do. Therefore, any help with code when creating a Windows account from C ++ would be most appreciated. I was told that there are many patterns in Google, but obviously Google’s skills are not up to standard.

+3
source share
1 answer

NetUserAdd NULL ( ). ++, .

+5

Source: https://habr.com/ru/post/1728695/


All Articles