AI Security AI安全 22h ago Updated 15h ago 更新于 15小时前 42

BGP Hijack Delivers Malicious Virtualizor Update That Establishes Persistent Root Access BGP劫持投递恶意Virtualizor更新,建立持久化Root访问权限

Attackers exploited a BGP hijack to divert Softaculous update traffic to a malicious server between August 28-30, delivering a compromised Virtualizor package to unsuspecting installations The malicious update established persistent root-level access via a systemd service, unauthorized SSH key injection, a rogue user account (proxyuser), and a Java-based payload downloading from C2 domains Virtualizor released Patch 9 with a Security Analyzer but acknowledged cryptographic package signing remain 攻击者利用BGP劫持将Virtualizor/Softaculous更新流量重定向至恶意服务器,在2025年8月28日至30日期间向部分安装节点投递恶意软件包 恶意包植入持久化root访问能力,通过systemd服务、root cron job、非法SSH账户proxyuser及攻击者控制的SSH密钥实现长期控制 Virtualizor已发布Patch 9含安全扫描器,但尚未实现加密包签名验证,建议所有运营商全面检查服务器并轮换API凭证 受影响范围有限,仅少数服务器被确认感染,但攻击者可能截获客户端会话和支付信息,需警惕凭证泄露风险

62
Hot 热度
65
Quality 质量
52
Impact 影响力

Analysis 深度分析

TL;DR

  • Attackers exploited a BGP hijack to divert Softaculous update traffic to a malicious server between August 28-30, delivering a compromised Virtualizor package to unsuspecting installations
  • The malicious update established persistent root-level access via a systemd service, unauthorized SSH key injection, a rogue user account (proxyuser), and a Java-based payload downloading from C2 domains
  • Virtualizor released Patch 9 with a Security Analyzer but acknowledged cryptographic package signing remains unimplemented, leaving the ecosystem vulnerable to similar supply-chain attacks
  • At least 5 of 34 hypervisor nodes at AlbaHost were confirmed compromised, though the full scope remains unknown due to the absence of an affected-version range or definitive compromised-server list
  • Operators are urged to audit all servers, rotate API credentials, check for specific IoCs, and contact support before remediation to preserve forensic evidence

Why It Matters

This incident exemplifies how BGP-level infrastructure attacks can bypass traditional security perimeters to compromise software supply chains, directly undermining trust in automated update mechanisms. For AI practitioners and infrastructure operators relying on virtualization platforms, it underscores the critical importance of cryptographic code signing and the real-world consequences of deferred security investments.

Technical Details

  • Attack vector: A BGP hijack redirected Softaculous update traffic to an attacker-controlled server; the attacker obtained a valid Let's Encrypt certificate to avoid TLS warnings, and the Virtualizor update client lacked cryptographic package verification, accepting the tampered package without rejection
  • Persistence mechanisms: The payload installed a systemd service (java-jre-update.service), injected an attacker-controlled SSH key into the root account, created an unauthorized account named proxyuser, and established a root cron job to execute modified code within legitimate Virtualizor files
  • Payload delivery chain: The malicious script installed Java 17 if absent, downloaded a Java payload from C2 domains (cdn.nerat.cc, connect.ne-rat.xyz), and executed it as root, with the payload cached at /usr/lib/jvm/.cache/jre-runtime.dat
  • Indicators of compromise: Includes specific file paths (/tmp/widdow.jar, /usr/local/virtualizor/globals.php), injected strings, C2 domains, SSH key material (AAAAC3NzaC1lZDI1NTE5AAAAIP13pPAm5jmInLQYD3XNb3HwrW4cAKDcphoT4kSKrnte), and provider-reported IPs (193.32.127.248, 31.77.220.138:2025)
  • Mitigation: Virtualizor Patch 9 includes a Security Analyzer (SHA-256: 73e74402b3a61c7bab289fc11347bd54c7fcdc2fa2e410f4c3de9d6cd7377d48); operators should rotate API keys, restrict SSH to trusted IPs, audit cron jobs and systemd services, and preserve evidence before remediation

Industry Insight

  • Software vendors must prioritize cryptographic code signing for all update channels; the absence of this fundamental control enabled a relatively straightforward BGP hijack to become a full root compromise, setting a precedent for supply-chain attack feasibility
  • Infrastructure operators should treat BGP monitoring and route-origin validation (e.g., RPKI) as essential security controls, not optional best practices, since routing-layer attacks can silently intercept update traffic without triggering traditional perimeter alerts
  • The incident highlights a broader industry gap: many hosting and virtualization platforms operate update mechanisms without end-to-end integrity verification, creating systemic risk that extends beyond individual vendors to their entire customer base

TL;DR

  • 攻击者利用BGP劫持将Virtualizor/Softaculous更新流量重定向至恶意服务器,在2025年8月28日至30日期间向部分安装节点投递恶意软件包
  • 恶意包植入持久化root访问能力,通过systemd服务、root cron job、非法SSH账户proxyuser及攻击者控制的SSH密钥实现长期控制
  • Virtualizor已发布Patch 9含安全扫描器,但尚未实现加密包签名验证,建议所有运营商全面检查服务器并轮换API凭证
  • 受影响范围有限,仅少数服务器被确认感染,但攻击者可能截获客户端会话和支付信息,需警惕凭证泄露风险

为什么值得看

本文揭示了一次针对虚拟化平台供应链的BGP劫持攻击,展示了攻击者如何利用网络层路由劫持结合TLS证书绕过实现恶意更新投递,对云托管和虚拟化安全具有重要警示意义。

技术解析

  • 攻击链:攻击者通过RIPE Stat确认的非法BGP路由宣告将Softaculous流量重定向至其控制的服务器,在劫持窗口内获取有效Let's Encrypt证书以规避TLS警告,利用Virtualizor更新客户端缺乏加密包验证的缺陷投递恶意包。
  • 持久化机制:恶意代码修改三个Virtualizor核心文件(globals.php、_universal.php、zzvirtservice),植入root cron job执行修改后的代码,安装Java 17运行时并下载执行Java payload,通过systemd服务java-jre-update.service实现持久化,创建非法账户proxyuser并注入攻击者SSH密钥。
  • IoC指标:包括恶意文件路径(/usr/lib/jvm/.cache/jre-runtime.dat、/tmp/widdow.jar)、C2域名(cdn.nerat.cc、connect.ne-rat.xyz)、SSH密钥指纹(AAAAC3NzaC1lZDI1NTE5AAAAIP13pPAm5jmInLQYD3XNb3HwrW4cAKDcphoT4kSKrnte)、攻击源IP(193.32.127.248、31.77.220.138:2025)及标记文件(/tmp/.vz_svc_done)。
  • 响应措施:Virtualizor发布Patch 9含Security Analyzer扫描器,但加密包签名验证仍为未来计划;建议运营商检查特定systemd单元、轮换API密钥、限制SSH访问、审计异常账户和计划任务,并在修复前联系支持以保留证据。

行业启示

  • 供应链安全需纵深防御:BGP劫持攻击表明仅依赖TLS证书不足以保障更新安全,软件分发渠道必须引入端到端加密签名验证机制,防止中间人篡改。
  • 虚拟化平台运营商应建立主动监测能力:此次攻击影响范围有限得益于快速响应,但缺乏受影响版本范围清单凸显了日志审计和入侵检测的重要性,建议定期扫描IoC并实施最小权限原则。
  • 云托管服务商需强化凭证管理和网络监控:攻击者可能截获客户端会话和支付信息,运营商应强制轮换API密钥、限制API访问IP范围,并监控异常出站连接和SSH登录行为。

Disclaimer: The above content is generated by AI and is for reference only. 免责声明:以上内容由 AI 生成,仅供参考。

Security 安全 Research 科学研究