Privilege Escalation (TA0004)(external, opens in a new tab or window)
Lateral Movement (TA0008)(external, opens in a new tab or window)
text code block:any where host.os.type == "windows" and event.code in ("5136", "5145") and ( ( winlog.event_data.AttributeLDAPDisplayName : ( "gPCMachineExtensionNames", "gPCUserExtensionNames" ) and winlog.event_data.AttributeValue : "*CAB54552-DEEA-4691-817E-ED4A4D1AFC72*" and winlog.event_data.AttributeValue : "*AADCED64-746C-4633-A97C-D61349046527*" ) or ( winlog.event_data.ShareName : "\\\\*\\SYSVOL" and winlog.event_data.RelativeTargetName : "*ScheduledTasks.xml" and winlog.event_data.AccessList:"*%%4417*" ) )
Install detection rules in Elastic Security
Detect Scheduled Task Execution at Scale via GPO 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(external, opens in a new tab or window).