Join our Newsletter — 33% off our NHI Course
Home› Glossary› Cyber Security› Event ID 4657
Cyber Security

Event ID 4657

← Back to Glossary
By NHI Mgmt Group Updated November 3, 2026 Domain: Cyber Security

Event ID 4657 is a Windows Security Audit event that records changes to a registry value. It logs the user or process making the change, the affected key, and the old and new data, which helps detect persistence, tampering, or policy changes through registry modification.

What Event ID 4657 Captures

Event ID 4657 is a registry-change audit event, so its value is not just that “something changed” but that Windows records who made the change, which registry key was affected, and what the old and new data were. That makes it one of the more useful signals for understanding configuration drift, stealthy persistence, and policy tampering.

Because registry edits can be used to alter security settings, disable protections, or establish persistence, the event is most useful when it is paired with other endpoint telemetry. Windows Event Log Guide provides the broader audit-policy context needed to interpret registry auditing alongside other Windows security events.

Why Registry Modification Matters

The registry is a high-value control plane on Windows. Attackers and administrators both use it to store settings, but malicious change patterns often look different from normal operations: edits may target autoruns, security policies, log settings, execution behavior, or application configuration. A single registry write can therefore change how a system starts, what runs at login, or how security controls behave.

That is why registry auditing is especially important for persistence detection. A registry change may be harmless in isolation, but when it touches startup locations, service parameters, policy paths, or security-relevant keys, it can become an indicator of compromise or a precursor to lateral movement.

How Analysts Use the Event

Event ID 4657 is most valuable when teams correlate it with process creation, logon activity, script execution, and related registry or service events. The event tells you what changed, but it does not always tell you the full attacker intent, so investigators usually combine it with surrounding telemetry to establish whether the change was administrative, automated, or suspicious.

In practice, the key questions are whether the source process is expected, whether the registry path is sensitive, and whether the timing aligns with other suspicious activity. For example, a registry write followed by a new service, a modified autorun, or a policy change can indicate a coherent intrusion chain rather than routine maintenance.

If you collect endpoint telemetry at scale, Endpoint Telemetry Guide is the best companion resource for deciding how registry events should fit into a broader detection pipeline.

Interpretation and Response

Registry auditing works best when defenders know which keys matter most in their environment and which changes are routinely made by software, management tools, or privileged administrators. Without that baseline, 4657 can become noisy. With it, the event becomes a precise way to spot tampering, persistence, and security-policy manipulation early.

When a suspicious change is confirmed, responders should treat the registry entry as evidence, not just a configuration issue. The investigation normally extends to the originating process, the account or token that made the change, and any services, scheduled tasks, or startup mechanisms that may have been enabled by it.

Anti-Forensics Detection Guide is useful here because registry tampering is often part of broader defense-impairment activity, including log manipulation and other attempts to reduce visibility.

Detection Value in the Broader Windows Stack

Event ID 4657 is rarely the only evidence defenders need, but it is often a critical pivot point. In mature monitoring environments, it helps connect configuration change, persistence, privilege misuse, and policy alteration into a single incident narrative. That makes it especially valuable for hunts that look for living-off-the-land tradecraft or stealthy system modification.

For defenders already monitoring process, PowerShell, and service events, 4657 adds a configuration-integrity layer that can reveal what the other logs do not. Sysmon Guide complements that view by showing how Sysmon-based telemetry can strengthen tamper detection and help connect registry changes to executable behavior.

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-12 — Audit Record GenerationRegistry-change auditing depends on generating the records needed to see who changed what.
AU-6 — Audit Record Review, Analysis, and Reporting4657 is useful only when reviewed and correlated for suspicious change patterns.
CM-5 — Access Restrictions for ChangeRegistry change events support enforcing and reviewing controlled system modifications.
Recommendation — Enable audit record generation for registry-value changes and ensure the resulting events are centrally collected. Correlate registry-change events with process, logon, and service activity to identify suspicious modifications. Restrict who can modify sensitive registry paths and review unexpected change activity against approved baselines.
CIS Controls v8CIS-8 — Audit Log ManagementEvent ID 4657 is an audit-log source used to detect tampering and persistence through change visibility.
CIS-10 — Malware DefensesRegistry tampering often supports persistence and defense evasion that malware controls must detect.
Recommendation — Collect and review registry-change logs so suspicious configuration drift is detected early. Use malware and endpoint defenses to alert on registry modifications tied to persistence or security disabling.

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 November 3, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org