Analytics BIOC Informational

Uncommon Linux shell command execution

An unusual process execution of a shell command on Linux. This action may indicate possible exploitation or shell command execution via a backdoor.

Module:
Platform Analytics
Data source:
XDR Agent
ATT&CK tactics: Execution (TA0002)
ATT&CK techniques: Command and Scripting Interpreter: Unix Shell (T1059.004) Command and Scripting Interpreter (T1059)
Detector tags: Shell Analytics
Attacker's goals:

An attacker may attempt to execute a malicious shell command on the system.

Investigative actions:

Check whether the executing process is benign and if this was a desired behavior as part of its normal execution flow. Check the executed shell command (and possible child processes) for malicious actions.

Test period:
N/A (single event)
Deduplication:
1 Day
15 variations:
  • Uncommon Linux shell command execution by a BAS solution High (parent: Informational)
  • Uncommon Linux shell command execution disabling firewall High (parent: Informational) Adds Impair Defenses (T1562)
  • Uncommon Linux shell command execution, possibly running LinPEAS High (parent: Informational) Adds Exploitation for Privilege Escalation (T1068)
  • Uncommon Linux shell command execution using exploitation tool High (parent: Informational)
  • Uncommon Linux shell command execution taking a screenshot Low (parent: Informational) Adds Screen Capture (T1113)
  • Uncommon Linux shell command execution trying to gather information about the system Low (parent: Informational) Adds System Information Discovery (T1082) Software Discovery (T1518) Account Discovery (T1087) Account Discovery: Local Account (T1087.001) System Owner/User Discovery (T1033) Network Service Discovery (T1046) System Network Configuration Discovery (T1016) System Network Connections Discovery (T1049) File and Directory Discovery (T1083) Peripheral Device Discovery (T1120) Software Discovery: Security Software Discovery (T1518.001)
  • Uncommon Linux shell command execution loading a kernel module Low (parent: Informational) Adds Boot or Logon Autostart Execution: Kernel Modules and Extensions (T1547.006)
  • Uncommon Linux shell command execution, possibly granting file execution permissions Low (parent: Informational) Adds File and Directory Permissions Modification (T1222)
  • Uncommon Linux shell command execution running a network tool Low (parent: Informational) Adds Network Service Discovery (T1046)
  • Uncommon Linux shell command execution setting a scheduled task Low (parent: Informational) Adds Scheduled Task/Job (T1053)
  • Uncommon Linux shell command execution running a process kill command Low (parent: Informational)
  • Uncommon Linux shell command execution with su/sudo elevation Informational
  • Uncommon Linux shell command execution accessing history (e.g. bash history or login records) Informational Adds Unsecured Credentials: Shell History (T1552.003)
  • Uncommon Linux shell command execution from a scripting language interpreter Informational
  • Uncommon Linux shell command execution executed from within a web server Informational