Capsh Shell Invocation - Linux

 Original Source: [Sigma source]
Title: Capsh Shell Invocation - Linux
Status: test
Description:Detects the use of the "capsh" utility to invoke a shell.
References:
  -https://gtfobins.github.io/gtfobins/capsh/#shell
  -https://github.com/elastic/detection-rules/blob/0aacc5e19292f764a002ea2093b2a076db35b589/rules/_deprecated/execution_shell_evasion_linux_binary.toml
Author: Li Ling, Andy Parkidomo, Robert Rakowski, Blake Hartstein (Bloomberg L.P.)
Date: 2024-09-02
modified:None
Tags:
  • -'attack.execution'
  • -'attack.t1059'
Logsource:
  • category: process_creation
  • product: linux
Detection:
  selection:
    Image|endswith: '/capsh'
    CommandLine|endswith: ' --'
  condition:selection
Falsepositives:
  -Unknown
Level: high