Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable decision ledger for every agent step. Self-hostable, runs with no API keys, MIT licensed. Ships an MCP server for Claude, Cursor and Continue.
Python agentic-aiai-securityalert-triageblue-teamcybersecuritydetection-engineeringincident-responselanggraphllm-agentsmcpmitre-attackmodel-context-protocolpurple-teamsecurity-operationsself-hostedsiemsoarsocthreat-detectionthreat-intelligence
id: splunk-security-content-12a23592-e3da-4344-8545-205d3290647c
name: O365 Block User Consent For Risky Apps Disabled
description: The following analytic detects when the "risk-based step-up consent"
security setting in Microsoft 365 is disabled. It monitors Azure Active Directory
logs for the "Update authorization policy" operation, specifically changes to the
"AllowUserConsentForRiskyApps" setting. This activity is significant because disabling
this feature can expose the organization to OAuth phishing threats, allowing users
to grant consent to malicious applications. If confirmed malicious, attackers could
gain unauthorized access to user data and sensitive information, leading to data
breaches and further compromise within the organization.
severity: medium
enabled: false
tags:
mitre:
- T1562
categories:
- cloud
references:
- https://attack.mitre.org/techniques/T1562/
- https://goodworkaround.com/2020/10/19/a-look-behind-the-azure-ad-permission-classifications-preview/
- https://learn.microsoft.com/en-us/entra/identity/enterprise-apps/configure-risk-based-step-up-consent
- https://learn.microsoft.com/en-us/defender-cloud-apps/investigate-risky-oauth
logsource:
product: splunk
detection:
splunk_spl: '`o365_management_activity` Workload=AzureActiveDirectory Operation="Update
authorization policy." | eval index_number = if(mvfind(''ModifiedProperties{}.Name'',"AllowUserConsentForRiskyApps")
>= 0, mvfind(''ModifiedProperties{}.Name'',"AllowUserConsentForRiskyApps"), -1)
| search index_number >= 0 | eval AllowUserConsentForRiskyApps = mvindex(''ModifiedProperties{}.NewValue'',index_number)
| where AllowUserConsentForRiskyApps like "%true%" | fillnull | stats count min(_time)
as firstTime max(_time) as lastTime by signature dest user src vendor_account
vendor_product AllowUserConsentForRiskyApps | `security_content_ctime(firstTime)`
| `security_content_ctime(lastTime)` | `o365_block_user_consent_for_risky_apps_disabled_filter`'
provenance:
source: splunk/security_content
source_id: 12a23592-e3da-4344-8545-205d3290647c
source_commit: 4d4c7ee
license: Apache-2.0
license_url: https://github.com/splunk/security_content/blob/develop/LICENSE
imported_at: '2026-05-04'
imported_by: splunk_importer
upstream_path: detections/cloud/o365_block_user_consent_for_risky_apps_disabled.yml
notes:
splunk_status: production
splunk_data_source: []
quarantine_reason: raw SPL — needs translation to AiSOC detection schema