← Back to SOC feed Coverage →

Detects PowerShell tool called Get-BadSuccessorOUPermissions.ps1 that helps exploit a vulnerability in Active Directory.

yara HIGH signature-base
expl_winexploitflorian-rothpowershell
This rule was pulled from an open-source repository and enriched with AI. Validate in a test environment before deploying to production.
View original rule at signature-base →
Retrieved: 2026-08-05T23:00:00Z · Confidence: medium

Hunt Hypothesis

This hunt hypothesis detects adversaries leveraging the Get-BadSuccessorOUPermissions.ps1 PowerShell tool to identify principals capable of executing BadSuccessor attacks within Active Directory, a technique often used to escalate privileges and manipulate object ownership. SOC teams should proactively search for this activity in Azure Sentinel because early identification of these permission anomalies allows for immediate remediation before attackers can exploit the vulnerability to compromise critical directory structures.

YARA Rule

rule HKTL_EXPL_WIN_PS1_BadSuccessor_May25 {
   meta:
      description = "Detects PowerShell tool called Get-BadSuccessorOUPermissions.ps1 that helps exploit a vulnerability in Active Directory. Lists every principal that can perform a BadSuccessor attack and the OUs where it holds the required permissions."
      author = "Florian Roth"
      reference = "https://www.akamai.com/blog/security-research/abusing-dmsa-for-privilege-escalation-in-active-directory"
      date = "2025-05-22"
      score = 75
      id = "4f6ff5ff-831a-520c-8bc5-6fec5e65f9de"
   strings:
      $x1 = "function Get-BadSuccessorOUPermissions" ascii wide
      $x2 = "\"0feb936f-47b3-49f2-9386-1dedc2c23765\"=\"msDS-DelegatedManagedServiceAccount\"" ascii wide
      $x3 = "CreateChild|GenericAll|WriteDACL|WriteOwner" ascii wide
   condition:
      filesize < 20MB and 1 of them
}

Deployment Notes

This YARA rule can be deployed in the following contexts:

This rule contains 3 string patterns in its detection logic.

References

False Positive Guidance

Here are 3-5 specific false positive scenarios for the Get-BadSuccessorOUPermissions.ps1 detection rule, including suggested filters and exclusions:

Original source: https://github.com/Neo23x0/signature-base/blob/main/yara/hktl_badsuccessor_helper_may25.yar