Huntress Details Three Intrusions Abusing Velociraptor for Command-and-Control

· Original article ↗

Summary

Huntress investigated three intrusions involving Velociraptor for command-and-control, including SharePoint ToolShell exploitation, web shells, and tunnels using Cloudflare and VS Code. One incident involved Warlock ransomware; its initial access vector was undetermined

Key points

  • In two incidents, investigators linked SharePoint compromise to ToolShell activity and web shells used to install Velociraptor as a service.
  • Velociraptor was used for remote command execution; attackers also deployed Cloudflare tunnels and Visual Studio Code tunnels for remote access.
  • Huntress found a shared MSI download source and a reused Cloudflare tunnel account tag across separate incidents.
  • One investigation involved Warlock ransomware and Velociraptor on multiple endpoints; Huntress had limited visibility because its agent was installed mid-compromise.
  • The Warlock incident's initial access could not be definitively established; a decryptor was later detected and quarantined by Windows Defender.
  • Huntress recommends verifying authorized Velociraptor deployments and maintaining a baseline of approved software.

Article Details

Attack Vectors
  • ToolShell exploitation of SharePoint vulnerabilities to bypass authentication and achieve remote code execution, followed by web-shell activity.
  • Exploitation of a WSUS vulnerability is discussed as an initial-access vector in a related incident; the article notes that the WSUS reference in Incident 3 may instead be vestigial.
  • Malicious MSI files installed OpenSSH and Velociraptor; Velociraptor was then used for remote command execution and C2.
  • Encoded PowerShell commands downloaded Visual Studio Code and configured tunnels; Cloudflare tunnels and TightVNC were also used to facilitate remote access.
Defensive Notes
  • Patch SharePoint and WSUS vulnerabilities and investigate unusual POST requests to SharePoint files such as start.aspx.
  • Review and validate authorized Velociraptor instances and software installations; monitor for unexpected services, MSI execution, encoded PowerShell, and tunneling activity.
  • Investigate Cloudflare and Visual Studio Code tunnel use when unauthorized, and review Windows Event Logs, IIS logs, and service-installation records for related activity.

Indicators of compromise

TypeIndicatorContext
DOMAINchat[.]hcqhajfv[.]workers[.]devDomain configured as a secondary C2 channel in Incident 2.
DOMAINroyal-boat-bf05[.]qgtxtebl[.]workers[.]devDownload source for malicious MSI files used to install OpenSSH and Velociraptor in Incidents 1 and 2.
DOMAINupdate[.]githubtestbak[.]workers[.]devVelociraptor C2 domain used in Incident 3 and previously observed in the related Part One incident.
IPV438[.]54[.]16[.]179Source address shown making ToolShell-related SharePoint requests in Incident 1.
IPV491[.]236[.]230[.]76Source address of suspicious requests to start.aspx on the SharePoint server in Incident 2.
SHA256040d7ee5b7bb0b978220be326804fa827f6284c8478a27af88c616fcacfeb423Hash associated with SecurityCheck.exe, which the article reports was flagged as malicious by VirusTotal vendors.
SHA256c70fafe5f9a3e5a9ee7de584dd024cb552443659f06348398d3873aa88fd6682Hash identified for the SecurityCheck MSI file associated with Incident 1.

MITRE ATT&CK

CVE

People

Threat Actors

Malware

Vendors

Products

CloudflareFor instance, we saw the same Cloudflare tunnel token account tag, and the same download source for installed MSI files, being used across different incidents.Microsoft Defender for EndpointThis customer had installed Microsoft Defender for Endpoint (MDE) and had apparently enabled network protection, evidenced by Microsoft-Windows-Windows Defender/1125 records in the Windows Defender Event Log.Microsoft SharePointw3wp.exe -ap "SharePoint - [REDACTED]443" -v "v4.0" -l "webengine4.dll" -a \\.\pipe\iis… -h "C:\inetpub\temp\apppools\SharePoint - [REDACTED]443\SharePoint - [REDACTED]443.config" -w "" -m 0OpenSSHFollowing the initial detections, a deeper investigation ensued, and illustrated that the threat actor had installed OpenSSH, then Velociraptor.SophosThe attacker also attempted to install a tool named SecurityCheck, via an MSI file, which was detected by both Windows Defender and Sophos, and quarantined by Windows Defender.TightVNCIn another attempt to facilitate access, they also installed open-source remote desktop software TightVNC, as seen via the binary path from EDR telemetry: "C:\Program Files\TightVNC\tvnserver.exe" -service.VelociraptorVelociraptor Misuse, Pt. II: The Eye of the StormVSCodeto ToolShell vulnerabilities for initial access and using encoded PowerShell commands to download Visual Studio Code (code.exe).Windows DefenderThis customer had installed Microsoft Defender for Endpoint (MDE) and had apparently enabled network protection, evidenced by Microsoft-Windows-Windows Defender/1125 records in the Windows Defender Event Log.Windows Server Update ServicesWe recently outlined an incident on November 12 where threat actors exploited a vulnerability in Windows Server Update Services (WSUS) before installing a legitimate open source tool called Velociraptor.

Tools

Countries

Industries

Related Articles