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

Link Abuse

This note documents detection patterns related to GPO Link Abuse within Active Directory environments.


Direct Indicators

LogEvent IDMeaningForensic ValueNotes
Security5136Directory object modifiedCriticalgPLink attribute changed.
Security4739Domain policy changedHighPolicy linking affecting domain.

Indirect Indicators

IndicatorWhat To Look ForForensic ValueNotes
gPLink attribute modificationPolicy linked to new OU or domainCriticalIndicates policy deployment.
Policy affecting many hostsLarge scope OU targetedHighMass compromise vector.
Domain Controllers OU linkedPolicy targeting DCsCriticalHigh impact attack.

Common Tools

ToolUsage
SharpGPOAbuseLinks malicious policy.
PowerViewManipulates policy links.
PowerShellNew-GPLink usage.

Relevant Artifacts

  • Active Directory object metadata
  • SYSVOL policies
  • Security logs
  • EDR telemetry

MITRE ATT&CK References

  • T1484 Domain Policy Modification

Decision Tree

  1. Detect gPLink modification.
  2. Identify linked GPO.
  3. Identify scope of deployment.
  4. Inspect payload inside policy.
  5. Identify affected hosts.

Example Detection Templates

KQL

SecurityEvent
| where EventID == 5136
| where AttributeLDAPDisplayName == "gPLink"

Sigma

title: Suspicious GPO Link Change
logsource:
  product: windows
  service: security
detection:
  selection:
    EventID: 5136
  condition: selection
level: high