Skip to content

Commit d86f69b

Browse files
committed
Update initial_access_execution_susp_react_serv_child.toml
1 parent f4ceee9 commit d86f69b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

rules/cross-platform/initial_access_execution_susp_react_serv_child.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ query = '''
8080
process where event.type == "start" and event.action in ("exec", "executed", "process_started", "start", "ProcessRollup2") and
8181
process.name in ("sh", "bash", "zsh", "curl", "wget", "id", "whoami", "uname", "cmd.exe", "cat", "powershell.exe") and
8282
(
83-
process.working_directory : ("*react-dom*", "*.next*", "*node_modules/next*", "*react-server*", "*bin/next*", "*--experimental-https*", "*app/server*", "*.pnpm/next*", "*/app/*", "*next/dist/server*", "*react-scripts*") or
83+
?process.working_directory : ("*react-dom*", "*.next*", "*node_modules/next*", "*react-server*", "*bin/next*", "*--experimental-https*", "*app/server*", "*.pnpm/next*", "*/app/*", "*next/dist/server*", "*react-scripts*") or
84+
8485
(process.parent.name in ("node", "bun", "node.exe", "bun.exe") and
8586
process.parent.command_line : ("*react-dom*", "*.next*", "*node_modules/next*", "*react-server*", "*bin/next*", "*--experimental-https*", "*app/server*", "*.pnpm/next*", "*next start*", "*next dev*", "*react-scripts start*", "*next/dist/server*"))
8687
)

0 commit comments

Comments
 (0)