Skip to content
leg3ndProjects & tools
01Home02Projects03Tools04Notes
GMT+8
O/ OSCP exploitation reference
Workspace controls Memory only · 0 steps
Visualize path ↗
Command values 0 filled

Temporary connection values clear on reload. Passwords, hashes and tickets remain placeholders. Check address-family syntax in the selected command.

Reference index ↗ Search all procedures & variants ↗
01Discovery02Enumeration03Initial access04Usable access05Local privilege06Active Directory07Internal access08Evidence & reporting

QUICK REFERENCE

Discovery›Services›Web mapping›Web exploitation›Credentials›Public exploits›Sessions & transfers›Linux escalation›Windows escalation›AD enumeration›AD identity attacks›Lateral movement›Pivoting & tunnels›Execution troubleshooting›Integration & evidence›
174 methods · 15 topicsFull reference on GitHub ↗Commands · scripts · next steps
Tools/OSCP/Active Directory/AD identity attacks
← All ad identity attacks tasks

Reset a target account password through a validated directory right

CommandsIf → thenExplanation & examples

Needs: Exact object/right and account state; the disruptive password change is justified within the assigned lab objective

PowerShell commands

# Baseline
$Secure = ConvertTo-SecureString 'TEMP_PASSWORD' -AsPlainText -Force
Set-DomainUserPassword -Identity TARGET_USER -AccountPassword $Secure -Verbose
net user TARGET_USER TEMP_PASSWORD /domain

Validate the account state and authenticate only to an approved service as the target identity. Prefer a reversible route when one exists.

Verify → Verify account identity and compatible authentication, then test relevant authorization.

If it fails → A stale/protected-object edge or policy can prevent the reset. Prefer a reversible SPN/group route when it achieves the objective. More detail ↓

If → then

  • A password tied to a plausible user and service → Validate known passwords and context-specific reuse

    Needs: Correct local/domain/application identity, reachable compatible service, accepted authentication and account state

  • Group-to-host access edges or a privileged user's possible session → Validate host access and volatile session candidates

    Needs: Reachable destination service and its actual authorization; session evidence must be current and collection rights sufficient

  • A credential appears valid but the destination's usable access is unknown → Match route, destination service and effective authorization

    Needs: Real source-to-service route, correct identity context and protocol-specific execution/logon rights

No useful finding → another task in this topic. Failed check → resolve the failure before ruling out the path.

Explanation & examples

Reset a target account password through a validated directory right

USE WHEN
A controlled trustee has the effective password-reset right on a useful account
STARTING ACCESS
A domain identity, appropriate host privilege, or a validated effective directory-object right
RESULT
A new known credential for the target identity

Recognize the clue

Follow a mapped useful-user ACL edge and resolve the actual password-reset extended right for the controlled trustee.

Get-DomainObjectAcl -Identity TARGET_USER -ResolveGUIDs
SYNTHETIC EXAMPLE OUTPUT
Trustee: CONTROLLED_GROUP
Right: ExtendedRight
Resolved operation: password reset
Target: TARGET_USER

Means: An applicable reset operation changes a target credential; it does not reveal the old password.

Confirm: Validate effective membership, protection/account state, account utility and the authorized impact of a disruptive reset.

After validation
The right applies and the authorized new credential is accepted: follow that identity's actual rights.
Ruled out in this context
Only an unrelated property-write right applies: reject password reset through this ACE.
Still inconclusive
An unresolved extended-right GUID or stale group edge needs effective-right resolution first.

Troubleshooting: A stale/protected-object edge or policy can prevent the reset. Prefer a reversible SPN/group route when it achieves the objective.

Additional prerequisite checks

Get-DomainObjectAcl -Identity TARGET_USER -ResolveGUIDs
Get-DomainUser -Identity TARGET_USER

A password-reset right creates a new password credential; it does not reveal the old one. This is disruptive because an unknown original password cannot be restored.

Validate the account state and authenticate only to an approved service as the target identity. Prefer a reversible route when one exists.

Why it works

Reset changes the credential; it does not reveal or preserve the unknown original password. Its value depends on the target account's actual rights and service policy.

Worked example · hypothetical

Observation: the effective reset right applies to a service account. Test: confirm its utility and choose the authorized transition. Illustrative output: the newly set password authenticates as that account. Interpretation: re-enumerate its exact access.

New identity, privilege, host or route? Re-enumerate → All topic tasks →

Study guide ↗Full procedure ↗Cheatsheet ↗
HomeProjectsToolsNotes
Interactive toolsOSCP notes ↗Extended OSCP workspace ↗Attack-path visualizer ↗

© 2026 Armaan. Built with curiosity.

GitHub ↗GMT+8