Huntress Traces MSSQL-Based Attempts to Install ScreenConnect

· Original article ↗

Summary

Huntress traced automated-looking commands from MSSQL processes on two endpoints to attempted ScreenConnect installations. Investigators found no evidence the installers succeeded.

Key points

  • Huntress investigated alerts involving three Fortinet Enterprise Management Server endpoints and built timelines for two using Windows Event Logs and EDR telemetry.
  • On both examined endpoints, MSSQL activity included an xp_cmdshell invocation and a finger.exe command targeting 185.56.83.82.
  • Later commands used character-to-decimal encoding and attempted to run MSI installers; investigators found no evidence that the downloads or installations succeeded.
  • PowerShell commands from the SQL Server process attempted to download a ScreenConnect installer from 95.179.241.10.
  • Huntress obtained a copy of an installer and found it was configured to connect to 95.179.241.10; no successful ScreenConnect installation was observed.
  • Similar command sequences and timing across the two endpoints suggested the activity may have followed an automated script or playbook.

Article Details

Attack Vectors
  • MSSQL's xp_cmdshell was used to launch commands from the sqlservr.exe process.
  • PowerShell download cradles attempted to retrieve and install a ConnectWise ScreenConnect MSI from 95.179.241[.]10:23963.
  • The activity included decimal-encoded commands and obfuscated PowerShell strings.
  • msiexec commands attempted to install MSI files from the Windows temporary directory.
Defensive Notes
  • Huntress analysts found no indication that the ScreenConnect MSI installation succeeded on either investigated endpoint.
  • Review MSSQL and Windows Event Logs alongside EDR telemetry for unexpected xp_cmdshell activity, child processes from sqlservr.exe, and MSI installation attempts.

Indicators of compromise

TypeIndicatorContext
IPV4185[.]56[.]83[.]82Identified by Huntress as the initial “C2” IP address targeted by a finger command.
IPV495[.]179[.]241[.]10Source IP used to host the ScreenConnect installer download; the recovered instance also attempted to connect to this IP.

MITRE ATT&CK

Products

Related Articles