-
Notifications
You must be signed in to change notification settings - Fork 70
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
Add by default runc as known_memfd_execution_binaries #266
Comments
We observe the same issue in our AKS clusters, and apparently, other people are experiencing it as well. Well done, @borrelm, for identifying the root cause of the issue! |
I don't think the changes mentioned will solve the issue. In our case the process.name is reported as 5, not "runc", while process.pname is reported as "runc."
In addition to adding "runc" to the items, I believe the rule should be changed to look at "pname" instead of "name". From
To
At the very least, this would allow us to add the necessary exception—if it makes sense to permit runc to operate like this. |
We also experience this problem since upgrading AKS from 1.28 to 1.30. Is there any progress on this? |
We have modified our rules to ignore runc for now by adding this (we are using the Falco Helm chart). customRules:
rules-memfd.yaml: |-
- list: known_memfd_execution_binaries
items: [runc]
override:
items: append
- macro: known_memfd_execution_processes
condition: (proc.pname in (known_memfd_execution_binaries))
override:
condition: replace It would be interesting to understand why runc's behavior changed to trigger the rule. And I guess we need this knowledge before deciding whether this exception belongs in the default rules? |
I also encountered this problem by upgrading k0s from v1.29.6+k0s.0 to v1.30.6+k0s.0. And I confirmed #266 (comment) setting ignored this issue. For |
Motivation
Since
runc 1.1.15
, that was notably deployed in AKSUbuntu-2204gen2containerd-202410.15.0 vs previous version, we do experience a hell lot of falco CRITICAL alertsI'm clearly not a subject expert, so pardon me if it is non-sense, but I think this change in runc 1.1.15 may be the culprit of why it is now trigerring alerts.
Nonetheless, I think
runc
may be added toknown_memfd_execution_binaries
as it was suggested here but for unknown reason didn't make it to final releaseFeature
Add runc as a
known_memfd_execution_binaries
to avoid false critical alertsAlternatives
Additional context
The text was updated successfully, but these errors were encountered: