mirror of
https://github.com/falcosecurity/falco.git
synced 2026-03-31 09:02:43 +00:00
Compare commits
1 Commits
ekoops-pat
...
rules-bash
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
532188e3a8 |
@@ -2632,10 +2632,11 @@
|
|||||||
evt.arg.path contains "fish_read_history" or
|
evt.arg.path contains "fish_read_history" or
|
||||||
evt.arg.path endswith "fish_history")) or
|
evt.arg.path endswith "fish_history")) or
|
||||||
(open_write and (
|
(open_write and (
|
||||||
|
(not fd.name startswith /var/lib/docker and (
|
||||||
fd.name contains "bash_history" or
|
fd.name contains "bash_history" or
|
||||||
fd.name contains "zsh_history" or
|
fd.name contains "zsh_history" or
|
||||||
fd.name contains "fish_read_history" or
|
fd.name contains "fish_read_history" or
|
||||||
fd.name endswith "fish_history") and evt.arg.flags contains "O_TRUNC")
|
fd.name endswith "fish_history")) and evt.arg.flags contains "O_TRUNC")
|
||||||
output: >
|
output: >
|
||||||
Shell history had been deleted or renamed (user=%user.name user_loginuid=%user.loginuid type=%evt.type command=%proc.cmdline fd.name=%fd.name name=%evt.arg.name path=%evt.arg.path oldpath=%evt.arg.oldpath %container.info)
|
Shell history had been deleted or renamed (user=%user.name user_loginuid=%user.loginuid type=%evt.type command=%proc.cmdline fd.name=%fd.name name=%evt.arg.name path=%evt.arg.path oldpath=%evt.arg.oldpath %container.info)
|
||||||
priority:
|
priority:
|
||||||
|
|||||||
Reference in New Issue
Block a user