Huntress Traces SQL Server Intrusion Through Defender Alerts and Forensic Evidence

· Original article ↗

Summary

Huntress describes tracing an intrusion to brute-forcing of an internet-facing SQL server, then using Defender alerts, EDR data and server logs to investigate a malicious script that added antivirus exclusions.

Key points

  • Huntress says an attacker brute-forced an internet-facing SQL service on port 1433, downloaded a malicious batch script and began network enumeration.
  • Microsoft Defender alerted on Meterpreter, prompting investigators to examine process data with Huntress’s Process Insights EDR.
  • The batch script added Microsoft Defender exclusions for paths, extensions and process names, which Huntress interpreted as an effort to evade detection.
  • SQL server logs showed repeated failed authentication attempts from foreign IP addresses, supporting the conclusion that the exposed service was the initial access vector.
  • Huntress isolated the system and provided remediation actions to its partner before the incident escalated further.
  • The article recommends monitoring authentication attempts and endpoint behavior, limiting Defender exclusions, and using a Sigma rule to detect the observed activity.

Article Details

Attack Vectors
  • A remote IPv4 address brute-forced an internet-facing SQL service on port 1433; server logs showed repeated failed authentication attempts before access was gained.
  • The threat actor downloaded a malicious batch script to the system. Its commands added Microsoft Defender exclusions for file paths, extensions, and process names.
  • After gaining access, the threat actor began enumerating the network.
Defensive Notes
  • Monitor authentication attempts and activity on public-facing servers, and retain server logs for investigation.
  • Review internet-exposed services and strengthen authentication methods to reduce exposure to brute-force attempts.
  • Monitor Microsoft Defender exclusion paths and limit exclusions to make it harder to evade detection.
  • Collect and analyze telemetry from servers and endpoints; correlate endpoint alerts with process data, network exposure information, and forensic artifacts.

MITRE ATT&CK

People

Vendors

Products

Tools

Related Articles