Skip to content

Add socat utility detections - #4253

Open
themaryjo wants to merge 5 commits into
developfrom
add-socat-utility-detections
Open

Add socat utility detections#4253
themaryjo wants to merge 5 commits into
developfrom
add-socat-utility-detections

Conversation

@themaryjo

@themaryjo themaryjo commented Sep 1, 2026

Copy link
Copy Markdown

Details

Adding detections for socat utility

###Story
MacOS Persistence Techniques

###Detections

  • Socat Utility Listener Binding Executable: Detects the execution of the socat utility with command-line arguments that configure a TCP or OpenSSL listener and bind an executable to incoming connections.
  • Socat Utility Remote TCP Connection with Echo Disabled: Detects the execution of the socat utility on a MacOS endpoint with command-line arguments that connect to a remote TCP endpoint while disabling local terminal echo.

Checklist

  • Validate name matches <platform>_<mitre att&ck technique>_<short description> nomenclature
  • CI/CD jobs passed ✔️
  • Validated SPL logic.
  • Validated tags, description, and how to implement.
  • Verified references match analytic.
  • Confirm updates to lookups are handled properly.

@onurmerdogan onurmerdogan added this to the v6.6.0 milestone Sep 1, 2026
@nasbench

nasbench commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 4, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-04T18:24:56.707144Z 10ede78 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 10ede786e0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

- https://hackers-arise.com/socat-the-advanced-hackers-network-tool/
drilldown_searches:
- name: View the detection results for - "$user$" and "$host$"
search: '%original_detection_search% | search user="$user$" host="$host$"'

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Use the emitted dest field in the drilldowns

When an analyst opens this drilldown, the detection result has dest because the tstats search groups by Processes.dest, but it never emits host; consequently $host$ is unresolved and the appended host="$host$" filter returns no matching detection results. The risk-event drilldown below has the same problem because the system risk entity is also dest, so both occurrences should use $dest$ as the companion detection already does.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants