Zum Inhalt springen

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_HKTL_EXPL_WIN_PS1_Badsuccessor_May25

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.

HacktoolSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Kompiliert mit YARA-X
Autor
Florian Roth
Datum
2025-05-22
Geändert
2026-05-15
Score / Qualität
75 / 85

Was diese Regel erkennt

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.

Sie definiert 3 Muster (3 Text, 0 Hex, 0 Regex).

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

hktl-expl-win-ps1-badsuccessor-may25.yarDetection Rule License 1.1
rule SIGNATURE_BASE_HKTL_EXPL_WIN_PS1_Badsuccessor_May25 : FILE
{
	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"
		id = "4f6ff5ff-831a-520c-8bc5-6fec5e65f9de"
		date = "2025-05-22"
		modified = "2026-05-15"
		reference = "https://www.akamai.com/blog/security-research/abusing-dmsa-for-privilege-escalation-in-active-directory"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/hktl_badsuccessor_helper_may25.yar#L2-L16"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "a023bced4aec2b2c601088367766f42a3fcf36053c7eb92985cc7468c7cd6cb0"
		score = 75
		quality = 85
		tags = "FILE"

	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
}

Strings (3 Muster)

BezeichnerTypWertModifikatoren
$x1Text"function Get-BadSuccessorOUPermissions"ascii wide
$x2Text"\"0feb936f-47b3-49f2-9386-1dedc2c23765\"=\"msDS-DelegatedManagedServiceAccount\""ascii wide
$x3Text"CreateChild|GenericAll|WriteDACL|WriteOwner"ascii wide

Bedingung

filesize < 20MB and 1 of them

In Worten (Heuristik)

  • Die Datei muss kleiner als 20MB sein (eine günstige Grenze, die große Dateien ausschließt).
  • Mindestens 1 Muster aus der Regel müssen treffen.

Diese Regel im Browser testen

Legen Sie eine Datei ab, um sie mit dieser Regel und YARA-X als WebAssembly zu scannen. Nichts wird hochgeladen.

Datei hier ablegen oder klicken zum AuswählenLokal mit YARA-X gescannt. Dateien bis 200 MB.

Im Editor öffnen

Referenzen

Lizenz & Namensnennung

Autor: Florian Roth

Quell-Repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a

Lizenz: Detection Rule License 1.1 (Repository-Lizenz)

Originalregel

Gespiegelt über YARA Forge 20260927, das Regelnamen mit der Quelle präfixiert und normalisierte Meta-Felder ergänzt.

Regel-ID: 4f6ff5ff-831a-520c-8bc5-6fec5e65f9de

Tags:FILE