Skip to content
System hardening
ASD ISMISM-2129

ASD ISM 2129 Centrally log WMI activity and event subscriptions

What it says

WMI activity, including the creation of permanent event subscriptions, is centrally logged.

Quoted as published. Everything else on this page is written by Control Stack.

In plain English

Send WMI activity to the centralised event logging facility, and make sure it includes every creation of a permanent event subscription.

WMI activity, including the creation of permanent event subscriptions, must be centrally logged, meaning sent to the centralised event logging facility (ISM-1405) rather than left on each workstation or server. WMI, or Windows Management Instrumentation, is the Windows framework for managing and querying systems. A permanent event subscription tells WMI to run an action whenever a chosen event occurs, and it stays until explicitly cancelled. The control names no other WMI events, so the organisation decides which ones show that activity, but subscriptions alone are not enough.

Why it matters

Malicious actors use WMI because it is already present and needed for administration, so blocking it is rarely practical, and a permanent event subscription can also keep re-running their code. Central logs record this activity away from the device, for detection and investigation.

How to implement

  1. Decide which WMI events you will collect.

    Start with the Microsoft-Windows-WMI-Activity/Operational log, which records permanent subscriptions (event ID 5861). It does not record every successful query, so add an endpoint tool's WMI data or an agent reading the WMI trace provider, because event forwarding cannot subscribe to the analytic Trace channel. Record the choice in your security monitoring policy (ISM-0580).

  2. Forward those events to the central facility.

    Add the chosen channels to your log agent or event forwarding on every Windows workstation and server, and connect the endpoint tool or agent that covers other WMI activity. Send them as soon as possible (ISM-1983), encrypted in transit (ISM-1984), and check the facility can take the volume.

  3. Prove it works with a harmless test subscription.

    In a test environment, or in production under change control, create an event filter, a consumer that writes to a test file and the binding between them, then remove them. Then find the creation in the central facility, with the filter and consumer named.

  4. Cover provider-run servers and stand-alone computers.

    Where a provider runs a Windows server, have it forward these events to your facility. If the contract does not allow that, raise it at renewal and record a known shortfall until then. Bring a stand-alone computer's logs across through your data transfer process (ISM-0663), or record a known shortfall.

Keep it running

Watch for devices that stop sending WMI events, and follow up any new permanent event subscription nobody expected. A new Windows version, a change of log agent or a new endpoint tool should trigger a repeat of the test subscription.

Evidence and audit

  1. Check 1 of 3What an auditor asks for

    Ask for

    A harmless permanent event subscription created and then removed under change control on a sampled workstation and server, drawn from the IT equipment registers (ISM-0336, ISM-1869) and a discovery scan.

    Look at

    Whether the creation appears in the centralised event logging facility rather than only on the device.

    Good evidence

    The creation of the subscription is in the central facility for each sampled device, with its filter and consumer identifiable.

  2. Check 2 of 3What an auditor asks for

    Ask for

    Other harmless WMI activity on the same devices, such as a remote query and a method call.

    Look at

    Whether each action can be found in the central facility, in whichever logs the organisation chose.

    Good evidence

    Both actions can be found centrally, so the logging covers more of WMI activity than subscriptions alone.

  3. Check 3 of 3What an auditor asks for

    Ask for

    A report from the facility of which devices have sent WMI events, with the IT equipment registers and a discovery scan to compare it with.

    Look at

    Windows workstations and servers on those lists that have sent nothing.

    Good evidence

    Every Windows workstation and server on those lists has sent WMI events, and a silent device passes only if a test subscription on it then reaches the facility.

Mappings

Closest match in ISO/IEC 27001: A.8.15, Logging, which this control partially meets.

ISO 27001

ISO/IEC 27001: 1 mapping

  • A.8.15LoggingPartially meets
Essential Eight

ASD Essential Eight: 3 mappings

Mappings show how controls relate across frameworks. They do not imply full equivalence or certification.