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.4 KB
Raw Blame
id: splunk-security-content-30c47f45-dd6a-4720-9963-0bca6c8686ef
name: Azure AD New Custom Domain Added
description: The following analytic detects the addition of a new custom domain within
  an Azure Active Directory (AD) tenant. It leverages Azure AD AuditLogs to identify
  successful "Add unverified domain" operations. This activity is significant as it
  may indicate an adversary attempting to establish persistence by setting up identity
  federation backdoors, allowing them to impersonate users and bypass authentication
  mechanisms. If confirmed malicious, this could enable attackers to gain unauthorized
  access, escalate privileges, and maintain long-term access to the Azure AD environment,
  posing a severe security risk.
severity: medium
enabled: false
tags:
  mitre:
  - T1484.002
  categories:
  - cloud
references:
- https://docs.microsoft.com/en-us/azure/active-directory/enterprise-users/domains-manage
- https://www.mandiant.com/resources/remediation-and-hardening-strategies-microsoft-365-defend-against-apt29-v13
- https://o365blog.com/post/federation-vulnerability/
- https://www.inversecos.com/2021/11/how-to-detect-azure-active-directory.html
- https://www.mandiant.com/resources/blog/detecting-microsoft-365-azure-active-directory-backdoors
- https://attack.mitre.org/techniques/T1484/002/
logsource:
  product: splunk
detection:
  splunk_spl: "`azure_monitor_aad` operationName=\"Add unverified domain\" properties.result=success\n\
    \  | rename properties.* as *\n  | rename targetResources{}.displayName as domain\n\
    \  | rename userAgent as user_agent\n  | fillnull\n  | stats count min(_time)\
    \ as firstTime max(_time) as lastTime\n    BY dest user src\n       vendor_account\
    \ vendor_product user_agent\n       domain signature\n  | `security_content_ctime(firstTime)`\n\
    \  | `security_content_ctime(lastTime)`\n  | `azure_ad_new_custom_domain_added_filter`"
provenance:
  source: splunk/security_content
  source_id: 30c47f45-dd6a-4720-9963-0bca6c8686ef
  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/azure_ad_new_custom_domain_added.yml
notes:
  splunk_status: production
  splunk_data_source: []
  quarantine_reason: raw SPL — needs translation to AiSOC detection schema