Skip to content

feat(rules): detect container shell spawn for MITRE T1059#363

Open
JayKnowSo wants to merge 1 commit into
falcosecurity:mainfrom
JayKnowSo:feat/detect-container-escape-t1059
Open

feat(rules): detect container shell spawn for MITRE T1059#363
JayKnowSo wants to merge 1 commit into
falcosecurity:mainfrom
JayKnowSo:feat/detect-container-escape-t1059

Conversation

@JayKnowSo
Copy link
Copy Markdown

Adds detection rule for shell processes spawned inside containers by non-shell parent processes — a common indicator of container escape attempts and command injection exploitation.

MITRE ATT&CK: T1059 - Command and Scripting Interpreter
Tags: container, shell, mitre_execution

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind feature

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area rules

/area registry

/area build

/area documentation

Proposed rule maturity level

Uncomment one (or more) /area <> lines (only for PRs that add or modify rules):

/area maturity-stable

/area maturity-incubating

/area maturity-sandbox

/area maturity-deprecated

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Adds detection rule for shell processes spawned inside containers
by non-shell parent processes — a common indicator of container
escape attempts and command injection exploitation.

MITRE ATT&CK: T1059 - Command and Scripting Interpreter
Tags: container, shell, mitre_execution
@poiana
Copy link
Copy Markdown

poiana commented Apr 20, 2026

Thanks for your pull request. Before we can look at it, you'll need to add a 'DCO signoff' to your commits.

📝 Please follow instructions in the contributing guide to update your commits with the DCO

Full details of the Developer Certificate of Origin can be found at developercertificate.org.

The list of commits missing DCO signoff:

  • 6669492 feat(rules): detect container shell spawn for MITRE T1059
Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@poiana
Copy link
Copy Markdown

poiana commented Apr 20, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: JayKnowSo
Once this PR has been reviewed and has the lgtm label, please assign loresuso for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@poiana
Copy link
Copy Markdown

poiana commented Apr 20, 2026

Welcome @JayKnowSo! It looks like this is your first PR to falcosecurity/rules 🎉

@poiana poiana added the size/S label Apr 20, 2026
@leogr
Copy link
Copy Markdown
Member

leogr commented May 19, 2026

Hey @JayKnowSo

Can you sign-off your commit, please? 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

3 participants