Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added an event for default stable rule Detect release_agent File Container Escapes #203

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

GLVSKiriti
Copy link
Contributor

What type of PR is this?

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

/kind bug

/kind cleanup

/kind documentation

/kind tests

/kind feature

Any specific area of the project related to this PR?

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

/area commands

/area pkg

/area events

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #193

Special notes for your reviewer:

…ainer Escapes

Signed-off-by: GLVS Kiriti <glvskiriti2003369@gmail.com>
@poiana
Copy link

poiana commented Apr 12, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

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

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

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

@GLVSKiriti
Copy link
Contributor Author

@FedeDP @leogr container with cap_sys_admin capability is required to run this event and user.uid=0 or CAP_DAC_OVERRIDE capability is required as mentioned in the stable rule

And below is the screenshot shows rule is triggering fine on executing echo "hello world" > release_agent
DetectReleaseAgentfile

@GLVSKiriti
Copy link
Contributor Author

For reference followed the steps mentioned in this blog https://sysdig.com/blog/container-escape-capabilities-falco-detection/

@leogr
Copy link
Member

leogr commented Apr 12, 2024

cc @Andreagit97 @LucaGuerra

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

Successfully merging this pull request may close these issues.

Add an event for default stable rule "Detect Release_agent file container escape"
3 participants