Scheduled Task Executing Payload from Registry
Last updated on:
In this page
About the rule
Rule Type
Standard
Rule Description
Detects the creation of a schtasks that potentially executes a payload stored in the Windows Registry using PowerShell.
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 "Get-ItemProperty, gp " AND COMMANDLINE contains "HKCU:,HKLM:,registry::,HKEY_") AND COMMANDLINE notcontains "FromBase64String,encodedcommand" select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME
Detection
Execution Mode
realtime
Log Sources
Windows
Author
X__Junior (Nextron Systems), Nasreddine Bencherchali (Nextron Systems)


