An intrusion does not need to bring its own software. A modern endpoint already ships with interpreters, administrative utilities, and management agents that can read credentials, move laterally, and persist across reboots, and most of them carry a valid vendor signature. Living off the land (LOTL) is the abuse of those native, trusted tools in place of a new malicious executable. Fileless malware is the related family of attacks whose payload lives in memory, the registry, or the WMI repository rather than in a file on disk. Both exist because the oldest endpoint control, scanning a file and matching its hash against a known-bad list, has nothing to match when the only executables involved are legitimate ones and the payload was never written out.
SY0-801 objective 2.3 adds an endpoint-based vector group that names built-in tools, living-off-the-land tools, and trusted devices, and objective 2.5 adds fileless malware to the malware list and malicious processes to the indicators of compromise, all new in SY0-801 (CompTIA 2025). These items test one skill: recognizing an intrusion that never drops a new executable, and knowing which telemetry exposes it when every hash comes back clean. If your mental model of detection is “scan the file, match the hash,” this topic will mislead you.
Living off the land: the attacker uses your tools
The February 7, 2024 joint guide from CISA, NSA, FBI, and seven partner agencies defines living off the land as “the abuse of native tools and processes on systems,” especially living-off-the-land binaries (LOLBins), which blend in “because these tools are already deployed and trusted in the environment” (CISA et al. 2024a). A LOLBin is a legitimate executable that an attacker repurposes: the same binary an administrator uses to back up a directory can, under a stolen account, copy that directory to an attacker instead.
Two consequences follow from that definition, and both shape detection. First, LOLBins carry trusted attributes such as file hashes and digital signatures, so any control keyed to a known-good hash or signer lets them through; the binary is not malicious, the use is. Second, the activity produces few conventional indicators of compromise (IoCs), the observable artifacts such as file hashes, domains, and IP addresses that signal an intrusion, because nothing new was downloaded and nothing unknown was written. The guide also cites GTFOBins for Unix and LOOBins for macOS, so LOTL is not a Windows-only problem (CISA et al. 2024a).
Built-in tools, living-off-the-land tools, and trusted devices
CompTIA lists “Built-in tools” and “Living-off-the-land tools” as separate vectors and defines neither. A defensible reading separates them by origin. Built-in tools are the binaries and interpreters that ship with the operating system: PowerShell, WMI, cmd.exe, and certutil on Windows; ntdsutil on a domain controller; bash, ssh, and curl on Linux. Living-off-the-land tools are the wider set of trusted software already deployed in an environment, which the joint guide extends to remote monitoring and management, patch management, mobile device management (MDM), endpoint configuration management, and EDR consoles, any of which can run commands on every host it manages (CISA et al. 2024a). On the exam, both items point at the same idea: legitimate tooling misused, with no new malware binary.
“Trusted devices” is the third item in the group, also undefined by CompTIA. The likely meaning is a managed endpoint that other systems trust because of what it is: domain-joined, holding a device certificate, or reporting compliant to MDM. That trust is itself the vector. An attacker who lands on an administrator’s workstation inherits its network reach and its standing with the domain controllers, and LOTL activity from that host looks like the administrator’s normal work. NIST SP 800-207 rejects implicit trust granted “based on asset ownership” (Rose et al. 2020); device health as a Zero Trust input is at T-21.
The reference case: Volt Typhoon
The reference case for LOTL is Volt Typhoon, a PRC state-sponsored group. Advisory AA24-038A calls LOTL “a hallmark” of the group and reports footholds held for at least five years in some victim networks. In one intrusion the actors used Windows Management Instrumentation (WMI) to run ntdsutil, a built-in Active Directory utility, to copy the NTDS.dit credential database and the SYSTEM registry hive from a volume shadow copy (CISA et al. 2024b). No exploit, no dropper, and no custom tool appear anywhere in that chain; it is domain administration, performed by the wrong people.
Every binary in the chain was Microsoft-signed, so hash matching had nothing to match. The joint guide’s answer is process creation logging plus context: Windows Security Event 4688 and Sysmon Event ID 1 both capture the ntdsutil command line, and creating a snapshot with ntdsutil is not a regular event in most enterprises (CISA et al. 2024a). The signal is not that ntdsutil ran; it is that ntdsutil ran from WMI against a shadow copy, under an account and at an hour where it has no business running.
Fileless malware is a spectrum
CompTIA does not define “fileless malware,” and Microsoft’s own documentation says “there’s no one definition for fileless malware.” The useful way to reason about it is as a spectrum of file involvement rather than a yes-or-no property. Microsoft’s three-type model sorts fileless threats by how much the attack touches the file system, and each type maps onto a different place a defender has to look (Microsoft n.d.-h):
| Type | File activity | Microsoft’s example | Where defenders look |
|---|---|---|---|
| I | None | Network exploit leaving a backdoor in kernel memory; firmware implants | Memory capture, firmware integrity |
| II | Indirect | PowerShell command stored in the WMI repository, run by a WMI filter | WMI subscriptions, script logs |
| III | Files required, useless as evidence | Kovter: registry-stored script run through mshta.exe | Registry, process chains |
The types differ in what they leave for a scanner. A Type I kernel-memory backdoor never writes a file at all. A Type II payload sits inside a legitimate Windows data store, the WMI repository, rather than in an executable. Kovter, the Type III example, needed files on disk but kept its script in the registry and ran it through mshta.exe, a built-in Windows binary, so nothing on disk was worth scanning.
When I teach this in ITN 260, I draw the line this way: fileless describes where the payload lives (memory, the registry, the WMI repository), and LOTL describes which tools run it. They overlap, because most fileless chains execute through a built-in interpreter, but they are not synonyms. The Volt Typhoon ntdsutil step was LOTL, yet it wrote a database copy to disk; a kernel-memory backdoor is fileless, yet it may have arrived through an exploit rather than a native tool.
Persistence, the attacker’s mechanism for relaunching after the host restarts, decides what survives a reboot. A payload that exists only in RAM dies with the power cycle unless it lives in firmware, which is why volatile evidence is captured before shutdown (memory dumps are at T-8). Types II and III relaunch from a WMI subscription or a registry key, so they survive the reboot while the startup folders stay clean. Delivery vectors such as embedded macros were covered at T-31.
Detecting behavior instead of files
Process creation and the parent-child pair
Every LOTL or fileless chain still creates processes, and that is the foothold for detection. Windows Security Event 4688 records process creation but omits the command line until you enable “Include command line in process creation events” (Microsoft n.d.-f); without that setting the log says only that powershell.exe started, not what it was asked to do. Sysmon Event ID 1 goes further, logging the full command line of the new process and of its parent, plus a ProcessGuid that keeps correlation intact when Windows reuses process IDs (Russinovich and Garnier 2026).
The parent and child pair is the signal. Word starting PowerShell is rarely legitimate, because a document editor has no ordinary reason to launch a shell; PowerShell started from an administrator’s console usually is. The same binary, with the same clean hash, is benign or malicious depending on who spawned it and with what arguments.
Script content: script block logging and AMSI
Script content is the next layer down. Script block logging writes Event ID 4104 to the Microsoft-Windows-PowerShell/Operational log and records the content of every script block PowerShell processes, so code that never touched disk still lands in the log (Microsoft n.d.-b). This is the control that matters most for fileless chains: a base64 payload decoded and run in memory leaves no file to scan, but the decoded script block is logged all the same. Microsoft advises pairing it with Protected Event Logging, because logged scripts can contain credentials (Microsoft n.d.-b).
The Antimalware Scan Interface (AMSI) attacks obfuscation from the other side. A script may pass through several rounds of de-obfuscation, but it must eventually reach the engine as plain code, and that is the moment AMSI submits it for scanning (Microsoft n.d.-i). PowerShell, Windows Script Host, JavaScript, VBScript, and Office VBA macros all integrate with AMSI (Microsoft n.d.-c). Between script block logging and AMSI, obfuscation buys the attacker delay, not invisibility.
WMI persistence and code injection telemetry
Sysmon Event IDs 19, 20, and 21 record a WMI event filter, a WMI event consumer, and the binding between them, which are the three parts of Type II persistence; the payload fires only when all three exist, so the trio appearing together in the log is the persistence being installed. Event ID 8 (CreateRemoteThread) and Event ID 25 (ProcessTampering, which flags hollowing) catch code moving into another process (Russinovich and Garnier 2026). Hollowing replaces a legitimate process’s code in memory, so the hash on disk stays clean while the process running under that name is not.
Baselines and hunting
Logs alone drown analysts. The joint guide’s first detection practices are centralized, write-once logging and baselines of which LOLBins run, with which command lines, under which accounts, with alerts on deviation. It also recommends matching on OriginalFileName from the PE header, because a renamed net.exe still reports its real name (CISA et al. 2024a). A baseline changes the question from “is this binary bad,” which it never is, to “is this use of this binary normal here,” which is the only question LOTL leaves open.
In Microsoft Defender XDR advanced hunting, a first pass at the classic Office-to-script-host chain uses columns from the DeviceProcessEvents schema (Microsoft n.d.-g):
// Office apps that spawned a script host or common LOLBin, last 7 days
DeviceProcessEvents
| where Timestamp > ago(7d)
| where InitiatingProcessFileName in~ ("winword.exe", "excel.exe", "powerpnt.exe", "outlook.exe")
| where FileName in~ ("powershell.exe", "cmd.exe", "wscript.exe", "cscript.exe", "mshta.exe", "rundll32.exe", "regsvr32.exe")
| project Timestamp, DeviceName, AccountName, InitiatingProcessFileName, FileName, ProcessCommandLine
| order by Timestamp desc
Expect some legitimate hits; Microsoft notes that line-of-business apps sometimes spawn Command Prompt or PowerShell for benign reasons (Microsoft n.d.-e). Tune those into the baseline instead of deleting the query.
Restricting the tools without removing them
Detection finds the abuse after the fact; hardening narrows what the tools can do in the first place. Application control and EDR as 4.1 controls get full treatment at T-16, so what follows is pointers. Microsoft’s attack surface reduction rules include “Block all Office applications from creating child processes,” “Block execution of potentially obfuscated scripts,” and “Block persistence through WMI event subscription,” which map one to one onto the parent-child, obfuscation, and Type II mechanisms above (Microsoft n.d.-e). Unless a use case requires them, Microsoft recommends blocking mshta.exe, wmic.exe, wscript.exe, cscript.exe, msbuild.exe, and others with App Control (Microsoft n.d.-d).
PowerShell gets special treatment because it is both a daily administrative tool and a favorite attacker interpreter. Under an AppLocker or App Control policy, PowerShell runs untrusted scripts in ConstrainedLanguage mode, which cuts off the .NET and COM APIs attackers favor (Microsoft n.d.-a). Do not remove PowerShell outright; the 2022 joint sheet from NSA, CISA, and the New Zealand and UK NCSCs recommends configuring and monitoring it instead (NSA et al. 2022). Restricting, logging, and baselining the interpreter keeps the tool and takes away the abuse.
What you need to know for SY0-801
- Living off the land means misusing legitimate, already-present, trusted tools; no new executable arrives, and conventional IoCs are scarce.
- Built-in tools ship with the operating system (PowerShell, WMI, cmd.exe, certutil, ntdsutil, bash, ssh, curl); living-off-the-land tools extend to deployed management software such as MDM, patch management, and EDR consoles.
- A trusted device is a managed endpoint that other systems trust for what it is (domain-joined, certificate-holding, MDM-compliant); the trust itself is the vector.
- Fileless malware keeps its payload in memory, the registry, or the WMI repository instead of a standalone file; it is related to LOTL but not a synonym.
- If the scenario says the file hash matches a signed vendor binary, the hash IoC is the distractor; look for malicious processes (odd parent, encoded command line, unusual account or hour).
- If the scenario says “nothing on disk” or “returns after reboot with clean startup folders,” think fileless with WMI or registry persistence.
- If a compromised administrator workstation runs signed Windows utilities against a domain controller, think trusted device plus LOTL.
- Signature-based antivirus is the usual wrong answer; behavior-based EDR, script block logging, AMSI, and baselines are the right family.
- Event 4688 with command line auditing and Sysmon Event ID 1 record process creation; Event ID 4104 records script blocks; Sysmon 19, 20, and 21 record WMI persistence.
- “Remove PowerShell” is a distractor; restrict it, log it, and baseline it.
- Bloatware (unwanted preinstalled software) is 701-era vocabulary; the SY0-801 malware list has adware instead, software that shows or injects ads or redirects browsing for revenue.
Check yourself
These are original practice questions, not exam items.
1. An EDR alert shows WINWORD.EXE launching powershell.exe with a long base64 argument on a finance workstation. The analyst confirms that the PowerShell binary’s SHA-256 matches Microsoft’s signed release and finds no new executables on disk. Which SY0-801 2.5 indicator best supports escalation?
- A. Hash.
- B. Malicious processes.
- C. Domain.
- D. Excessive resource consumption.
Answer: B. The hash is clean because the binary is legitimate; what is abnormal is the parent and child relationship and the encoded command line. That is a malicious process indicator.
2. After a reboot, a workstation resumes beaconing every 30 minutes. Its startup folders, Run keys, and scheduled tasks are clean, and no unknown files exist on disk. Sysmon logged Event IDs 19, 20, and 21 two days earlier. What is the most likely persistence mechanism?
- A. A logic bomb in a scheduled task.
- B. A WMI event subscription.
- C. A rootkit in the boot record.
- D. Adware installed as a browser extension.
Answer: B. Sysmon 19, 20, and 21 record a WMI filter, consumer, and binding, which together relaunch a payload stored in the WMI repository; that is Microsoft’s Type II fileless pattern. Scheduled tasks were already ruled out, and nothing points to the boot record.
3. A security team wants to reduce abuse of PowerShell without breaking administrators’ scripts. Which approach best matches published joint guidance?
- A. Uninstall PowerShell from every endpoint, including administrator workstations.
- B. Enable script block logging and enforce application control so untrusted scripts run in ConstrainedLanguage mode.
- C. Add the hash of powershell.exe to the EDR block list on all servers.
- D. Rename powershell.exe on every host so commodity scripts cannot find it.
Answer: B. The joint guidance favors configuring and monitoring PowerShell over removing it; logging records what runs, and application control limits what untrusted scripts can reach. Blocking the signed binary’s hash breaks administration, and a renamed binary still reports its OriginalFileName.
This is T-30 of the Security+ 801 Countdown: one change from SY0-701 to SY0-801 every morning until the new exam launches on November 17, 2026. Tomorrow, T-29: Objective 2.4 Rebuilt Around Attack Surfaces, Secrets, and Public Buckets. New here? Start with T-38: The Blueprint Was Reweighted and Trimmed to 27 Objectives.
References
CISA (Cybersecurity and Infrastructure Security Agency) et al. 2024a. “Identifying and Mitigating Living Off the Land Techniques.” Joint guidance. February 7, 2024.
CISA (Cybersecurity and Infrastructure Security Agency) et al. 2024b. “PRC State-Sponsored Actors Compromise and Maintain Persistent Access to U.S. Critical Infrastructure.” Cybersecurity Advisory AA24-038A. February 7, 2024.
CompTIA. 2023. CompTIA Security+ SY0-701 Certification Exam Objectives. Version 5.0.
CompTIA. 2025. CompTIA Security+ SY0-801 V8 Certification Exam Objectives. Document Version 2.0.
Microsoft. n.d.-a. “about_Language_Modes.” PowerShell documentation, Microsoft Learn. Accessed October 12, 2026.
Microsoft. n.d.-b. “about_Logging.” PowerShell documentation, Microsoft Learn. Accessed October 12, 2026.
Microsoft. n.d.-c. “Antimalware Scan Interface (AMSI).” Win32 documentation, Microsoft Learn. Accessed October 12, 2026.
Microsoft. n.d.-d. “Applications That Can Bypass App Control and How to Block Them.” Windows security documentation, Microsoft Learn. Accessed October 12, 2026.
Microsoft. n.d.-e. “ASR Rules Reference.” Microsoft Defender for Endpoint documentation, Microsoft Learn. Accessed October 12, 2026.
Microsoft. n.d.-f. “Command Line Process Auditing.” Windows Server documentation, Microsoft Learn. Accessed October 12, 2026.
Microsoft. n.d.-g. “DeviceProcessEvents Table in the Advanced Hunting Schema.” Microsoft Defender XDR documentation, Microsoft Learn. Accessed October 12, 2026.
Microsoft. n.d.-h. “Fileless Threats.” Microsoft Defender for Endpoint documentation, Microsoft Learn. Accessed October 12, 2026.
Microsoft. n.d.-i. “How AMSI Helps You Defend Against Malware.” Win32 documentation, Microsoft Learn. Accessed October 12, 2026.
NSA (National Security Agency) et al. 2022. Keeping PowerShell: Security Measures to Use and Embrace. Cybersecurity Information Sheet. June 22, 2022.
Rose, Scott, Oliver Borchert, Stu Mitchell, and Sean Connelly. 2020. Zero Trust Architecture. NIST Special Publication 800-207.
Russinovich, Mark, and Thomas Garnier. 2026. “Sysmon.” Sysinternals, Microsoft Learn. Published September 10, 2026.
About the author
Professor Benjamin Lamb, PhD, teaches ITN 260 Network Security Basics at Brightpoint Community College near Richmond, Virginia. Before teaching, he worked as an IT consultant in cybersecurity and risk for a Fortune 500 company. He holds Cisco’s CCNA Automation, and in August 2026 he renewed his CompTIA Network+ with a score of 855 on the 100 to 900 scale, where 720 passes. He first earned Security+ in 2021 and let it lapse in 2024; he is renewing it on SY0-801, so this countdown doubles as his own study plan, written in public.
Credentials: Credly profile. Partnership ideas, workshops, guest lectures, and training collaborations: professor@benlamb.net.
