GooseEgg is a Windows local privilege escalation and execution technique that abuses the Task Scheduler service. It typically lets an attacker run a chosen payload with elevated rights by manipulating how scheduled tasks are created or executed, so defenders look for suspicious service control, task creation, and privilege changes.
What GooseEgg Is in Windows
GooseEgg is a local privilege escalation and execution technique that targets Windows Task Scheduler behaviour. It matters because the attack path is not about malware complexity, it is about abusing an operating system service to cross a privilege boundary and launch code with higher rights than the initiating user.
In practical terms, GooseEgg sits in the family of Windows abuse patterns where an attacker looks for a trusted component that will do the elevated execution on their behalf. That makes the technique attractive in post-compromise scenarios, especially where local administrator capability is not already present.
How GooseEgg Works
The core mechanic is manipulation of scheduled task creation or execution so the system performs privileged action unexpectedly. Defenders should think in terms of service interaction, task registration, and the conditions under which the scheduler will execute a payload with elevated context.
This is dangerous because scheduled tasks are normal administrative machinery. A technique that blends into routine task activity can bypass naive detection logic, especially if monitoring focuses only on unusual binaries rather than on task metadata, parent-child process relationships, or service control behaviour.
GooseEgg does not require a novel exploit chain to be effective. Its power comes from reaching into a legitimate control plane, so even a small abuse of scheduler logic can create a disproportionate privilege outcome.
Why It Is Dangerous
Local privilege escalation changes the defender's problem from containment to host control. Once execution is obtained at an elevated level, an attacker can disable protections, alter services, access protected files, or stage follow-on activity that would otherwise be blocked.
That is why local elevation techniques are often treated as a pivot point rather than a standalone issue. If the attacker can turn an ordinary task operation into privileged execution, the host becomes a platform for persistence, tampering, and further credential or session abuse.
For defenders, the main security lesson is that trust in built-in administration features must be paired with careful observability. The presence of a legitimate service does not make every use of that service legitimate.
Detection and Defensive Monitoring
Detection should start with the expected task lifecycle: who created the task, which binary it launches, what account context it uses, and whether the resulting process tree matches normal administration patterns. Sudden task creation followed by privilege change is a strong signal when it does not fit a known maintenance workflow.
Security teams should also review service control events, scheduler logs, and endpoint telemetry together rather than in isolation. A single event can look benign, but correlated evidence can reveal that the task scheduler was being used as an elevation path.
Post-detection review should include a search for other changes made from the same host, because a successful local elevation attempt often accompanies persistence, defence tampering, or staging for lateral movement.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
MITRE ATT&CK addresses the attack and risk surface, while NIST SP 800-53 Rev 5, CIS Controls v8 and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| MITRE ATT&CK | T1068 — Exploitation for Privilege Escalation | GooseEgg is a local privilege escalation technique that fits this ATT&CK objective. |
| Recommendation — Map task-scheduler abuse to T1068 and alert on unexpected privilege gains from scheduled execution. | ||
| NIST SP 800-53 Rev 5 | AU-2 — Event Logging | Task creation and service-control events must be logged to detect scheduler abuse. |
| AU-6 — Audit Record Review, Analysis, and Reporting | This technique is best found by correlating task, service, and process telemetry. | |
| AC-6 — Least Privilege | The technique succeeds by crossing a privilege boundary that least privilege aims to constrain. | |
| Recommendation — Log task-scheduler and service-control activity so privilege escalation attempts are reviewable. Review correlated host telemetry for suspicious task creation and privilege-change sequences. Restrict administrative rights so scheduled-task abuse cannot easily yield elevated execution. | ||
| CIS Controls v8 | CIS-5 — Account Management | Task-based elevation commonly abuses privileged accounts or service contexts. |
| CIS-8 — Audit Log Management | Detection depends on retained logs for task, service, and process activity. | |
| Recommendation — Limit and review privileged accounts that can create or alter scheduled tasks. Centralize and retain logs needed to investigate scheduled-task privilege escalation. | ||
| NIST CSF 2.0 | DE.CM-01 — Monitoring for Unauthorized Events | Scheduler abuse is detected by monitoring unauthorized task and process activity. |
| Recommendation — Monitor host activity for unauthorized task execution and privilege changes. | ||
Practitioner Guidance
What to watch for: Treat unusual scheduled task creation, unexpected task updates, and elevated child processes as investigation triggers, not as routine noise. The most useful question is whether the task activity matches an approved administrative pattern and an approved account context.
Governance implication: Task Scheduler should be treated as a controlled administrative surface, with clear ownership for monitoring, review, and incident triage. If teams do not know which task activity is expected, they will miss the difference between standard automation and privilege abuse.
Practitioner takeaway: GooseEgg is easiest to stop when task behaviour is baseline-driven, service activity is logged centrally, and local privilege changes are reviewed as security events rather than mere configuration changes.
Deepen Your Knowledge
Free weekly newsletter
Subscribe to the NHI & AI Identity Journal
The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.
Bonus 33% off our NHI Course when you subscribe.
Reviewed and updated by the NHIMG editorial team on November 25, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org