Operator On The Wire
Join
← Back to Knowledge Base
BLUE TEAM / THREAT HUNT / ACTIVE DIRECTORY / DELEGATION ABUSE

RBCD

This note documents detection patterns related to Resource Based Constrained Delegation within Active Directory environments.


Direct Indicators

LogEvent IDMeaningForensic ValueNotes
Security5136Directory object modifiedCriticalPrimary indicator. Review modifications to msDS-AllowedToActOnBehalfOfOtherIdentity attribute on computer objects. This attribute enables Resource Based Constrained Delegation (RBCD).
Security4741Computer account createdHighAttackers often create a new machine account to use in RBCD attacks.
Security4742Computer account changedHighModification of computer object attributes may indicate RBCD preparation.
Security4769Kerberos service ticket requestHighUnusual service ticket requests after RBCD configuration may indicate impersonation via S4U2Proxy.
Security4624Successful logonHighLogonType 3 or 9 may appear when delegated authentication is used for lateral movement.
Security4688Process creationMediumExecution of tools capable of abusing RBCD such as Rubeus or Impacket.
Sysmon1Process creationHighLook for execution of Rubeus, PowerShell scripts, or Impacket utilities.

Indirect Indicators

IndicatorWhat To Look ForForensic ValueNotes
Modification of delegation attributesChanges to msDS-AllowedToActOnBehalfOfOtherIdentityCriticalCore configuration change enabling RBCD.
New machine accountsCreation of machine accounts outside normal provisioning workflowsHighAttackers often create rogue machine accounts to exploit RBCD.
Service ticket requests from unexpected hostsKerberos ticket requests originating from unusual workstationsHighOften attacker-controlled host performing impersonation.
Service account impersonationService accounts requesting tickets for privileged usersHighIndicates possible abuse of delegation.
Unexpected lateral movementAuthentication events shortly after RBCD configurationHighAttackers often pivot immediately after configuring RBCD.

Common Tools

ToolUsage
Impacket (rbcd.py / getST.py)Used to configure and exploit resource based constrained delegation.
RubeusSupports S4U operations used after RBCD configuration.
PowerViewUsed to modify AD attributes including delegation settings.
BloodHound / SharpHoundIdentifies RBCD abuse paths within Active Directory.
Cobalt StrikeUsed to execute Kerberos ticket abuse modules.

Relevant Artifacts

  • Domain controller Security logs (5136, 4741, 4742, 4769)
  • Directory Service logs
  • Sysmon logs (1)
  • AD attribute change history
  • Delegation attributes on computer objects
  • EDR telemetry identifying Kerberos abuse tooling
  • Prefetch artifacts showing execution of exploitation tools
  • MFT artifacts indicating tool deployment

MITRE ATT&CK References

  • T1558 Steal or Forge Kerberos Tickets
  • T1550 Use Alternate Authentication Material
  • T1134 Access Token Manipulation
  • T1078 Valid Accounts

Decision Tree

  1. Is the suspicious event present?
    • Look for Event 5136 modifying msDS-AllowedToActOnBehalfOfOtherIdentity.
  2. What host generated the event?
    • Identify the system modifying the computer object in Active Directory.
  3. Is the account expected to perform this action?
    • Normally only domain administrators modify delegation attributes.
  4. Pivot:
    • Source host → inspect process execution and administrative tools.
    • Account → review privilege escalation or machine account creation.
    • Network → identify Kerberos service ticket requests following modification.
  5. Confirm exploitation
    • Determine whether attacker used delegated access to authenticate to other systems.

Example Detection Templates

KQL

SecurityEvent
| where EventID == 5136
| where AttributeLDAPDisplayName == "msDS-AllowedToActOnBehalfOfOtherIdentity"
| project TimeGenerated, SubjectUserName, ObjectDN
SecurityEvent
| where EventID == 4741
| project TimeGenerated, TargetUserName, SubjectUserName, Computer

EQL

any where event.code == "5136" and winlog.event_data.AttributeLDAPDisplayName == "msDS-AllowedToActOnBehalfOfOtherIdentity"

Sigma

title: Resource Based Constrained Delegation Configuration
id: rbcd-attribute-modification
status: experimental
description: Detects modification of msDS-AllowedToActOnBehalfOfOtherIdentity attribute
logsource:
  product: windows
  service: security
detection:
  selection:
    EventID: 5136
    AttributeLDAPDisplayName: "msDS-AllowedToActOnBehalfOfOtherIdentity"
  condition: selection
fields:
  - SubjectUserName
  - ObjectDN
falsepositives:
  - Legitimate delegation configuration changes by administrators
level: high
tags:
  - attack.credential_access
  - attack.t1558

Mitigation & Hardening

Control AreaMitigationEffectivenessNotes
Machine account creationRestrict ability to create computer objects in ADHighPrevents attackers from introducing rogue machine accounts.
Delegation auditingMonitor changes to delegation-related attributesHighEarly detection of RBCD configuration.
Least privilegeLimit rights that allow modification of computer objectsHighReduces attack surface.
Privileged account monitoringAlert on admin actions modifying delegation settingsHighDetects misuse of privileged accounts.
Security reviewsRegularly audit delegation configurations across ADHighHelps identify risky configurations.