# 方程式组织

**方程式组织**（Equation Group）是[卡巴斯基实验室](https://www.edgepedia.org/zh/kaspersky-lab)自2015年2月起对一个高度精密的网络间谍行为体的称呼，该组织的恶意软件武器库中包含首个被公开记录的、能够对硬盘驱动器固件进行重新编程的恶意代码。卡巴斯基研究人员称其为所见过的最高级的威胁行为体，间接证据将其与美国国家安全局（NSA）的定制访问行动（TAO）部门联系在一起，尽管尚无政府正式确认这一归属。<sup>[1](https://www.wired.com/2015/02/kapersky-discovers-equation-group/)</sup><sup> • </sup><sup>[2](https://arstechnica.com/information-technology/2015/02/how-omnipotent-hackers-tied-to-the-nsa-hid-for-14-years-and-were-found-at-last/)</sup>

| 关键事实 | 详情 |
|---|---|
| 首份公开报告 | 卡巴斯基实验室，安全分析师峰会，2015年2月<sup>[3](https://blog.checkpoint.com/intelligence-report-equation-group/)</sup> |
| 明显活动时间跨度 | 命令与控制域名早至1996年即已注册，表明其运作时间约达二十年<sup>[4](https://www.antiy.net/p/a-trojan-that-modifies-hard-drive-firmware-exploring-the-attack-components-of-the-equation-group/)</sup> |
| 已知组件 | EquationLaser、EquationDrug、DoubleFantasy、TripleFantasy、Fanny 和 GrayFish<sup>[4](https://www.antiy.net/p/a-trojan-that-modifies-hard-drive-firmware-exploring-the-attack-components-of-the-equation-group/)</sup> |
| 标志性能力 | 硬盘固件重编程模块，版本3.0.1（2010年编译）和版本4.2.0（2013年编译），分别覆盖六类和十二类驱动器<sup>[5](https://cdn1.vox-cdn.com/uploads/chorus_asset/file/3415904/Equation_group_questions_and_answers.0.pdf)</sup> |
| 已观察到的受害者 | 30多个国家中确认超过500个受害者；感染计数器显示每月约新增2,000个受害者<sup>[1](https://www.wired.com/2015/02/kapersky-discovers-equation-group/)</sup><sup> • </sup><sup>[5](https://cdn1.vox-cdn.com/uploads/chorus_asset/file/3415904/Equation_group_questions_and_answers.0.pdf)</sup> |
| 基础设施 | 300多个命令与控制域名，以及分布在至少十个国家的100多台服务器<sup>[5](https://cdn1.vox-cdn.com/uploads/chorus_asset/file/3415904/Equation_group_questions_and_answers.0.pdf)</sup> |
| 归属 | 疑似与国安局定制访问行动有关；卡巴斯基拒绝指认元凶<sup>[2](https://arstechnica.com/information-technology/2015/02/how-omnipotent-hackers-tied-to-the-nsa-hid-for-14-years-and-were-found-at-last/)</sup> |
| MITRE编号 | ATT&CK组织G0020，目标涵盖政府、军事、电信和能源部门<sup>[6](https://attack.mitre.org/groups/G0020/)</sup> |

## 发现

卡巴斯基实验室于2015年2月16日发布了关于该组织的第一系列报告，在墨西哥举行的安全分析师峰会上公布了相关发现。研究人员于2014年3月在调查Regin恶意软件时，在一个中东系统上发现了第一个组件，该系统感染了如此多的由国家支持的恶意软件，以至于他们将其称为“威胁磁铁”。<sup>[1](https://www.wired.com/2015/02/kapersky-discovers-equation-group/)</sup>

该名称源于该组织对加密技术的使用：卡巴斯基写道，该行为体因其对加密算法和混淆技术的热衷而得名，恶意软件中贯穿使用了RC5算法的一种特定实现，部分较新模块中还使用了RC6、RC4和AES。<sup>[5](https://cdn1.vox-cdn.com/uploads/chorus_asset/file/3415904/Equation_group_questions_and_answers.0.pdf)</sup>

独立分析紧随其后。中国厂商[安天实验室](https://www.edgepedia.org/zh/antiy-labs)于2015年2月18日开始验证，确认了组件写入硬盘固件的机制，随后发表了首份公开分析，证实在Linux和Solaris系统上存在方程式组织的样本。<sup>[4](https://www.antiy.net/p/a-trojan-that-modifies-hard-drive-firmware-exploring-the-attack-components-of-the-equation-group/)</sup><sup> • </sup><sup>[7](https://www.antiy.net/p/analysis-of-the-equation-groups-equation-drug-platform-equation-group-series-analysis-report-part-iv/)</sup>

## 工具集

已发现的武器库包含至少六个组件，构成一条分阶段感染的链条：轻量级“验证器”植入体先确认目标，然后才部署更重量级的平台。<sup>[4](https://www.antiy.net/p/a-trojan-that-modifies-hard-drive-firmware-exploring-the-attack-components-of-the-equation-group/)</sup>

- **EquationLaser**（约2001年至2004年）：早期植入体，兼容[Windows 95](https://www.edgepedia.org/zh/windows-95)/98。<sup>[4](https://www.antiy.net/p/a-trojan-that-modifies-hard-drive-firmware-exploring-the-attack-components-of-the-equation-group/)</sup>
- **EquationDrug**，又称Equestre（约2003年至2013年）：模块化平台，支持35个模块和18个驱动，具有类似微型操作系统的内核模式和用户模式架构。仅在DoubleFantasy确认目标后才投递，后被GrayFish取代并逐步淘汰。<sup>[2](https://arstechnica.com/information-technology/2015/02/how-omnipotent-hackers-tied-to-the-nsa-hid-for-14-years-and-were-found-at-last/)</sup><sup> • </sup><sup>[7](https://www.antiy.net/p/analysis-of-the-equation-groups-equation-drug-platform-equation-group-series-analysis-report-part-iv/)</sup>
- **DoubleFantasy**（2004年至2012年）和**TripleFantasy**（2012年起）：验证器植入体，在升级至EquationDrug或GrayFish之前识别某台机器是否为预定目标。<sup>[4](https://www.antiy.net/p/a-trojan-that-modifies-hard-drive-firmware-exploring-the-attack-components-of-the-equation-group/)</sup>
- **Fanny**（2008年至2011年）：通过USB设备传播的蠕虫，用于抵达物理隔离的网络，曾针对中东和亚洲的目标使用。它利用了后来在Stuxnet中被使用的两个零日漏洞。<sup>[4](https://www.antiy.net/p/a-trojan-that-modifies-hard-drive-firmware-exploring-the-attack-components-of-the-equation-group/)</sup>
- **GrayFish**（2008年起）：最精密的平台，完全驻留在Windows注册表中，每次系统启动时通过引导工具包执行。其加载器使用受害者Windows文件夹的唯一[NTFS](https://www.edgepedia.org/zh/ntfs)对象ID进行一千次SHA-256迭代来解密下一阶段，将感染绑定到某一台特定机器上；研究人员若没有该机器的原始磁盘镜像就无法解密载荷。<sup>[2](https://arstechnica.com/information-technology/2015/02/how-omnipotent-hackers-tied-to-the-nsa-hid-for-14-years-and-were-found-at-last/)</sup><sup> • </sup><sup>[5](https://cdn1.vox-cdn.com/uploads/chorus_asset/file/3415904/Equation_group_questions_and_answers.0.pdf)</sup>

该组织还为思科、瞻博网络和华为的网络设备开发了植入体，能够对基础设施设备实施[中间人攻击](https://www.edgepedia.org/zh/man-in-the-middle-attack)。<sup>[8](https://answers.securityscientist.net/q/28759/what-major-malware-families-did-equation-group-deploy)</sup>

## 硬盘固件植入体

使方程式组织与众不同的是其硬盘固件重编程模块，卡巴斯基称其超出了此前所见的一切。共恢复了两个模块，一个在EquationDrug中（版本3.0.1，2010年编译），一个在GrayFish中（版本4.2.0，2013年编译）。该插件用定制载荷对驱动器固件进行重编程，并提供访问磁盘上一组隐藏扇区的API，赋予其极高的持久性——能够在[磁盘格式化](https://www.edgepedia.org/zh/disk-formatting)和操作系统重装后依然存活，同时在驱动器内部提供不可见的持久存储。<sup>[5](https://cdn1.vox-cdn.com/uploads/chorus_asset/file/3415904/Equation_group_questions_and_answers.0.pdf)</sup>

该插件的第3版可对六类驱动器进行重编程，覆盖Maxtor、希捷、西部数据和三星的驱动器；第4版处理十二类，增加了日立/IBM/HGST、美光、东芝，以及包括OCZ、OWC、海盗船和[Mushkin](https://www.edgepedia.org/zh/mushkin)在内的固态硬盘厂商。重新刷写通过未公开的、厂商专有的ATA命令链完成；对于希捷驱动器，该序列包括FLUSH CACHE（E7）、DOWNLOAD MICROCODE（92）、IDENTIFY DEVICE（EC）和WRITE LOG EXT（3F）。<sup>[5](https://cdn1.vox-cdn.com/uploads/chorus_asset/file/3415904/Equation_group_questions_and_answers.0.pdf)</sup>

从主机侧几乎无法检测。卡巴斯基研究员伊戈尔·苏缅科夫（Igor Soumenkov）解释说，大多数驱动器提供写入固件区域的功能，但没有将固件读回的功能，因此“我们实际上无从探查”；固件检查本身依赖于固件，因此无法从受感染的机器上验证完整性。<sup>[9](https://www.networkworld.com/article/935794/has-equation-group-hacked-your-hard-drives-you-won-t-be-able-to-tell.html)</sup> [美国国家标准与技术研究院](https://www.edgepedia.org/zh/national-institute-of-standards-and-technology)的安德鲁·雷根沙伊德（Andrew Regenscheid）对《纽约时报》表示，从固件感染中恢复需要更换计算机。<sup>[10](https://time.com/3711462/u-s-cyber-warfare-equation-group-kaspersky-lab/)</sup> 不过卡巴斯基指出，该模块在受害者系统上极为罕见，可能仅保留给最有价值的目标，因为为每种驱动器型号开发固件需要厂商文档、数月工作和数百万美元的投资。<sup>[5](https://cdn1.vox-cdn.com/uploads/chorus_asset/file/3415904/Equation_group_questions_and_answers.0.pdf)</sup><sup> • </sup><sup>[11](https://www.kaspersky.com/blog/equation-hdd-malware/7623//)</sup>

## 受害者与行动

卡巴斯基统计了全球30多个国家中确认的500多个受害者，其中伊朗数量最多，其他受害者分布在俄罗斯、阿富汗、巴基斯坦、中国、印度、叙利亚、美国、英国等地。目标包括政府与外交机构、电信、能源、核研究、军事、航空航天、金融机构、媒体、伊斯兰活动人士和学者，以及开发加密技术的公司。许多感染发生在服务器上，包括域控制器。由于恶意软件带有自毁机制，卡巴斯基估计该组织历史上累计感染数万次，注册表感染计数器显示每月约新增2,000个受害者。<sup>[1](https://www.wired.com/2015/02/kapersky-discovers-equation-group/)</sup><sup> • </sup><sup>[5](https://cdn1.vox-cdn.com/uploads/chorus_asset/file/3415904/Equation_group_questions_and_answers.0.pdf)</sup>

命令与控制基础设施横跨300多个域名和100多台服务器，托管于美国、英国、意大利、德国、荷兰、巴拿马、哥斯达黎加、马来西亚、哥伦比亚和捷克共和国，全部借助隐私代理服务，通过同样的两家注册商注册。<sup>[5](https://cdn1.vox-cdn.com/uploads/chorus_asset/file/3415904/Equation_group_questions_and_answers.0.pdf)</sup>

## 与Stuxnet的关联及归属

多项发现将方程式组织与Stuxnet联系在一起——后者是破坏了伊朗纳坦兹铀浓缩离心机的蠕虫。Stuxnet的部分“零号病人”——即播下蠕虫的机器——感染了方程式组织的组件，卡巴斯基写道，方程式恶意软件可能被用于投递Stuxnet载荷。五家感染了方程式工具的伊朗受害者是Stuxnet的关键受害者，均为工业控制系统的承包商。<sup>[1](https://www.wired.com/2015/02/kapersky-discovers-equation-group/)</sup><sup> • </sup><sup>[5](https://cdn1.vox-cdn.com/uploads/chorus_asset/file/3415904/Equation_group_questions_and_answers.0.pdf)</sup>

归因于国安局依赖的是间接证据。在方程式组织的一个键盘记录器中发现的关键词GROK，与[爱德华·斯诺登](https://www.edgepedia.org/zh/edward-snowden)泄露的国安局文件中提到的一个键盘记录器相匹配；泄露的国安局间谍工具目录中的代号如UNITEDRAKE、STRAITBAZZARE、VALIDATOR和SLICKERVICAR，与卡巴斯基发现的工具相符；EquationDrug包含字符串“UR”，暗示UNITEDRAKE。其他痕迹，包括SKYHOOKCHOW、STEALTHFIGHTER、DRINKPARSLEY、STRAITACID、LUTEUSOBSTOS、STRAITSHOOTER、DESERTWINTER，以及开发者路径c:\users\rmgree5，都遵循相同的命名惯例。<sup>[1](https://www.wired.com/2015/02/kapersky-discovers-equation-group/)</sup><sup> • </sup><sup>[2](https://arstechnica.com/information-technology/2015/02/how-omnipotent-hackers-tied-to-the-nsa-hid-for-14-years-and-were-found-at-last/)</sup> 卡巴斯基自身拒绝指认元凶。然而，路透社报道称，一名前国安局雇员确认卡巴斯基的分析是正确的，一名前情报人员确认国安局开发了硬盘隐藏技术。<sup>[2](https://arstechnica.com/information-technology/2015/02/how-omnipotent-hackers-tied-to-the-nsa-hid-for-14-years-and-were-found-at-last/)</sup> 绿盟科技2022年APT态势报告指出，国安局即为已知APT“方程式”所对应的实体，TAO的[特定入侵行动办公室](https://www.edgepedia.org/zh/tailored-access-operations)是工具的开发者和实施者。<sup>[12](https://nsfocusglobal.com/wp-content/uploads/2025/06/2022-APT-Annual-Landscape-Report.pdf)</sup>

## 影子经纪人泄露及其后果

2016年8月，一个自称“影子经纪人”（Shadow Brokers）的组织开始大量泄露被广泛认为与国安局TAO部门和方程式组织有关的黑客工具，持续至2017年。泄露的漏洞利用工具包括[EternalBlue](https://www.edgepedia.org/zh/eternalblue)、EternalRomance和DoublePulsar，它们被重新用于有记录以来一些最具破坏性的网络攻击：2017年5月开始的WannaCry勒索软件爆发和2017年6月开始的NotPetya攻击。<sup>[13](https://research.checkpoint.com/2021/the-story-of-jian/)</sup><sup> • </sup><sup>[14](https://rohansenthil.github.io/assets/downloads/%5BResearch%5D%20The%20Shadow%20Brokers%20and%20the%202016%20NSA%20Data%20Breach.pdf)</sup>

这些工具在影子经纪人泄露之前也曾泄露。Check Point研究团队在2021年证明，CVE-2017-0005——一个被微软归因于中国组织APT31（锆石）的Windows权限提升漏洞利用程序——实际上是方程式组织代号为EpMe的漏洞利用代码的复制品，该代码来自DanderSpritz框架。APT31在影子经纪人泄露两年多之前就获得了EpMe的文件，于2014年将其重建为“Jian”，并至少从2015年使用至2017年3月该漏洞被修补；该漏洞是由洛克希德·马丁公司的计算机事件响应团队报告给微软的，暗示攻击针对的是一个美国目标。<sup>[13](https://research.checkpoint.com/2021/the-story-of-jian/)</sup>

方程式组织的研究还卷入了2017年围绕卡巴斯基实验室的争议。《[华尔街日报](https://www.edgepedia.org/zh/the-wall-street-journal)》报道了有关俄罗斯黑客利用卡巴斯基软件窃取国安局资料的指控——[Ars Technica](https://www.edgepedia.org/zh/ars-technica)指出，卡巴斯基通过其方程式组织研究积累的对国安局工具的详细了解，使这一理论更加可信。卡巴斯基否认与任何政府存在不当关系，并表示没有证据证实这些说法。<sup>[15](https://arstechnica.com/information-technology/2017/10/the-cases-for-and-against-claims-kaspersky-helped-steal-secret-nsa-secrets/)</sup>

## References

1. [Kim Zetter, "Suite of Sophisticated Nation-State Attack Tools Found With Connection to Stuxnet", WIRED, February 16, 2015](https://www.wired.com/2015/02/kapersky-discovers-equation-group/)
2. [Dan Goodin, "How 'omnipotent' hackers tied to NSA hid for 14 years, and were found at last", Ars Technica, February 2015](https://arstechnica.com/information-technology/2015/02/how-omnipotent-hackers-tied-to-the-nsa-hid-for-14-years-and-were-found-at-last/)
3. ["Intelligence Report: Equation Group", Check Point Blog](https://blog.checkpoint.com/intelligence-report-equation-group/)
4. [Antiy Labs, "A Trojan That Modifies Hard Drive Firmware: Exploring the Attack Components of the EQUATION Group", March 2015](https://www.antiy.net/p/a-trojan-that-modifies-hard-drive-firmware-exploring-the-attack-components-of-the-equation-group/)
5. [Kaspersky Lab, "Equation Group: Questions and Answers", version 1.5, February 2015](https://cdn1.vox-cdn.com/uploads/chorus_asset/file/3415904/Equation_group_questions_and_answers.0.pdf)
6. [MITRE ATT&CK, "Equation, Group G0020"](https://attack.mitre.org/groups/G0020/)
7. [Antiy Labs, "Analysis of the Equation Group's EQUATION DRUG Platform, Part IV"](https://www.antiy.net/p/analysis-of-the-equation-groups-equation-drug-platform-equation-group-series-analysis-report-part-iv/)
8. [Security Scientist, "What major malware families did Equation Group deploy?"](https://answers.securityscientist.net/q/28759/what-major-malware-families-did-equation-group-deploy)
9. [Network World, "Has Equation Group hacked your hard drives? You won't be able to tell", February 2015](https://www.networkworld.com/article/935794/has-equation-group-hacked-your-hard-drives-you-won-t-be-able-to-tell.html)
10. [Time, "U.S. Shadow Group 'Has Embedded Spyware in Foreign Computer Networks'", February 17, 2015](https://time.com/3711462/u-s-cyber-warfare-equation-group-kaspersky-lab/)
11. [Kaspersky Daily, "A virus in HDD firmware is real, what's next?"](https://www.kaspersky.com/blog/equation-hdd-malware/7623//)
12. [NSFOCUS, 2022 APT Annual Landscape Report](https://nsfocusglobal.com/wp-content/uploads/2025/06/2022-APT-Annual-Landscape-Report.pdf)
13. [Check Point Research, "The Story of Jian: How APT31 Stole and Used an Unknown Equation Group 0-Day", 2021](https://research.checkpoint.com/2021/the-story-of-jian/)
14. [Rohan Senthil, "The Shadow Brokers and the 2016 NSA Data Breach"](https://rohansenthil.github.io/assets/downloads/%5BResearch%5D%20The%20Shadow%20Brokers%20and%20the%202016%20NSA%20Data%20Breach.pdf)
15. [Ars Technica, "Russia reportedly stole NSA secrets with help of Kaspersky, what we know now", October 2017](https://arstechnica.com/information-technology/2017/10/the-cases-for-and-against-claims-kaspersky-helped-steal-secret-nsa-secrets/)

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

Topic: 技术与人造世界 › 计算技术与数字系统 › 网络与安全 › Malware and endpoint threats › Named malware specimens

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/equation-group

English original: https://www.edgepedia.org/equation-group
