Skip to content

Commit

Permalink
[Rule tuning] Fix evasion for disable iptables rule (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
phra committed Jul 1, 2020
1 parent f800050 commit 46a4008
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
creation_date = "2020/04/24"
ecs_version = ["1.4.0"]
maturity = "production"
updated_date = "2020/04/24"
updated_date = "2020/07/01"

[rule]
author = ["Elastic"]
Expand All @@ -21,7 +21,7 @@ tags = ["Elastic", "Linux"]
type = "query"

query = '''
event.action:(executed or process_started) and (process.name:service and process.args:stop or process.name:chkconfig and process.args:off) and process.args:(ip6tables or iptables) or process.name:systemctl and process.args:(firewalld and (disable or stop or kill))
event.action:(executed or process_started) and (process.name:service and process.args:stop or process.name:chkconfig and process.args:off) and process.args:(ip6tables or iptables or firewalld) or process.name:systemctl and process.args:((firewalld or iptables or ip6tables) and (disable or stop or kill))
'''


Expand Down

0 comments on commit 46a4008

Please sign in to comment.