AI Security AI安全 3h ago Updated 2h ago 更新于 2小时前 43

Iranian Hackers Pose as Recruiters to Deliver Cross-Platform RATs Through Coding Tests 伊朗黑客伪装成招聘人员通过编程测试投递跨平台 RAT

Iranian threat group Nimbus Manticore (also tracked as Iranian Dream Job) has developed two new cross-platform RATs, NodeRabbit and PollCat, written in Node.js and JavaScript, expanding their targeting to Linux and macOS systems The malware is delivered via spear-phishing recruitment lures on LinkedIn and job platforms, using trojanized coding challenge archives that trick software engineers into executing malicious code under the guise of technical assessments NodeRabbit communicates with Azure 伊朗Nimbus Manticore组织新增NodeRabbit和PollCat两个跨平台RAT,首次使用Node.js/JavaScript开发,支持Windows/Linux/macOS感染 攻击者伪装成技术招聘人员,通过LinkedIn等平台发送含恶意编码挑战的ZIP文件,诱导受害者运行植入恶意npm包的server.js 恶意软件具备11-12种命令执行能力,通过Azure托管C2服务器通信,并针对WSL和开发环境优化持久化机制 攻击手法借鉴Lazarus Group的招聘主题钓鱼策略,体现APT组织工具链向跨平台、开发者生态渗透的演进趋势 三个变体分别使用不同恶意npm包(color

62
Hot 热度
68
Quality 质量
55
Impact 影响力

Analysis 深度分析

TL;DR

  • Iranian threat group Nimbus Manticore (also tracked as Iranian Dream Job) has developed two new cross-platform RATs, NodeRabbit and PollCat, written in Node.js and JavaScript, expanding their targeting to Linux and macOS systems
  • The malware is delivered via spear-phishing recruitment lures on LinkedIn and job platforms, using trojanized coding challenge archives that trick software engineers into executing malicious code under the guise of technical assessments
  • NodeRabbit communicates with Azure-hosted C2 infrastructure through three API endpoints and supports 11 commands including shell execution, file operations, network enumeration, and Base64-encoded script execution with anti-analysis and proxy support
  • The group is rapidly expanding its malware arsenal, adding tools like NightLedger, BridgeHead, ArcBridge, and reverse SSH tunnelers, marking a strategic shift from Windows-only C/C++/Go malware to cross-platform JavaScript-based infections

Why It Matters

This represents a significant evolution in nation-state threat actor tactics, as Nimbus Manticore transitions from Windows-centric tooling to cross-platform RATs, dramatically expanding the potential attack surface beyond traditional Windows targets to include Linux servers and macOS workstations. The use of recruitment-themed social engineering through coding challenges is particularly insidious because it targets technical professionals who are likely to execute unfamiliar code as part of their job application process, making detection by conventional security awareness training more difficult.

Technical Details

  • NodeRabbit and PollCat are cross-platform RATs built with Node.js and JavaScript, distributed through trojanized npm packages (colorized_terminal v2.1.0 and pretty-log v2.1.0) bundled inside coding challenge ZIP archives rather than published to the npm registry
  • C2 infrastructure uses three Azure-hosted domains (plugplay.azurewebsites.net, rgbteller.azurewebsites.net, wslwebui.azurewebsites.net) with API endpoints /api/rabbit/checkin, /api/rabbit/task, and /api/rabbit/result for agent registration, command polling, and result exfiltration
  • Three variants of NodeRabbit were identified: the first uses colorized_terminal and mimics Microsoft Edge updates for persistence; the second uses pretty-log with anti-sandbox detection and partial proxy support; the third uses alternative C2 endpoints (/sdk/v2/ready, /sdk/v2/config, /sdk/v2/events) and adds 12 new commands including WSL integration, Outlook OST/PST harvesting, and fake VS Code extension installation
  • Persistence mechanisms are OS-aware: Windows Run registry keys, Linux cron entries, macOS launch agents, and WSL-based scheduled tasks, with some variants impersonating legitimate software like Intel Driver & Support Assistant
  • Key capabilities include arbitrary shell execution, file read/write with Base64 encoding, process management, network enumeration (adapters, MAC, IP, DNS), beacon interval adjustment, C2 server replacement, and Git repository discovery in development environments

Industry Insight

  • Security teams should update detection rules to flag suspicious npm package imports in coding challenge archives and monitor for unusual Node.js processes executing from .cache directories or running detached background processes on employee workstations
  • Organizations conducting technical recruiting should implement strict verification protocols for coding challenges, including scanning submitted archives for trojanized dependencies, restricting execution environments to sandboxed containers, and explicitly prohibiting candidates from running unverified code without IT review
  • The shift toward cross-platform JavaScript-based malware by state-sponsored actors signals a broader trend that will likely continue as attackers recognize the growing prevalence of Linux and macOS in enterprise and development environments, necessitating updated endpoint detection and response strategies beyond traditional Windows-focused defenses

TL;DR

  • 伊朗Nimbus Manticore组织新增NodeRabbit和PollCat两个跨平台RAT,首次使用Node.js/JavaScript开发,支持Windows/Linux/macOS感染
  • 攻击者伪装成技术招聘人员,通过LinkedIn等平台发送含恶意编码挑战的ZIP文件,诱导受害者运行植入恶意npm包的server.js
  • 恶意软件具备11-12种命令执行能力,通过Azure托管C2服务器通信,并针对WSL和开发环境优化持久化机制
  • 攻击手法借鉴Lazarus Group的招聘主题钓鱼策略,体现APT组织工具链向跨平台、开发者生态渗透的演进趋势
  • 三个变体分别使用不同恶意npm包(colorized_terminal/pretty-log)和API端点,部分变体具备沙箱检测和企业代理支持能力

为什么值得看

本文揭示了国家级黑客组织如何将攻击面从传统Windows系统扩展至Linux/macOS开发环境,并通过npm包供应链和招聘钓鱼组合攻击突破开发者信任边界。对AI从业者而言,这提示了恶意软件利用开发者工具链(如VS Code扩展、WSL)的新趋势,以及招聘流程中技术评估环节的安全风险,需重新审视代码审查和第三方包验证机制。

技术解析

  • 跨平台RAT架构:NodeRabbit和PollCat基于Node.js/JavaScript开发,通过统一代码库实现Windows/Linux/macOS三端兼容,C2通信采用Azure托管域名(如plugplay.azurewebsites.net)和标准化API端点(/api/rabbit/checkin等)
  • 供应链投毒手法:攻击者将恶意npm包(colorized_terminal/pretty-log)直接捆绑在ZIP档案的node_modules目录中,绕过npm注册表审核;受害者运行server.js时自动加载恶意包并静默启动后台进程
  • 环境适配与持久化:针对WSL创建每日10点VBScript任务,模仿Microsoft Edge更新或Intel驱动助手实现注册表持久化;第三变体新增12条命令支持Git仓库枚举、Outlook数据窃取和VS Code扩展安装
  • 反检测机制:部分变体集成沙箱环境检测逻辑,自动终止分析环境中的运行;通过Base64编码临时脚本执行后删除痕迹,降低行为分析风险

行业启示

  • 招聘流程安全重构:技术公司需将编码挑战环节纳入安全审查,对第三方提供的代码包进行静态分析和依赖审计,避免成为APT组织的社会工程学攻击入口
  • 开发者生态防御升级:npm包注册表应加强发布审核机制,IDE厂商(如VS Code)需建立扩展签名验证体系,防止恶意插件通过开发工具链渗透企业网络
  • 跨平台威胁情报共享:Linux/macOS系统的安全监控能力相对薄弱,企业需建立统一的多端终端检测响应(EDR)策略,重点关注Node.js进程异常行为和开发者工具链的未授权修改

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

Security 安全 Programming 编程 Research 科学研究