SOC 2 Readiness
24/7 Security Monitoring
Canadian-Based SOC
Back to Glossary
Threats & Attacks

What Is Living Off The Land?

Definition

Living Off The Land (LOTL) refers to attacker techniques that use legitimate system tools and processes already present in the target environment to carry out malicious activities, making detection significantly more difficult.

People Also Ask

Common questions about Living Off The Land answered by our security experts.

Living Off The Land in Practice

Living off the land is conducting an intrusion using tools already present on the target system — administrative utilities, scripting engines, management frameworks, system binaries.

It overlaps with fileless malware and is not the same thing: fileless describes nothing being written to disk, this describes using software that was legitimately there already.


Why attackers prefer it

Nothing malicious is introduced, so there is no file to detect and no signature to match. The tools are signed by the operating system vendor and trusted by application control unless specifically restricted.

Their use is normal, because administrators use the same utilities daily. That last point is the whole difficulty: the activity is indistinguishable from administration except by context.


The tooling that gets used

Scripting engines and command interpreters, for execution and download. Remote management frameworks, for movement and remote execution. Certificate and file transfer utilities, for retrieving payloads.

Compilers and script hosts bundled with the platform. Scheduled task and service utilities, for persistence. Archive tools, for staging data before exfiltration. Curated public lists enumerate these and the unexpected capabilities each one has.


Detection depends on context and command lines

The presence of the tool means nothing. What matters is the parent process, the arguments, the account, the host and the timing.

A scripting engine launched by a document process, with an encoded command, on a workstation belonging to someone in finance, at three in the morning, is not administration. Every element of that judgement comes from the command line and the process tree, which is why that logging is the prerequisite.

Detecting legitimate tools used illegitimatelyThe traditional control contributes essentially nothing.Command line logging95Without it, this is invisibleParent-child process context90What launched whatPer-role baselines70Admin tooling on a finance laptopFile signature detection5The binary is legitimately signed
Everything useful is in the arguments, and the arguments are only in the logs.

Restricting the tools themselves

Many of these have no legitimate use on an ordinary workstation. Removing or blocking scripting engines, remote management frameworks and transfer utilities where they are not needed reduces the available toolkit considerably.

Constrained execution modes for interpreters, and script signing requirements, are the middle path where the capability is needed occasionally. Both are policy settings rather than purchases.


Baselining by role

Administrative tooling running on an administrator's machine is expected. The same tooling running on a machine belonging to someone in clinical, finance or reception is not, and that distinction is a high-quality detection available to anyone who records it.

It requires knowing which machine belongs to whom, which is asset and identity inventory work rather than security tooling work.

Legitimate use is the reason this works
Detection here cannot rest on what ran, only on the circumstances in which it ran. That makes command line logging and per-role expectations the entire basis of detection, and both are configuration rather than products.

The same pattern in cloud and pipelines

The cloud equivalent is using the platform’s own interfaces and tooling rather than introducing anything: legitimate command line tools with stolen credentials, native services invoked to run code, deployment pipelines used to distribute a payload.

Detection follows the same logic — the action is authorised and the context is wrong. Control plane logging with the identity, source and action recorded is the equivalent of command line logging, and it is frequently retained for a shorter period than an intrusion lasts.


Where to start

Confirm that process creation events include full command lines in your logging. Without that single field, this whole category is undetectable and unreconstructable.

See fileless malware. GuardsArm delivers managed detection and response.

Need Help With Living Off The Land?

Our certified security professionals can help you implement the right living off the land strategy for your organization. Get a free assessment today.

Book a Free Consultation