Skip to content
WETNav
SecurityPolicy Change

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

An attempt was made to unregister a security event source.

Channel
Security
Logged by default
Yes
Written on
Any host
Volume
Low
Audit subcategory
Audit Policy Change
Needs a SACL
No

To have this event

  • Enable Audit Policy Change: auditpol /set /subcategory:"Audit Policy Change" /success:enable /failure:enable

Pull this event

Retrieval queries for a live host, a collected .evtx file and common SIEMs. Filter further on the key fields above.

Get-WinEvent -LogName 'Security' -FilterXPath "*[System[(EventID=4905)]]" -MaxEvents 50 |
  Select-Object TimeCreated, Id, MachineName, Message

-FilterXPath supports exact matches only. For substring matching, filter in Where-Object.

Where it shows up

Investigations, attack signals and lateral movement techniques that rely on this event.

ATT&CK mapping

Techniques this event can help detect. Most of these depend on specific field values; the event alone does not mean the technique happened.

Common questions

What does Windows event ID 4905 mean?
An attempt was made to unregister a security event source. It is written to the Windows Security log (Security).
Is event 4905 logged by default?
Yes, a default Windows installation records it. It is controlled by the "Audit Policy Change" Advanced Audit Policy subcategory (Policy Change).

An attempt was made to unregister a security event source. Needs the "Audit Policy Change" audit subcategory. Key fields, logging requirements, ATT&CK mapping and ready-to-run queries.