Suspicious Creation of Azure Service Principal (via auditlogs)

This rule detects when a service principal is created in Azure.

SigmamediumCloudv1
sigma
title: Suspicious Creation of Azure Service Principal (via auditlogs)
id: 0ca8f581-2071-55d8-b22b-1690e5b4352a
status: stable
description: This rule detects when a service principal is created in Azure.
references:
    - https://learn.microsoft.com/en-us/entra/identity/monitoring-health/reference-audit-activities#core-directory
    - https://analyticsrules.exchange/analyticrules/79566f41-df67-4e10-a703-c38a6213afd8/
author: Huntrule Team
date: 2026-07-01
tags:
    - attack.stealth
    - attack.persistence
    - attack.t1136.003
logsource:
    product: azure
    service: auditlogs
detection:
    selection:
        operationName: 'Add service principal'
    condition: selection
falsepositives:
    - Unknown
level: medium

Known false positives

  • Unknown

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.