Detectionmediumtest
Azure Kubernetes CronJob
Identifies when a Azure Kubernetes CronJob runs in Azure Cloud. Kubernetes Job is a controller that creates one or more pods and ensures that a specified number of them successfully terminate. Kubernetes Job can be used to run containers that perform finite tasks for batch jobs. Kubernetes CronJob is used to schedule Jobs. An Adversary may use Kubernetes CronJob for scheduling execution of malicious code that would run as a container in the cluster.
Convert In Phoenix Studio
Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.
Launch
Log Source
Azureactivitylogs
ProductAzure← raw: azure
Serviceactivitylogs← raw: activitylogs
Detection Logic
Detection Logic1 selector
detection:
selection:
operationName|startswith:
- 'MICROSOFT.KUBERNETES/CONNECTEDCLUSTERS/BATCH'
- 'MICROSOFT.CONTAINERSERVICE/MANAGEDCLUSTERS/BATCH'
operationName|endswith:
- '/CRONJOBS/WRITE'
- '/JOBS/WRITE'
condition: selectionFalse Positives
Azure Kubernetes CronJob/Job may be done by a system administrator.
If known behavior is causing false positives, it can be exempted from the rule.
MITRE ATT&CK
Sub-techniques
Rule Metadata
Rule ID
1c71e254-6655-42c1-b2d6-5e4718d7fc0a
Status
test
Level
medium
Type
Detection
Created
Mon Nov 22
Modified
Sun Dec 18
Author
Path
rules/cloud/azure/activity_logs/azure_kubernetes_cronjob.yml
Raw Tags
attack.persistenceattack.t1053.003attack.privilege-escalationattack.execution