# 攻击性安全

**攻击性安全**（offensive security）是指通过模拟攻击者的行为，对计算机系统、网络、应用和人进行探查，从而在恶意行为者加以利用之前发现并修复弱点的一类实践。它涵盖渗透测试、红队演练、对手模拟、漏洞研究和社会工程，全部由通常称为渗透测试人员或白帽黑客的专家在事先约定的规则下实施。<sup>[1](https://arxiv.org/abs/2308.07057)</sup> 这一领域由其用力方向所定义：攻击性安全的从业者不从构建防御入手，而是站在攻击者一侧，衡量那些防御是否站得住。

| 关键事实 | 说明 |
|---|---|
| 核心活动 | 渗透测试、红队演练、对手模拟、漏洞扫描和社会工程，旨在发现并验证可被利用的弱点<sup>[2](https://csrc.nist.gov/pubs/sp/800/115/final)</sup> |
| 美国基础性指南 | NIST SP 800-115《信息安全测试与评估技术指南》，2008年9月发布，取代 SP 800-42<sup>[2](https://csrc.nist.gov/pubs/sp/800/115/final)</sup> |
| 常用方法论 | 渗透测试执行标准（PTES）定义了七个阶段：前期交互、情报收集、威胁建模、漏洞分析、漏洞利用、后渗透和报告<sup>[3](https://decisioninsights.ai/term/penetration-testing-execution-standard-ptes)</sup> |
| 威胁导向的测试 | MITRE ATT&CK 对手模拟计划让红队逐项运用技术来模拟特定威胁组织的行径，并映射到 ATT&CK 知识库<sup>[4](https://attack.mitre.org/resources/adversary-emulation-plans/)</sup> |
| 有效性证据 | 在针对电子健康记录系统的案例研究中，系统化的人工渗透测试发现的设计缺陷最多，而自动化渗透测试则是每小时效率最高的技术<sup>[5](https://www.sciencedirect.com/science/article/pii/S0950584912002339)</sup> |
| 自动化的局限 | 在2026年对455名网络安全从业者的调查中，对全自动 AI 测试的依赖一年内从29%降至9%，此前有78%的组织发现自动化工具漏掉了关键漏洞<sup>[6](https://www.cobalt.io/press-release/78-of-security-teams-experience-critical-false-negatives-from-automated-scanning-tools-as-ai-struggles-to-detect-and-resolve-vulnerabilities?hs_amp=true)</sup> |
| 覆盖缺口 | 行业研究报告称，尽管95%的组织将渗透测试列为优先事项，但实际受测的攻击面仅占32%<sup>[7](https://www.techradar.com/pro/the-next-evolution-of-the-penetration-test-must-include-agentic-ai)</sup> |

## 历史

对计算机进行攻击性测试的警告，早在现代互联网出现之前就已存在。早在1965年，安全专家就告诫政府和商界：计算机通过通信线路交换数据的能力日益增强，势必招来对这些线路的入侵企图，以获取正在交换的数据。<sup>[8](https://www.infosecinstitute.com/resources/penetration-testing/the-history-of-penetration-testing/)</sup> 1967年的联合计算机会议（Joint Computer Conference）是一个重要转折点，会上首次就探查数字系统的安全缺陷展开了严肃的学术与实务讨论；此后，美国空军开始评估其分时计算机系统的安全性。<sup>[9](https://horkan.com/2025/06/19/a-brief-history-of-penetration-testing-from-tiger-teams-to-ptaas)</sup>

**老虎队。** 20世纪60年代末，以特种军事部队命名的所谓“老虎队”（tiger teams）成立，用以检验计算机网络能否抵御攻击。<sup>[8](https://www.infosecinstitute.com/resources/penetration-testing/the-history-of-penetration-testing/)</sup> 兰德公司（RAND Corporation）与高级研究计划局（ARPA）合作，产出了一份早期颇具影响力的报告，以其第一作者命名为《威利斯报告》（Willis Report）。<sup>[8](https://www.infosecinstitute.com/resources/penetration-testing/the-history-of-penetration-testing/)</sup> 这些团队成为如今网络演习中常见的红队/蓝队模式的早期雏形。<sup>[9](https://horkan.com/2025/06/19/a-brief-history-of-penetration-testing-from-tiger-teams-to-ptaas)</sup>

这种做法并非美国独有。在英国，国防部（Ministry of Defence）下属的西部局（Bureau West）中心对军情五处（MI5）及其他机构使用的 ICL 大型计算机实施了老虎队攻击，完成了一个历时两年的复杂项目；1976年，[英国陆军](https://www.edgepedia.org/zh/british-army)要求对所有正在开发的新系统实施老虎队攻击，包括“松鸡”（Ptarmigan）、“韦维尔”（Wavell）和“贝茨”（Bates）计划。<sup>[10](https://www.tandfonline.com/doi/full/10.1080/02684527.2022.2139342)</sup> 在美国，为国防高级研究计划局（DARPA）、[国家科学基金会](https://www.edgepedia.org/zh/national-science-foundation)（National Science Foundation）和原子能委员会（Atomic Energy Commission）所做的机密工作推动了渗透测试与红队评审，此后引入了对计算机之间传输的数据加以加密等管控措施。<sup>[10](https://www.tandfonline.com/doi/full/10.1080/02684527.2022.2139342)</sup>

## 核心实践

**渗透测试**通过模拟攻击，判定对手可能达成何种目标。美国政府的主要指南 NIST SP 800-115 区分了外部测试与内部测试：前者由评估人员从边界之外发起攻击，除目标地址外掌握的信息极少；后者由测试人员在防火墙之内、以某种被授予的访问权限开展工作，并尝试提升权限，模拟的是恶意内部人员或已突破边界的攻击者。<sup>[11](https://tsapps.nist.gov/publication/get_pdf.cfm?pub_id=152164)</sup> 测试可以是公开的，即 IT 人员知情；也可以是隐蔽的，后者考察的是对手可能造成的损害，而非逐一清点所有漏洞。<sup>[11](https://tsapps.nist.gov/publication/get_pdf.cfm?pub_id=152164)</sup> 由于渗透测试对生产系统使用真实的漏洞利用，风险与成本都很高；NIST 建议，若与定期进行的、人力投入较少的漏洞扫描相结合，每年测试一次或许就已足够。<sup>[11](https://tsapps.nist.gov/publication/get_pdf.cfm?pub_id=152164)</sup>

每一次测试都受行动规则（rules of engagement，ROE）约束。NIST 将其定义为执行安全测试的详细准则与限制，在测试开始前确立，并授权团队无需另行批准即可开展规定范围内的活动。<sup>[12](https://csrc.nist.gov/glossary/term/Rules_of_Engagement)</sup> 联邦评估指南同样将渗透测试定义为：评估人员在商定的行动规则下，模拟某一类攻击者，并使用足以代表该攻击者所掌握情况的文档资料。<sup>[13](https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-53ar1.pdf)</sup>

**红队与对手模拟。** [红队](https://www.edgepedia.org/zh/red-team)测试是一种由威胁模型驱动的评估，针对攻击者的战术与技术，旨在揭示对手能否在未被察觉的情况下触及组织最重要的数据、资产或用户。<sup>[14](https://lp.threatq.com/rs/619-ADG-031/images/Whitepaper_MITRE-ATTA%26CK_ThreatQuotient.pdf)</sup> 对手模拟是攻击性评估的一种特定样式，红队“以”某个具名威胁组织的“风格”行动，从 [MITRE ATT&CK](https://www.edgepedia.org/zh/mitre-att-and-ck) 框架的技术中选取相关子集，逐项加以执行。<sup>[15](https://medium.com/mitre-attack/att-ck-based-product-evaluations-frequently-asked-questions-ddc2db7f919e)</sup> 例如，MITRE 的 APT3 对手模拟计划勾勒了一个持续性威胁组织的行径并映射到 ATT&CK，逐条命令列出行动，并给出公开及商业攻击性测试框架中的等效命令。<sup>[4](https://attack.mitre.org/resources/adversary-emulation-plans/)</sup> 规模更小的“微型”模拟计划针对的是被多个对手共同滥用的复合行为，而非某一组织的全套手法。<sup>[16](https://medium.com/mitre-engenuity/ahhh-this-emulation-is-just-right-introducing-micro-emulation-plans-7bf4c26451d3)</sup> 政府团队也采用同样的方法：2022年，网络安全和基础设施安全局（CISA）的红队对一家美国机构进行了为期三个月的评估，并公开了映射到 ATT&CK 战术与技术的活动记录，以便防御方改进监控与加固。<sup>[17](https://www.cisa.gov/news-events/cybersecurity-advisories/aa23-059a)</sup>

## 标准与框架

多数攻击性工作由两套框架组织起来。NIST SP 800-115 帮助组织规划并实施技术性安全测试与检查、分析结果、制定缓解策略，涵盖从漏洞扫描到渗透测试的各项技术及其优势与局限。<sup>[2](https://csrc.nist.gov/pubs/sp/800/115/final)</sup> 由社区编写的渗透测试执行标准（PTES）将一次测试拆为七个阶段，从前期交互、情报收集，经威胁建模、漏洞分析、漏洞利用、后渗透，直到报告；并要求威胁模型在表述威胁及其能力时保持一致。<sup>[3](https://decisioninsights.ai/term/penetration-testing-execution-standard-ptes)</sup><sup> • </sup><sup>[18](https://d2do9bvqvuv2o6.cloudfront.net/ressources/papers/others/PTES_v1.1_202202.pdf)</sup> 传统渗透测试仍是许多安全审计的基础，在需要精确性、人工监督，或需符合 NIST SP 800-115、[ISO/IEC 27001](https://www.edgepedia.org/zh/iso-iec-27001) 等标准时尤其如此。<sup>[19](https://www.sciencedirect.com/science/article/pii/S0045790625006299)</sup>

## 度量与评估

攻击性安全也为防御产品提供了一把标尺。2018年12月，MITRE 发布了首批基于 ATT&CK 的产品评估，以间谍组织 APT3（哥特熊猫，Gothic Panda）的风格模拟攻击，从而依据厂商产品对攻击者技术的响应能力来评判，而不只看恶意软件检测。<sup>[20](https://www.axios.com/2018/12/04/mock-chinese-attacks-test-security-tools)</sup> 2025年的企业轮次促成了 MITRE 有史以来首次云对手模拟：一个场景取材于“散落蜘蛛”（Scattered Spider）的社会工程与云漏洞利用，另一个取材于国家支持的“野马熊猫”（Mustang Panda）组织，并首次纳入 ATT&CK 的侦察（Reconnaissance）战术；评估不对厂商排名，只发布基于证据的结果。<sup>[21](https://www.mitre.org/news-insights/news-release/mitre-attck-evaluations-advance-cloud-security-and-counter-espionage)</sup>

实证研究为从业者选择技术提供了依据。在针对三个电子健康记录系统的案例研究中，没有任何单一漏洞发现技术能找出所有类型的漏洞：系统化的人工渗透测试发现的设计缺陷最多，自动化静态分析发现的实现缺陷最多，而自动化渗透测试在每小时发现的漏洞数上效率最高，在受研究的两个系统上分别达到22.00和71.00。<sup>[5](https://www.sciencedirect.com/science/article/pii/S0950584912002339)</sup> 不同工具发现的漏洞集合彼此基本独立，因此为求覆盖面，建议至少将系统化的人工渗透测试与自动化静态分析结合使用。<sup>[5](https://www.sciencedirect.com/science/article/pii/S0950584912002339)</sup>

## 自动化与人工智能

将攻击性工作自动化是一个活跃的研究课题。MITRE 的 CALDERA 团队在2018年提出，自动化对手模拟与自动化渗透测试一样，应被视为既是规划问题也是行动问题，因为对手在评估过程中应对无界不确定性的方式，是此前的规划技术未能建模的。<sup>[22](https://www.mitre.org/news-insights/publication/automated-adversary-emulation-case-planning-and-acting-unknowns)</sup> 一项对开源对手模拟工具的比较将 MITRE Caldera、Metasploit 和 Atomic Red Team 列为前三，并发现此类工具能部分自动化攻击者行为，使没有红队经验的人员也能开展可重复的测试。<sup>[23](https://arxiv.org/abs/2408.15645)</sup>

AI 的应用重塑了这一实践，而非取代它。Cobalt 于2026年对455名网络安全从业者的调查发现，在78%的组织经历过自动化扫描工具漏掉关键漏洞之后，对全自动 AI 测试的依赖一年内从29%降至9%，47%的人更青睐混合模式；与 AI 相关的渗透测试发现被列为高风险的占32%，而其他资产类别为12%；解决 AI/大语言模型（LLM）安全问题的平均时间从19天升至36天。<sup>[6](https://www.cobalt.io/press-release/78-of-security-teams-experience-critical-false-negatives-from-automated-scanning-tools-as-ai-struggles-to-detect-and-resolve-vulnerabilities?hs_amp=true)</sup> 从业者反映存在验证负担：在 Pentest-Tools 的一项调查中，使用 AI 生成发现的受访者中，90%表示结果需要大量人工验证，其中包括编造的漏洞利用，以及 AI 生成、实际并不存在的 CVE 编号。<sup>[24](https://www.itpro.com/security/i-bought-the-tool-to-save-time-but-i-did-more-manual-work-than-before-pentesters-are-finding-more-bugs-with-ai-than-they-can-fix-theyre-even-battling-fake-hallucinated-cves)</sup> 结构性压力依然存在：95%的组织将渗透测试列为优先事项，但实际受测的攻击面仅占32%，因此厂商和研究者正推动攻防两侧都走向智能体式 AI。<sup>[7](https://www.techradar.com/pro/the-next-evolution-of-the-penetration-test-must-include-agentic-ai)</sup> 对十二名攻击性安全从业者的[质性研究](https://www.edgepedia.org/zh/qualitative-research)同样得出结论：自动化研究必须与测试人员实际的思考方式和攻击选择方式相契合，因为熟练测试人员的长期短缺才是这一领域的硬约束。<sup>[1](https://arxiv.org/abs/2308.07057)</sup>

## References

1. [Happe, A., Cito, J. (2023). Understanding Hackers' Work: An Empirical Study of Offensive Security Practitioners. arXiv.](https://arxiv.org/abs/2308.07057)
2. [NIST SP 800-115, Technical Guide to Information Security Testing and Assessment, CSRC](https://csrc.nist.gov/pubs/sp/800/115/final)
3. [Penetration Testing Execution Standard (PTES): definition, Decision Insights](https://decisioninsights.ai/term/penetration-testing-execution-standard-ptes)
4. [Adversary Emulation Plans, MITRE ATT&CK](https://attack.mitre.org/resources/adversary-emulation-plans/)
5. [Austin, A. et al. (2013). A comparison of the efficiency and effectiveness of vulnerability discovery techniques. Information and Software Technology 55(7).](https://www.sciencedirect.com/science/article/pii/S0950584912002339)
6. [78% of Security Teams Experience Critical False Negatives From Automated Scanning Tools, Cobalt press release (2026)](https://www.cobalt.io/press-release/78-of-security-teams-experience-critical-false-negatives-from-automated-scanning-tools-as-ai-struggles-to-detect-and-resolve-vulnerabilities?hs_amp=true)
7. [The next evolution of the penetration test must include agentic AI, TechRadar Pro (2026)](https://www.techradar.com/pro/the-next-evolution-of-the-penetration-test-must-include-agentic-ai)
8. [The history of penetration testing, Infosec Institute](https://www.infosecinstitute.com/resources/penetration-testing/the-history-of-penetration-testing/)
9. [A Brief History of Penetration Testing: From Tiger Teams to PTaaS, Horkan (2025)](https://horkan.com/2025/06/19/a-brief-history-of-penetration-testing-from-tiger-teams-to-ptaas)
10. [Aldrich, R. (2022). Project Spaceman: early British computer security and automatic data processing. Intelligence and National Security.](https://www.tandfonline.com/doi/full/10.1080/02684527.2022.2139342)
11. [NIST SP 800-115 (full PDF)](https://tsapps.nist.gov/publication/get_pdf.cfm?pub_id=152164)
12. [Rules of Engagement (ROE), NIST CSRC Glossary](https://csrc.nist.gov/glossary/term/Rules_of_Engagement)
13. [NIST SP 800-53A Revision 1, Guide for Assessing the Security Controls in Federal Information Systems and Organizations](https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-53ar1.pdf)
14. [Red and Purple Teaming and Adversary Emulation, ThreatQuotient whitepaper](https://lp.threatq.com/rs/619-ADG-031/images/Whitepaper_MITRE-ATTA%26CK_ThreatQuotient.pdf)
15. [ATT&CK-Based Product Evaluations: Frequently Asked Questions, MITRE ATT&CK on Medium](https://medium.com/mitre-attack/att-ck-based-product-evaluations-frequently-asked-questions-ddc2db7f919e)
16. [Ahhh, This Emulation is Just Right: Introducing Micro Emulation Plans, Center for Threat-Informed Defense](https://medium.com/mitre-engenuity/ahhh-this-emulation-is-just-right-introducing-micro-emulation-plans-7bf4c26451d3)
17. [CISA Red Team Shares Key Findings to Improve Monitoring and Hardening of Networks (AA23-059A)](https://www.cisa.gov/news-events/cybersecurity-advisories/aa23-059a)
18. [The Penetration Testing Execution Standard Documentation, PTES v1.1](https://d2do9bvqvuv2o6.cloudfront.net/ressources/papers/others/PTES_v1.1_202202.pdf)
19. [Penetration testing: Taxonomies, trade-offs, and adaptive strategies, ScienceDirect (2025)](https://www.sciencedirect.com/science/article/pii/S0045790625006299)
20. [Mock Chinese attacks test security tools, Axios (2018)](https://www.axios.com/2018/12/04/mock-chinese-attacks-test-security-tools)
21. [MITRE ATT&CK Evaluations Advance Cloud Security and Counter-Espionage Capabilities in Latest Round, MITRE (2025)](https://www.mitre.org/news-insights/news-release/mitre-attck-evaluations-advance-cloud-security-and-counter-espionage)
22. [Automated Adversary Emulation: A Case for Planning and Acting with Unknowns, MITRE (2018)](https://www.mitre.org/news-insights/publication/automated-adversary-emulation-case-planning-and-acting-unknowns)
23. [Red Team Redemption: A Structured Comparison of Open-Source Tools for Adversary Emulation, arXiv](https://arxiv.org/abs/2408.15645)
24. [Pentesters are finding more bugs with AI than they can fix, ITPro (2026)](https://www.itpro.com/security/i-bought-the-tool-to-save-time-but-i-did-more-manual-work-than-before-pentesters-are-finding-more-bugs-with-ai-than-they-can-fix-theyre-even-battling-fake-hallucinated-cves)

---
*Initially written Sep 17, 2026 · Reviewed: Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 网络与安全 › Security governance and internet policy › Information security management and profession › Security audit, risk, and compliance assessment

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/offensive-security

English original: https://www.edgepedia.org/offensive-security
