PowerView Commands

Powerview Domain Enumeration

Get iformation about current domain, its child domain, its forest, current domain's domain controller and other info.

Get-NetDomain

Gets same info as above for another domain or forest here in this case is forest.

Get-NetDomain -Domain moneycorp.local

Gets info like Kerberos policy, System ACcess, Version, Registry Values, Unicode, etc.

Get-DomainPolicy

Gets min/max password age, min password length, Clear text password, complexicity, etc.

(Get-DomainPolicy)."System Access"

Gets info like Max ticket age, max service age, max renew age, etc. Here in attacks like golden ticket we may want to keep max ticket or max renew age as default shown in the output to bypass defense.(Some detection tools check this if max ticket or renew age is greater than default domain policy).

(Get-DomainPolicy)."Kerberos Policy"

Gets policy for another domain, forest in this case.

Get-DomainPolicy -domain moneycorp.local

same as above for password policy of another domain.

(Get-DomainPolicy -domain moneycorp.local)."System Access"

Get the name and ip address of the domain controller

Gets the ip address and domain controller of another domain in this case forest

Get SID of domain

Computer Enumeration

Get all computer objects with all properties

Get only the names of computers in a domain

Get only the names of computers in another domain

Get computer objects with specific os

Get domain computer and check if it can be reached or not

User Enumeration

Get all domain users with their default properties

Get information of a domain user with default properties

Get usernames of all domain users and their logoncount

Get information about a domain user with all properties

Search for particular string in a user's attribute

Get Domain Admins

Group Enumeration

Get all groups in current domain

Get all groups in current domain with all properties

Get all groups of target domain

Get all groups containing word admin in group name

Get members of Domain Admins group

Get members of Enterprise Admins group

Get group membership for a user

List all local groups on a machine(needs administrator priv on non-dc machines)

Get members of the above local group "Administrators" on a machine(needs administrator priv on non-dc machines)

Logon Enumeration

This requires administrative rights on target computer

Get actively logged users on a computer

Get locally logged users on a computer

Get last logged user on a computer

Forest Enumeration

Get details about current forest

Get details about another forest

Get all domains in the current forest

Get all domains in another forest

Get all global catalogue for current forest

Get all global catalogue for another forest

Last updated