Join our Newsletter — 33% off our NHI Course
Home Glossary Cyber Security LOLBAS
Cyber Security

LOLBAS

← Back to Glossary
By NHI Mgmt Group Updated September 5, 2026 Domain: Cyber Security

Living Off The Land Binaries and Scripts are built-in or trusted executables and scripts that attackers repurpose for malicious activity. These tools are not malicious by design, which makes them attractive for stealthy operations. Security teams should treat their unusual execution patterns as a behavioral detection problem.

Expanded Definition

LOLBAS, short for Living Off The Land Binaries and Scripts, refers to legitimate operating system utilities, signed tools, and administrative scripts that can be repurposed to perform actions an attacker wants while blending into normal activity. The term is most often used in endpoint defence, threat hunting, and detection engineering, where the distinction is not the tool itself but the context of its execution.

It covers built-in binaries, shell interpreters, and common management utilities that already exist on a system, but it does not mean every use of those tools is suspicious. The practical boundary is behavioural: the same binary can be routine in one workflow and high risk in another. That makes LOLBAS different from malware families, because the abuse pattern depends on environment, privileges, parent process, command line, network activity, and timing. Guidance across the industry is aligned on the core idea, but there is no single authoritative LOLBAS standard that defines every tool or abuse pattern.

For a broader control lens, NIST’s NIST Cybersecurity Framework 2.0 is useful because LOLBAS detection sits inside continuous monitoring, anomaly detection, and response rather than software allowlisting alone.

Examples and Use Cases

LOLBAS appears when defenders see a trusted utility doing work that is unusual for that host, user, or process chain. The operational challenge is not to block every built-in tool, since that would disrupt administration, but to recognise when legitimate tooling is being used outside its normal purpose.

  • A script host runs encoded or obfuscated commands that do not match routine administration.
  • A signed system utility launches child processes that are rarely associated with its normal function.
  • A remote management binary is used outside approved maintenance windows or from an unexpected source.
  • A native command-line tool makes outbound connections that are unusual for that endpoint role.
  • A trusted binary is chained with other utilities to stage, transfer, or execute payloads without introducing a new executable.

In practice, defenders often tune detections around command-line context, parent-child process relationships, and host role. That tradeoff matters: very strict rules can catch abuse faster, but they can also create noise in environments with heavy automation, software deployment, or admin scripting.

Security Implications

LOLBAS matters because it reduces the value of simple signature-based detection. If an attacker can operate through trusted binaries, they may avoid obvious malware markers, inherit system trust, and make attribution harder for defenders reviewing logs after the fact.

The failure condition is usually not a single tool, but a chain of small normal-looking actions. A built-in utility can download content, run a script, spawn another process, or relay credentials in a way that looks administratively plausible unless the surrounding context is analysed. That can widen blast radius by enabling hands-on-keyboard activity, defence evasion, lateral movement, or staged persistence without dropping a conventional payload.

A common practitioner mistake is to monitor only known bad filenames. With LOLBAS, the more useful signal is often abnormal behaviour from known-good executables, especially when the parent process, command line, and network destination do not fit the host’s expected role.

Domain and Governance Relevance

LOLBAS sits squarely in cyber defence operations because it is a detection and governance problem as much as a threat pattern. It pushes teams to define what “normal” looks like for each environment, then decide which native tools are acceptable on which systems and under what conditions.

For identity-aware environments, the term becomes more important when privileged users, service accounts, or automation channels are involved. A legitimate binary launched by a high-trust account can look operationally normal while still creating a covert execution path if its use is not tied to approved change or job function. That is why LOLBAS is relevant to process governance, not just endpoint telemetry.

Where remote administration and scripting are central to operations, defenders need ownership for reviewing unusual native-tool use, because the same flexibility that supports administration also creates room for stealthy abuse. The governance question is not whether to eliminate built-in tools, but how to distinguish sanctioned automation from hostile tradecraft.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

NIST CSF 2.0 provides the primary governance reference for this term.

FrameworkControl / ReferenceRelevance
NIST CSF 2.0DE.CMLOLBAS is detected through unusual execution and telemetry patterns.
Recommendation: Requires monitoring for anomalous use of trusted binaries and scripts.

Deepen Your Knowledge

Sign up to our weekly newsletter — get 33% off our NHI Foundation Level Course

    NHIMG Editorial Note
    Reviewed and updated by the NHIMG editorial team on September 5, 2026.
    NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org