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

E4del and PINHOLE RATs Turn FTP Banners Into Dead Drops for Malware Commands E4del和PINHOLE RAT将FTP横幅变为恶意软件命令的暗点

Threat actors are using FTP banners as dead drop resolvers (DDRs) for the first time in the wild, embedding C2 commands within the initial protocol response instead of relying on traditional web-based DDRs Two previously unreported RATs, E4del and PINHOLE, are being delivered through this novel technique, with E4del masquerading as a signed Discord Electron app and PINHOLE leveraging high-reputation platforms like Pinterest and SurveyMonkey PINHOLE employs advanced evasion techniques including H 首次发现攻击者利用FTP服务器初始响应(Banner)作为死投解析器(DDR)分发恶意软件,突破传统基于Web的DDR模式 两种新型RAT(E4del和PINHOLE)通过FTP Banner获取C2指令,实现免杀持久化与高级防御规避 E4del采用动态信标机制(Active/Semi-Active/Inactive三态切换)模拟正常流量,PINHOLE结合Halo's Gate技术与Early Bird APC注入实现进程注入 攻击链融合社会工程学(西班牙语诱饵/ClickFix)、WebDAV下载、PowerShell无文件执行及多阶段载荷解压 攻击者部署专用FTP Stats Panel

58
Hot 热度
65
Quality 质量
55
Impact 影响力

Analysis 深度分析

TL;DR

  • Threat actors are using FTP banners as dead drop resolvers (DDRs) for the first time in the wild, embedding C2 commands within the initial protocol response instead of relying on traditional web-based DDRs
  • Two previously unreported RATs, E4del and PINHOLE, are being delivered through this novel technique, with E4del masquerading as a signed Discord Electron app and PINHOLE leveraging high-reputation platforms like Pinterest and SurveyMonkey
  • PINHOLE employs advanced evasion techniques including Halo's Gate, six layers of unpacking, and Early Bird APC Injection to execute payloads inside suspended legitimate processes, bypassing conventional AV/EDR detection
  • E4del features a dynamic tiered jitter beaconing system with three states (Active, Semi-Active, Inactive) that adjusts check-in frequency from 200ms to 9 seconds based on elapsed time since last command
  • Attackers maintain an FTP Stats Panel to monitor campaign performance metrics including execution success rates, total connections, and unique IP addresses interacting with their FTP infrastructure

Why It Matters

This represents a significant evolution in malware delivery tactics, as threat actors are now abusing a fundamental network protocol's initial handshake to resolve C2 infrastructure—bypassing traditional web-based DDR detection mechanisms that security tools are heavily tuned to monitor. The technique highlights how legacy protocols like FTP, often overlooked in modern security architectures, can be weaponized for sophisticated multi-stage attacks, urging practitioners to expand detection strategies beyond HTTP/HTTPS-based dead drops to include protocol-level anomalies.

Technical Details

  • FTP Banner as DDR: Malware stagers connect to FTP servers and extract next-stage commands directly from the banner response sent upon connection, eliminating the need for HTTP-based C2 resolution in the initial stage
  • E4del RAT: A Node.js-based remote access trojan embedded within a digitally signed Electron application impersonating Discord; supports reverse shell, screenshot capture, desktop streaming, file operations, and encrypted C2 communication with a three-state tiered jitter beaconing system
  • PINHOLE RAT: More advanced payload utilizing MSXML2.XMLHTTP COM object in PowerShell to fetch secondary scripts from Cloudflare-proxied domains; employs Halo's Gate technique, six-layer unpacking to extract an 119 KB native x86-64 PE executable, and Early Bird APC Injection into suspended child processes
  • PINHOLE Capabilities: 14 distinct commands including file enumeration, recursive search, exfiltration, process termination by PID, screenshot capture, PowerShell execution via anonymous pipes, and a browser stealer module
  • Attack Chains: Spanish-language voucher lure LNK files trigger FTP banner command retrieval leading to WebDAV-based DLL execution via rundll32.exe; a separate chain uses FTP banner commands to execute PowerShell that downloads and extracts a ZIP archive containing E4del

Industry Insight

Security teams should expand network monitoring and anomaly detection to include FTP traffic analysis, as legacy protocol abuse is increasingly becoming a vector for initial C2 resolution—traditional web-centric DDR detection is no longer sufficient. The adoption of Early Bird APC Injection and multi-layer unpacking by PINHOLE indicates a growing trend toward process hollowing-adjacent techniques that specifically target EDR behavioral signatures, suggesting defenders must prioritize memory-level detection and suspended process monitoring. The existence of an FTP Stats Panel for campaign analytics demonstrates that threat actors are treating these novel delivery mechanisms as measurable operations, implying this technique will likely be refined and adopted by additional actor groups in the near term.

TL;DR

  • 首次发现攻击者利用FTP服务器初始响应(Banner)作为死投解析器(DDR)分发恶意软件,突破传统基于Web的DDR模式
  • 两种新型RAT(E4del和PINHOLE)通过FTP Banner获取C2指令,实现免杀持久化与高级防御规避
  • E4del采用动态信标机制(Active/Semi-Active/Inactive三态切换)模拟正常流量,PINHOLE结合Halo's Gate技术与Early Bird APC注入实现进程注入
  • 攻击链融合社会工程学(西班牙语诱饵/ClickFix)、WebDAV下载、PowerShell无文件执行及多阶段载荷解压
  • 攻击者部署专用FTP Stats Panel监控执行成功率,表明该战术已进入实战化阶段

为什么值得看

该研究揭示了网络攻击基础设施利用的新范式,证明传统协议(FTP)可被转化为隐蔽的C2通信通道,对现有安全监控体系构成挑战。技术细节展示了恶意软件在 evasion 能力上的显著进化,为防御方提供了关键威胁情报。

技术解析

  • FTP Banner DDR机制:攻击者将C2指令嵌入FTP服务器初始响应文本,恶意程序通过解析协议握手阶段的Banner获取后续命令,规避传统Web流量检测
  • E4del RAT架构:基于Node.js的Electron应用伪装成Discord,采用三层动态信标系统(0-20秒/20-40秒/>40秒无活动分别对应200ms-2s/2-5s/5-9s轮询间隔)
  • PINHOLE高级注入技术:结合Halo's Gate免杀技术、六层解压流程及Early Bird APC注入,在挂起子进程中执行shellcode,绕过AV/EDR检测
  • 多阶段攻击链:LNK文件→FTP Banner获取指令→WebDAV下载DLL→rundll32执行→PowerShell下载ZIP→提取并运行RAT,全程使用临时脚本与清理机制
  • 基础设施监控:攻击者维护FTP Stats Panel(69.48.228.126:5000)实时追踪脚本执行次数、连接数及IP状态,显示战术成熟度

行业启示

  • 安全厂商需重新评估传统协议(FTP/HTTP等)的监控策略,将协议初始响应纳入威胁检测范围
  • 企业应加强终端行为监控,特别是PowerShell无文件执行、异常进程注入及动态信标通信模式
  • 威胁情报共享需关注协议滥用新趋势,建立针对DDR技术演进的快速响应机制

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

Security 安全 Research 科学研究