Skip to content

Commit 333b7fe

Browse files
committed
Update persistence_suspicious_scheduled_task_runtime.toml
1 parent 13b82cc commit 333b7fe

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

rules/windows/persistence_suspicious_scheduled_task_runtime.toml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
creation_date = "2020/11/19"
33
integration = ["endpoint", "windows"]
44
maturity = "production"
5-
updated_date = "2025/08/26"
5+
updated_date = "2025/12/11"
66

77
[rule]
88
author = ["Elastic"]
@@ -102,17 +102,21 @@ process where host.os.type == "windows" and event.type == "start" and
102102
"C:\\Windows\\Debug\\*",
103103
"C:\\HP\\*") and
104104
105-
not (process.name : "cmd.exe" and process.args : "?:\\*.bat" and process.working_directory : "?:\\Windows\\System32\\") and
105+
not (process.name : "cmd.exe" and process.args : ("*.bat", "*.cmd")) and
106106
not (process.name : "cscript.exe" and process.args : "?:\\Windows\\system32\\calluxxprovider.vbs") and
107107
not (
108108
process.name : "powershell.exe" and
109109
process.args : (
110110
"-File", "-PSConsoleFile",
111111
"C:\\ProgramData\\Microsoft\\AutopatchSetupScheduled\\SetupAutopatchClientV2Package.ps1",
112-
"C:\\ProgramData\\Microsoft\\AutopatchSetupScheduled\\SetupAutopatchClientPackage.ps1"
112+
"C:\\ProgramData\\Microsoft\\AutopatchSetupScheduled\\SetupAutopatchClientPackage.ps1",
113+
"C:\\Windows\\Temp\\MSS\\MDESetup\\Invoke-MDESetup.ps1"
113114
) and user.id : "S-1-5-18"
114115
) and
115-
not (process.name : "msiexec.exe" and user.id : "S-1-5-18")
116+
not (process.name : "msiexec.exe" and user.id : "S-1-5-18") and
117+
not (process.name : "powershell.exe" and
118+
process.command_line : ("C:\\ProgramData\\ElasticAgent-HealthCheck.ps1",
119+
"C:\\ProgramData\\ssh\\puttysetup.ps1"))
116120
'''
117121

118122

0 commit comments

Comments
 (0)