Hard2bit
← Volver al blog

Built-in Sysmon on Windows 11 and Windows Server 2025: enablement, configuration and SIEM forwarding

Por Adrián González · 28 de noviembre de 2026
Built-in Sysmon on Windows 11 and Windows Server 2025

Built-in Sysmon, which Microsoft documents as Built-in System Monitor, is the native version of Sysmon that Windows 11 has included as an optional feature since February 2026, according to Microsoft's command reference. The Microsoft Learn overview extends it to Windows Server 2025. It is not switched on by default: to produce telemetry, the feature has to be enabled, the service installed with an XML configuration and the Microsoft-Windows-Sysmon/Operational channel forwarded to the SIEM. Without those three steps, the machine records no Sysmon events.

Microsoft announced the change in November 2025. The advantage over the Sysinternals version lies in maintenance: the binary arrives through Windows Update, security fixes ship in the monthly update and the configuration is kept across version changes.

This guide is aimed at systems and SOC teams that already run a SIEM. Commands and paths were checked against Microsoft Learn on 27 November 2026.

What changes compared with Sysinternals Sysmon?

The engine and the configuration format stay the same. Distribution, the update cycle and coexistence do change: the two versions cannot be active on the same machine, which mixed estates need to review before rollout.

Unknown block type "dataTable", specify a component for it in the `components.types` option

The standalone version is still published: the Sysinternals page documents Sysmon v15.22, published on 10 September 2026, with events 1 to 29 plus 255 for errors. Machines without the built-in feature will keep using that version.

Enablement step by step

Microsoft's enablement guide requires administrator rights and no standalone installation, because the two versions cannot coexist. If Get-Service sysmon* returns a service, that version is removed first with sysmon -u from the Sysinternals binary; Microsoft's guide does not cover this step.

# Prior check: should return no service.
Get-Service sysmon*
# Enables the optional feature, off by default.
Enable-WindowsOptionalFeature -Online -FeatureName Sysmon
# Installs the service with the chosen configuration.
sysmon -i C:\Sysmon\sysmonconfig.xml
# Confirms that events reach the operational channel.
Get-WinEvent -LogName 'Microsoft-Windows-Sysmon/Operational' -MaxEvents 5

The configuration takes effect immediately and needs no restart. It is changed by running sysmon -c with the new file; with no arguments, sysmon -c prints the active configuration, an output that serves as audit evidence. The enablement guide checks the result in Event Viewer, under Applications and Services Logs > Microsoft > Windows > Sysmon > Operational, and the last command does the same from PowerShell. When copying from that guide, some examples use a typographic dash in place of the plain hyphen, and PowerShell does not recognise them.

Which configuration to use?

Without a file, sysmon -i installs the default configuration, which according to the Sysinternals documentation computes SHA1 hashes and leaves network and image load events disabled: little visibility for a SOC. The enablement guide links two community configurations, sysmon-config and sysmon-modular, and includes a minimal example that logs every process creation, network connection and file creation. It also warns that an unoptimised configuration can generate high event volume.

Microsoft's tuning guide suggests starting with broad logging, measuring event counts per ID over one or two weeks and adding narrowly scoped exclusions for repeated sources of noise, without disabling whole categories. We suggest running that cycle per machine profile: workstations, servers and domain controllers produce very different volumes.

Unknown block type "dataTable", specify a component for it in the `components.types` option

For deletions, event 26 is preferable to event 23: event 23 keeps a copy of every deleted file in the archive directory, C:\Sysmon by default and protected with a SYSTEM ACL, and the Sysinternals documentation warns that it can grow to an unreasonable size. It is the same folder Microsoft's example uses for the XML, so with event 23 active the configuration is better kept in another path. For hashes, the guide's example sets HashAlgorithms to SHA256, a common format in threat intelligence feeds.

This fragment is added to a base configuration to log only access to LSASS, which is where event 10 adds most. Sysinternals warns that this event should come with filters that remove expected access, such as the antivirus, the EDR and management tools that read LSASS legitimately; they are excluded by SourceImage:

<!-- Fragment for a base configuration. -->
<RuleGroup name="lsass-access" groupRelation="or">
<ProcessAccess onmatch="include">
<TargetImage condition="end with">\lsass.exe</TargetImage>
</ProcessAccess>
</RuleGroup>

Forwarding to the SIEM

Sysmon only writes to the Windows event log and does not analyse what it records. Microsoft suggests collecting the events with Windows Event Collection or a SIEM agent. In Microsoft Sentinel, the Azure Monitor Agent collects custom channels through a data collection rule with an XPath query in the channel!query format, which for Sysmon becomes Microsoft-Windows-Sysmon/Operational!*. The events land in the Event table, according to the Azure Monitor documentation.

Rules should read the event XML, not the displayed text: Microsoft warns that the visible message is localised to the machine's language, while the XML is identical in every language. A parser that reads English text breaks on a machine set to Spanish. Sysmon does not replace an EDR either: Microsoft describes it as raw telemetry and not as prevention, which is why it does not conflict with antivirus or other monitoring tools. Its value comes from correlating it in the SIEM with other sources.

Starter detections in KQL

1. Office applications launching interpreters

// Office child processes that start interpreters or script binaries.
Event
| where TimeGenerated > ago(1d)
| where Source == 'Microsoft-Windows-Sysmon' and EventID == 1
// Extracts the XML fields with the expression used by Microsoft's ASIM parser.
| parse-kv EventData as (ParentImage:string, Image:string, CommandLine:string) with (regex=@'<Data Name="(\w+)">{?([^<]*?)}?</Data>')
| where tolower(ParentImage) matches regex @'\\(winword|excel|powerpnt|outlook)\.exe$'
| where tolower(Image) matches regex @'\\(powershell|pwsh|cmd|wscript|cscript|mshta|rundll32)\.exe$'
| project TimeGenerated, Computer, ParentImage, Image, CommandLine

The query covers a classic initial access pattern, listed in MITRE ATT&CK as T1204.002, Malicious File: a document that runs code. Typical false positives are add-ins and macros approved by the organisation, which are excluded by path and signature after review. To validate it, a test document with a harmless macro that runs cmd /c echo test is opened on a lab machine, and the event should reach the SIEM. Sentinel's ASIM parsers include one for this Sysmon event, so the same logic can move into normalised rules.

2. Sysmon stopped, reconfigured or silent

// Query A: service state (4) and configuration (16) changes.
Event
| where TimeGenerated > ago(7d)
| where Source == 'Microsoft-Windows-Sysmon' and EventID in (4, 16)
| project TimeGenerated, Computer, EventID, RenderedDescription
| order by TimeGenerated desc

// Query B: machines with events in the last 48 hours that have been silent for over two hours.
Event
| where TimeGenerated > ago(2d)
| where Source == 'Microsoft-Windows-Sysmon'
| summarize LastSeen = max(TimeGenerated) by Computer
| where LastSeen < ago(2h)

Microsoft states that Sysmon does not try to hide from attackers, and anyone with administrator rights can stop the service or change its configuration. That is the technique MITRE ATT&CK lists as T1685, Disable or Modify Tools, where Sysmon is named explicitly. These two queries watch that risk. Query B is noisy with laptops that are switched off, so it is limited to servers or its threshold is adjusted per machine group.

Where does the control fall short?

  • Volume and cost. Events 3, 7 and 22 can multiply SIEM ingestion if they are enabled without filters.
  • Local privileges. Sysmon records and does not protect, and a local administrator can stop or reconfigure it; hence query A.
  • Mixed estates. Machines without the built-in feature stay on the Sysinternals version, and the organisation maintains two update cycles.
  • Older parsers. Rules that read the localised text instead of the XML stop working on machines set to another language.

Audit evidence for ENS and ISO 27001

Sysmon telemetry supports measures op.exp.8, activity logging, and op.mon.3, monitoring, in Annex II of Royal Decree 311/2022, Spain's National Security Framework, and controls 8.15 (logging) and 8.16 (monitoring activities) of ISO/IEC 27001:2022. Useful evidence includes dated sysmon -c output, the SIEM collection rule and the active alert rules. The mapping is our technical interpretation.

Where to start

We suggest a pilot of ten to twenty machines across different profiles with a community configuration, two weeks of measurement per event ID and a first round of exclusions. The rollout then proceeds in batches with the usual management tooling, through a script that runs the same commands, and the two queries above are switched on as alerts.

Sysmon complements PowerShell logging and detections for abuse of trusted binaries. The guide on which logs to send to the SIEM helps decide sources and retention, and continuous monitoring of these alerts can be handed to a managed SOC.

Sources and methodology: Microsoft Learn documentation on built-in Sysmon (overview, enablement and event tuning), the Sysinternals Sysmon v15.22 reference, the Windows Server command reference and Microsoft's November 2025 announcement. Also the Azure Monitor Agent documentation, the Event table reference, the list of Sentinel ASIM parsers, MITRE ATT&CK and Royal Decree 311/2022 in the BOE. Indicative volumes and the regulatory mapping are our own inference. Information checked as of 28 November 2026.
Disclaimer: this content is for guidance only and does not replace an assessment of each environment. Windows and Sysmon change with updates. Configurations and queries should be tested in a controlled environment before they reach production, with event volume and ingestion cost measured. Detection testing requires written authorisation from whoever is responsible for the systems.