Schtasks From Suspicious Folders

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Detects scheduled task creations that have suspicious action command and folder combinations

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "Process started" AND (PROCESSNAME endswith "\schtasks.exe" OR ORIGINALFILENAME = "schtasks.exe") AND COMMANDLINE contains " /create " AND COMMANDLINE contains "powershell,pwsh,cmd /c ,cmd /k ,cmd /r ,cmd.exe /c ,cmd.exe /k ,cmd.exe /r " AND COMMANDLINE contains "C:\ProgramData\,%ProgramData%" select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME

Detection

Execution Mode

realtime

Log Sources

Windows

Author

Florian Roth (Nextron Systems)