Skip to content

Commit ad4f345

Browse files
authored
Fix query syntax for shared object detection rule
1 parent 83b9882 commit ad4f345

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rules/linux/defense_evasion_hidden_shared_object.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ timestamp_override = "event.ingested"
108108
type = "eql"
109109
query = '''
110110
file where host.os.type == "linux" and event.type == "creation" and
111-
(file.extension:"so" or file.name:*.so.*) and file.name : ".*.so" and
111+
(file.extension == "so" or file.name like "*.so.*") and file.name : ".*.so" and
112112
not process.name in ("dockerd", "azcopy", "podman", "opencode") and not file.name like "._*"
113113
'''
114114

0 commit comments

Comments
 (0)