Detectionmediumtest

Azure Kubernetes Service Account Modified or Deleted

Identifies when a service account is modified or deleted.

Convert In Phoenix Studio

Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.

Launch
Austin SongerCreated Sat Aug 07Updated Tue Aug 2312d027c3-b48c-4d9d-8bb6-a732200034b2cloud
Log Source
Azureactivitylogs
ProductAzure← raw: azure
Serviceactivitylogs← raw: activitylogs
Detection Logic
Detection Logic1 selector
detection:
    selection:
        operationName:
            - MICROSOFT.KUBERNETES/CONNECTEDCLUSTERS/SERVICEACCOUNTS/WRITE
            - MICROSOFT.KUBERNETES/CONNECTEDCLUSTERS/SERVICEACCOUNTS/DELETE
            - MICROSOFT.KUBERNETES/CONNECTEDCLUSTERS/SERVICEACCOUNTS/IMPERSONATE/ACTION
    condition: selection
False Positives

Service account being modified or deleted may be performed by a system administrator. Verify whether the user identity, user agent, and/or hostname should be making changes in your environment.

Service account modified or deleted from unfamiliar users should be investigated. If known behavior is causing false positives, it can be exempted from the rule.

Rule Metadata
Rule ID
12d027c3-b48c-4d9d-8bb6-a732200034b2
Status
test
Level
medium
Type
Detection
Created
Sat Aug 07
Modified
Tue Aug 23
Path
rules/cloud/azure/activity_logs/azure_kubernetes_service_account_modified_or_deleted.yml
Raw Tags
attack.impactattack.t1531attack.t1485attack.t1496attack.t1489
View on GitHub