Rule tuning as part of Linux Detection Rules Review (#2170)

This commit is contained in:
shashank-elastic
2022-07-29 21:55:49 +05:30
committed by GitHub
parent 998afcf9c4
commit 8afded11e7
10 changed files with 29 additions and 23 deletions
@@ -1,7 +1,7 @@
[metadata]
creation_date = "2020/12/21"
maturity = "production"
updated_date = "2021/03/03"
updated_date = "2022/07/26"
[rule]
author = ["Elastic"]
@@ -26,10 +26,10 @@ timestamp_override = "event.ingested"
type = "query"
query = '''
event.category:file and event.type:change and
event.category:file and event.type:change and
process.name:* and
(file.path:(/usr/sbin/sshd or /usr/bin/ssh or /usr/bin/sftp or /usr/bin/scp) or file.name:libkeyutils.so) and
not process.executable:/usr/bin/dpkg
not process.name:("dpkg" or "yum" or "dnf" or "dnf-automatic")
'''