1200kmSECURITY RESEARCH

1200KM / sigma-rule

Potential Remote Command Execution In Pod Container — Sigma Rule

Sigma rule a1b0ca4e-7835-413e-8471-3ff2b8a66be6. Potential Remote Command Execution In Pod Container — Sigma Rule. Detects attempts to execute remote commands, within a Pod's container using e.g. the "kubectl exec" command.

Rule metadata and linked tags

Author: Leo Tsaousis (@laripping). Source status: test; severity: medium. Source dates: 2024-03-26 / not supplied.

{
  "category": "application",
  "product": "kubernetes",
  "service": "audit"
}

Pinned original Sigma rule · Detection Rule License 1.1

Source SHA-256: a8c4d01b9fe0a82455d5153e900c6349500f1b7cae7352630aad0852f8ba4646

Detection logic

Original source YAML. Source-tag agreement is not proof of complete semantic coverage. This rule has not been compiled for a SIEM backend or validated against live telemetry here.

title: Potential Remote Command Execution In Pod Container
id: a1b0ca4e-7835-413e-8471-3ff2b8a66be6
status: test
description: |
    Detects attempts to execute remote commands, within a Pod's container using e.g. the "kubectl exec" command.
references:
    - https://microsoft.github.io/Threat-Matrix-for-Kubernetes/techniques/Exec%20into%20container/
author: Leo Tsaousis (@laripping)
date: 2024-03-26
tags:
    - attack.t1609
    - attack.execution
logsource:
    category: application
    product: kubernetes
    service: audit
detection:
    selection:
        verb: 'create'
        objectRef.resource: 'pods'
        objectRef.subresource: 'exec'
    condition: selection
falsepositives:
    - Legitimate debugging activity. Investigate the identity performing the requests and their authorization.
level: medium

Original YAML and metadata in JSON

False positives

  • Legitimate debugging activity. Investigate the identity performing the requests and their authorization.

Source references

Connected ecosystem references

Exact source-tagged techniques

Telemetry review

Read the original logsource above, then inspect the linked detection workspaces for technique-level sensor context. No per-rule telemetry equivalence is inferred.

Pinned research references. No browser attack runner, live simulation result or validated detector is asserted. Source mappings and validation limits are preserved. ATT&CK / Atomic provenance · Detection provenance.