Suspicious Linux Discovery Commands
The following analytic detects the execution of suspicious bash commands commonly used in scripts like AutoSUID, LinEnum, and LinPeas for system discovery on a Linux host. It leverages Endpoint Detection and Response…
Description
The following analytic detects the execution of suspicious bash commands commonly used in scripts like AutoSUID, LinEnum, and LinPeas for system discovery on a Linux host. It leverages Endpoint Detection and Response (EDR) data, specifically looking for a high number of distinct commands executed within a short time frame. This activity is significant as it often precedes privilege escalation or other malicious actions. If confirmed malicious, an attacker could gain detailed system information, identify vulnerabilities, and potentially escalate privileges, posing a severe threat to the environment.
Detection logic
Detection requirements
- Platform
- ESXiLinuxmacOSNetwork Devices
The rule states no platform. This is derived from the ATT&CK technique it maps to.
- Log source category
- sysmon_for_linux_eventid_1
Known benign triggers
- Unless an administrator is using these commands to troubleshoot or audit a system, the execution of these commands should be monitored.
MITRE ATT&CK mappings
0 exclusive techniques.This is coverage no other published rule has; it is not this rule's total technique count.
References
| Reference | Cited by |
|---|---|
| attack.mitre.org/matrices/enterprise/linux/ | Only this detection cites it |
| attack.mitre.org/techniques/T1059/004/ | 2 |
| github.com/IvanGlinkin/AutoSUID | Only this detection cites it |
| github.com/carlospolop/PEASS-ng/tree/master/linPEAS | 2from 2 sources |
| github.com/rebootuser/LinEnum | Only this detection cites it |
From the source
- At source
- Open at source
- Upstream identifier
- 0edd5112-56c9-11ec-b990-acde48001122
- Tagged by the source as
- Linux Post-ExploitationVoidLink Cloud-Native Linux MalwareEndpointendpointSplunk CloudSplunk EnterpriseSplunk Enterprise Securityendpoint
Licence
- Published under
- Apache License 2.0Read the licence
- Attribution
- Required
- Obtained under
- Apache-2.0Read the origin licence
Authorship
- Written by
- Published
- Aug 26, 2026
- Version
- 1