This website uses cookies to ensure you get the best experience.
Got it!
Register
|
Login
Menu
Home
Sigma Rules
Splunk Rules
Explore Rules
Analytic Stories
MITRE ATT&CK
Overview
Matrix
Techniques
Groups
Software
Campaigns
Search
About
Azure Kubernetes CronJob
Original Source:
[Sigma source]
Title:
Azure Kubernetes CronJob
Status:
test
Description:
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.
References:
-https://learn.microsoft.com/en-us/azure/role-based-access-control/resource-provider-operations#microsoftkubernetes
-https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/
-https://kubernetes.io/docs/concepts/workloads/controllers/job/
-https://www.microsoft.com/security/blog/2020/04/02/attack-matrix-kubernetes/
Author:
Austin Songer @austinsonger
Date:
2021-11-22
modified:
2022-12-18
Tags:
-'attack.persistence'
-'attack.t1053.003'
-'attack.privilege-escalation'
-'attack.execution'
Logsource:
product: azure
service: activitylogs
Detection:
selection:
operationName|startswith
:
-'MICROSOFT.KUBERNETES/CONNECTEDCLUSTERS/BATCH'
-'MICROSOFT.CONTAINERSERVICE/MANAGEDCLUSTERS/BATCH'
operationName|endswith
:
-'/CRONJOBS/WRITE'
-'/JOBS/WRITE'
condition
:
selection
Falsepositives:
-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.
Level:
medium