Skip to content
Threat Feed
medium advisory

Detection of Potential Linux Hack Tool Execution

Adversaries leverage common security assessment and exploitation tools on Linux hosts to perform reconnaissance, credential access, and vulnerability exploitation, necessitating a baseline of authorized administrative activities.

This threat brief focuses on the unauthorized use of offensive security tools on Linux-based endpoints. Adversaries often deploy established frameworks such as Metasploit, CrackMapExec, and SQLmap to facilitate post-compromise activity including lateral movement, credential harvesting, and web application exploitation. While these tools are essential for legitimate security testing and system administration, their presence in unexpected contexts or executed by unauthorized user accounts serves as a high-fidelity indicator of malicious intent. Defenders must distinguish between sanctioned security assessments and adversary activity to maintain visibility into the environment while minimizing operational noise. The monitoring scope covers common exploitation frameworks, network scanners, web enumeration utilities, and automated privilege escalation or environment discovery scripts.

Impact

Successful deployment of these tools on a compromised Linux system allows attackers to conduct rapid network discovery, identify software vulnerabilities, exfiltrate credentials, and automate exploitation of public-facing applications. Failure to monitor for these tools can lead to undetected persistence, data breaches, or complete system compromise. The severity of impact depends on the environment, ranging from internal reconnaissance to full-scale unauthorized access.

Recommendation

Detection engineering teams should implement monitoring for suspicious process execution patterns associated with known security toolsets and establish context-aware filtering to reduce false positives.

  • Deploy the provided Sigma rule to detect known offensive tool names and command-line patterns in process execution logs.
  • Establish a baseline of authorized security testing and administrative workflows; apply exclusion filters for known, legitimate tool usage by the security team or automated DevOps pipelines.
  • Enable Sysmon for Linux or equivalent auditd-based process creation logging (e.g., via Auditbeat or Elastic Agent) to capture command-line arguments, which are essential for distinguishing between malicious and legitimate executions.
  • Investigate alerts by correlating process creation events with network traffic logs to determine if the activity is originating from unauthorized remote systems or internal testing.

Immediate actions

Deploy process monitoring rule for offensive tools

Detection Engineering 72h

Mitigations

Implement strict access controls on execution of development and scanning tools

medium_term IT Operations

Detection coverage 1

Detect Potential Linux Hack Tool Execution

medium

Detects the execution of known offensive security and exploitation tools on Linux systems by monitoring for process names and specific command-line arguments.

sigma tactics: execution techniques: T1046, T1110 sources: process_creation, linux

Detection queries are available on the platform. Get full rules →