githubEdit

LDAP \ LDAPS

LDAP / LDAPS

The following modules below are all exclusive to the LDAP or LDAPS method within PsMapExec.

Example Usage

PsMapExec LDAP -Targets DC01.security.local -Module "<ModuleName>"

Machine Account Quota (MAQ)

Gets the domain Machine Account Quota value.

PsMapExec ldap -Targets DC01 -Username Arbiter -Password "Password123!"  -Module MAQ

AddComputer

Adds a new computer account to the domain

PsMapExec ldap -Targets DC01 -Username Arbiter -Password "Password123!"  -Module addcomputer

AddSPN

Adds a new random SPN to the target account

PsMapExec ldap -Targets DC01 -Username Arbiter -Password "Password123!" -Module AddSPN -TargetDN "CN=Moe,CN=Users,DC=SECURITY,DC=LOCAL"

RemoveSPN

Removes ALL SPNs from the target account

AddToGroup

Adds a specified object to a group

RemoveFromGroup

Removes a specified object from a group

ToggleAccount

Enables / Disabled the specified user or computer account

ResetPassword

Resets the password of the account to a random value

AddComputer

Adds a new computer account "Evil_*" to the domain with a random value password

RemoveComputer

Removes the specified computer account from the domain

Elevate

Elevates the specified account to perform DcSync within the domain

AddRBCD

Grant a trustee (-SID S-1-5-21-55... ) ms-DS-Allowed-To-Act-On-Behalf-Of-Other-Identity to the specified account

RemoveRBCD

Clears the ms-DS-Allowed-To-Act-On-Behalf-Of-Other-Identity attribute the for target

Timeroast

Performs authenticated timeroasting.

Last updated