Skip to content

Windows Event ID 4905: An attempt was made to unregister a security event source

Written when a security event source is unregistered. Paired with registration 4904, it tracks changes to log publishers.

Overview

The subcategory is Audit Policy Change. It is generated when an existing security event source (a publisher permitted to write to the Security log) is unregistered.

How it is triggered

  • When an application or component unregisters a security event source.

Security review points

  • Unregistering a legitimate monitoring or security product’s event source means that source’s log supply stops, which can reduce visibility (defense evasion). Investigate unexpected unregistrations.
  • Together with registration 4904, understand changes to the monitoring configuration through additions/removals of event sources.

Notes for log review

  • It occurs legitimately during product uninstalls and the like. Match against normal patterns of the unregistered source and subject.
  • Note unregistration of sources important to monitoring.

MITRE ATT&CK mapping

TechniqueTacticWhat this event shows
T1685.001 Disable or Modify Windows Event LogDefense ImpairmentUnregistering a legitimate product’s event source to cut off its logs

Mapping as of ATT&CK v19.2. To search by technique, see the ATT&CK reverse lookup.

Detection rules

SigmaHQ has 1 public detection rule that uses this event ID as a condition.

RuleTypeSeverity
VSSAudit Security Event Source RegistrationSigmaInformational

Rules are collected from SigmaHQ r2026-07-01 and from Azure-Sentinel as of 2026-10-09, limited to those whose conditions include this event ID. Sentinel rules are limited to those that query the SecurityEvent or WindowsEvent table. “Threat-specific” rules target a particular threat group or malware, and “needs setup” rules require values for your environment. Severity is the value each rule’s author assigned.

Key fields

FieldMeaning
Event SourceThe unregistered event source
Subject\Account NameThe subject that performed the unregistration

References