Detectionmediumtest

Google Cloud Kubernetes CronJob

Identifies when a Google Cloud 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
Austin SongerCreated Mon Nov 22Updated Sun Dec 25cd3a808c-c7b7-4c50-a2f3-f4cfcd436435cloud
Log Source
Google Cloudgcp.audit
ProductGoogle Cloud← raw: gcp
Servicegcp.audit← raw: gcp.audit
Detection Logic
Detection Logic1 selector
detection:
    selection:
        gcp.audit.method_name:
            - io.k8s.api.batch.v*.Job
            - io.k8s.api.batch.v*.CronJob
    condition: selection
False Positives

Google Cloud Kubernetes CronJob/Job may be done by a system administrator.

If known behavior is causing false positives, it can be exempted from the rule.

Rule Metadata
Rule ID
cd3a808c-c7b7-4c50-a2f3-f4cfcd436435
Status
test
Level
medium
Type
Detection
Created
Mon Nov 22
Modified
Sun Dec 25
Path
rules/cloud/gcp/audit/gcp_kubernetes_cronjob.yml
Raw Tags
attack.persistenceattack.privilege-escalationattack.execution
View on GitHub