Skip to content

Commit 7a638e2

Browse files
authored
Enhance README with detailed AD permissions information
Expanded the explanation of Active Directory permissions and added key fields for better understanding.
1 parent 0443c20 commit 7a638e2

1 file changed

Lines changed: 23 additions & 11 deletions

File tree

README.md

Lines changed: 23 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -589,17 +589,29 @@ Audits Active Directory ACEs that apply to a user through direct and nested secu
589589
.\Get-AdPrincipalPermissions.ps1 -Username "XXX\mcontestabile" -Domain "DC=YYYYYY,DC=net"
590590
```
591591

592-
Each row in the output indicates a single permission grant:
593-
- ObjectDN
594-
The exact AD container or object that holds the ACE.
595-
- Principal
596-
Either the user account or one of their groups.
597-
- Rights
598-
The bitwise rights
599-
600-
Keep an eye out for anything that shows
601-
GenericAll or FullControl (Grants the user or group unrestricted rights over objects in sensitive OUs)
602-
WriteProperty or DeleteChild (Rights that allow modifying critical attributes (password resets, group membership) or removing child objects (users, computers))
592+
Key fields include:
593+
594+
ObjectDN: Distinguished name of the AD object whose security descriptor contains the ACE.
595+
ObjectClass: Type of AD object, such as a user, group, organizational unit, computer, or Group Policy container.
596+
Principal: Target user or group to which the ACE applies.
597+
PrincipalType: Whether the matching principal is the user or an AD security group.
598+
Rights: Active Directory rights recorded in the ACE.
599+
AccessControlType: Indicates whether the ACE allows or denies the listed rights.
600+
IsInherited: Indicates whether the ACE is explicit on the object or inherited from a parent.
601+
ObjectType: Attribute, object class, property set, or extended right scoped by the ACE.
602+
RiskSeverity / RiskReason: Triage guidance generated by the script. These fields assist review but do not replace validation of the affected object and scoped right.
603+
Rights that warrant closer review
604+
605+
Prioritize ACEs containing:
606+
607+
GenericAll: Full control over the affected AD object.
608+
GenericWrite: Broad ability to modify writable properties.
609+
WriteDacl: Ability to change the object’s permissions and potentially grant additional access.
610+
WriteOwner: Ability to assume ownership and potentially alter permissions.
611+
WriteProperty: Ability to modify one or more attributes. Impact depends on the attribute or property set shown in ObjectType.
612+
ExtendedRight: A scoped control right whose impact depends on ObjectType. Some extended rights are sensitive, while others, such as Apply Group Policy, are expected and low risk.
613+
CreateChild / DeleteChild: Ability to create or remove specific child-object types beneath a container or OU.
614+
Delete / DeleteTree: Ability to delete an object or an object subtree.
603615

604616
---
605617
### `delegated_rights.ps1`

0 commit comments

Comments
 (0)