Storm-3168: compromised service principals in Azure
On 25 September 2026, Microsoft published an analysis of an attack on an Azure tenant attributed to the group it tracks as Storm-3168. The attacker used two compromised service principals: it mapped resources for more than 15 hours, then tried, in about seven minutes, to delete more than 100 storage accounts along with a Key Vault, applications and backup protections.
The way in was not a vulnerability but a secret: a service principal’s credentials posted in a public GitHub issue and still visible in its edit history after the text was corrected. This article covers what to check in Entra ID and Azure so the same scenario does not work against you.
What Microsoft reports
In early June 2026, two service principals in the same tenant were compromised. The first performed reconnaissance, with more than 300 successful read operations against subscriptions, resource groups and virtual machines. The second combined discovery with destruction and credential collection. Assigned roles included Storage Account Contributor, Contributor and SQL DB Contributor.
In the destructive window there were more than 100 storage account deletion attempts, most of them successful; some were blocked by resource locks. Azure SQL database deletions failed. A Key Vault, a Function App and an App Service Plan were deleted, and the attacker targeted Azure Backup and Site Recovery protection locks. Key collection followed within half an hour, with more than 30 successful ListKeys requests against storage accounts.
Microsoft did not observe a ransom note and did not confirm data exfiltration. The affected organisation is not named. Microsoft assesses the operation as “agentic”, meaning automated by an AI agent, based on its timing, the division of work between identities and tokens used in parallel. That is Microsoft’s assessment, not something verifiable from outside.
The JADEPUFFER link
Microsoft links Storm-3168 to JADEPUFFER, a group Sysdig described in July 2026 as the first documented case of agentic ransomware. Sysdig then observed initial access through an exposed Langflow instance (CVE-2025-3248) and an automated database extortion playbook. The new analysis shows the same focus on destruction, but in a cloud environment and starting from a compromised identity rather than a vulnerability.
Find exposed secrets and treat them as compromised
- ▸Scan code, issues, wikis, pipelines and their history for client IDs, secrets and tenant IDs. A deleted or edited secret remains in Git history and in issue edit history.
- ▸Revoke and replace any secret found in a public place, even if it has already been removed from the text. Microsoft stresses that removing an exposed secret does not invalidate it.
- ▸Inventory each service principal’s secrets and certificates: expiry date, last use and owner. Long-lived secrets with no owner are the first to remove.
- ▸Where possible, replace secrets with managed identities or workload identity federation (Workload ID), for example for GitHub Actions, so there is no long-lived secret to leak.
Limit what a compromised identity can do
- ▸Review service principal RBAC assignments. A subscription-wide Contributor role turns a leaked secret into the ability to delete the whole environment.
- ▸Apply Conditional Access policies for workload identities, such as location or IP range restrictions, where licensing allows.
- ▸Put CanNotDelete resource locks on critical and backup resources. In this attack, locks blocked some deletions.
- ▸Enable soft delete for storage accounts and Key Vault, and immutability for Azure Backup, so deletion is not final and recovery does not depend on the same rights the attacker holds.
Detect the pattern before the destructive phase
Reconnaissance took more than 15 hours; deletion took minutes. Useful detection happens in the first phase. Microsoft points to the AzureActivity table for Azure Resource Manager operations and AADServicePrincipalSignInLogs for service principal sign-ins.
- ▸Service principal sign-ins from IP addresses or countries not used before.
- ▸An unusual volume of read and enumeration operations on subscriptions and resource groups from one identity.
- ▸Bursts of delete operations, or ListKeys requests across many storage accounts.
- ▸Changes to or deletion of locks, backup policies and Site Recovery resources.
- ▸Defender for Cloud alerts such as Azure Resource Manager operations from a suspicious proxy IP address or an unusual operation pattern in a key vault.
What evidence to keep
Awarely Monitor tracks vulnerabilities, owners and remediation evidence for your assets. Identity inventory, secret rotation and detection rules stay in Entra ID, Azure and your SIEM.
- ▸The service principal inventory, their roles, active secrets and last rotation date.
- ▸Secret scanning results and the action taken for each secret found.
- ▸Resources protected by locks, soft delete and immutability, checked after configuration.
- ▸Active detection rules for AzureActivity and AADServicePrincipalSignInLogs.
How to monitor CVEs and get alerts for products in your inventory