Skip to content

Commit d9f9ec9

Browse files
Aegrahtradebot-elastic
authored andcommitted
[Rule Tuning] Dynamic Linker Copy (#5841)
(cherry picked from commit 5d3e17e)
1 parent 843fad3 commit d9f9ec9

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

rules/linux/persistence_dynamic_linker_backup.toml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
creation_date = "2022/07/12"
33
integration = ["endpoint", "sentinel_one_cloud_funnel"]
44
maturity = "production"
5-
updated_date = "2025/12/22"
5+
updated_date = "2026/03/17"
66

77
[transform]
88
[[transform.osquery]]
@@ -166,11 +166,12 @@ tags = [
166166
type = "eql"
167167
query = '''
168168
sequence by process.entity_id with maxspan=1m
169-
[process where host.os.type == "linux" and event.type == "start" and process.name in ("cp", "rsync", "mv") and
170-
process.args in (
171-
"/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2", "/etc/ld.so.preload", "/lib64/ld-linux-x86-64.so.2",
172-
"/usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2", "/usr/lib64/ld-linux-x86-64.so.2"
173-
)]
169+
[process where host.os.type == "linux" and event.type == "start" and process.name in ("cp", "rsync", "mv") and
170+
process.args in (
171+
"/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2", "/etc/ld.so.preload", "/lib64/ld-linux-x86-64.so.2",
172+
"/usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2", "/usr/lib64/ld-linux-x86-64.so.2"
173+
) and
174+
not process.args like ("/var/tmp/mkinitramfs*", "/var/tmp/dracut*", "/tmp/mkinitcpio*")]
174175
[file where host.os.type == "linux" and event.action == "creation" and (file.extension == "so" or file.name like "*.so.*")]
175176
'''
176177

0 commit comments

Comments
 (0)