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://www.elastic.co/guide/en/security/current/linux-restricted-shell-breakout-via-linux-binary-s.html
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