Skip to content
Account takeover Write-up Intermediate

Azure Cloud Takeover

A phishing attack captured a user's password, and the victim approved a Microsoft push-based MFA prompt, giving the attacker access to Office 365 and linked apps. The attacker then used a non-admin Azure AD account to sign up for an Azure trial, which granted Owner rights to a new subscription inside the victim's tenant.

pentestpartners.com

Published on pentestpartners.com

A tempting phish got lots of users to disclose their passwords, and a lack of training resulted in the victims accepting the Microsoft push-based multi-factor authentication.

PTP Admin, on pentestpartners.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Impact

The attacker gained access to Slack, Atlassian, and Azure, and became Owner of a victim-funded Azure subscription, which could be used to launch further attacks or mine cryptocurrency.

What the attacker needed

Victim clicks a phishing link; victim enters password; victim approves MFA push; attacker has a phone number for verification

The fix

The text recommends restricting push-based MFA, reviewing O365/Azure apps and Delve permissions, and providing user training on MFA and social engineering; it does not state that these were implemented.

How it was found

  1. Perform reconnaissance to gather email addresses, personnel details, domains, and public portals.
  2. Buy a similar-looking domain and create a phishing email with a link to a fake login portal.
  3. Send the phishing email; a user enters their password on the fake site.
  4. The user approves the Microsoft push-based MFA prompt, allowing the attacker to log in.
  5. Use the compromised account to access Office 365 apps like Slack, Jira, and BitBucket via single sign-on.
  6. Sign up for an Azure trial subscription as a non-admin user, which grants Owner RBAC permissions to the new subscription.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

This is a story about a phishing attack, where a fake login page tricks someone into typing their password. The victim also approved a push notification on their phone, which was the second security check. Because the attacker got in, they could use other connected apps and even create a new paid cloud service under the company's name without paying for it.

What is Account takeover?

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.