Skip to content

Commit 9fc0c83

Browse files
authored
Add 'start' action to Node.js install script detection
1 parent 39c8e21 commit 9fc0c83

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

rules/cross-platform/execution_nodejs_pre_or_post_install_script_execution.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,12 @@ tags = [
6161
"Data Source: Elastic Defend",
6262
"Resources: Investigation Guide",
6363
"Data Source: Crowdstrike",
64+
"Data Source: SentinelOne",
6465
]
6566
type = "eql"
6667
query = '''
6768
sequence by host.id with maxspan=10s
68-
[process where host.os.type in ("linux", "macos") and event.type == "start" and event.action in ("exec", "ProcessRollup2") and process.name == "node" and process.args == "install"] by process.entity_id
69+
[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
6970
[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
7071
'''
7172

0 commit comments

Comments
 (0)