Suspicious Creation of Azure New CloudShell (via activitylogs)

This rule detects when a new cloudshell is created inside of Azure portal.

SigmamediumCloudv1
sigma
title: Suspicious Creation of Azure New CloudShell (via activitylogs)
id: 58229b09-258c-5f7f-a4fb-ec1c6680c87d
status: stable
description: This rule detects when a new cloudshell is created inside of Azure portal.
references:
    - https://attack.mitre.org/techniques/T1059/
    - https://learn.microsoft.com/en-us/azure/role-based-access-control/resource-provider-operations
author: Huntrule Team
date: 2026-07-28
tags:
    - attack.execution
    - attack.t1059
logsource:
    product: azure
    service: activitylogs
detection:
    selection:
        operationName: MICROSOFT.PORTAL/CONSOLES/WRITE
    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.