Skip to content

Commit 447e321

Browse files
authored
Update rules/cross-platform/execution_nodejs_pre_or_post_install_script_execution.toml
1 parent 9fc0c83 commit 447e321

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rules/cross-platform/execution_nodejs_pre_or_post_install_script_execution.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ type = "eql"
6767
query = '''
6868
sequence by host.id with maxspan=10s
6969
[process where host.os.type in ("linux", "macos") and event.type == "start" and event.action in ("exec", "ProcessRollup2", "start") and process.name == "node" and process.args == "install"] by process.entity_id
70-
[process where host.os.type in ("linux", "macos") and event.type == "start" and event.action in ("exec", "ProcessRollup2") and process.parent.name == "node"] by process.parent.entity_id
70+
[process where host.os.type in ("linux", "macos") and event.type == "start" and event.action in ("exec", "ProcessRollup2", "start") and process.parent.name == "node"] by process.parent.entity_id
7171
'''
7272

7373
[[rule.threat]]

0 commit comments

Comments
 (0)