[Tuning] event.action and event.type change (#3495)
Co-authored-by: Terrance DeJesus <99630311+terrancedejesus@users.noreply.github.com>
Removed changes from:
- rules/linux/discovery_process_capabilities.toml
- rules/linux/privilege_escalation_enlightenment_window_manager.toml
- rules/linux/privilege_escalation_gdb_sys_ptrace_elevation.toml
- rules/linux/privilege_escalation_gdb_sys_ptrace_netcon.toml
- rules/linux/privilege_escalation_suspicious_chown_fowner_elevation.toml
- rules/linux/privilege_escalation_suspicious_uid_guid_elevation.toml
- rules_building_block/discovery_capnetraw_capability.toml
- rules_building_block/persistence_cap_sys_admin_added_to_new_binary.toml
(selectively cherry picked from commit 9f8638a004)
This commit is contained in:
committed by
github-actions[bot]
parent
b1989a921b
commit
578e86eeae
@@ -4,7 +4,7 @@ integration = ["endpoint"]
|
||||
maturity = "production"
|
||||
min_stack_comments = "New fields added: required_fields, related_integrations, setup"
|
||||
min_stack_version = "8.3.0"
|
||||
updated_date = "2023/11/02"
|
||||
updated_date = "2024/03/08"
|
||||
|
||||
[rule]
|
||||
author = ["Elastic"]
|
||||
@@ -59,8 +59,8 @@ timestamp_override = "event.ingested"
|
||||
type = "eql"
|
||||
|
||||
query = '''
|
||||
process where host.os.type == "linux" and event.action in ("exec", "exec_event", "fork", "fork_event") and
|
||||
event.type == "start" and user.name == "postgres" and (
|
||||
process where host.os.type == "linux" and event.type == "start" and event.action in ("exec", "exec_event", "fork", "fork_event") and
|
||||
user.name == "postgres" and (
|
||||
(process.parent.args : "*sh" and process.parent.args : "echo*") or
|
||||
(process.args : "*sh" and process.args : "echo*")
|
||||
) and not process.parent.name : "puppet"
|
||||
|
||||
Reference in New Issue
Block a user