# 就地取材

**就地取材**（LOTL）是一种网络攻击技术，攻击者利用受害者系统上已安装的合法工具、二进制文件、脚本和管理实用程序来实施恶意活动，而非部署定制的恶意软件文件。<sup>[1](https://incidentsecure.org/glossary/living-off-the-land-lolbins)</sup> 由于被滥用的程序是操作系统或标准企业软件中受信任的、经过签名的组件，恶意活动得以混入正常的系统管理行为之中，从而规避基于特征的检测。<sup>[2](https://www.sciencedirect.com/science/article/pii/S016740482300562X)</sup>

| 关键事实 | 详情 |
|---|---|
| 定义 | 攻击者滥用系统上已有的原生合法工具、二进制文件、脚本和库来实施恶意活动<sup>[1](https://incidentsecure.org/glossary/living-off-the-land-lolbins)</sup> |
| 术语起源 | 2013年由克里斯托弗·坎贝尔（Christopher Campbell）和马特·格雷伯（Matt Graeber）在DerbyCon 3.0大会上引入网络安全社区<sup>[3](https://kth.diva-portal.org/smash/get/diva2%3A1997322/FULLTEXT01.pdf)</sup> |
| 普遍程度 | 比特梵德（Bitdefender）对70万起事件的分析发现，84%的高危攻击涉及机器上已有的合法系统二进制文件<sup>[4](https://www.techradar.com/pro/security/cybercriminals-love-this-little-known-microsoft-tool-a-lot-but-not-as-much-as-this-cli-utility-for-network-management)</sup> |
| APT使用情况 | 26.26%的APT攻击向量涉及无文件技术，具体即为就地取材子技术<sup>[2](https://www.sciencedirect.com/science/article/pii/S016740482300562X)</sup> |
| 国家支持的案例 | “伏特台风”（Volt Typhoon）行动仅使用经过签名的Windows实用程序，持续访问美国关键基础设施超过18个月而未被发现<sup>[5](https://arxiv.org/abs/2609.14593)</sup> |
| 政府回应 | 2024年2月7日，CISA、NSA、FBI及国际伙伴机构联合发布了关于识别和缓解LOTL技术的指南<sup>[6](https://www.cisa.gov/sites/default/files/2025-03/Joint-Guidance-Identifying-and-Mitigating-LOTL508.pdf)</sup> |
| 框架映射 | LOTL行为可映射至MITRE ATT&CK技术，如命令与脚本解释器（T1059）和系统二进制代理执行（T1218）<sup>[7](https://attack.mitre.org/techniques/T1218/)</sup> |

## 起源与术语

“就地取材”一词于2013年由克里斯托弗·坎贝尔和马特·格雷伯在DerbyCon 3.0大会上引入网络安全社区。<sup>[3](https://kth.diva-portal.org/smash/get/diva2%3A1997322/FULLTEXT01.pdf)</sup>

在2021年IEEE安全与隐私研讨会上发表的一篇论文中，[范德堡大学](https://www.edgepedia.org/zh/vanderbilt-university)和特伦托大学的研究者将LotL二进制文件定义为：具有公认的合法用途，但在攻击中被用于直接实施有害行为，或在最终造成伤害的一系列步骤中扮演辅助性、间接角色的二进制文件。<sup>[8](https://cumberland.isis.vanderbilt.edu/cs6380-sp25/content/p2-opt-off-land.pdf)</sup> 他们指出，由于该术语相对新颖，围绕它的混淆相当严重；他们对一个APT恶意软件公开数据集的分析发现，APT恶意软件执行LotL技术的频率是商品化恶意软件的两倍。<sup>[8](https://cumberland.isis.vanderbilt.edu/cs6380-sp25/content/p2-opt-off-land.pdf)</sup> LOLBAS项目编录了Windows上的就地取材二进制文件与脚本，供防御者和研究者参考。<sup>[9](https://lolbas-project.github.io/)</sup>

## 该技术的运作方式

攻击者使用系统管理员日常运行的工具。常被滥用的Windows二进制文件和脚本宿主包括PowerShell、WMI、cmd.exe、wscript.exe、rundll32和netsh.exe；在比特梵德的事件数据中，网络配置实用程序netsh.exe出乎意料地位居被滥用工具榜首，排在powershell.exe和wscript.exe之前。<sup>[4](https://www.techradar.com/pro/security/cybercriminals-love-this-little-known-microsoft-tool-a-lot-but-not-as-much-as-this-cli-utility-for-network-management)</sup> 在初始访问阶段启动LOLBin的恶意Office文档是一条有据可查的入口路径，这也是为何聚焦于MITRE ATT&CK初始访问战术的威胁狩猎会寻找启动可疑就地取材二进制文件的[Microsoft Office](https://www.edgepedia.org/zh/microsoft-office)可执行文件。<sup>[10](https://www.sciencedirect.com/science/article/pii/S1389128626006420)</sup>

微软检测与响应团队（DART）调查的一起勒索软件事件完整地展示了这一模式。攻击者使用就地取材二进制文件启动恶意代码，通过rundll32加载Cobalt Strike DLL，用PowerShell脚本经SMB进行传播，以SYSTEM权限创建Windows服务和计划任务以实现持久化，并在域控制器上安装OpenSSH，同时将ssh.exe重命名为svchost.exe以规避检测。<sup>[11](https://www.microsoft.com/en-us/security/blog/2022/10/18/defenders-beware-a-case-for-post-ransomware-investigations/)</sup> LOTL方法还越过操作系统延伸至云服务：根据Cloudflare的威胁报告，攻击者已将目光投向合法的SaaS、IaaS和PaaS产品——其中包括[Google Calendar](https://www.edgepedia.org/zh/google-calendar)、Dropbox和GitHub——使敌对活动混入日常业务运营之中。<sup>[12](https://www.itpro.com/security/cyber-attacks/how-to-protect-your-business-from-living-off-the-land-attacks)</sup>

## 与无文件恶意软件的关系

一项关于无文件攻击研究的综述将LOTL定位为更广泛的无文件类别中一种流行的子技术，并报告26.26%的APT攻击向量涉及无文件技术，具体即为就地取材。<sup>[2](https://www.sciencedirect.com/science/article/pii/S016740482300562X)</sup>

## 检测为何困难

核心防御问题在于，被滥用的工具具有大量合法用途，因此安全团队在试图标记其执行时面临大量潜在误报。<sup>[14](https://www.sans.org/white-papers/living-off-the-land-as-a-defender-detecting-attacks-with-flexible-baselines)</sup> LOLBin在合法系统管理和恶意攻击场景中表现出高度相似的行为，而对手还会在此基础上叠加混淆；一项关于LOTL命令中Unicode修饰字母混淆的研究发现，尚无专门针对该变种的检测方法，也没有覆盖该变种的公开数据集。<sup>[15](https://www.sciencedirect.com/science/article/pii/S0167404826002099)</sup> 加密、多态和就地取材战术等高级规避技术使传统入侵检测系统难以识别高级持续性威胁。<sup>[16](https://www.nature.com/articles/s41598-025-25621-0.pdf)</sup>

取证可见性使问题更加复杂。一项对来自56份CISA公告（2020年至2024年）的49起已确认入侵事件进行编码的实证研究发现，WMI订阅工件在这些事件中的捕获率为0%，且内存取证在任何一起事件中都从未被用作主要检测方法；该研究将每种无文件技术映射至其残留工件和检测概率，形成了一份取证可检测性矩阵。<sup>[17](https://www.sciencedirect.com/science/article/pii/S2666281726000697)</sup>

## 重要行动与政府回应

最突出的国家支持案例是**伏特台风**，这是一个中华人民共和国国家支持的行为体，CISA称其使用LOTL技术是其在针对关键基础设施时的活动标志。<sup>[18](https://www.cisa.gov/sites/default/files/2024-02/aa24-038a-jcsa-prc-state-sponsored-actors-compromise-us-critical-infrastructure_1.pdf)</sup> 根据2025年的一篇研究论文，该行动仅使用经过签名的Windows实用程序，持续访问美国关键基础设施超过18个月而未被发现。<sup>[5](https://arxiv.org/abs/2609.14593)</sup> 2023年5月，CISA、NSA、FBI及国际伙伴发布了一份联合网络安全公告，涉及中国国家支持的行为体通过就地取材规避检测。<sup>[19](https://www.cisa.gov/news-events/alerts/2023/05/24/cisa-and-partners-release-cybersecurity-advisory-guidance-detailing-prc-state-sponsored-actors?rand=11274)</sup>

2024年2月7日，CISA、NSA、FBI、能源部、环境保护局、[运输安全管理局](https://www.edgepedia.org/zh/transportation-security-administration)以及澳大利亚、加拿大、英国和新西兰的网络安全机构联合发布了关于识别和缓解LOTL技术的指南。<sup>[6](https://www.cisa.gov/sites/default/files/2025-03/Joint-Guidance-Identifying-and-Mitigating-LOTL508.pdf)</sup> CISA的#StopRansomware指南还警告称，由内而外的持久化可能包括就地取材式的修改，例如使用商业渗透测试工具Cobalt Strike、包含PsExec的PsTools套件以及[PowerShell](https://www.edgepedia.org/zh/powershell)脚本。<sup>[20](https://www.cisa.gov/stopransomware/ransomware-guide)</sup> CISA最近敦促各组织部署诱饵、诱饵文件和蜜罐，并指出许多组织难以检测使用合法凭据、原生工具和LOTL技术进行发现、横向移动和数据访问的对手。<sup>[21](https://www.techradar.com/pro/security/cisa-urges-business-to-deploy-decoys-lures-and-honeypots-to-catch-hackers-in-the-act)</sup>

## 检测与缓解方法

当载荷是合法的已签名二进制文件时，对已知恶意载荷进行特征匹配便不再奏效，因此防御者强调行为。一份SANS白皮书描述了防御者使用PowerShell和正则表达式对Windows事件日志字段（如进程名、父进程和命令行参数）进行分析，以建立正常活动的灵活基线，并将剩余活动视为异常以进一步分析。<sup>[14](https://www.sans.org/white-papers/living-off-the-land-as-a-defender-detecting-attacks-with-flexible-baselines)</sup> 微软的勒索软件事后指南同样呼吁更加注重异常和行为检测，而非标准的恶意文件检测，并定期审计远程访问和远程执行工具，如PsExec和SSH。<sup>[11](https://www.microsoft.com/en-us/security/blog/2022/10/18/defenders-beware-a-case-for-post-ransomware-investigations/)</sup> 从业者建议包括强身份治理、最小权限访问、对管理活动进行详细日志记录、对管理操作进行异常检测，以及针对身份泄露、令牌窃取和特权账户滥用的响应运行手册。<sup>[12](https://www.itpro.com/security/cyber-attacks/how-to-protect-your-business-from-living-off-the-land-attacks)</sup>

机器学习已成为一个主要研究方向。一种在端点遥测数据上使用主动学习的集成分类器方法在LotL攻击类别上平均F1分数达到0.96。<sup>[22](https://arxiv.org/abs/2111.15039)</sup> SENTINEL架构在基于微软和CISA公告构建的[伏特台风](https://www.edgepedia.org/zh/volt-typhoon)基准上评估，对已记录的国家支持攻击命令达到92.0%的准确率，对混淆变体达到91.2%，而独立BERT分别为74.0%和72.0%。<sup>[5](https://arxiv.org/abs/2609.14593)</sup> 研究者还探索使用大语言模型帮助预算有限的组织为LOTL技术生成有效的威胁狩猎查询。<sup>[23](https://napier-repository.worktribe.com/output/4191811)</sup>

## 近期趋势

普遍程度的测量值持续上升。安全厂商将增长部分归因于组织补丁和检测能力的改善，这促使对手转向使用合法工具和进程的更隐蔽战术。<sup>[12](https://www.itpro.com/security/cyber-attacks/how-to-protect-your-business-from-living-off-the-land-attacks)</sup>

[人工智能](https://www.edgepedia.org/zh/artificial-intelligence)是一把双刃剑。[CrowdStrike](https://www.edgepedia.org/zh/crowdstrike)欧洲区首席技术官泽基·图雷迪（Zeki Turedi）警告称，被攻陷的、在企业IT环境中拥有深度访问权限的AI代理可能使LOTL攻击危险得多。<sup>[24](https://www.itpro.com/technology/artificial-intelligence/compromised-ai-agents-could-make-living-off-the-land-attacks-much-more-dangerous-says-crowdstrike-field-cto)</sup> 在防御方面，微软的Project Ire——一个对软件文件进行逆向工程以分类恶意软件的自主AI代理——针对黑客用于就地取材攻击的数据库样本以及无害的Windows驱动程序进行了测试，以2%的误报率正确标记了90%的文件。<sup>[25](https://www.itpro.com/security/malware/microsoft-quietly-launched-an-ai-agent-that-can-reverse-engineer-and-detect-malware)</sup>

## References

1. [Living off the Land (LOLBins) – Incident Security Authority](https://incidentsecure.org/glossary/living-off-the-land-lolbins)
2. [A survey on the evolution of fileless attacks and detection techniques, Computers & Security](https://www.sciencedirect.com/science/article/pii/S016740482300562X)
3. [Triggering False Alarms in Computer Networks (KTH thesis)](https://kth.diva-portal.org/smash/get/diva2%3A1997322/FULLTEXT01.pdf)
4. [Cybercriminals love this little-known Microsoft tool, TechRadar](https://www.techradar.com/pro/security/cybercriminals-love-this-little-known-microsoft-tool-a-lot-but-not-as-much-as-this-cli-utility-for-network-management)
5. [SENTINEL: A Multi-Pathway Architecture for Detecting Living-Off-the-Land APT Attacks, arXiv](https://arxiv.org/abs/2609.14593)
6. [Joint Guidance: Identifying and Mitigating Living Off the Land Techniques, CISA](https://www.cisa.gov/sites/default/files/2025-03/Joint-Guidance-Identifying-and-Mitigating-LOTL508.pdf)
7. [System Binary Proxy Execution, Technique T1218, MITRE ATT&CK](https://attack.mitre.org/techniques/T1218/)
8. [Survivalism: Systematic Analysis of Windows Malware Living-Off-The-Land (Barr-Smith et al., IEEE S&P 2021)](https://cumberland.isis.vanderbilt.edu/cs6380-sp25/content/p2-opt-off-land.pdf)
9. [LOLBAS, Living Off the Land Binaries, Scripts and Libraries](https://lolbas-project.github.io/)
10. [Security framework for threat hunting advanced adversaries for initial level access, Computer Networks](https://www.sciencedirect.com/science/article/pii/S1389128626006420)
11. [Defenders beware: A case for post-ransomware investigations, Microsoft Security Blog](https://www.microsoft.com/en-us/security/blog/2022/10/18/defenders-beware-a-case-for-post-ransomware-investigations/)
12. [How to protect your business from living off the land attacks, ITPro](https://www.itpro.com/security/cyber-attacks/how-to-protect-your-business-from-living-off-the-land-attacks)
13. [Living Off the Land Attacks, U.S. Department of Health and Human Services](https://www.hhs.gov/sites/default/files/living-off-land-attacks-tlpclear.pdf)
14. [Living Off the Land as a Defender: Detecting Attacks with Flexible Baselines, SANS](https://www.sans.org/white-papers/living-off-the-land-as-a-defender-detecting-attacks-with-flexible-baselines)
15. [DSFDU: Detection of unicode modifier letter obfuscated commands in Living-Off-the-Land attacks, Computers & Security](https://www.sciencedirect.com/science/article/pii/S0167404826002099)
16. [APT evasion techniques including living-off-the-land tactics, Scientific Reports](https://www.nature.com/articles/s41598-025-25621-0.pdf)
17. [Forensic visibility gaps in fileless malware incidents, Digital Investigation](https://www.sciencedirect.com/science/article/pii/S2666281726000697)
18. [PRC State-Sponsored Actors Compromise U.S. Critical Infrastructure (AA24-038A), CISA](https://www.cisa.gov/sites/default/files/2024-02/aa24-038a-jcsa-prc-state-sponsored-actors-compromise-us-critical-infrastructure_1.pdf)
19. [CISA and Partners Release Advisory on PRC State-Sponsored Actors Evading Detection by Living off the Land, CISA](https://www.cisa.gov/news-events/alerts/2023/05/24/cisa-and-partners-release-cybersecurity-advisory-guidance-detailing-prc-state-sponsored-actors?rand=11274)
20. [#StopRansomware Guide, CISA](https://www.cisa.gov/stopransomware/ransomware-guide)
21. [CISA urges business to deploy decoys, lures, and honeypots, TechRadar](https://www.techradar.com/pro/security/cisa-urges-business-to-deploy-decoys-lures-and-honeypots-to-catch-hackers-in-the-act)
22. [Living-Off-The-Land Command Detection Using Active Learning, arXiv](https://arxiv.org/abs/2111.15039)
23. [Leveraging LLMs for Non-Security Experts in Threat Hunting, Napier Repository](https://napier-repository.worktribe.com/output/4191811)
24. [AI agents could make living off the land attacks much more dangerous, ITPro](https://www.itpro.com/technology/artificial-intelligence/compromised-ai-agents-could-make-living-off-the-land-attacks-much-more-dangerous-says-crowdstrike-field-cto)
25. [Microsoft quietly launched an AI agent that can detect and reverse engineer malware, ITPro](https://www.itpro.com/security/malware/microsoft-quietly-launched-an-ai-agent-that-can-reverse-engineer-and-detect-malware)

---
*Initially written Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 网络与安全 › 恶意软件与终端威胁

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/living-off-the-land

English original: https://www.edgepedia.org/living-off-the-land
