Persistence
Windows User Administration
Add User on Local Computer
net user /add $USERNAME *Change Local User Password
net user $USERNAME *Add New User Account to Domain
net user $USERNAME * /ADD /DOMAINAdd User to Local Group
net localgroup $GROUPNAME $USERNAME /addAdd user to Remote Desktop User Group
net group "Remote Desktop User" $USERNAME /addAdd user to Domain Group
net group $GROUPNAME $USERNAME /add /domainPowershell Add Firewall Rule
New-NetFirewallRule -Action Allow -DisplayName Pentester-C2 -RemoteAddress
For persistence section: https://ss64.com/nt/net-config.html
Last updated
Was this helpful?