AWS Batch Job Submitted with Container Override by Unusual Identity

Last updated 5 days ago on 2026-07-27
Created 5 days ago on 2026-07-27

About

Detects the first time an AWS identity submits an AWS Batch job with a container command override ("containerOverrides.command"), indicating a runtime-modified execution environment. Command overrides allow the submitter to replace the default command of a job definition at submission time. This flexibility is commonly abused by adversaries to inject malicious commands or exfiltration logic into otherwise legitimate Batch compute environments without modifying the underlying job definition — making the malicious activity harder to detect through configuration review alone.
Tags
Domain: CloudData Source: AWSData Source: Amazon Web ServicesData Source: AWS BatchUse Case: Threat DetectionTactic: ExecutionLanguage: kuery
Severity
medium
Risk Score
47
MITRE ATT&CK™

Execution (TA0002)(external, opens in a new tab or window)

False Positive Examples
Development teams and data pipelines may legitimately use container overrides to parameterize job executions with dynamic inputs. Validate that the submitting identity, job queue, and override content are consistent with expected workload behavior.
License
Elastic License v2(external, opens in a new tab or window)

Definition

Rule Type
New Terms Rule
Integration Pack
Prebuilt Security Detection Rules
Index Patterns
logs-aws.cloudtrail-*
Related Integrations

aws(external, opens in a new tab or window)

Query
text code block:
data_stream.dataset: "aws.cloudtrail" and event.provider: "batch.amazonaws.com" and event.action: "SubmitJob" and event.outcome: "success" and aws.cloudtrail.request_parameters: (*containerOverrides* and *command*)

Install detection rules in Elastic Security

Detect AWS Batch Job Submitted with Container Override by Unusual Identity in the Elastic Security detection engine by installing this rule into your Elastic Stack.

To setup this rule, check out the installation guide for Prebuilt Security Detection Rules(external, opens in a new tab or window).