Skip to content

Execution

Sysmon Event Log

Sysmon cheat sheet: Operational log location, key event IDs, ProcessGuid and hash correlation, config in the registry, tampering signs and parsing tools.

Location
C:\Windows\System32\winevt\Logs\Microsoft-Windows-Sysmon%4Operational.evtx
Proves
Process creation with full command line and hashes, network connections, file, registry and DNS activity, as filtered by the config
Timestamps
UtcTime field in each event (UTC, millisecond string) plus the EVTX TimeCreated (UTC, FILETIME precision)
Retention
Circular log, commonly 64 MB by default; high-volume configs can roll over in hours
Access
Administrator to read or export; the live .evtx is locked by the Event Log service
Type
Event log
Windows
Vista / 78 / 8.11011
KAPE target
EventLogs
Velociraptor
Windows.Triage.Targets:EventLogs

What it is

System Monitor (Sysmon) is a free Sysinternals tool made of a service (Sysmon.exe or Sysmon64.exe) and a kernel minifilter driver (SysmonDrv, altitude 385201). It writes detailed telemetry about processes, network connections, file and registry activity into its own event log channel. It is not installed by default: finding it on a host means someone deployed it, usually the security team. Recent Windows 11 and Server 2025 builds also ship Sysmon as an optional Windows feature, but it still has to be enabled and configured.

What gets logged depends entirely on the XML configuration loaded at install time (sysmon -accepteula -i config.xml) or later (sysmon -c config.xml). Community baselines such as SwiftOnSecurity's or Olaf Hartong's sysmon-modular are common.

Location

ItemLocation
Event logC:\Windows\System32\winevt\Logs\Microsoft-Windows-Sysmon%4Operational.evtx
Service binaryC:\Windows\Sysmon.exe or C:\Windows\Sysmon64.exe (name can be changed by renaming the binary)
DriverC:\Windows\SysmonDrv.sys (name can be changed with -d)
Active configHKLM\SYSTEM\CurrentControlSet\Services\SysmonDrv\Parameters (Rules binary blob, HashingAlgorithm, Options)
Deleted file archiveC:\Sysmon\ by default (ArchiveDirectory, events 23)

Current Sysmon releases target Windows 10/11 and Server 2012 R2 or later; older releases ran on Windows 7. Check the version you find (Sysmon.exe file version or sysmon -c output).

What it proves

  • Execution with context: image path, full command line, parent process, user, integrity level and file hashes (event 1). This is some of the richest evidence of execution you can get.
  • Network activity per process: source and destination IP and port, plus hostname when resolved (event 3), and DNS queries per process (event 22).
  • Persistence and defence evasion: registry run keys (12–14), dropped files (11), driver loads (6), process injection (8, 10, 25).

It does not prove anything the config excluded. An absent event means "not logged", not "did not happen". Check the loaded config before drawing negative conclusions.

Key fields

Event IDNameKey fields
1Process CreateImage, CommandLine, ParentImage, User, Hashes, ProcessGuid, ParentProcessGuid, LogonId
2File creation time changedTargetFilename, CreationUtcTime, PreviousCreationUtcTime
3Network connectionSourceIp, DestinationIp, DestinationPort, Initiated
4Sysmon service state changedState (Started/Stopped)
5Process terminatedProcessGuid, UtcTime
6Driver loadedImageLoaded, Hashes, Signed, Signature
7Image loaded (DLL)ImageLoaded, Signed, Signature
8CreateRemoteThreadSourceImage, TargetImage, StartAddress
10ProcessAccessSourceImage, TargetImage, GrantedAccess, CallTrace
11FileCreateTargetFilename, CreationUtcTime
12 / 13 / 14Registry create-delete / value set / renameTargetObject, Details
15FileCreateStreamHashTargetFilename, Hash, Contents (Zone.Identifier text)
16Sysmon config changeConfiguration, ConfigurationFileHash
17 / 18Pipe created / connectedPipeName, Image
22DNS queryQueryName, QueryResults, Image
23 / 26File delete archived / loggedTargetFilename, Hashes, Archived
25Process tamperingImage, Type (image replaced, hollowing)
29FileExecutableDetectedTargetFilename, Hashes
255ErrorID, Description

ProcessGuid is unique per process instance, unlike PIDs which are reused. Pivot on it to tie events 1, 3, 7, 11, 22 and 5 into one process story.

Timestamps

TimestampMeaningPitfalls
UtcTime (EventData)When Sysmon observed the activity, UTCStored as a string with milliseconds
TimeCreated (System)When the record was writtenUsually within milliseconds of UtcTime
CreationUtcTime / PreviousCreationUtcTime (event 2)New and old file creation timeDirect evidence of timestomping, noisy for installers and browsers

Retention and clearing

  • The Operational channel is circular; its default maximum is commonly 64 MB. With process, image-load or network logging enabled, busy hosts can wrap in hours. Check wevtutil gl Microsoft-Windows-Sysmon/Operational.
  • Clearing this channel is recorded as event 104 in the System log, not as Security 1102.
  • Tampering signs: event 4 with State: Stopped, event 16 (new config, compare ConfigurationFileHash), event 255 errors, a gap in otherwise steady event flow, fltMC.exe unload SysmonDrv in process telemetry, or service changes in the System log (7036, 7040). Uninstall (sysmon -u) removes the driver and service but the .evtx normally survives.

Collection

The EventLogs KAPE and Velociraptor targets include this channel. Export and record the active config:

wevtutil epl Microsoft-Windows-Sysmon/Operational E:\case\Sysmon.evtx
wevtutil gl Microsoft-Windows-Sysmon/Operational
Sysmon64.exe -c
reg export HKLM\SYSTEM\CurrentControlSet\Services\SysmonDrv\Parameters E:\case\SysmonDrv.reg
Get-WinEvent -Path E:\case\Sysmon.evtx -FilterXPath "*[System[EventID=1]]" |
  Select-Object TimeCreated, @{n='Cmd';e={$_.Properties[10].Value}}

Parsing tools

  • EvtxECmd (Eric Zimmerman): Sysmon maps flatten EventData into CSV columns for Timeline Explorer.
  • Chainsaw and Hayabusa: Sigma-based hunting, most rules are written for Sysmon fields.
  • Get-WinEvent: quick XPath filtering on live hosts or exported files.
  • Velociraptor: EVTX hunting artifacts across a fleet.

Investigation tips

  • Start with event 1 filtered on unusual parents (w3wp.exe, winword.exe, wmiprvse.exe) and LOLBins, then pivot on ProcessGuid.
  • Use Hashes to match binaries against threat intel or Amcache SHA-1 values, even after the file is deleted.
  • LogonId in event 1 links processes to a Security 4624 logon session.
  • Event 10 against lsass.exe with suspicious GrantedAccess values (for example 0x1010, 0x1410) is a classic credential dumping lead; confirm with the call trace.
  • Before relying on it, read the config: many baselines exclude noisy but relevant paths.

Related artifacts

Glossary terms

Guides

All artifacts on one page: cheat sheet