Join our Newsletter — 33% off our NHI Course
Home› Glossary› Cyber Security› Windows Security Event 4702
Cyber Security

Windows Security Event 4702

← Back to Glossary
By NHI Mgmt Group Updated October 29, 2026 Domain: Cyber Security

Windows Security Event 4702 is the audit event for a scheduled task being updated. It indicates that an existing task definition changed, such as its trigger, action, run account, or conditions, which can reveal configuration drift or malicious modification of an existing scheduled task.

What the event means in Windows auditing

Windows Security Event 4702 records a change to an existing scheduled task, so it sits in the audit trail for task updates rather than task creation. That distinction matters because defenders often care less about whether a task exists and more about whether its behaviour, timing, or execution context has been altered.

When this event appears, the change may be benign administration, but it can also reflect persistence tradecraft, especially when an attacker modifies a trusted task instead of creating a noisy new one. Reviewing the task name, the change window, and the surrounding process and logon activity helps separate routine maintenance from suspicious drift.

Why scheduled task updates matter for defenders

Scheduled tasks are attractive because they can run with elevated or durable privileges, execute on a timer, and blend into normal system operations. If an attacker can change the trigger, action, or run account, they may be able to preserve access, stage payloads, or shift execution to a more trusted context.

The operational danger is not the event itself, but the fact that a legitimate automation object has been repurposed. A single task update can silently alter cadence, target binary, command line, or identity context, which makes baseline comparison and change control important even on systems that are otherwise well monitored.

Windows event review works best when correlated with broader log coverage, so defenders should treat 4702 as one signal in a larger telemetry chain rather than as a standalone verdict. For teams building that foundation, the Windows Event Log Guide explains the key Windows audit events around tasks, services, and account activity.

How teams investigate a 4702 event

Investigators should start with the exact task object and compare its current definition with the prior version, then ask who made the change and from which host or admin path. The most useful questions are whether the update aligns with a change ticket, whether the new action points to an unusual binary or script, and whether the run account or conditions now broaden access.

Because scheduled task activity can be part of a persistence chain, the event should also be reviewed alongside nearby process creation, privilege use, and authentication events. Task updates become far more meaningful when they coincide with new logons, remote management activity, or suspicious file placement on the same system.

At scale, logging strategy matters as much as the individual event. Windows Event Forwarding Guide and SIEM Guide are useful reference points for getting task-related telemetry into central detection workflows.

Detection patterns and investigative context

Useful detections usually look for task updates that are unusual for the host, the user, or the maintenance window. Examples include repeated edits to the same task, changes to a task that should be stable, actions that launch scripts from user-writable paths, or updates that follow a suspicious authentication event.

Post-change review should ask whether the updated task now launches code from an unexpected location, invokes command interpreters, or uses an account that should not normally own scheduled execution. A defender who only watches for new tasks can miss a quieter compromise where an existing object is edited in place.

For rapid triage of Windows event data, Hayabusa and Chainsaw Guide is relevant because it focuses on log hunting, tampering checks, and Windows event review workflows. Broader endpoint coverage is also helped by Endpoint Telemetry Guide, which situates Windows auditing inside a larger detection stack.

Practical response and hardening priorities

When 4702 is unexpected, the immediate response is to validate the change, confirm ownership, and determine whether the task was altered to preserve access or execute malicious code. If the change is unauthorized, treat the task as a potential persistence mechanism and review the surrounding system for companion artifacts such as new binaries, modified scripts, or related service changes.

Longer term, the strongest defence is disciplined task inventory, change control, and log retention that lets defenders compare current definitions against known-good baselines. Windows hardening also helps reduce the blast radius of a compromised administrative context, especially where attackers might try to pivot from task modification into broader endpoint control.

For teams building that baseline, the Windows Endpoint Hardening Guide and Windows Server Hardening Guide provide useful context for reducing the opportunity to abuse scheduled execution on Windows systems.

Risk and Threat Considerations

Task updates are risky because they can convert a trusted automation object into a persistence or execution path without creating a brand-new artefact that stands out. That makes 4702 especially relevant where attackers want to hide inside normal administration activity, keep execution durable, or blend malicious launches into scheduled maintenance.

Failure mechanism: An attacker or insider changes the task definition so the task now runs a different payload, runs more often, or executes under a more privileged account, while defenders continue to trust the original task name and purpose.

Impact: The altered task can provide persistence, privilege misuse, repeated code execution, or delayed re-entry after reboot, and it can also obscure the true point of compromise during incident response.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

NIST SP 800-53 Rev 5 and CIS Controls v8 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST SP 800-53 Rev 5AU-6 — Audit Review, Analysis, and ReportingScheduled task updates require review of audit records to spot suspicious changes.
AU-12 — Audit Record GenerationWindows task-update events depend on audit generation to make changes visible.
CM-3 — Configuration Change ControlA task definition update is a configuration change that should follow controlled approval.
Recommendation — Review task change events and correlate them with related logon and process activity. Enable the Windows audit categories needed to record scheduled task modifications. Require approval and traceability for scheduled task changes before deployment.
CIS Controls v8CIS-8 — Audit Log ManagementTask updates are only useful when audit logs are collected, retained, and reviewed.
CIS-4 — Secure Configuration of Enterprise Assets and SoftwareScheduled task drift is a configuration-hardening issue on Windows systems.
Recommendation — Centralise and retain Windows security logs so task changes can be investigated. Baseline scheduled tasks and detect drift from approved configurations.

Practitioner Guidance

What to watch for: Treat 4702 as a change-management signal as much as a security signal. The key judgement is whether the update matches an authorised operational change, because a legitimate task edit and an adversarial persistence edit can look similar at first glance.

Practitioner takeaway: The best protection is not just collecting the event, but knowing what the task should look like before it changes.

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.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on October 29, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org