← All Threat Hunting ReportsThreat Hunting Exercise

Threat Hunting Exercise: Analyzing Windows GPO Abuse Malicious Scheduled Task Push Dataset

This hunt uses a simulated Active Directory / Group Policy telemetry dataset (win_gpo_scheduledtask_2022-09-17T083000.json) capturing T1484.001: Domain Policy Modification (Group Policy Modification), where an attacker with domain-admin-equivalent access edits a widely-linked GPO to deploy a malicious Scheduled Task to every computer in an OU, achieving mass persistence and execution in a single change.

Step 1: Hypothesis Formation

Hypothesis: A new or modified GPO containing a Scheduled Task preference (ScheduledTasks.xml) referencing an unusual executable path or encoded command is linked to a broad OU, and within one Group Policy refresh cycle (typically 90-120 minutes), the corresponding scheduled task begins executing across many endpoints simultaneously - indicating GPO-based mass deployment rather than isolated endpoint compromise. Indicators:

Null Hypothesis: IT operations legitimately pushed a new monitoring or patching scheduled task via GPO as part of a documented deployment. Invalidate by checking the change against the CMDB/change-management ticket and confirming the task action matches approved software.

Rationale: GPO-based deployment is one of the highest-leverage techniques in AD environments - a single malicious change can achieve organization-wide persistence and execution - so detecting it at the GPO-modification stage, before the refresh cycle propagates, dramatically limits blast radius.

Step 2: Data Sources and Scope

Step 3: Key Findings

Parsed events (5 shown) confirm svc-gpo-deploy - a service account not documented for interactive GPO editing - modified the "Corp-Workstations-Default" GPO to add a Scheduled Task, which propagated to 337 of 340 workstations in the OU within the following refresh cycle.

Timestamp (UTC)HostEventDetailIOC/Why Suspicious?
2022-09-17 08:34:12DC014739 (GPO Changed)GPO "Corp-Workstations-Default" modified by svc-gpo-deploy from source IP 10.70.1.44 (an interactive workstation, not the automation server)Identity-Mismatch IOC: this service account normally only authenticates from the CI/CD automation server, never interactively from a workstation.
2022-09-17 08:34:20SYSVOL(file audit)ScheduledTasks.xml updated under the GPO's Machine\Preferences\ScheduledTasks\ path, referencing action powershell.exe -enc <base64>Payload IOC: encoded PowerShell as a scheduled task action is a strong indicator of malicious intent versus a documented software task.
2022-09-17 10:02:47(aggregate, 337 hosts)4698 (Scheduled Task Created)Task MSUpdateHelper created identically across 337 workstations within a 12-minute windowMass-Propagation IOC: near-simultaneous identical task creation across hundreds of hosts is the signature of GPO refresh-driven deployment, not organic per-host compromise.
2022-09-17 10:05:00(sample host WKS-SALES-088)Sysmon Event ID 1MSUpdateHelper task fired, launching the encoded PowerShell which connected to 91.203.44.12Execution-Confirmation IOC: the pushed task is actively executing and beaconing outbound on affected endpoints, confirming a live mass-compromise, not a benign or inert change.
-(change management)(CMDB check)No change ticket exists referencing "MSUpdateHelper" or a GPO edit to "Corp-Workstations-Default" in this windowConfirms the modification bypassed the documented change-approval process entirely.

Validation:

Step 4: Recommendations & Next Steps

Hypothesis confirmed - an attacker compromised a GPO-deployment service account and abused it to push a malicious scheduled task via Group Policy, achieving near-simultaneous code execution across 337 workstations in a single change!