
Summary
This analytic detects the execution of the socat utility configured for a remote TCP or OpenSSL connection with local terminal echo disabled. The rule targets macOS endpoints and uses an osquery/Splunk data model approach (Endpoint.Processes) to identify socat invocations with echo=0 and a remote transport. The search aggregates on destination, original file name, and related process metadata, returning intermediate findings that state socat was run with local echo disabled and a remote TCP/OpenSSL connection by a specific user on the endpoint. It associates the activity with post-exploitation activity on macOS and maps to MITRE techniques T1059 (Command-Line) and T1572 (Protocol Tunneling). The rule includes references to ATT&CK, GTFOBins, and macOS-specific socat usage, and provides drilldown searches for per-destination results and last-7-day risk events. Known false positives acknowledge legitimate uses of socat for debugging or protocol testing. The implementation guidance notes OSQuery-based data collection and requires the TA-OSquery integration to populate data models across indexers/forwarders.
Categories
- Endpoint
- macOS
Data Sources
- Process
ATT&CK Techniques
- T1059
- T1572
Created: 2026-09-07