AI Security AI安全 4h ago Updated 4h ago 更新于 4小时前 46

New HollowGraph Malware Abuses Microsoft 365 Calendar for C&C Communication 新型HollowGraph恶意软件滥用微软365日历进行命令与控制通信

Malware dubbed HollowGraph abuses Microsoft 365 calendars via the Microsoft Graph API for bidirectional command-and-control (C&C) communication. Operators plant tasks as calendar events, while the implant exfiltrates stolen files by creating future-dated events (May 2050) with encrypted attachments. The attack targets Israeli entities, utilizing hybrid RSA + AES encryption and a secondary DNS tunneling channel for credential refresh. Linked to the Cavern framework and potentially the Iran-nexus 新型恶意软件HollowGraph利用Microsoft 365日历作为双向命令与控制(C&C)通信渠道,通过合法API流量隐藏活动。 攻击者将任务植入日历事件,并将加密数据附加到未来日期(如2050年)的事件中以规避检测,实现指令下发与数据外泄。 该恶意软件疑似与伊朗背景的威胁组织Cavern Manticore及其子组Lyceum有关,主要针对以色列实体进行定向攻击。 除了日历通信外,HollowGraph还保留DNS隧道作为备用通道,用于刷新配置和Microsoft Entra ID凭证。

70
Hot 热度
65
Quality 质量
60
Impact 影响力

Analysis 深度分析

TL;DR

  • Malware dubbed HollowGraph abuses Microsoft 365 calendars via the Microsoft Graph API for bidirectional command-and-control (C&C) communication.
  • Operators plant tasks as calendar events, while the implant exfiltrates stolen files by creating future-dated events (May 2050) with encrypted attachments.
  • The attack targets Israeli entities, utilizing hybrid RSA + AES encryption and a secondary DNS tunneling channel for credential refresh.
  • Linked to the Cavern framework and potentially the Iran-nexus threat actor Lyceum, though attribution remains low confidence.
  • Configuration details, including Entra ID credentials and RSA keys, are hardcoded and written to disk as logAzure.txt upon execution.

Why It Matters

This technique demonstrates a sophisticated abuse of legitimate enterprise productivity tools, allowing attackers to blend malicious traffic with normal business operations. For security teams, it highlights the critical need to monitor Microsoft Graph API activity and calendar anomalies, as traditional network perimeter defenses may miss this application-layer exfiltration.

Technical Details

  • Communication Mechanism: Uses the Microsoft Graph API to treat a compromised mailbox's calendar as a two-way dead drop; 'get' commands retrieve instructions from planted events, while 'send' commands upload data via new events.
  • Evasion Tactics: Calendar events are dated far in the future (13 May 2050) to prevent detection by mailbox owners, and payloads are encrypted using hybrid RSA + AES.
  • Secondary Channel: Employs DNS tunneling to refresh configurations and Microsoft Entra ID (Azure AD) credentials independently of the calendar channel.
  • Persistence/Config: Hardcoded configuration containing tenant IDs, client secrets, and RSA keys is stored on disk as logAzure.txt.
  • Attribution Context: Associated with the Cavern framework and suspected links to the Lyceum subgroup (OilRig/Iran MOIS), based on technical similarities despite low-confidence attribution.

Industry Insight

  • Organizations must implement strict monitoring for unusual Microsoft Graph API calls, particularly those involving calendar creation or modification at extreme future dates.
  • Security strategies should incorporate behavioral analytics for endpoint processes writing sensitive configuration data like Azure credentials to local files.
  • Threat intelligence sharing regarding specific malware variants like HollowGraph is essential for detecting early-stage campaigns targeting specific geographic regions such as Israel.

TL;DR

  • 新型恶意软件HollowGraph利用Microsoft 365日历作为双向命令与控制(C&C)通信渠道,通过合法API流量隐藏活动。
  • 攻击者将任务植入日历事件,并将加密数据附加到未来日期(如2050年)的事件中以规避检测,实现指令下发与数据外泄。
  • 该恶意软件疑似与伊朗背景的威胁组织Cavern Manticore及其子组Lyceum有关,主要针对以色列实体进行定向攻击。
  • 除了日历通信外,HollowGraph还保留DNS隧道作为备用通道,用于刷新配置和Microsoft Entra ID凭证。

为什么值得看

本文揭示了高级持续性威胁(APT)如何利用企业日常使用的云服务功能(如日历)构建隐蔽的C&C通道,为防御者提供了新的威胁情报视角。对于安全从业者而言,理解这种基于合法API滥用和数据混淆的技术手段,有助于优化针对云环境的数据外泄防护策略。

技术解析

  • 双通道通信机制:主要通道利用Microsoft Graph API,将受感染账户的日历视为双向死信箱;次要通道使用DNS隧道来更新配置和身份验证凭据,确保在主要通道受阻时仍能维持控制。
  • 隐蔽性设计:指令通过创建日历事件下发,数据外泄则通过创建带有加密附件的新事件完成。为避免引起用户注意,事件日期被设置为极远的未来(如2050年5月13日),且载荷采用RSA+AES混合加密。
  • 硬编码配置与持久化:恶意软件执行后将包含租户ID、客户端ID、密钥、目标邮箱及C&C域名的配置写入磁盘文件logAzure.txt,实现了无需外部交互即可维持连接的能力。
  • 特定目标指向:Group-IB发现的受害者包括12个实例,其中三个活跃通信,所有证据均指向以色列实体,表明这是一次高度针对性的行动而非随机攻击。

行业启示

  • 云应用行为监控至关重要:传统边界防御难以检测基于合法API(如Microsoft Graph)的异常行为,企业需加强对云应用内部操作日志的审计,特别是日历、文档等非典型数据交换渠道。
  • 关注未来日期异常:安全团队应部署规则以警报或审查那些日期设定在极远未来的日历事件,这可能是攻击者用于隐藏C&C通信或数据外泄的迹象。
  • 强化身份与访问管理:鉴于恶意软件依赖Microsoft Entra ID凭证,实施多因素认证(MFA)、最小权限原则以及定期轮换客户端密钥是降低此类风险的关键措施。

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

Security 安全