Skip to content

Deploy Sysmon for Windows Endpoint Telemetry

Admin
October 4, 2026
7 min read
Intermediate
💻 Target OS: Windows Server 2025 / 2022

Before you begin

  • Applies to:Sysmon installation and validation on an authorized Windows test endpoint.
  • Where to start:Open an administrative session on the test endpoint.
  • What you need:Have the approved Sysmon package, access to Event Viewer, and a reviewed configuration before expanding the rollout.
Guide tools
Guide tools
0/0 Steps (0%)

Sysmon writes selected system activity to the Windows event log. It does not block threats. The default install is a small starting point: it hashes process images with SHA-1 and does not enable network connection monitoring. Process, network, and file event coverage depends on the active Sysmon configuration.

This walkthrough installs Sysmon on an authorized Windows test endpoint, checks its service and event channel, and explains how to move from the default configuration to a reviewed organization-wide policy.


01

Get Sysmon from the Official Source

Trusted Tools

Download the official Sysmon ZIP from Microsoft Sysinternals, extract it into a new controlled administrative working directory, and stop if the executable signature is invalid or not from Microsoft. Keep this PowerShell session open for the remaining steps so the verified executable path stays defined. This command uses Microsoft’s stable download URL; do not use copies from third-party download sites.

Terminal window
$ErrorActionPreference = 'Stop'
$workDir = Join-Path $PWD ('Sysmon-' + [guid]::NewGuid().ToString('N'))
New-Item -ItemType Directory -Path $workDir -ErrorAction Stop | Out-Null
$zipPath = Join-Path $workDir 'Sysmon.zip'
$sysmonExe = Join-Path $workDir 'Sysmon64.exe'
Invoke-WebRequest 'https://download.sysinternals.com/files/Sysmon.zip' -UseBasicParsing -OutFile $zipPath -ErrorAction Stop
Expand-Archive -LiteralPath $zipPath -DestinationPath $workDir -ErrorAction Stop
if (-not (Test-Path -LiteralPath $sysmonExe -PathType Leaf)) { throw "Expected Sysmon executable was not extracted: $sysmonExe" }
$signature = Get-AuthenticodeSignature -FilePath $sysmonExe -ErrorAction Stop
if ($signature.Status -ne 'Valid' -or $signature.SignerCertificate.Subject -notmatch 'O=Microsoft Corporation') {
throw "Sysmon64.exe did not have a valid Microsoft signature; do not install it. Status: $($signature.Status)"
}
$signature | Format-List Status, SignerCertificate
❯ Illustrative Output (Results Vary)
Status : Valid
SignerCertificate : [Microsoft Corporation signing certificate]

02

Install the Service with the Default Configuration

Endpoint Setup

Run elevated PowerShell from the working directory where Step 1 created the Sysmon subfolder. The default configuration is useful for validating installation, but it does not provide general network telemetry. A production rollout should use a version-controlled configuration reviewed by the detection team.

Terminal window
if (-not (Test-Path -LiteralPath $sysmonExe -PathType Leaf)) { throw "Sysmon executable not found: $sysmonExe" }
& $sysmonExe -accepteula -i
if ($LASTEXITCODE -ne 0) { throw "Sysmon installation failed with exit code $LASTEXITCODE." }
Get-Service Sysmon64 -ErrorAction Stop
❯ Illustrative Output (Results Vary)
Status Name DisplayName
------ ---- -----------
Running Sysmon64 Sysmon64

03

Inspect the Sysmon Operational Channel

Telemetry Check

Read recent events from the dedicated Sysmon channel. Event ID 1 records process creation when enabled by the active configuration. No results may mean the service has not generated events yet, the channel is unavailable, or the configuration does not include the event.

Terminal window
try {
$recentEvents = @(Get-WinEvent -LogName 'Microsoft-Windows-Sysmon/Operational' -MaxEvents 20 -ErrorAction Stop)
} catch {
if ($_.FullyQualifiedErrorId -like 'NoMatchingEventsFound*') {
$recentEvents = @()
} else {
throw
}
}
if ($recentEvents.Count -eq 0) {
Write-Output 'No retained Sysmon events are available yet; confirm service, channel, configuration, and retention.'
} else {
$recentEvents |
Select-Object TimeCreated, Id, ProviderName, Message |
Format-List
}
❯ Illustrative Output (Results Vary)
TimeCreated : 10/04/2026 09:15:00
Id : 1
ProviderName : Microsoft-Windows-Sysmon
Message : Process creation event ...
Windows Event Viewer Sysmon Operational channel with Process Create event details

Figure 1: Event Viewer shows Sysmon Operational process-creation events and the selected event’s details.


04

Move from a Local Test to Managed Collection

Operations

Select a maintained Sysmon configuration, pin the release and configuration revision, test event volume on a representative pilot group, and define how the Windows event channel will reach your SIEM or event collector. Add network connection or file events only when the approved configuration enables them. Document exclusions and change ownership.

Terminal window
# Review current configuration and service state before changing policy.
& $sysmonExe -c
if ($LASTEXITCODE -ne 0) { throw "Could not read the active Sysmon configuration; exit code $LASTEXITCODE." }
Get-WinEvent -ListLog 'Microsoft-Windows-Sysmon/Operational' -ErrorAction Stop |
Select-Object LogName, RecordCount, MaximumSizeInBytes
# Apply only a reviewed, approved configuration file.
$configPath = Join-Path $workDir 'sysmon-approved.xml'
if (-not (Test-Path -LiteralPath $configPath -PathType Leaf)) { throw "Reviewed configuration not found: $configPath" }
& $sysmonExe -c $configPath
if ($LASTEXITCODE -ne 0) { throw "Sysmon rejected the approved configuration; exit code $LASTEXITCODE." }
❯ Illustrative Output (Results Vary)
Configuration state and channel capacity are visible for the pilot review.

For centrally managed environments, use Windows Event Forwarding or your approved endpoint telemetry agent, restrict access to collected data, and alert on service removal or unexpected configuration changes.

Comments