GhostSP v2.1.4

Module Overview

GhostSP is an advanced automation utility for Azure Active Directory that programmatically creates and manages "shadow" Service Principals (SPs). It generates new SPs with names and permission sets mimicking legitimate DevOps accounts, automates their lifecycle, and provides interfaces for stealthy persistence.

Automation

Automates SP creation, credential rotation, and CI/CD pipeline injection

Stealth

Mimics legitimate accounts to evade detection

Interfaces

Provides CLI and REST interfaces for management

Advanced Red Team Tactics

Egress Filter Bypass

GhostSP can tunnel traffic through legitimate Azure services to bypass network egress filters.

T1071 T1572

AV Evasion

Uses Azure-native APIs and PowerShell remoting to avoid traditional AV detection vectors.

T1059 T1027

Privilege Escalation

Exploits Azure RBAC misconfigurations to escalate from Reader to Contributor/Owner.

T1078 T1098