Identity attacks in Microsoft 365 target user accounts, access tokens, OAuth flows, session cookies, Conditional Access gaps and Microsoft Entra ID configurations. Modern attackers often move beyond password theft by using password spraying, adversary-in-the-middle phishing, token theft, Primary Refresh Token abuse, legacy authentication and weak Conditional Access exclusions.
For enterprises, Microsoft 365 identity attacks are not only email or login issues. They can lead to data exfiltration, business email compromise, unauthorized cloud access, privacy incidents, audit evidence gaps and regulatory exposure under GDPR, DPDP, ISO 27001, SOC 2 and DORA.
Executive Summary
- Microsoft 365 identity security has become a primary enterprise risk because identity now controls access to email, SharePoint, Teams, OneDrive, cloud workloads and SaaS integrations.
- Attackers increasingly target tokens and sessions instead of only passwords.
- Password spraying, AiTM phishing, OAuth abuse, Primary Refresh Token theft and Conditional Access gaps can allow attackers to bypass basic MFA controls.
- SOC teams need Microsoft Entra ID logs, Microsoft 365 Unified Audit Logs, Defender signals, SIEM/XDR correlation and KQL hunting.
- GRC teams need audit evidence showing identity controls, monitoring, incident response and remediation.
- ServQual and SUSAN help connect identity security signals, risk ownership, compliance evidence and continuous assurance.
Why Microsoft 365 Identity Attacks Matter
Microsoft 365 is often the center of enterprise productivity, collaboration and regulated data exchange. Email, Teams, SharePoint, OneDrive, endpoint management, SaaS integrations and cloud workloads all depend on identity decisions made through Microsoft Entra ID.
That makes identity a high-value control plane. If an attacker compromises one identity, the impact may extend beyond a mailbox. The attacker may access documents, impersonate users, approve malicious OAuth consent, move laterally into cloud resources, or create evidence gaps that make incident investigation harder.
For CISOs, CTOs, CIOs, DPOs, SOC leaders and Risk Managers, Microsoft 365 identity security is now a business resilience issue. It affects confidentiality, audit readiness, privacy obligations, incident response and leadership reporting.
The Modern Identity Attack Surface in Microsoft 365
The Microsoft 365 identity attack surface includes users, administrators, service principals, OAuth applications, refresh tokens, session cookies, registered devices, Conditional Access policies, legacy protocols and third-party SaaS integrations.
Traditional perimeter controls do not fully protect this surface because authentication and authorization happen continuously across cloud services. Attackers exploit this by targeting the artifacts and workflows that keep users signed in, not only the initial password prompt.
Important attack paths include password spraying, legacy authentication abuse, adversary-in-the-middle phishing, OAuth consent abuse, authorization-code theft, Primary Refresh Token abuse, weak Conditional Access exclusions and device compliance bypass scenarios.
Password Spraying and Legacy Authentication Abuse
Password spraying is a low-volume credential attack where threat actors try a small number of common or previously exposed passwords across many accounts. The goal is to avoid account lockouts while finding accounts with weak passwords or weak monitoring.
Legacy authentication increases risk because older protocols may not support modern authentication controls in the same way as modern clients. Examples often include POP3, IMAP and SMTP Auth where they remain enabled for business reasons.
Enterprises should identify legacy authentication usage, validate dependencies, move required services to modern authentication and block legacy authentication where it is no longer needed. Monitoring should cover both successful and failed sign-in patterns because a successful spray attempt may look like a normal login unless correlated with other signals.
Token Theft, AiTM Phishing and OAuth Abuse
As MFA adoption improves, attackers increasingly target the tokens and sessions created after authentication. Access tokens, refresh tokens and session cookies can become the new objective because they may allow access without forcing the attacker to know the password again.
Adversary-in-the-middle phishing uses proxy infrastructure between the user and the legitimate sign-in service. The user may complete the real MFA challenge, but the attacker attempts to capture the resulting session token or cookie.
OAuth abuse can also create risk when users or administrators approve suspicious applications, excessive permissions or malicious consent flows. For safer publication, this draft avoids unverified named attack claims and uses broader wording such as OAuth consent abuse and authorization-code theft techniques.
Primary Refresh Token Theft and Session Persistence
A Primary Refresh Token, or PRT, is an identity artifact used on joined or registered devices to support single sign-on. In a legitimate scenario, this improves productivity by allowing users to access cloud applications without repeated authentication prompts.
If an attacker compromises an endpoint and obtains sufficient privileges, PRT-related abuse may support session persistence. This can be especially dangerous when Conditional Access depends heavily on device state, trusted device posture or long-lived sessions.
Defenders should treat unusual refresh token behavior, unexpected non-interactive sign-ins, suspicious device registration activity and abnormal token usage as high-value investigation signals.
Conditional Access Gaps and Device Compliance Bypass
Conditional Access is central to Microsoft Entra Zero Trust enforcement. Policies may require MFA, compliant devices, trusted locations, approved client apps, risk-based controls or session restrictions.
Risk appears when policies contain broad exclusions, inconsistent scope, weak device requirements or emergency exceptions that are not monitored. A small policy gap can become the path attackers use to authenticate, register devices or maintain access outside the intended security model.
Cloud security teams should review Conditional Access design regularly, especially exclusions, report-only policies, guest access, device registration flows, service accounts and break-glass accounts. Exclusions should be narrow, documented, approved and monitored.
Password Attacks vs Token-Based Identity Attacks
| Area | Password-Based Attacks | Token-Based Identity Attacks |
|---|---|---|
| Primary target | User password | Access token, refresh token, session cookie or PRT |
| Common technique | Password spraying, credential stuffing, brute force | AiTM phishing, OAuth abuse, token replay, PRT theft |
| MFA impact | MFA can reduce success if enforced properly | Stolen tokens may bypass standard MFA checks |
| Detection focus | Failed login patterns and risky sign-ins | Session anomalies, token reuse, OAuth grants and device signals |
| Business risk | Initial account compromise | Persistent cloud access, data exfiltration and lateral movement |
Identity Attack Detection Signals for SOC Teams
SOC teams should not rely on one alert type. Microsoft 365 identity attacks are usually detected by correlating weak signals across sign-in logs, audit logs, endpoint telemetry, Defender alerts, mailbox activity, SharePoint access, OAuth activity and SIEM/XDR rules.
- Repeated failed sign-ins across many users from similar IP ranges, user agents or geographies.
- Successful sign-ins after password spraying patterns.
- Legacy authentication attempts from POP3, IMAP, SMTP Auth or other older protocols.
- Impossible travel, unfamiliar sign-in properties, anonymous IP usage and risky sign-in events.
- Unexpected non-interactive sign-ins, refresh-token activity or token usage from unusual locations.
- Suspicious OAuth consent grants, excessive application permissions or unusual service principal activity.
- New device registrations that do not match normal user behavior or approved enrollment patterns.
- Mailbox forwarding rules, mass downloads, abnormal SharePoint access or unexpected administrative actions.
- Session anomalies where device, IP, geography or application context changes without a normal user pattern.
KQL hunting should be aligned with the organization’s Microsoft logging architecture. At minimum, teams should validate Microsoft Entra ID sign-in logs, non-interactive sign-in logs, Microsoft 365 Unified Audit Logs, Defender alerts and SIEM/XDR telemetry coverage.
Security Controls for Microsoft 365 Identity Protection
1. Disable legacy authentication
Identify legacy protocol usage, validate business dependencies and block legacy authentication where possible. This reduces opportunities for attackers to bypass modern authentication requirements.
2. Enforce phishing-resistant MFA for high-risk users
Privileged accounts, administrators, finance users, security operators and users with sensitive data access should use stronger authentication methods. Standard MFA is useful, but phishing-resistant approaches are stronger for high-risk roles.
3. Use Conditional Access with careful exclusions
Conditional Access policies should be scoped clearly and tested carefully. Broad exclusions, unmonitored emergency bypass accounts and inconsistent device conditions can create exploitable gaps.
4. Pilot Continuous Access Evaluation
Continuous Access Evaluation can help reduce the reliance on fixed token lifetimes by allowing supported resources to respond more quickly to critical events and policy changes.
5. Evaluate Token Protection
Token Protection can reduce token replay risk by binding certain sign-in session tokens to the device that requested them. Organizations should validate platform support, application compatibility and rollout impact before enforcement.
6. Monitor OAuth applications and consent activity
Review application permissions, consent grants, service principals and high-risk app behavior. Suspicious OAuth permissions can become a durable access path even when passwords are reset.
7. Strengthen device compliance and registration workflows
Review device join, registration, Intune enrollment and compliance policy workflows. Device-based trust should be supported by monitoring and exception governance.
8. Centralize telemetry into SIEM/XDR
Centralized telemetry is required for correlation. Sign-in logs, audit logs, Defender signals, endpoint alerts and cloud activity should be retained long enough to support threat hunting, breach assessment and audit evidence.
Microsoft 365 Identity Attack Checklist
Enterprise security teams should validate the following controls to reduce Microsoft 365 identity attack risk:
- Disable legacy authentication protocols such as POP3, IMAP and SMTP Auth where not required.
- Enforce phishing-resistant MFA for privileged users, administrators and high-risk roles.
- Review Conditional Access exclusions and remove broad bypass rules.
- Monitor password spraying patterns across interactive and non-interactive sign-in logs.
- Alert on impossible travel, unfamiliar sign-in properties, anonymous IPs and risky sign-ins.
- Monitor OAuth consent grants, suspicious application permissions and unusual service principal activity.
- Detect session anomalies, token reuse and unusual refresh token behavior.
- Review device compliance policies and device registration workflows.
- Correlate Microsoft Entra ID logs, Microsoft 365 audit logs, Defender alerts and SIEM/XDR telemetry.
- Use KQL hunting to identify suspicious sign-in chains, legacy protocol abuse and anomalous mailbox or SharePoint access.
- Maintain log retention for incident investigation, audit evidence and threat hunting.
- Map identity controls to GDPR, DPDP, ISO 27001, SOC 2 and DORA compliance requirements.
Compliance Impact: DPDP, GDPR, ISO 27001, SOC 2 and DORA
Microsoft 365 identity attacks can create security, privacy and audit consequences. If unauthorized users access regulated data, organizations may need to assess breach impact, preserve evidence, investigate scope and demonstrate whether reasonable security controls were operating.
GDPR and DPDP
Identity compromise can expose personal data through email, SharePoint, OneDrive, Teams, SaaS integrations or cloud applications. Security monitoring, access control, breach investigation and evidence retention support privacy governance and incident response obligations.
ISO 27001
Identity controls support access management, privileged access governance, logging, monitoring, incident management and continual improvement. Weak Conditional Access, poor log retention or unmanaged OAuth access can become audit findings.
SOC 2
SOC 2 security and confidentiality expectations require organizations to monitor unauthorized access, manage logical access, detect anomalies and respond to incidents with evidence.
DORA
For financial entities, identity attacks affect operational resilience because Microsoft 365 often supports critical communication, collaboration and business operations. Detection, response and third-party dependency visibility are important for resilience evidence.
How ServQual and SUSAN Help
ServQual helps organizations address Microsoft 365 identity risk through cybersecurity services, cloud security, M365 Security, Incident Response, Managed Security, Secure by Design, Privacy by Design and Governance, Risk, Compliance & Audits.
For Microsoft 365 identity attacks, ServQual can support identity risk assessment, Conditional Access review, SOC detection improvement, incident response planning, cloud security review and audit readiness.
SUSAN is ServQual’s AI driven cybersecurity, privacy and GRC platform. SUSAN helps teams connect cybersecurity risks, control gaps, evidence status, remediation ownership and compliance visibility into one assurance view.
For Microsoft 365 identity security, SUSAN can help organizations connect technical identity risks such as Conditional Access gaps, legacy authentication exposure, OAuth risk, token misuse signals and SOC findings to business risk, regulatory impact, remediation tracking and continuous audit readiness.
Explore SUSAN: https://srql.com/services/susan/
Explore Cybersecurity Services: https://srql.com/services/cyber-security-solutions/
Explore Incident Response & Managed Security: https://srql.com/services/incident-response-managed-security/
Explore Governance, Risk, Compliance & Audits: https://srql.com/services/governance-risk-compliance-audits/
"In Microsoft 365, identity is the control plane attackers try to own first."
Shubham Choudhari
Security Engineer | ServQual
FAQ
Most frequent questions and answers
Identity attacks in Microsoft 365 are attacks that target user accounts, Microsoft Entra ID, access tokens, OAuth applications, session cookies and Conditional Access weaknesses to gain unauthorized access.
Password spraying is an attack where threat actors try a small number of common passwords across many accounts to avoid account lockouts and detection.
Token theft occurs when attackers steal access tokens, refresh tokens or session cookies after authentication. This can allow them to access cloud resources without needing the user’s password again.
Attackers may bypass standard MFA through adversary-in-the-middle phishing, token theft, OAuth abuse, legacy authentication gaps or weak Conditional Access exclusions.
A Primary Refresh Token is a Microsoft identity artifact used on joined or registered devices to maintain single sign-on. If abused, it can support persistent access.
Conditional Access gaps are risky because overly broad exclusions, weak device requirements or incomplete policies can allow attackers to authenticate or register devices outside the intended security model.
Useful logs include Microsoft Entra ID sign-in logs, non-interactive sign-in logs, Microsoft 365 Unified Audit Logs, Defender alerts, OAuth consent activity, device registration events and SIEM/XDR telemetry.
Identity attack detection supports compliance by helping organizations identify unauthorized access, investigate data exposure, preserve audit evidence and demonstrate that security monitoring and response controls are operating.
SUSAN helps connect identity risks, control gaps, remediation ownership, compliance evidence and leadership reporting into a structured cybersecurity, privacy and GRC view.
Strengthen Microsoft 365 Identity Security
Microsoft 365 identity attacks can expose email, files, SaaS access, cloud resources and regulated data. Organizations should not wait for account takeover or data exfiltration to discover Conditional Access gaps, OAuth risks or weak identity monitoring.
ServQual helps organizations strengthen Microsoft 365 identity security, SOC detection, incident response and compliance readiness. Explore SUSAN or contact ServQual to connect identity risks, control evidence, remediation actions and leadership reporting into a continuous assurance view.
Disclaimer: This article is educational and does not constitute legal, compliance or incident response advice. Microsoft 365 identity controls, breach assessment and regulatory obligations should be validated against the organization’s environment, applicable laws, contracts, incident response procedures and professional guidance.