Skip to content

Commit a2614a0

Browse files
authored
Enhance README with key fields and review guidance
Added detailed explanations of key fields and rights that warrant closer review in the README.
1 parent 7a638e2 commit a2614a0

1 file changed

Lines changed: 33 additions & 20 deletions

File tree

README.md

Lines changed: 33 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -589,29 +589,42 @@ 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-
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
592+
## Understanding the output
593+
594+
Each output row represents one matching Access Control Entry associated with the target user or one of the user's direct or nested security groups.
595+
596+
### Key fields
597+
598+
- **ObjectDN:** Distinguished name of the AD object whose security descriptor contains the ACE.
599+
- **ObjectClass:** Type of AD object, such as a user, group, organizational unit, computer, or Group Policy container.
600+
- **Principal:** Target user or group to which the ACE applies.
601+
- **PrincipalType:** Whether the matching principal is the user or an AD security group.
602+
- **Rights:** Active Directory rights recorded in the ACE.
603+
- **AccessControlType:** Indicates whether the ACE allows or denies the listed rights.
604+
- **IsInherited:** Indicates whether the ACE is explicit on the object or inherited from a parent.
605+
- **ObjectType:** Attribute, object class, property set, or extended right scoped by the ACE.
606+
- **RiskSeverity / RiskReason:** Triage guidance generated by the script. These fields assist review but do not replace validation of the affected object and scoped right.
607+
608+
## Rights that warrant closer review
604609

605610
Prioritize ACEs containing:
606611

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.
612+
- **GenericAll:** Full control over the affected AD object.
613+
- **GenericWrite:** Broad ability to modify writable properties.
614+
- **WriteDacl:** Ability to change the object's permissions and potentially grant additional access.
615+
- **WriteOwner:** Ability to assume ownership and potentially alter permissions.
616+
- **WriteProperty:** Ability to modify one or more attributes. Impact depends on the attribute or property set shown in `ObjectType`.
617+
- **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.
618+
- **CreateChild / DeleteChild:** Ability to create or remove specific child-object types beneath a container or OU.
619+
- **Delete / DeleteTree:** Ability to delete an object or an object subtree.
620+
621+
Always evaluate:
622+
623+
1. The affected object in `ObjectDN`
624+
2. Whether the ACE is explicit or inherited
625+
3. The granting principal
626+
4. The scoped attribute, class, or extended right in `ObjectType`
627+
5. Whether the permission is required for the principal's documented function
615628

616629
---
617630
### `delegated_rights.ps1`

0 commit comments

Comments
 (0)