Lesson 5 of 14 · 15m
Sysmon Fills the Gaps
Security.evtx has no DNS, no network connects, no memory-access events — Sysmon event IDs 1, 3, 10, and 22 are where triage actually lives.
A stock Windows box doesn't log DNS queries, doesn't log outbound network connections with process attribution, and can't tell you that something opened lsass.exe's memory. The Security log was designed in the NT era for "who logged on," not for "what did this process reach." Sysmon — the free Sysinternals driver/service — is what closes that gap, and in a SOC that has it deployed, its events carry most of the triage weight.
The event IDs that matter
- EID 1 — process creation. Full CommandLine, Hashes, IntegrityLevel, User, and — the field Security's 4688 gives you but Sysmon enriches — ParentImage and ParentCommandLine. The parent-child pair is where macro chains, LOLBin abuse, and "why is
winword.exespawningpowershell.exe" live. - EID 3 — network connect. Process + destination IP/port/hostname. This is the event that answers "did anything actually connect out."
- EID 10 — ProcessAccess. SourceImage opened TargetImage with GrantedAccess mask. The crown jewel: anything reading
lsass.exewith masks like0x1010,0x1410, or0x1fffffis credential-access-shaped — the Mimikatz pattern.0x1010= QUERY_LIMITED_INFORMATION + VM_READ, which is exactly what a memory dumper needs. - EID 11 — FileCreate, 12/13/14 — registry create/value-set/rename (persistence lives here: Run keys, services, IFEO debuggers), 15 — alternate data stream creation, 8 — CreateRemoteThread (injection into another process).
- EID 22 — DNS query. The hostname a process resolved, attributed to the process. When a temp-folder binary resolves
xj4k2.cloudfront-c2.example, this is the event that catches it — and it catches DGA and tunneling traffic that the Security log can't even represent. - EID 23/26 — file delete (with archive on 23 — deleted malware can be recovered from Sysmon's capture folder).
Deploy it or you don't have it
sysmon64.exe -i sysmonconfig.xml
sysmon64.exe -c sysmonconfig.xml # apply updated configThe driver (SysmonDrv.sys) and service (Sysmon64) install under C:\Windows. The config file is the whole game — Sysmon with no config still logs its default set — process create and terminate, driver loads, file-time changes, RawAccessRead, CreateRemoteThread — but never EID 3, 10, 11, or 22. SwiftOnSecurity's sysmon-config and Olaf Hartong's sysmon-modular are the community baselines everyone starts from; the art is exclusions, not inclusions — image-load events (EID 7) and network events (EID 3) on a busy box generate volume that drowns the pipeline if you log everything.
The wrong mental model
Two. First: "Windows logs what I need." It doesn't — without Sysmon, there is no DNS log, no per-process network log, no process-access log. The Security log's process auditing (4688) is a subset even when fully enabled. Second: "the EDR makes Sysmon redundant." EDR telemetry goes to the vendor's console and is filtered by their detection pipeline; Sysmon goes to your SIEM where you keep it, query it across the fleet, and — critically — it survives when the EDR agent is tampered with or its egress is filtered. They're complementary recorders with different failure modes.
Also worth killing: "Sysmon is free so it's cheap." The license is free; the event volume isn't. EID 3 and 7 on a terminal server will eat a Splunk license. Tuning the config — excluding known-good high-volume images — is a detection-engineering task, not a set-and-forget.
What it catches in the real world
The comsvcs.dll MiniDump trick — rundll32.exe C:\Windows\System32\comsvcs.dll, MiniDump <lsass_pid> C:\temp\lsass.dmp full — dumps LSASS with a signed Microsoft binary, no malware file needed. Security.evtx sees a benign process creation. Sysmon EID 1 shows the exact command line, EID 10 shows the process access on lsass.exe, and EID 11 shows the dump file appearing. That three-event chain is the difference between "attacker invisible" and "escalate in the next five minutes."
For triage: when an alert says "suspicious process," the Sysmon 1 record is ground truth for what ran; Sysmon 3 and 22 tell you what it reached. Pull those three first and most "suspicious process" alerts resolve in minutes.
Was this lesson helpful?
Keep reading
Related articles from the SudoSecurity blog.
Immich Had Fourteen Advisories and One Bug It Fixed Three Times
Immich's 2026 security record runs to fourteen advisories, and they cluster hard: the sharing features, the OAuth plumbing, and one login redirect parameter that took three separate fixes across eighty-three days. Plus the 3.0 migration traps still waiting for anyone who hasn't jumped yet.
Jellyfin's Threat Model Is Your Brother-in-Law
Four Jellyfin CVEs landed in 2026 and not one of them needs an admin account. One needs only the ability to name a file. Meanwhile Jellyfin 12 shipped in September, the version numbers stopped starting with 10, and every "am I patched" check you wrote is now wrong.
Node.js Fixed 16 Flaws in One Release. Most of Them Live in HTTP/2 and TLS.
The November 11 Node.js security releases fix 16 CVEs across the 26, 24 and 22 lines, seven of them rated high. Nearly all sit in HTTP/2 and TLS, where a remote client can crash a server, leak memory, or get past per-host client-certificate checks.
Next.js Shipped Seven Advisories and Six of Them Are the Cache
The November 2026 Next.js security release patches seven issues, and six live in the new Cache Components layer, the feature meant to make your app faster by remembering more. Three hit self-hosted next start specifically: the ones Vercel's own platform quietly absorbs.