-
Notifications
You must be signed in to change notification settings - Fork 905
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
Address rules fps #1028
Address rules fps #1028
Conversation
Sample Falco alert: ``` File below /etc opened for writing (user=<NA> command=dsc_host /opt/dsc/output PerformRequiredConfigurationChecks 1 parent=python pcmdline=python /opt/microsoft/omsconfig/Scripts/PerformRequiredConfigurationChecks.py file=/etc/opt/omi/conf/omsconfig/con... ``` Signed-off-by: Mark Stemm <mark.stemm@gmail.com>
Sample Falco alert: ``` File below /etc opened for writing (user=root command=macompatsvc self_start parent=macompatsvc pcmdline=macompatsvc self_start file=/etc/cma.d/lpc.conf program=macompatsvc gparent=macompatsvc ggparent=systemd gggparent=<NA> CID1 image=<NA>) ``` Signed-off-by: Mark Stemm <mark.stemm@gmail.com>
Sample Falco alert: ``` File below /etc opened for writing (user=root command=se_supervisor.p /opt/avi/scripts/se_supervisor.py -d parent=systemd pcmdline=systemd file=/etc/ssh/ssh_monitor_config_10.24.249.200 program=se_supervisor.p gparent=docker-containe ggparent=docker-con... ``` Signed-off-by: Mark Stemm <mark.stemm@gmail.com>
bc56610
to
a523016
Compare
/cc @leodido |
/check-dco |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for sending this Mark!
FPs really concern me.
Anyway, would you also update the integration tests for them? Some of them are clearly failing now
Sample falco alert: ``` File below /etc opened for writing (user=root command=cp /run/secrets/kubernetes.io/serviceaccount/ca.crt /etc/pki/ca-trust/source/anchors/openshift-ca.crt parent=bash pcmdline=bash -c #!/bin/bash\nset -euo pipefail\n\n# set by the node image\nunset KUB... ``` The exception is conditioned on containers. Signed-off-by: Mark Stemm <mark.stemm@gmail.com>
Sample Falco alert: ``` File below / or /root opened for writing (user=<NA> command=runc:[1:CHILD] init parent=docker-runc-cur file=/exec.fifo program=runc:[1:CHILD] CID1 image=<NA>) ``` This github issue provides some context: opencontainers/runc#1698 Signed-off-by: Mark Stemm <mark.stemm@gmail.com>
Sample Falco alert: ``` Namespace change (setns) by unexpected program (user=root command=cilium-cni parent=cilium-cni host CID2 CID1 image=<NA>) ``` Signed-off-by: Mark Stemm <mark.stemm@gmail.com>
Sample Falco alert: ``` Shell spawned by untrusted binary (user=git shell=sh parent=puma reactor cmdline=sh -c pgrep -fl "unicorn.* worker\[.*?\]" pcmdline=puma reactor gparent=puma ggparent=runsv aname[4]=ru... ``` https://github.com/puma/puma says it is "A Ruby/Rack web server built for concurrency". Signed-off-by: Mark Stemm <mark.stemm@gmail.com>
1e55309
to
c7cb49c
Compare
Yay for regression tests! I fixed the rules and they’re passing now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fntlnz The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
LGTM label has been added. Git tree hash: c5ade4dbbe5a8f9a154d7215f9f264d884ca017b
|
This looks good as always @mstemm . See: https://github.com/falcosecurity/falco/blob/dev/CONTRIBUTING.md#rule-type |
Okay, updated the release notes with the rule names and changes. |
Thank you @mstemm ! |
What type of PR is this?
/kind bug
/kind rule-update
Any specific area of the project related to this PR?
/area rules
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: