Linux openssl s_client Connections to External IPs for SSL Certificate Exfiltration

Detects openssl s_client connecting to an IP:port on 443/8080 from Linux process command lines.

FreeReviewedSigma · High · v5
Product
linux
Category
process_creation
Author
Nasreddine Bencherchali (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2023-06-16
Updated
2026-07-31

ATT&CK techniques

Defense Evasion
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Persistence

  6. Priv Esc

  7. Cred Access

  8. Discovery

  9. Lateral Movement

  10. Collection

  11. C2

  12. Exfiltration

  13. Impact

What it detects

This rule identifies Linux process executions of openssl that invoke s_client with -quiet and -connect to reach an external IP address, including common TLS ports 443 and 8080. Such behavior can indicate attempts to retrieve or exfiltrate SSL-related data or establish a stealthy outbound channel. It relies on process creation telemetry, matching the openssl binary path and specific command-line parameters within the executed command.

Related detections9 linkedT1140 — drag to rearrange
Suspicious Shell Command Obfuscation via printf Escape Encoding on VMware ESXi (via process_creation)
Hidden PowerShell Archive Extraction via ExtractToDirectory
Malicious Shell Payload Piped from curl to zsh
CastleLoader ClickFix PowerShell Hex Decode and Re-Execution
Suspicious Cabinet Extraction of Masqueraded vstm Archive via extrac32
Suspicious tar Extraction of Staged Archive to Temp (via process_creation)
Malicious Multi Layer Base64 Decoded Payload Execution via Bash (via process_creation)
Malicious Certutil Decode of Encoded Web Shell to ASPX (via process_creation)
Obfuscated File Decoding via Certutil (via process_creation)
Linux openssl s_client Connections to External IPs for SSL Certificate Exfiltration
Pivot detection · T1140 · 9 related

Changelog

v5
  1. v5
    Candidate ingested via manual entry.2026-07-31
  2. v4
    Candidate ingested via manual entry.2026-07-31
  3. v3
    Candidate ingested via manual entry.2026-07-31
  4. v2
    Candidate ingested via manual entry.2026-07-31
  5. v1
    No changelog recorded for this version.2026-07-30

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.