Skip to content

Commit a5d9d64

Browse files
authored
[Rule Tuning] Suspicious Execution via Scheduled Task (#4599)
1 parent 3966981 commit a5d9d64

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

rules/windows/persistence_suspicious_scheduled_task_runtime.toml

+12-5
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
creation_date = "2020/11/19"
33
integration = ["endpoint"]
44
maturity = "production"
5-
updated_date = "2025/03/20"
5+
updated_date = "2025/04/07"
66

77
[rule]
88
author = ["Elastic"]
@@ -101,10 +101,17 @@ process where host.os.type == "windows" and event.type == "start" and
101101
"C:\\Windows\\Debug\\*",
102102
"C:\\HP\\*") and
103103
104-
not (process.name : "cmd.exe" and process.args : "?:\\*.bat" and process.working_directory : "?:\\Windows\\System32\\") and
105-
not (process.name : "cscript.exe" and process.args : "?:\\Windows\\system32\\calluxxprovider.vbs") and
106-
not (process.name : "powershell.exe" and process.args : ("-File", "-PSConsoleFile") and user.id : "S-1-5-18") and
107-
not (process.name : "msiexec.exe" and user.id : "S-1-5-18")
104+
not (process.name : "cmd.exe" and process.args : "?:\\*.bat" and process.working_directory : "?:\\Windows\\System32\\") and
105+
not (process.name : "cscript.exe" and process.args : "?:\\Windows\\system32\\calluxxprovider.vbs") and
106+
not (
107+
process.name : "powershell.exe" and
108+
process.args : (
109+
"-File", "-PSConsoleFile",
110+
"C:\\ProgramData\\Microsoft\\AutopatchSetupScheduled\\SetupAutopatchClientV2Package.ps1",
111+
"C:\\ProgramData\\Microsoft\\AutopatchSetupScheduled\\SetupAutopatchClientPackage.ps1"
112+
) and user.id : "S-1-5-18"
113+
) and
114+
not (process.name : "msiexec.exe" and user.id : "S-1-5-18")
108115
'''
109116

110117

0 commit comments

Comments
 (0)