falcosecurity / falco

Cloud Native Runtime Security
https://falco.org
Apache License 2.0
7.39k stars 902 forks source link

open_file_failed -- failed #3013

Closed cccsss01 closed 9 months ago

cccsss01 commented 10 months ago

Not sure if this is an issue w/ the docs or a bug

Failed file open attempts, useful to detect threat actors making mistakes

https://man7.org/linux/man-pages/man3/errno.3.html

evt.res=ENOENT - No such file or directory

evt.res=EACCESS - Permission denied

tried w/ 'E' and that failed as well (edited)

How to reproduce it

Expected behaviour

I expected a new Detect to be shown for open_file_failed, which it did not. Screenshots

image image (3)

Environment

ALMALINUX_MANTISBT_PROJECT="AlmaLinux-9" ALMALINUX_MANTISBT_PROJECT_VERSION="9.3" REDHAT_SUPPORT_PRODUCT="AlmaLinux" REDHAT_SUPPORT_PRODUCT_VERSION="9.3"

cccsss01 commented 9 months ago

entirely my fault, open file failed not same as rm.