Skip to content

armgit / AiSOC

Public Imported from GitHub
0

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.

2.5 KB
Raw Blame
id: splunk-security-content-c783dd98-c703-4252-9e8a-f19d9f66949e
name: O365 Bypass MFA via Trusted IP
description: The following analytic identifies instances where new IP addresses are
  added to the trusted IPs list in Office 365, potentially allowing users from these
  IPs to bypass Multi-Factor Authentication (MFA) during login. It leverages O365
  audit logs, specifically focusing on events related to the modification of trusted
  IP settings. This activity is significant because adding trusted IPs can weaken
  the security posture by bypassing MFA, which is a critical security control. If
  confirmed malicious, this could lead to unauthorized access, compromising sensitive
  information and systems. Immediate investigation is required to validate the legitimacy
  of the IP addition.
severity: medium
enabled: false
tags:
  mitre:
  - T1562.007
  categories:
  - cloud
references:
- https://i.blackhat.com/USA-20/Thursday/us-20-Bienstock-My-Cloud-Is-APTs-Cloud-Investigating-And-Defending-Office-365.pdf
- https://attack.mitre.org/techniques/T1562/007/
- https://learn.microsoft.com/en-us/azure/active-directory/authentication/howto-mfa-mfasettings
logsource:
  product: splunk
detection:
  splunk_spl: '`o365_management_activity` Operation="Set Company Information." ModifiedProperties{}.Name=StrongAuthenticationPolicy
    | rex max_match=100 field=ModifiedProperties{}.NewValue "(?<ip_addresses_new_added>\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\/\d{1,2})"
    | rex max_match=100 field=ModifiedProperties{}.OldValue "(?<ip_addresses_old>\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\/\d{1,2})"
    | eval ip_addresses_old=if(isnotnull(ip_addresses_old),ip_addresses_old,"0") |
    mvexpand ip_addresses_new_added | where isnull(mvfind(ip_addresses_old,ip_addresses_new_added))
    | fillnull | stats count min(_time) as firstTime max(_time) as lastTime values(ip_addresses_old)
    as ip_addresses_old by signature dest user src vendor_account vendor_product ip_addresses_new_added
    | `security_content_ctime(firstTime)` | `security_content_ctime(lastTime)` | `o365_bypass_mfa_via_trusted_ip_filter`'
provenance:
  source: splunk/security_content
  source_id: c783dd98-c703-4252-9e8a-f19d9f66949e
  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_bypass_mfa_via_trusted_ip.yml
notes:
  splunk_status: production
  splunk_data_source: []
  quarantine_reason: raw SPL — needs translation to AiSOC detection schema