# Gayfemboy

**Gayfemboy** 是一个源自 Mirai 的僵尸网络恶意软件家族，以基于 Linux 的路由器、网络摄像头及其他物联网和工业设备为攻击目标，由安全公司 XLab 于 2024 年 2 月 12 日首次发现。<sup>[1](https://blog.xlab.qianxin.com/gayfemboy-en/)</sup> 该恶意软件利用 DrayTek、TP-Link、Raisecom、Cisco 和 Four-Faith 等厂商产品中的漏洞进行传播，并利用受感染设备发动分布式拒绝服务（DDoS）攻击、进行加密货币挖矿以及建立后门访问。<sup>[2](https://www.imda.gov.sg/-/media/imda/files/regulations-and-licensing/regulations/advisories/infocomm-media-cyber-security/mirai-based-botnet-resurges-to-target-media-industry.pdf)</sup><sup> • </sup><sup>[1](https://blog.xlab.qianxin.com/gayfemboy-en/)</sup>

| 关键事实 | 详情 |
|---|---|
| 家族 | 针对 Linux 设备的 Mirai 衍生物联网僵尸网络<sup>[2](https://www.imda.gov.sg/-/media/imda/files/regulations-and-licensing/regulations/advisories/infocomm-media-cyber-security/mirai-based-botnet-resurges-to-target-media-industry.pdf)</sup> |
| 首次观测 | 2024 年 2 月 12 日，由 XLab 发现，使用标准 UPX 壳打包<sup>[1](https://blog.xlab.qianxin.com/gayfemboy-en/)</sup> |
| 规模 | 超过 40 个分组类别，每日活跃节点超过 15,000 个（2024 年 11 月测量）<sup>[1](https://blog.xlab.qianxin.com/gayfemboy-en/)</sup> |
| 漏洞利用 | 混合使用 DrayTek、TP-Link、Raisecom、Cisco 和 Four-Faith 等厂商设备中的 N-day 和 0-day 漏洞<sup>[2](https://www.imda.gov.sg/-/media/imda/files/regulations-and-licensing/regulations/advisories/infocomm-media-cyber-security/mirai-based-botnet-resurges-to-target-media-industry.pdf)</sup><sup> • </sup><sup>[1](https://blog.xlab.qianxin.com/gayfemboy-en/)</sup> |
| 能力 | DDoS 攻击、加密货币挖矿、后门/C2 访问以及清除竞争性恶意软件<sup>[2](https://www.imda.gov.sg/-/media/imda/files/regulations-and-licensing/regulations/advisories/infocomm-media-cyber-security/mirai-based-botnet-resurges-to-target-media-industry.pdf)</sup><sup> • </sup><sup>[3](https://redskyalliance.org/xindustry/ccp-gamefemboy)</sup> |
| 规避手段 | 自定义文件命名、修改 UPX 头、反分析检查以及自我保护<sup>[4](https://www.broadcom.com/support/security-center/protection-bulletin/gayfemboy-malware-campaign)</sup> |
| 受影响地区 | 巴西、德国、法国、以色列、墨西哥、瑞士、美国和越南<sup>[4](https://www.broadcom.com/support/security-center/protection-bulletin/gayfemboy-malware-campaign)</sup> |

## 演化

XLab 的时间线记录了该僵尸网络从一个普通的 Mirai 变种发展为一个具备 0-day 利用能力的大规模网络的过程。<sup>[1](https://blog.xlab.qianxin.com/gayfemboy-en/)</sup> 2024 年 4 月 15 日，UPX 魔数被改为 `YTS\x99`，该僵尸程序开始使用包含字符串“gayfemboy”的注册包。2024 年 6 月初，魔数再次被改为 `1wom`，此后僵尸代码趋于稳定，仅偶尔添加新的命令与控制（C2）域名。到 2024 年 8 月下旬，样本中硬编码了六个 C2 域名，其中三个尚未注册。<sup>[1](https://blog.xlab.qianxin.com/gayfemboy-en/)</sup>

**0-day 利用。** 2024 年 11 月 9 日，观察到 Gayfemboy 利用 Four-Faith 工业路由器中当时未知的漏洞投递其样本，样本以参数 `faith2` 运行。该漏洞由 VulnCheck 于 2024 年 12 月 27 日公开披露。<sup>[1](https://blog.xlab.qianxin.com/gayfemboy-en/)</sup> 该僵尸网络还利用了 Neterbit 路由器和 Vimar 智能家居设备中的未知漏洞。<sup>[1](https://blog.xlab.qianxin.com/gayfemboy-en/)</sup>

**2025 年卷土重来。** FortiGuard Labs 于 2025 年 7 月观察到该僵尸网络重新活跃，利用 DrayTek、TP-Link、Raisecom 和 Cisco 的路由器及设备漏洞，活动遍及多个国家和行业，包括媒体与通信业。<sup>[2](https://www.imda.gov.sg/-/media/imda/files/regulations-and-licensing/regulations/advisories/infocomm-media-cyber-security/mirai-based-botnet-resurges-to-target-media-industry.pdf)</sup> 博通（Broadcom）旗下赛门铁克（Symantec）2025 年 8 月的公告描述了同一波攻击活动影响建筑、制造、科技以及媒体/通信行业。<sup>[4](https://www.broadcom.com/support/security-center/protection-bulletin/gayfemboy-malware-campaign)</sup>

## 规模与研究人员互动

为测量该僵尸网络的规模，XLab 研究人员于 2024 年 11 月 17 日注册了其几个未注册的 C2 域名。观测显示该僵尸网络运行着超过 40 个分组类别和超过 15,000 个每日活跃节点。2024 年 11 月 23 日，运营者发现了域名注册行为，并开始定期对已注册域名发动 DDoS 攻击。<sup>[1](https://blog.xlab.qianxin.com/gayfemboy-en/)</sup> 利用其僵尸网络，Gayfemboy 生成的 DDoS 流量估计每次攻击达 100 GB，攻击持续时间在 10 至 30 秒之间。<sup>[5](https://hivepro.com/wp-content/uploads/2025/01/TA2025007.pdf)</sup>

## 技术行为

**打包与命名。** 与典型的 Mirai 和 [Gafgyt](https://www.edgepedia.org/zh/gafgyt) 变种使用 Linux 架构名称作为文件扩展名不同，Gayfemboy 为每种架构分配唯一的文件名，使其命名规则不可预测：ARM 架构使用 `a4le` 至 `a7le`，AArch64 使用 `aale`，MIPS R3000 使用 `mbe` 和 `mle`，PowerPC 使用 `ppc`，[Intel 80386](https://www.edgepedia.org/zh/intel-80386) 使用 `xle`，x86-64 使用 `xale`。<sup>[3](https://redskyalliance.org/xindustry/ccp-gamefemboy)</sup> 二进制文件使用 UPX 打包，但标准的“UPX!”头被替换为十六进制值 `10 F0 00 00` 所代表的不可打印字符串，以对抗脱壳工具。<sup>[3](https://redskyalliance.org/xindustry/ccp-gamefemboy)</sup>

**执行。** 执行时，该恶意软件显示字符串“twinks :3”。<sup>[3](https://redskyalliance.org/xindustry/ccp-gamefemboy)</sup> 随后扫描 `/proc/[PID]/` 下的子目录以收集运行中进程的信息，并终止任何可执行文件路径包含与其他恶意软件相关关键词的进程，例如 `(deleted)`、`/tmp/.`、`/bot.`、`dvrlocker`、`/.ai` 和 `/.*`，从而清除竞争性感染。<sup>[3](https://redskyalliance.org/xindustry/ccp-gamefemboy)</sup>

**模块。** 该恶意软件包含四个主要功能：Monitor（监控）、Watchdog（看门狗）、Attacker（攻击者）和 Killer（杀手）。Monitor 功能跟踪线程和进程并应用反分析技术，将 47 条命令字符串加载到内存中，并杀死任何 `/proc/[PID]/cmdline` 匹配这些字符串的进程；所列命令包括 `ls`、`wget`、`netstat`、`tcpdump`、`gcc` 和 `strace` 等常见管理和分析工具。Watchdog 在恶意软件进程被终止时将其重启。Attacker 模块执行 DDoS 攻击，Killer 模块清除竞争对手恶意软件或强制执行自我终止。<sup>[3](https://redskyalliance.org/xindustry/ccp-gamefemboy)</sup><sup> • </sup><sup>[4](https://www.broadcom.com/support/security-center/protection-bulletin/gayfemboy-malware-campaign)</sup><sup> • </sup><sup>[6](https://www.heise.de/en/news/Mirai-based-botnet-campaign-Gayfemboy-also-active-in-Germany-10607459.html)</sup>

**附加载荷。** 与该攻击活动相关的受感染基础设施还托管了恶意下载脚本和 XMRig 门罗币挖矿程序，与 Gayfemboy 恶意软件本身一同分发。<sup>[6](https://www.heise.de/en/news/Mirai-based-botnet-campaign-Gayfemboy-also-active-in-Germany-10607459.html)</sup>

## 检测

赛门铁克基于 Carbon Black 的产品在现有策略下拦截相关恶意指标，针对该威胁的基于文件的检测包括 Linux.Mirai、CL.Downloader!gen277、PUA.Gen.2、Trojan.Gen.NPE 以及若干 Web 信誉和 Windows 签名。<sup>[4](https://www.broadcom.com/support/security-center/protection-bulletin/gayfemboy-malware-campaign)</sup>

## References

1. [Gayfemboy: A Botnet Deliver Through a Four-Faith Industrial Router 0-day Exploit, XLab (Qianxin)](https://blog.xlab.qianxin.com/gayfemboy-en/)
2. [Advisory for ICM Sector: Mirai-based botnet resurges to target Media industry, IMDA Singapore / FortiGuard Labs](https://www.imda.gov.sg/-/media/imda/files/regulations-and-licensing/regulations/advisories/infocomm-media-cyber-security/mirai-based-botnet-resurges-to-target-media-industry.pdf)
3. [CCP - GameFemboy, Red Sky Alliance X-Industry](https://redskyalliance.org/xindustry/ccp-gamefemboy)
4. [Gayfemboy malware campaign, Broadcom Symantec Protection Bulletin](https://www.broadcom.com/support/security-center/protection-bulletin/gayfemboy-malware-campaign)
5. [Threat Advisory TA2025007, Hive Pro](https://hivepro.com/wp-content/uploads/2025/01/TA2025007.pdf)
6. [Mirai-based botnet campaign "Gayfemboy" also active in Germany, heise online](https://www.heise.de/en/news/Mirai-based-botnet-campaign-Gayfemboy-also-active-in-Germany-10607459.html)

---
*Initially written Sep 17, 2026 · Reviewed: Oct 15, 2026 · Edited: Oct 15, 2026; Oct 25, 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/gayfemboy

English original: https://www.edgepedia.org/gayfemboy
