Lesson 5 of 14 · 18m
Network Detection When the Endpoint Lies
When Sysmon is dead or no agent exists, Zeek protocol logs, DNS entropy, JA3/JA4 fingerprints, and jitter-aware beacon scoring are what remain.
Detection programs built entirely on endpoint telemetry have a known failure mode: the attacker kills the telemetry. Sysmon is a service and a driver — a sufficiently privileged intruder stops it, unloads it, or just operates where no agent ever was: the VPN concentrator, the appliance the vendor manages, the printer, the legacy box nobody can install anything on. The packets still cross the wire. Network detection is what you have when the endpoint lies — or isn't there.
Zeek: metadata, not payloads
Zeek (formerly Bro) is the standard open-source network security monitor. It watches a traffic mirror and emits protocol metadata as structured logs — it does not capture payloads like a packet sniffer:
conn.log— every connection: who, whom, ports, bytes, durationdns.log— every DNS question and answerhttp.log,ssl.log— request metadata, TLS handshake details (server name, certificate fields, JA3/JA4 fingerprints)files.log— hashes and types of files seen in transitweird.log— protocol violations, which are frequently the most interesting lines Zeek writes
Deployment cost: a SPAN/mirror port or a TAP on the egress path and a Linux box. That is it — no agents. Suricata complements it as the signature IDS (alerts in eve.json alongside protocol metadata). RITA scores Zeek logs for beaconing if you want it precomputed.
TLS is metadata-only — so make the metadata work
Everything is encrypted now, including the attacker's C2. What you cannot see is content; what you keep is shape:
- JA3/JA4 fingerprints identify the TLS client stack — a PowerShell cradle and Chrome produce different handshakes. Cobalt Strike's default JA3 has been a signature for years; JA4 extends the idea and is harder to rotate.
- Certificate fields — self-signed certs on internet-facing C2, mismatched issuers, Let's Encrypt on infrastructure that claims to be enterprise software.
- SNI and destination — the process said it was
svchost; the TLS session says the server is a VPS provider with a domain registered Tuesday.
DNS: the cheapest high-value source
If you collect one network source, collect DNS queries — from endpoint Sysmon EID 22 and/or your resolvers. It survives more evasion than almost anything:
- Query length and entropy — exfil and DGA domains look statistically wrong next to human-typed names.
- NXDOMAIN burst rate — DGA malware burns through candidate domains; a host generating hundreds of NXDOMAINs an hour is not browsing.
- TXT records and odd record types — DNS tunneling and command channels.
- DoH bypass — DNS-over-HTTPS hides queries from your resolver. Force clients to internal resolvers, and alert on connections to public DoH endpoint IPs — the client only reaches for DoH when your DNS was meant to be bypassed.
Beaconing survives jitter better than you think
Naive beacon detection — "connections every 60 seconds" — died the day C2 frameworks added jitter. The durable version looks at periodicity over a window: count connections per destination per host, rank by how evenly spaced they are (low coefficient of variation on inter-arrival times), and filter to destinations the environment rarely touches. A daily-beacon at 2% jitter on a domain nothing else has ever queried is a high-confidence find; a 60-second heartbeat to a CDN is a Tuesday.
The honest limits
Network detection tells you who talked to whom, how often, and with what client — not what was said, and increasingly not the payload at all. Encrypted traffic, CDN fronting, and domain fronting through reputable infrastructure all erode it. That's fine: its job is corroboration and coverage where agents can't reach, not replacing endpoint telemetry.
The practice
Collect DNS everywhere (it's nearly free). Put Zeek on the egress mirror. Alert on two compositions, not single events: a Sysmon EID 1 for a LOLBin plus an EID 22/new-domain network record minutes later is a detection that survives each source's weaknesses alone.
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.