Skip to content

Windows Event ID 4904: An attempt was made to register a security event source

Written when a new security event source is registered. It captures the addition of a publisher able to write events to the Security log.

Overview

The subcategory is Audit Policy Change. It is generated when a new security event source (a publisher permitted to write events to the Security log) is registered.

How it is triggered

  • When an application or component is registered as a security event source.
  • Registration requires a privilege (SeAuditPrivilege).

Security review points

  • Adding a source that can write to the Security log can relate to a technique of injecting fake events to confuse investigation, or polluting the log. For an unexpected source registration, check the registering component and subject.
  • Together with unregistration 4905, track changes to event sources. Separate whether it is from a legitimate monitoring or security product.

Notes for log review

  • It occurs legitimately during product deployment and the like. Match against normal patterns of the registered source name and subject.
  • Note registration of an unfamiliar source, or registration by an unexpected account holding SeAuditPrivilege.

MITRE ATT&CK mapping

No technique maps directly. Injecting fake events to pollute the log is reviewed from the log tampering angle (T1685.001 Disable or Modify Windows Event Log).

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 registered event source name
Subject\Account NameThe subject that performed the registration

References