Capsh Shell Invocation - Linux
Detects the use of the "capsh" utility to invoke a shell.
Sigma rule (View on GitHub)
1title: Capsh Shell Invocation - Linux
2id: db1ac3be-f606-4e3a-89e0-9607cbe6b98a
3status: test
4description: |
5 Detects the use of the "capsh" utility to invoke a shell.
6references:
7 - https://gtfobins.github.io/gtfobins/capsh/#shell
8 - https://github.com/elastic/detection-rules/blob/0aacc5e19292f764a002ea2093b2a076db35b589/rules/_deprecated/execution_shell_evasion_linux_binary.toml
9author: Li Ling, Andy Parkidomo, Robert Rakowski, Blake Hartstein (Bloomberg L.P.)
10date: 2024-09-02
11tags:
12 - attack.execution
13 - attack.t1059
14logsource:
15 category: process_creation
16 product: linux
17detection:
18 selection:
19 Image|endswith: '/capsh'
20 CommandLine|endswith: ' --'
21 condition: selection
22falsepositives:
23 - Unknown
24level: high
References
Related rules
- Add Insecure Download Source To Winget
- Add New Download Source To Winget
- Add Potential Suspicious New Download Source To Winget
- Install New Package Via Winget Local Manifest
- Linux Suspicious Child Process from Node.js - React2Shell