How to Detect Malicious Use of Windows LOLBins

· Original article ↗

Summary

Huntress describes how defenders can baseline legitimate Windows utility use and spot suspicious LOLBin activity, drawing on cases involving finger.exe, curl.exe, and certutil.exe.

Key points

  • Establish a baseline of which native utilities are used, how they run, and how often; review it regularly as legitimate activity changes.
  • Look for unexpected parent processes, execution from non-standard directories, unusual command-line flags, first-seen destination IPs or domains, and spikes in execution frequency.
  • Huntress analysts observed finger.exe used by threat actors for file downloads and data exfiltration.
  • A curl.exe search across Huntress telemetry produced 2,182,554 hits; an unusual PowerShell parent process and command line stood out against routine activity.
  • In a certutil.exe case, an encoded PowerShell command launched from sqlservr.exe attempted to download and run a file; Huntress says the activity did not execute successfully on monitored endpoints.
  • The article advises targeted restrictions based on confirmed lack of legitimate use rather than broadly blocking utilities that may support administrative workflows.

Article Details

Defense Focus
Detect malicious use of legitimate Windows utilities by baselining normal execution and identifying anomalous process, command-line, and network behavior.
Detection Methods
  • Baseline LOLBin usage and compare real-time execution against expected patterns.
  • Investigate unexpected parent processes, execution from non-standard directories, unusual command-line flags, first-seen destination IPs or domains, and spikes in execution frequency.
  • Search process telemetry for unusual finger.exe and curl.exe activity; refine broad searches using known-malicious patterns.
  • Identify anomalous curl.exe invocations spawned by PowerShell.
  • Compare PowerShell command lines in Event ID 600 records to established patterns; an encoded PowerShell command leading to certutil.exe was unique in the described incident.
Data Sources
  • Process execution and parent-process telemetry
  • Command-line records
  • Network connection destinations
  • Windows PowerShell Event Log, Event ID 600
  • Huntress EDR telemetry
  • Elastic search results
Rule Types
  • Behavioral anomaly detection based on environment-specific baselines
  • Process and command-line detection
  • First-seen destination detection
  • Execution-frequency anomaly detection
Platforms
  • Windows
Defensive Actions
  • Establish and regularly revisit environment-specific baselines; quarterly is suggested as a reasonable starting cadence.
  • Investigate anomalous parent processes, paths, command-line arguments, destination IPs or domains, and execution frequency.
  • Use targeted restrictions only where legitimate use of a specific binary has been ruled out; avoid indiscriminate blocking that could disrupt operational tooling.
  • Use EDR for process-execution behavior and consider SIEM correlation across broader log sources when log volume warrants it.

MITRE ATT&CK

Vendors

Products

Tools

Related Articles