Intermediate Lab
![]()
Gain Initial Access via Social Engineering
In real-world breaches, threat actors frequently sidestep hardened network and IAM defenses by targeting people instead, leveraging social engineering tactics like phishing or vishing to gain initial access.
Overview
Scenario
You are conducting a red team engagement for a global financial services firm. The engagement's authorized scope includes both their infrastructure and that of their trusted Managed Security Services Provider (MSSP). You begin your assessment from an external perspective, starting with the MSSP's public-facing website to identify potential entry points.
Lab prerequisites
- Familiarity with the command line
- Basic cybersecurity knowledge
- Familiarity with Azure concepts
Learning outcomes
- Finding the Tenant ID of a company externally
- Leverage support chat for social engineering
- Abuse the Self-Service Password Reset functionality to gain access
- Leverage Azure DevOps to move across tenants
- Perform data decryption using Azure Key Vault
Real-world context
In real-world breaches, threat actors frequently sidestep hardened network and IAM defenses by targeting people instead, leveraging social engineering tactics like phishing or vishing to gain initial access. Instead of sending a malicious document or relying on credential stuffing, attackers may choose to abuse a permissive Self-Service Password Reset (SSPR) policy. Because SSPR is seen as a helpful, legitimate feature, its risks are often overlooked. When abused, it allows threat actors to gain valid credentials to an environment. The lab also explores how the well-adopted Azure DevOps offers a rich surface for lateral movement and privilege escalation, and how access via compromised third parties like MSSPs can result in a breach.
In April 2025, Marks & Spencer (M&S), one of the UK’s major retail chains, suffered a significant cyberattack that disrupted online clothing orders and gift card services. What was first believed to be a technical fault was potentially traced back to a compromise of a third-party vendor. The attackers reportedly used social engineering to gain access, highlighting the risks posed by indirect paths into well-defended environments. The cyber attack resulted in approximately £300 million ($403 million) in lost operating profit and an estimated $1 billion drop in their valuation.
KEY TAKEAWAY
Account recovery is authentication's back door. Every control you place on the front door is bypassed if someone can convince a support process to reset the credential, and recovery processes are usually designed for convenience by a team that does not own security.
What this lab covers
You identify an organization's tenant from outside, use its support channel to establish a pretext, and abuse the self-service password reset process to take over an account.
The lab is about process rather than technology, which is exactly why it belongs in a cloud security curriculum. The strongest identity configuration in the world is undone by a helpdesk that resets a password on the strength of information an attacker can look up.
It is rated intermediate and is as relevant to whoever designs your support workflows as to a red teamer.
How account recovery abuse works
Tenant discovery comes first and is unauthenticated. Microsoft exposes endpoints that confirm whether a domain corresponds to a tenant and return its identifier, so establishing that a target uses Entra ID and finding the tenant is trivial and leaves no trace with the target.
The pretext then relies on knowable facts. Employee names, roles, email formats and reporting lines are largely public through professional networks and company websites, so an attacker can present exactly the information a support process treats as verification.
Self-service password reset is the mechanism. It verifies identity through registered methods, and its security depends on those methods and on whether support staff can assist a caller who claims to have lost access to them. Where a support process can override or re-register a method, that process becomes the weakest authentication path in the organization.
How to detect this in your own environment
Alert on password reset and authentication method registration events, particularly method changes followed shortly by a sign-in from a new location. That sequence is the signature of a recovery-based takeover.
Watch for reset activity outside working hours or from unfamiliar sources, and treat resets for privileged accounts as inherently high severity regardless of other signals.
Give support staff a way to flag suspicious contacts, and route those into security. The person who noticed something odd about a caller is often the only detection available for the pretexting stage.
How to prevent it
Define and enforce a verification standard for support-assisted recovery that does not rely on information an attacker can look up. Manager approval, callback to a registered number, or in-person verification for privileged accounts are the usual approaches.
Require multiple registered methods for reset and alert on method changes. An attacker who must compromise two independent channels faces a much harder problem.
Treat privileged accounts differently. Administrators should not be recoverable through the same process as a standard user, and break-glass procedures should require more than one person.
Real-world context
Help desk social engineering has featured prominently in significant intrusions in recent years, including campaigns where attackers called support to have multi-factor methods reset for targeted employees. It has repeatedly proven more reliable than technical attacks against well-configured tenants.
The organizational reason is that recovery is designed around user frustration. Every additional verification step generates complaints and ticket volume, so processes drift toward convenience, and the security consequence is not visible until it is exploited.
The pattern maps to MITRE ATT&CK T1078.004 Cloud Accounts, T1556 Modify Authentication Process and T1598 Phishing for Information.
Applying this at work
- Write down your actual support-assisted recovery process and ask whether an attacker with public information could satisfy it.
- Require callback to a registered number or manager approval for password and authentication method resets.
- Alert on authentication method changes followed by a sign-in from a new location.
- Apply a stricter recovery path for privileged accounts than for standard users.
- Brief your support team on pretexting and give them a route to escalate suspicious contacts without needing to be certain.
Frequently asked questions
Can attackers find out if a company uses Entra ID?
Yes, and without credentials. Microsoft exposes unauthenticated endpoints that confirm whether a domain corresponds to a tenant and return its identifier, so this reconnaissance leaves no trace with the target.
Why is self-service password reset a risk?
Because it is an alternative authentication path. Its security depends on the registered methods and on whether a support process can override them, and a process that can be satisfied with public information bypasses every other control.
How should support-assisted recovery be secured?
Verification that does not rely on lookupable information: callback to a registered number, manager approval, or in-person verification for privileged accounts, with alerting on method changes.
Do I need my own Azure account to practice this?
No. The lab runs in a live environment that Pwned Labs provisions for you, so there is nothing to set up and no risk to your own tenant.
Which certification covers this in depth?
The Microsoft Cloud Red Team Professional (MCRTP) covers Entra ID, Azure and Microsoft 365 attack paths in full, including token abuse, phishing tradecraft and privilege escalation, and is assessed hands-on in a live tenant.
Cloud Security Training To Protect Your Business
Pwned Labs for Business gives your team access to dedicated business content, including labs and cyber ranges.
We also offer in-person or remote workshops, and our cloud penetration services are helping businesses become more secure!