Academy
TermTechnique

Living off the land

(LOTL)

An attacker using legitimate programs already present in the operating system instead of bringing their own tools.

Flow

  1. 1A legitimate tool is called
  2. 2A command is passed
  3. 3The payload is fetched
Related families
Lumma Stealer, MacSync Stealer
MITRE ATT&CK
T1218 · System Binary Proxy Execution
Sources
6 sources
01

Overview

Tools such as PowerShell, mshta, rundll32 or osascript on macOS exist on every system and are signed. When an attacker uses them, no new file is written; a trusted program is simply run. MITRE ATT&CK

This approach is very common in infostealer distribution: a one-line command the user is tricked into pasting downloads the real payload through the system’s own script interpreter. CISA and FBI (AA25-141B)

02

How it works

  1. 1

    A legitimate tool is called

    PowerShell, mshta or osascript is started. MITRE ATT&CK

  2. 2

    A command is passed

    An encoded script, or one fetched from the internet, is run. MITRE ATT&CK

  3. 3

    The payload is fetched

    The tool downloads and starts the actual malware. MITRE ATT&CK

03

Real-world examples

Lumma: Base64-encoded PowerShell

Lumma Stealer profile

According to CISA and FBI, when the user pastes the clipboard command into the Run dialog and presses Enter, a Base64-encoded PowerShell process starts. CISA and FBI (AA25-141B)

MacSync: Terminal and osascript

MacSync Stealer profile

According to Zscaler, MacSync’s second-stage script runs in Terminal and the downloaded content is passed directly to osascript. Zscaler

04

How to detect it

  • Encoded PowerShell and mshta commands started from the Run dialog or a browser. MITRE ATT&CK
05

What to do

  • Block script interpreters and mshta that users do not need with application control. MITRE ATT&CK
06

MITRE ATT&CK

07

Related families and terms

08

Sources

  1. 1System Binary Proxy Execution (T1218) · MITRE ATT&CK
  2. 2PowerShell (T1059.001) · MITRE ATT&CK
  3. 3Ingress Tool Transfer (T1105) · MITRE ATT&CK
  4. 4Threat Actors Deploy LummaC2 Malware to Exfiltrate Sensitive Data from Organizations · CISA and FBI (AA25-141B), 2025-05-21
  5. 5ClaudeFix: shared Claude chats meet ClickFix · Zscaler, 2026
  6. 6Behavior Prevention on Endpoint (M1040) · MITRE ATT&CK
From the Essential plan

Infostealer Detection

See your firm's attack surface on one screen: how many findings, at which severity, on which domain.