logo

Epic Pentest Fail

ID: da6715de-81ed-592e-ba50-acc5d76636b4

STIX ID: report--da6715de-81ed-592e-ba50-acc5d76636b4

Feed Name: SpecterOps Blog

Date Published: 2025-10-30

Date Updated: 2026-04-30

Author: Forrest Kasler

...
...

A penetration test narrative describes discovering exposed keys leading to Entra app secrets, using BloodHound/AzureHound to map a path to Global Admin and successfully escalating privileges; during cleanup, a PowerShell escaping mistake in a Microsoft Graph DELETE to `directoryRoles/.../members/$ref` deleted the service principal instead of removing GA membership, necessitating recovery via `deletedItems/restore`. The post highlights relevant cloud TTPs (app credential abuse, role membership manipulation), operational risks, and lessons for safer API use and design (avoid special characters in URLs, adhere to SRP), emphasizing careful syntax validation and preferring shells that handle `$ref` correctly.

Your team is not currently subscribed to this feed. You must subscribe to it in order to see this post.