Huntress Investigates Web Shells on VMware Horizon Servers Amid Log4Shell Attacks

· Original article ↗

Summary

Huntress traced Cobalt Strike alerts to VMware Horizon servers, found web shells on exploited hosts, and recreated a trigger that ran a command. Its Process Insights EDR exposed the process tree and enabled a detector for web shell activity.

Key points

  • Huntress analysts received Windows Defender alerts for Cobalt Strike on two organizations’ VMware Horizon servers; Defender blocked the RAT from executing.
  • Huntress connected the activity to reports of attackers targeting Log4Shell-vulnerable VMware Horizon servers to establish persistent access through web shells.
  • Researchers reviewed affected hosts and recreated a web shell backdoor trigger, which successfully ran a “whoami” command and demonstrated system access.
  • Process Insights captured the command and displayed its process tree; Huntress created a detector for web shell triggers within 15 minutes.
  • Huntress reported finding web shells and sending incident reports to partners, and urged customers to patch; it said some partners had run a mitigation script rather than applying patches.
  • The article says VMware’s mitigation tool did not remove discovered web shells and recommends restoring affected systems from backups.

Article Details

Attack Vectors
  • Attackers exploited Log4Shell vulnerabilities in VMware Horizon servers to establish persistent access via web shells, according to the article's account of the related NHS alert.
  • Web shell triggers enabled system access and execution of a simple “whoami” command.
  • Cobalt Strike was detected on VMware Horizon servers; Windows Defender blocked its execution on the two initially reported systems.
  • Cobalt Strike, cryptominers, and other malware were subsequently reported on VMware Horizon servers.
Defensive Notes
  • Patch vulnerable VMware Horizon servers; running the mitigation script alone does not constitute patching.
  • The article reports that VMware's mitigation tool did not remove a discovered web shell; Huntress recommended restoring affected systems from backups.
  • Use endpoint detection and response to monitor process behavior and investigate web shell triggers, including process trees.
  • Monitor antivirus detections as part of a defense-in-depth strategy because blocked attackers may try another approach.
  • Apply patching, security-focused processes, and multi-factor authentication as defense-in-depth practices.

MITRE ATT&CK

People

Malware

Vendors

Products

Countries

Related Articles