Incident-as-a-Service
OAuth phishers make ‘check where the link points’ advice ineffective
The 48-Hour Rule in action. This incident happened, we converted it into operational training, and your team can apply the controls immediately.
- Security Analyst: To gain practical skills in detecting OAuth-based phishing and ransomware IOCs, and to build effective SIEM detection rules.
- IT Administrator / Identity Manager: To learn how to harden authentication systems, implement conditional access policies, and defend against consent phishing attacks targeting their environment.
- CISO / Risk & Compliance Manager: To understand the strategic business impact, learn how to communicate this threat to the board, and map incident response controls to mandatory compliance frameworks like NIS2 and DORA.
30-day guarantee. Instant access after payment. Lifetime updates for this incident package.
How This Course Is Structured
Clear progression from incident context to practical controls and role-specific action steps.
1. Incident Breakdown
Attack path, trigger conditions, and threat actor behavior translated from the real event timeline.
2. Defensive Controls
Actions your team can implement in the same 48-hour response window used by active security teams.
3. Evidence & Reporting
Completion records and learning outcomes packaged for governance, insurance, and audit workflows.
Course Outline
4 modules · 16 lessons · ~192 min total
Module 1: Threat Intelligence
Deep dive into the incident mechanics, attack vectors, and threat actor analysis. Learn to recognise indicators of compromise.
Module 2: Detection and Response
Practical detection strategies using SIEM, endpoint analysis, and incident response procedures. Build effective playbooks.
Module 3: Infrastructure Hardening
Implement defensive controls including authentication hardening, zero trust principles, and secure architecture patterns.
Module 4: Organisational Readiness
Build security culture, communicate with leadership, manage vendor risks, and ensure compliance integration.
Free Sample Lesson
Read one full lesson before purchasing. No signup required.
OAuth Phishers: Ransomware Case Study
Lesson 1 of 16Lesson 1.1: OAuth Phishers: Ransomware Case Study
Compliance Framework Mapping
| Framework | Control | Requirement |
|---|---|---|
| DORA | Article 5-17 | ICT risk management framework and policies for financial entities |
| ISO 27001 | A.5.1 | Management direction for information security |
| NIST CSF | PR.AC-1 | Identities and credentials are managed for authorised users and devices |
| NIS2 | Article 21 | Risk management measures for cybersecurity |
| SOC 2 | CC6.1 | The entity implements logical access security software, infrastructure, and architectures over protected information assets to protect them from security events to meet the entity’s objectives |
| GDPR | Article 32 | Security of processing |
Introduction
Welcome to Lesson 1.1: OAuth Phishers: Ransomware Case Study! Over the next 45 minutes, we will explore how a simple, trusted login process can be weaponised to deliver ransomware, bypassing traditional security advice.
But first, let me tell you about Marcus Webb.
It's 10:15 on a Tuesday in October. Marcus, a senior project manager at a mid-sized engineering firm in Bristol, is reviewing a project timeline. The office hums with the quiet click of keyboards and the faint smell of coffee. A new email notification flashes on his second monitor.
The email appears to be from the company's IT support team, asking him to review a shared document on OneDrive. The link looks correct—it points to login.microsoftonline.com, the legitimate Microsoft login page he uses every day. He clicks it, logs in as prompted, and grants permissions to what he believes is a work app. Nothing seems out of the ordinary.
Thirty-seven minutes later, file icons on the shared network drive begin flickering, changing to unfamiliar extensions. A plain text file appears on every desktop: 'YOUR FILES ARE ENCRYPTED. PAY 5 BITCOIN TO GET THEM BACK.' The company's data, including sensitive client designs and financial projections, is locked. Marcus's routine login had just handed over the keys.
This is the story of Ransomware. By the end of this lesson, you'll understand exactly why Marcus never stood a chance, and more importantly, what could have saved him.
Content Section 1: The New Phishing Playbook
Think of traditional phishing like a forger trying to copy a banknote. They might get the colour or the paper wrong. OAuth phishing is different. It's like the forger convincing the bank teller to hand over real money from the vault directly. The link Marcus clicked was real. The page he logged into was real. That's what makes this so effective.
How OAuth Phishing Works
The attacker doesn't try to steal a password. Instead, they create a malicious application and register it with a legitimate cloud service provider like Microsoft. They then send a phishing email with a link that goes to the real Microsoft login page.
When the victim logs in, they are asked to authorise the attacker's malicious app to access their data, like emails, files, or contacts. The prompt looks like a standard permission request, which many users are conditioned to accept for work tools.
Once the user clicks 'Accept', the attacker's app receives an OAuth token. This token is a digital key that lets the app act on the user's behalf, without needing their password. It can access data, send emails, and in ransomware cases, encrypt files stored in connected services like OneDrive or SharePoint.
Why It's Perfect for Ransomware
This method gives attackers direct, API-driven access to cloud storage. They don't need to deploy malware on an endpoint; they can encrypt files directly through the cloud service's own API, using the victim's authorised token.
This bypasses endpoint detection tools that look for suspicious processes or file encryption behaviour on a local machine. The encryption commands come from what looks like a trusted, cloud-based application.
Think about that last point for a moment. The defence of 'always check the URL' is completely useless here. The URL was 100% legitimate. The attack happens after the login, in the permission screen most people click through without reading.
DORA Article 5-17 DORA's ICT risk management framework requires financial entities to identify and manage risks from information and communication technology, including threats that exploit authorised access and cloud service integrations.
ISO A.5.1 ISO 27001 A.5.1 mandates that management provides direction and support for information security, which includes establishing policies for authorising third-party applications and managing user consent.
Content Section 2: Anatomy of a Cloud-Native Ransomware Attack
Understanding the OAuth token's power reveals why it's so effective. Let me show you exactly how Marcus's authorised session was turned against his organisation.
The Attack Flow
Step 1: The attacker registers a new, malicious application in the Azure Active Directory portal (or another cloud platform). They give it a plausible name like 'Document Viewer' or 'Company Analytics'.
Step 2: A phishing email is sent, containing a link to a legitimate file stored on a service like SharePoint. The link is crafted to trigger an OAuth authentication request.
Step 3: The victim clicks, arrives at the real Microsoft login page, and enters their credentials. They then see a consent screen asking them to allow the 'Document Viewer' app to access their profile, read files, and write files.
Step 4: Upon granting consent, an OAuth access token is issued to the attacker's application. This token is now a valid key to the victim's Microsoft 365 account, with the permissions that were granted.
From Access to Encryption
With the token, the attacker's application can use Microsoft Graph API—the same API used by legitimate Office apps. It can list all OneDrive and SharePoint files, download them, encrypt them locally, and upload the encrypted versions back to the cloud, overwriting the originals.
Because this is done via API calls from what appears to be a registered app, it can happen very quickly and from any internet-connected location, not from the victim's computer.
Why Traditional Defences Are Blind
| Method | How It's Bypassed | Time to Compromise |
|---|---|---|
| Email Link Analysis | Link points to legitimate Microsoft domain | Seconds after click |
| Endpoint Antivirus | No malware executes on the endpoint; attack is in the cloud | Not applicable |
| Network Traffic Inspection | Traffic is encrypted HTTPS to legitimate Microsoft APIs | Bypassed |
| Password Theft Detection | Password is not stolen; legitimate token is misused | Bypassed |
Notice what all of these methods have in common. They are looking for something illegitimate—a bad link, malicious code, or stolen credentials. This attack operates entirely within the bounds of legitimate authorisation.
Standard security controls are designed for different attack models. Here’s how they are bypassed:
Now pay attention, because this is the moment that changes everything. This is the moment where a trusted user's action creates a persistent, authorised threat actor inside your cloud environment, without a single piece of malware.
NIST PR.AC-1 NIST CSF PR.AC-1 requires that identities and credentials are managed for authorised users and devices. This attack exploits a failure in managing the authorisation of third-party applications, not the user's identity itself.
NIS2 Article 21 NIS2 Article 21 mandates risk management measures. This includes assessing risks from supply chain and third-party relationships, which encompasses unauthorised or malicious applications integrated via OAuth.
Content Section 3: Seeing the Invisible Attack
Marcus's company had security tools. Their systems knew something was wrong. They just couldn't tell him in time. The signals were there, but they weren't looking in the right place.
Identity Provider Signals
The first place to detect this attack is in the identity provider logs, like Azure AD audit logs. A key indicator is a user granting consent to a new, unfamiliar application.
Look for application consent events where the 'Client App' is not a known, company-approved application. The application name and publisher information in the log can be checked against an allow list.
Another signal is a high volume of file activities (read, write, delete) from a single application identity across multiple users in a short time, which could indicate a ransomware encryption sweep.
Cloud Application Security Signals
Tools like Microsoft Defender for Cloud Apps can monitor for anomalous behaviour. A sudden spike in file download or upload volume from a specific OAuth application, especially one recently authorised, is a major red flag.
Look for 'impossible travel' scenarios where an application (not a user) appears to be making requests from geographically disparate locations in an unrealistic timeframe, suggesting a compromised token is being used from an attacker's infrastructure.
Building a Defence
The most effective control is to disable user consent for OAuth applications entirely, or restrict it to a set of verified publishers. Administrators should manage all application consent through a review and approval process.
Regularly audit and review the OAuth applications that have been granted permissions in your tenant. Remove any that are unused, unrecognised, or no longer needed.
Implement conditional access policies that restrict what applications can do, even after they are granted consent. For example, a policy could block a newly consented app from accessing SharePoint or OneDrive until it is reviewed.
SOC2 CC6.1 SOC 2 CC6.1 requires logical access security over protected information. This includes controls over the authorisation of software and applications, ensuring only approved applications can access sensitive data, which directly addresses the OAuth consent risk.
GDPR Article 32 GDPR Article 32 requires appropriate security of personal data. Failing to control which third-party applications can access personal data via OAuth tokens could be viewed as a lack of appropriate technical measures.
Activity: OAuth Application Audit
This activity will help you identify potentially malicious or risky OAuth applications that have been granted access to your organisation's Microsoft 365 environment.
Important Security Note: Important Security Note: This activity involves accessing audit logs and application consent settings. Only perform this in a test environment or with explicit permission from your security team. Do not modify or remove applications in a production environment without approval, as it may break legitimate business processes.
Instructions
Step 1: Navigate to the Azure Active Directory admin centre. Go to Enterprise applications and filter by 'All applications'. Review the list.
Step 2: For each application, note the publisher, the date it was added, and the permissions it has. Pay special attention to applications published by 'Unknown' or with suspicious names.
Step 3: Cross-reference this list with a known, management-approved list of business applications. Flag any application that is not on the approved list.
Step 4: Review the Azure AD audit logs for 'Consent to application' events over the last 90 days. Note the frequency and which users are consenting to new apps.
Submission
For the course discussion forum, share general learnings only:
- What was the general state of OAuth application governance you observed (e.g., many unknown apps, few apps, well-managed)?
- What questions would you now ask your security or IT team about the process for approving OAuth applications?
- Which compliance framework (e.g., NIST, ISO) was most helpful in framing the risks you identified?
Do NOT share: Do NOT share: Specific application names from your organisation, usernames, exact numbers of unauthorised apps, or any details about your organisation's internal IT structure.
Review and comment on at least two other students' submissions, focusing on the governance questions they raised and the frameworks they found useful.
Content Section 4: Turning Knowledge into Evidence
Compliance documentation can feel like paperwork for paperwork's sake. But in this case, it's the blueprint for closing the door Marcus's attacker walked through. It's the policy that says, 'We do not allow users to authorise random cloud apps.'
Evidence Generation
This lesson provides documentation for multiple compliance frameworks:
For DORA Article 5-17 auditors... For DORA auditors, you can now demonstrate that your ICT risk management framework includes specific procedures for assessing and authorising third-party application integrations via OAuth, mitigating a known ransomware vector.
For ISO A.5.1 auditors... For ISO 27001 assessors, you can evidence management policies that define clear rules for OAuth application consent, providing direction to limit information security risks from unauthorised cloud applications.
For NIST PR.AC-1 auditors... For NIST CSF reviewers, you can show that your identity management processes extend beyond user credentials to include the management and review of application identities and their granted permissions.
Audit Trail
Document your completion of this lesson:
- Lesson title and date completed
- Time invested: approximately 45 minutes
- Key learnings in your own words
- Activity submission reference
- Follow-up actions identified
Conclusion
Let me tell you how Marcus's story ended.
The engineering firm did not pay the ransom. They spent over two weeks restoring data from offline backups, during which they could not bid on new projects. The incident cost them an estimated £250,000 in recovery efforts and lost business. Marcus, though not officially blamed, left the company six months later.
The organisation eventually implemented strict controls. They disabled user OAuth consent, created an application approval process, and deployed Microsoft Defender for Cloud Apps to monitor for anomalous application behaviour. The policy change was simple: no one could authorise a new cloud app without IT security review.
But it doesn't have to be your story. That's why we're here.
You should now understand that modern phishing attacks target authorisation, not just authentication. You understand how OAuth tokens can be weaponised for ransomware. You know that detection must shift to monitoring application consent and API behaviour. And you understand that the fix is often a policy change, not just a new tool.
Next, we'll explore Next, we'll explore Lesson 1.2: The Ransomware Supply Chain. We'll look at how attackers use compromised vendors and software updates to get inside organisations, and how to assess your own exposure.
See you there.
Key Takeaways
1. The Legitimate Link: OAuth phishing attacks use completely legitimate links to trusted identity providers like login.microsoftonline.com, making traditional 'check the URL' advice ineffective.
2. Token, Not Password: The attacker's goal is to obtain an OAuth access token, which grants their malicious application authorised API access to the victim's data, bypassing the need for a password.
3. Cloud-Native Ransomware: This method enables 'cloud-native' ransomware, where files stored in services like OneDrive and SharePoint are encrypted directly via API calls, leaving no trace on the user's endpoint.
4. Defence is in Governance: The primary defence is administrative and policy-based: disable user consent for OAuth apps, implement an application approval process, and regularly audit granted permissions.
Resources
The course materials folder contains downloadable resources for this lesson:
- Lesson 1.1 Quick Reference Card - Summarise the key detection indicators in Azure AD logs and immediate response steps for an OAuth-based ransomware incident on a single page.
- Compliance Mapping Worksheet - Map your organisation's OAuth application consent policies and monitoring controls to DORA, ISO 27001, NIST CSF, NIS2, SOC 2, and GDPR frameworks.
- Risk Assessment Template - Assess your organisation's specific exposure to OAuth phishing and token-based ransomware based on current consent settings and application governance.
- Further reading - Links to official Microsoft documentation on managing OAuth app consent and Microsoft Defender for Cloud Apps detection rules for ransomware behaviour.
OAuth phishers make ‘check where the link points’ advice ineffective Defence Masterclass | Threat Intelligence | Lesson 1.1
© LimitedView Limited | 2026
This is 1 of 16 lessons included in the full package.
Enrol Now — Unlock All LessonsWant to track your progress? Create a free account
Choose Your Access
All plans include 30-day money-back guarantee
Taster
Single course access — ideal for trying us out
- Full course access
- Completion certificate
- Try before you commit
Standard
Full course with materials and certificate
- Full course access
- Downloadable materials
- Professional certificate
- Email support
Teams
Transparent pricing, no sales call required
Starter Team
£99.80/seat effective
Up to 5 learners, all courses included
Growth Team
£66.60/seat effective
Up to 15 learners, all courses included
Scale Team
£39.98/seat effective
Up to 50 learners, all courses included
Need 50+ seats? Contact us for a custom plan.
Fast Checkout
Start Learning in Minutes
Enter your details, choose a tier, and complete secure checkout. Access starts immediately after payment confirmation.
- Stripe-secured payment and delivery workflow
- Audit-friendly completion records
- Escalate to enterprise volume licensing at any point
48-Hour Relevance Guarantee
If this course does not provide at least five actionable controls your team can deploy quickly, request a full refund within 30 days.
Secure checkout
Not ready to purchase? Create a free account to browse and track progress.