Created
October 25, 2016 20:14
-
-
Save mstemm/a95966413162e990bfee8a9fdea86067 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- rule: File Open by Privileged Container | |
desc: Any open by a privileged container. Exceptions are made for known trusted images. | |
condition: (open_read or open_write) and container and container.privileged=true and not trusted_containers | |
output: File opened for read/write by non-privileged container (user=%user.name command=%proc.cmdline %container.info file=%fd.name) | |
priority: WARNING | |
- macro: sensitive_mount | |
condition: (container.mount.dest[/proc*] != "N/A") | |
- rule: Sensitive Mount by Container | |
desc: Any open by a container that has a mount from a sensitive host directory (i.e. /proc). Exceptions are made for known trusted images. | |
condition: (open_read or open_write) and container and sensitive_mount and not trusted_containers | |
output: File opened for read/write by container mounting sensitive directory (user=%user.name command=%proc.cmdline %container.info file=%fd.name) | |
priority: WARNING |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment