[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:
Ruben Groenewoud
2024-03-13 10:11:21 +01:00
committed by github-actions[bot]
parent b1989a921b
commit 578e86eeae
73 changed files with 198 additions and 185 deletions
@@ -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"]
@@ -52,11 +52,11 @@ tags = ["Domain: Endpoint", "OS: Linux", "Use Case: Threat Detection", "Tactic:
type = "eql"
query = '''
sequence by host.id with maxspan=1s
[process where host.os.type == "linux" and event.action == "exec" and event.type == "start" and (
[process where host.os.type == "linux" and event.type == "start" and event.action == "exec" and (
(process.name == "tar" and process.args : "--checkpoint=*" and process.args : "--checkpoint-action=*") or
(process.name == "rsync" and process.args : "-e*") or
(process.name == "zip" and process.args == "--unzip-command") )] by process.entity_id
[process where host.os.type == "linux" and event.action == "exec" and event.type == "start" and
[process where host.os.type == "linux" and event.type == "start" and event.action == "exec" and
process.parent.name : ("tar", "rsync", "zip") and
process.name : ("bash", "dash", "sh", "tcsh", "csh", "zsh", "ksh", "fish")] by process.parent.entity_id
'''