endpoint(opens in a new tab or window)
windows(opens in a new tab or window)
file where host.os.type == "windows" and event.type != "deletion" and
file.path : "?:\\Windows\\Tasks\\*" and file.extension : "job" and
not (
(
process.executable : "?:\\Program Files\\CCleaner\\CCleaner64.exe" and
file.path : "?:\\Windows\\Tasks\\CCleanerCrashReporting.job"
) or
(
process.executable : (
"?:\\Program Files (x86)\\ManageEngine\\UEMS_Agent\\bin\\dcagentregister.exe",
"?:\\Program Files (x86)\\DesktopCentral_Agent\\bin\\dcagentregister.exe"
) and
file.path : "?:\\Windows\\Tasks\\DCAgentUpdater.job"
)
)
Install detection rules in Elastic Security
Detect Persistence via Scheduled Job Creation in the Elastic Security detection engine by installing this rule into your Elastic Stack.
To setup this rule, check out the installation guide for Prebuilt Security Detection Rules(opens in a new tab or window).