Popular Sysmon configs: what they actually log
5,696 GitHub stars as I write this. Last commit: October 2021.
That’s SwiftOnSecurity’s Sysmon config, quite possibly the most copied one out there. It shows up in tutorials, home labs and production rollouts, usually pulled straight off master. The other heavyweight is Olaf Hartong’s sysmon-modular: fewer stars (3,158), but its latest release went out on October 14, 2026.
I wanted to know what each one really collects. Not what the README promises; what the XML says.
How I measured it
I used the two files people actually deploy:
sysmonconfig-export.xmlfrom SwiftOnSecurity/sysmon-config,masterbranch. The header says version 74, dated July 8, 2021, schema 4.50.sysmonconfig-15.21.xmlfrom sysmon-modular, “Balanced” profile, releaseconfigs-a45dedb13a43. Its SHA-256 matches the release’sSHA256SUMS. Schema 4.91, built for Sysmon 15.21.
A short Python script walks each <EventFiltering> block, groups filters by event type and counts the conditions in include and exclude mode. Nothing clever. The output is still worth a look.

Same tool, opposite bets
The first row is the one that matters. Event 1, process creation, feeds most of the detection content anyone writes against Sysmon.
SwiftOnSecurity collects it by exclusion: everything gets logged except 138 known-noisy patterns. If an unknown process starts, you see it.
sysmon-modular goes the other way. ProcessCreate is in include mode, with 436 conditions (and 178 exclusions on top). Every rule carries an ATT&CK tag in its name attribute, such as technique_id=T1059.001 for PowerShell. It’s tidy, well documented and much lighter on volume. It also means a process that matches none of those 436 conditions simply never reaches your logs.
Neither is wrong. They are different bets, and trouble starts when you deploy one without knowing which bet you just made.
DnsQuery (event 22) is the one place they agree: both log everything except a list of known domains, 209 exclusions for SwiftOnSecurity and 187 for modular. DNS is too useful to filter at the source, so both authors collect it all and carve out Windows Update, CDNs and vendor telemetry.
The onmatch gotcha
Sysmon filtering boils down to three rules, all in the Sysinternals documentation:

The second one trips people up, and SwiftOnSecurity calls it out in a comment right above the WMI filter: “Using exclude with no rules means everything will be logged”. An empty <WmiEvent onmatch="exclude"> therefore captures every WMI event, 19 through 21. Flip it around and an empty <ProcessAccess onmatch="include"> captures nothing at all.
Which is exactly what SwiftOnSecurity does for event 10. No ProcessAccess means Sysmon records nothing when a process opens a handle to lsass.exe. ImageLoad (event 7) is off too. Both were reasonable volume trade-offs at the time. You just want to know about them before relying on Sysmon to catch credential theft.
Event IDs 23 to 29 don’t appear in the 2021 file at all. sysmon-modular picks up some of them (ProcessTampering, FileDeleteDetected, FileExecutableDetected) but leaves FileDelete (23) out of Balanced; the README points to a separate “with FileDelete” profile because that event archives deleted files to disk.
Ten events, two filters
Counting rules only gets you so far. I wanted to know whether specific events make it through, so I wrote a small evaluator that applies Sysmon’s documented matching logic (case-insensitive conditions, RuleGroup as OR, Rule groupRelation="and", exclusions taking precedence) to the ProcessCreate filter, then fed it ten realistic process creations.

The first four get through everywhere. Encoded PowerShell, even under another file name, is caught by an OriginalFileName include (good news for the rule in the -EncodedCommand post). So is curl.exe -o. And notepad.exe gets through modular for a reason I didn’t see coming: an include on ParentImage is C:\Windows\explorer.exe, tagged T1204 (User Execution). Anything a user launches by hand is logged.
The bottom six are where it gets interesting. sysmon-modular drops:
- an unknown binary in
C:\ProgramData\Updater\started byservices.exe; ssh.exe -R 9000:localhost:3389, a reverse tunnel to a remote host;7z.exe a -p, a password-protected archive of a Documents folder;python.exelaunched fromcmd.exe;- plus two utterly boring ones,
svchost.exe -k netsvcsand a Chrome renderer.
Losing the last two is the whole point. Losing the first three is the cost. The service still leaves traces elsewhere: System event 7045, and the registry. I ran a write to a new service’s ImagePath value under HKLM\System\CurrentControlSet\Services\ through the same script, and both configs’ RegistryEvent filters keep it. Your EDR will probably flag the SSH tunnel. In the Sysmon log itself, though, those processes never happened.
To be clear about the limits: the evaluator is my approximation of Sysmon’s logic, not Sysmon. It behaves on simple cases (it does find the explorer.exe rule that lets notepad through), but I didn’t replay these events on a real Windows host with Sysmon installed. If you need a definitive answer for your fleet, run the equivalent commands in a lab and read Microsoft-Windows-Sysmon/Operational.
So which one?
Honestly? Neither, as shipped.
SwiftOnSecurity gets ProcessCreate right in spirit, but it hasn’t moved since 2021, skips ProcessAccess and ImageLoad, and knows nothing about the newer event types. Deploying it unchanged today means living with those gaps without realising it.
sysmon-modular is maintained, versioned, checksummed and mapped to ATT&CK. It’s what I’d start from. I just wouldn’t keep ProcessCreate in include mode if Sysmon is my main source of process telemetry. The project ships an excludes-only profile for that (very verbose, the README warns) and an mde-augment profile meant to sit alongside Microsoft Defender for Endpoint without duplicating it. The right pick depends on what already runs on your endpoints.
Whichever you start from, three habits matter more than the choice itself:
- Pin a version. Not
master, notlatest. modular’s README says so explicitly. - Check that your rules get their data. For every Sysmon-based detection, ask whether the event it needs survives the filter. The script behind this post does that in twenty lines.
- Measure volume on a sample of hosts before rolling out. Nobody wants to learn what “all minus exclusions” on DnsQuery costs from the SIEM invoice.
What I didn’t measure
Real volume. Counting conditions says nothing about events per host per day, which depends entirely on your environment. And the evaluator only covers ProcessCreate; NetworkConnect and FileCreate would be the obvious next step. If you have volume figures for either config on a real fleet, I’d love to see them.
References
- Sysinternals, Sysmon (Event IDs, filter conditions, include and exclude)
- SwiftOnSecurity, sysmon-config,
sysmonconfig-export.xml, version 74 - Olaf Hartong, sysmon-modular, release
configs-a45dedb13a43(October 14, 2026), Balanced profile for Sysmon 15.21