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.
- Autor
- Florian Roth
- Fecha
- 2025-05-22
- Modificada
- 2026-05-15
- Puntuación / Calidad
- 75 / 85
Qué detecta esta regla
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.
Define 3 patrones (3 de texto, 0 hex, 0 regex).
Resumen generado a partir de los metadatos y la condición de la regla.
Código de la regla
rule SIGNATURE_BASE_HKTL_EXPL_WIN_PS1_Badsuccessor_May25 : FILE
{
meta:
= "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."
= "Florian Roth"
= "4f6ff5ff-831a-520c-8bc5-6fec5e65f9de"
= "2025-05-22"
= "2026-05-15"
= "https://www.akamai.com/blog/security-research/abusing-dmsa-for-privilege-escalation-in-active-directory"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/hktl_badsuccessor_helper_may25.yar#L2-L16"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "a023bced4aec2b2c601088367766f42a3fcf36053c7eb92985cc7468c7cd6cb0"
= 75
= 85
= "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
}
Cadenas (3 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $x1 | texto | "function Get-BadSuccessorOUPermissions" | ascii wide |
| $x2 | texto | "\"0feb936f-47b3-49f2-9386-1dedc2c23765\"=\"msDS-DelegatedManagedServiceAccount\"" | ascii wide |
| $x3 | texto | "CreateChild|GenericAll|WriteDACL|WriteOwner" | ascii wide |
Condición
filesize < 20MB and 1 of themEn palabras sencillas (Heurística)
- El archivo debe ocupar menos de 20MB (un límite barato que descarta archivos grandes).
- Deben coincidir al menos 1 patrones de la regla.
Prueba esta regla en tu navegador
Arrastra un archivo para escanearlo con esta regla usando YARA-X compilado a WebAssembly. No se sube nada.
Licencia y atribución
Autor: Florian Roth
Repositorio de origen: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
Licencia: Detection Rule License 1.1 (licencia del repositorio)
Obtenida a través de YARA Forge 20260927, que añade a los nombres el prefijo de la fuente y campos meta normalizados.
Id de la regla: 4f6ff5ff-831a-520c-8bc5-6fec5e65f9de
Etiquetas:FILE
Reglas relacionadas
- Herramienta ofensivaSignature Base (Florian Roth / Nextron)· Florian Roth· 2023-06-08
- Herramienta ofensivaSignature Base (Florian Roth / Nextron)· Florian Roth· 2026-05-05
- Herramienta ofensivaSignature Base (Florian Roth / Nextron)· Florian Roth· 2025-09-30
- Herramienta ofensivaSignature Base (Florian Roth / Nextron)· Florian Roth· 2023-10-01
- Herramienta ofensivaSignature Base (Florian Roth / Nextron)· Florian Roth· 2023-10-01
- Herramienta ofensivaSignature Base (Florian Roth / Nextron)· Florian Roth· 2022-08-17
- Herramienta ofensivaSignature Base (Florian Roth / Nextron)· Florian Roth· 2025-10-26
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth· 2023-04-15