Rare Subscription-level Operations In Azure (via activitylogs)

This rule detects IPs from which users grant access to other users on azure resources and alerts when a previously unseen source IP address is used.

SigmamediumCloudv1
sigma
title: Rare Subscription-level Operations In Azure (via activitylogs)
id: 2a2c1ea6-8e08-5f58-9ef8-649cca1a0b05
status: stable
description: This rule detects IPs from which users grant access to other users on azure resources and alerts when a previously unseen source IP address is used.
references:
    - https://attack.mitre.org/techniques/T1003/
    - https://github.com/Azure/Azure-Sentinel/blob/e534407884b1ec5371efc9f76ead282176c9e8bb/Detections/AzureActivity/RareOperations.yaml
author: Huntrule Team
date: 2026-02-12
tags:
    - attack.t1003
    - attack.credential-access
logsource:
    product: azure
    service: activitylogs
detection:
    keywords:
        - Microsoft.DocumentDB/databaseAccounts/listKeys/action
        - Microsoft.Maps/accounts/listKeys/action
        - Microsoft.Media/mediaservices/listKeys/action
        - Microsoft.CognitiveServices/accounts/listKeys/action
        - Microsoft.Storage/storageAccounts/listKeys/action
        - Microsoft.Compute/snapshots/write
        - Microsoft.Network/networkSecurityGroups/write
    condition: keywords
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.