Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 3 additions & 1 deletion rules/apm/apm_403_response_to_a_post.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[metadata]
creation_date = "2020/02/18"
maturity = "production"
updated_date = "2021/07/13"
min_stack_comments = "New fields added: required_fields, related_integrations, setup"
min_stack_version = "8.3.0"
updated_date = "2022/08/24"

[rule]
author = ["Elastic"]
Expand Down
4 changes: 3 additions & 1 deletion rules/apm/apm_405_response_method_not_allowed.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[metadata]
creation_date = "2020/02/18"
maturity = "production"
updated_date = "2021/07/13"
min_stack_comments = "New fields added: required_fields, related_integrations, setup"
min_stack_version = "8.3.0"
updated_date = "2022/08/24"

[rule]
author = ["Elastic"]
Expand Down
4 changes: 3 additions & 1 deletion rules/apm/apm_null_user_agent.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[metadata]
creation_date = "2020/02/18"
maturity = "production"
updated_date = "2021/07/13"
min_stack_comments = "New fields added: required_fields, related_integrations, setup"
min_stack_version = "8.3.0"
updated_date = "2022/08/24"

[rule]
author = ["Elastic"]
Expand Down
4 changes: 3 additions & 1 deletion rules/apm/apm_sqlmap_user_agent.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[metadata]
creation_date = "2020/02/18"
maturity = "production"
updated_date = "2021/07/13"
min_stack_comments = "New fields added: required_fields, related_integrations, setup"
min_stack_version = "8.3.0"
updated_date = "2022/08/24"

[rule]
author = ["Elastic"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[metadata]
creation_date = "2020/12/21"
maturity = "production"
updated_date = "2022/03/31"
min_stack_comments = "New fields added: required_fields, related_integrations, setup"
min_stack_version = "8.3.0"
updated_date = "2022/08/24"

[rule]
author = ["Elastic"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[metadata]
creation_date = "2021/07/14"
maturity = "production"
updated_date = "2022/02/28"
min_stack_comments = "The field `event.agent_id_status` was not introduced until 7.14"
min_stack_version = "7.15.0"
updated_date = "2022/08/24"
min_stack_comments = "New fields added: required_fields, related_integrations, setup"
min_stack_version = "8.3.0"

[rule]
author = ["Elastic"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[metadata]
creation_date = "2021/07/14"
maturity = "production"
updated_date = "2022/02/16"
min_stack_comments = "The field `event.agent_id_status` was not introduced until 7.14"
min_stack_version = "7.15.0"
updated_date = "2022/08/24"
min_stack_comments = "New fields added: required_fields, related_integrations, setup"
min_stack_version = "8.3.0"

[rule]
author = ["Elastic"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[metadata]
creation_date = "2020/11/03"
maturity = "production"
updated_date = "2022/03/31"
min_stack_comments = "New fields added: required_fields, related_integrations, setup"
min_stack_version = "8.3.0"
updated_date = "2022/08/24"

[rule]
author = ["Elastic"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[metadata]
creation_date = "2020/05/04"
maturity = "production"
updated_date = "2022/05/16"
min_stack_comments = "New fields added: required_fields, related_integrations, setup"
min_stack_version = "8.3.0"
updated_date = "2022/08/24"

[rule]
author = ["Elastic"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[metadata]
creation_date = "2022/05/23"
maturity = "production"
updated_date = "2022/07/18"
min_stack_comments = "New fields added: required_fields, related_integrations, setup"
min_stack_version = "8.3.0"
updated_date = "2022/08/24"

[rule]
author = ["Elastic"]
Expand Down Expand Up @@ -37,10 +39,10 @@ process where
or
/* service or systemctl used to stop Elastic Agent on Linux */
(event.type == "end" and
(process.name : ("systemctl", "service") and
(process.name : ("systemctl", "service") and
process.args : "elastic-agent" and
process.args : "stop")
or
process.args : "stop")
or
/* Unload Elastic Agent extension on MacOS */
(process.name : "kextunload" and
process.args : "com.apple.iokit.EndpointSecurity" and
Expand Down
4 changes: 3 additions & 1 deletion rules/cross-platform/defense_evasion_timestomp_touch.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[metadata]
creation_date = "2020/11/03"
maturity = "production"
updated_date = "2022/03/31"
min_stack_comments = "New fields added: required_fields, related_integrations, setup"
min_stack_version = "8.3.0"
updated_date = "2022/08/24"

[rule]
author = ["Elastic"]
Expand Down
4 changes: 3 additions & 1 deletion rules/cross-platform/discovery_security_software_grep.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[metadata]
creation_date = "2020/12/20"
maturity = "production"
updated_date = "2022/03/31"
min_stack_comments = "New fields added: required_fields, related_integrations, setup"
min_stack_version = "8.3.0"
updated_date = "2022/08/24"

[rule]
author = ["Elastic"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[metadata]
creation_date = "2021/09/29"
maturity = "production"
updated_date = "2022/03/31"
min_stack_comments = "New fields added: required_fields, related_integrations, setup"
min_stack_version = "8.3.0"
updated_date = "2022/08/24"

[rule]
author = ["Elastic"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[metadata]
creation_date = "2021/01/12"
maturity = "production"
updated_date = "2022/07/05"
min_stack_comments = "New fields added: required_fields, related_integrations, setup"
min_stack_version = "8.3.0"
updated_date = "2022/08/24"

[rule]
author = ["Elastic"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[metadata]
creation_date = "2021/01/13"
maturity = "development"
updated_date = "2022/03/31"
updated_date = "2022/08/24"

[rule]
author = ["Elastic"]
Expand Down
4 changes: 3 additions & 1 deletion rules/cross-platform/execution_revershell_via_shell_cmd.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[metadata]
creation_date = "2020/01/07"
maturity = "production"
updated_date = "2022/07/06"
min_stack_comments = "New fields added: required_fields, related_integrations, setup"
min_stack_version = "8.3.0"
updated_date = "2022/08/24"

[rule]
author = ["Elastic"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[metadata]
creation_date = "2021/01/19"
maturity = "production"
updated_date = "2022/03/31"
min_stack_comments = "New fields added: required_fields, related_integrations, setup"
min_stack_version = "8.3.0"
updated_date = "2022/08/24"

[rule]
author = ["Elastic"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[metadata]
creation_date = "2021/12/10"
maturity = "production"
updated_date = "2022/03/31"
min_stack_comments = "New fields added: required_fields, related_integrations, setup"
min_stack_version = "8.3.0"
updated_date = "2022/08/24"

[rule]
author = ["Elastic"]
Expand Down
6 changes: 3 additions & 3 deletions rules/cross-platform/impact_hosts_file_modified.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[metadata]
creation_date = "2020/07/07"
maturity = "production"
updated_date = "2022/03/31"
min_stack_comments = "Comprehensive timeline templates only available in 8.2+"
min_stack_version = "8.2"
updated_date = "2022/08/24"
min_stack_comments = "New fields added: required_fields, related_integrations, setup"
min_stack_version = "8.3.0"

[rule]
author = ["Elastic"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[metadata]
creation_date = "2020/09/14"
maturity = "production"
updated_date = "2021/05/10"
min_stack_comments = "New fields added: required_fields, related_integrations, setup"
min_stack_version = "8.3.0"
updated_date = "2022/08/24"

[rule]
author = ["Elastic"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[metadata]
creation_date = "2020/12/21"
maturity = "production"
updated_date = "2021/03/22"
min_stack_comments = "New fields added: required_fields, related_integrations, setup"
min_stack_version = "8.3.0"
updated_date = "2022/08/24"

[rule]
author = ["Elastic"]
Expand Down Expand Up @@ -31,19 +33,19 @@ timestamp_override = "event.ingested"
type = "query"

query = '''
event.category:file and event.type:change and
(file.name:pam_*.so or file.path:(/etc/pam.d/* or /private/etc/pam.d/*)) and
event.category:file and event.type:change and
(file.name:pam_*.so or file.path:(/etc/pam.d/* or /private/etc/pam.d/*)) and
process.executable:
(* and
not
(* and
not
(
/bin/yum or
"/usr/sbin/pam-auth-update" or
/usr/libexec/packagekitd or
/usr/bin/dpkg or
/usr/bin/vim or
/usr/libexec/xpcproxy or
/usr/bin/bsdtar or
/bin/yum or
"/usr/sbin/pam-auth-update" or
/usr/libexec/packagekitd or
/usr/bin/dpkg or
/usr/bin/vim or
/usr/libexec/xpcproxy or
/usr/bin/bsdtar or
/usr/local/bin/brew or
/usr/bin/rsync or
/usr/bin/yum or
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[metadata]
creation_date = "2021/01/19"
maturity = "production"
updated_date = "2021/08/03"
min_stack_comments = "New fields added: required_fields, related_integrations, setup"
min_stack_version = "8.3.0"
updated_date = "2022/08/24"

[rule]
author = ["Elastic"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[metadata]
creation_date = "2020/12/22"
maturity = "production"
updated_date = "2022/05/04"
min_stack_comments = "New fields added: required_fields, related_integrations, setup"
min_stack_version = "8.3.0"
updated_date = "2022/08/24"

[rule]
author = ["Elastic"]
Expand All @@ -22,18 +24,18 @@ timestamp_override = "event.ingested"
type = "query"

query = '''
event.category:file and event.type:(change or creation) and
file.name:("authorized_keys" or "authorized_keys2") and
event.category:file and event.type:(change or creation) and
file.name:("authorized_keys" or "authorized_keys2") and
not process.executable:
(/Library/Developer/CommandLineTools/usr/bin/git or
/usr/local/Cellar/maven/*/libexec/bin/mvn or
/Library/Java/JavaVirtualMachines/jdk*.jdk/Contents/Home/bin/java or
/usr/bin/vim or
/usr/local/Cellar/coreutils/*/bin/gcat or
(/Library/Developer/CommandLineTools/usr/bin/git or
/usr/local/Cellar/maven/*/libexec/bin/mvn or
/Library/Java/JavaVirtualMachines/jdk*.jdk/Contents/Home/bin/java or
/usr/bin/vim or
/usr/local/Cellar/coreutils/*/bin/gcat or
/usr/bin/bsdtar or
/usr/bin/nautilus or
/usr/bin/nautilus or
/usr/bin/scp or
/usr/bin/touch or
/usr/bin/touch or
/var/lib/docker/* or
/usr/bin/google_guest_agent)
'''
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[metadata]
creation_date = "2021/01/26"
maturity = "production"
updated_date = "2021/03/03"
min_stack_comments = "New fields added: required_fields, related_integrations, setup"
min_stack_version = "8.3.0"
updated_date = "2022/08/24"

[rule]
author = ["Elastic"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[metadata]
creation_date = "2020/04/23"
maturity = "production"
updated_date = "2021/03/10"
min_stack_comments = "New fields added: required_fields, related_integrations, setup"
min_stack_version = "8.3.0"
updated_date = "2022/08/24"

[rule]
author = ["Elastic"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[metadata]
creation_date = "2021/02/03"
maturity = "production"
updated_date = "2021/03/03"
min_stack_comments = "New fields added: required_fields, related_integrations, setup"
min_stack_version = "8.3.0"
updated_date = "2022/08/24"

[rule]
author = ["Elastic"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[metadata]
creation_date = "2020/04/13"
maturity = "production"
updated_date = "2021/03/03"
min_stack_comments = "New fields added: required_fields, related_integrations, setup"
min_stack_version = "8.3.0"
updated_date = "2022/08/24"

[rule]
author = ["Elastic"]
Expand Down
6 changes: 3 additions & 3 deletions rules/cross-platform/threat_intel_filebeat8x.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[metadata]
creation_date = "2021/11/24"
maturity = "production"
updated_date = "2022/02/16"
min_stack_comments = "Threat index is ECS 1.11 compliant (8.0)."
min_stack_version = "8.0"
updated_date = "2022/08/24"
min_stack_comments = "New fields added: required_fields, related_integrations, setup"
min_stack_version = "8.3.0"

[rule]
author = ["Elastic"]
Expand Down
6 changes: 3 additions & 3 deletions rules/cross-platform/threat_intel_fleet_integrations.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[metadata]
creation_date = "2021/04/21"
maturity = "production"
updated_date = "2022/02/16"
min_stack_comments = "Threat intel module fields were updated from `threatintel.*` to `threat.*` in ECS 1.11 (7.16)."
min_stack_version = "8.0"
updated_date = "2022/08/24"
min_stack_comments = "New fields added: required_fields, related_integrations, setup"
min_stack_version = "8.3.0"

[rule]
author = ["Elastic"]
Expand Down
Loading