2022-07-26 16:40:12 +02:00
|
|
|
title: Linux Base64 Encoded Pipe to Shell
|
|
|
|
|
id: ba592c6d-6888-43c3-b8c6-689b8fe47337
|
2024-05-02 10:34:25 +02:00
|
|
|
status: test
|
2022-07-26 16:40:12 +02:00
|
|
|
description: Detects suspicious process command line that uses base64 encoded input for execution with a shell
|
|
|
|
|
references:
|
|
|
|
|
- https://github.com/arget13/DDexec
|
2023-06-18 22:14:57 +02:00
|
|
|
- https://www.mandiant.com/resources/blog/barracuda-esg-exploited-globally
|
2023-02-01 11:14:59 +01:00
|
|
|
author: pH-T (Nextron Systems)
|
2024-08-12 12:02:50 +02:00
|
|
|
date: 2022-07-26
|
|
|
|
|
modified: 2023-06-16
|
2022-10-25 08:53:44 +02:00
|
|
|
tags:
|
2024-08-12 12:02:50 +02:00
|
|
|
- attack.defense-evasion
|
2022-10-25 08:53:44 +02:00
|
|
|
- attack.t1140
|
2022-07-26 16:40:12 +02:00
|
|
|
logsource:
|
|
|
|
|
product: linux
|
|
|
|
|
category: process_creation
|
|
|
|
|
detection:
|
|
|
|
|
selection_base64:
|
2023-06-18 22:14:57 +02:00
|
|
|
CommandLine|contains: 'base64 '
|
2022-07-26 16:40:12 +02:00
|
|
|
selection_exec:
|
|
|
|
|
- CommandLine|contains:
|
2023-10-18 11:53:44 +02:00
|
|
|
- '| bash '
|
|
|
|
|
- '| sh '
|
|
|
|
|
- '|bash '
|
|
|
|
|
- '|sh '
|
2022-07-26 16:40:12 +02:00
|
|
|
- CommandLine|endswith:
|
2023-10-18 11:53:44 +02:00
|
|
|
- ' |sh'
|
|
|
|
|
- '| bash'
|
|
|
|
|
- '| sh'
|
|
|
|
|
- '|bash'
|
2023-06-18 22:14:57 +02:00
|
|
|
condition: all of selection_*
|
2022-07-26 16:40:12 +02:00
|
|
|
falsepositives:
|
|
|
|
|
- Legitimate administration activities
|
|
|
|
|
level: medium
|