Suspicious SSL Connection (via ps_script)
This rule detects threat actors may employ a known encryption algorithm to conceal command and control traffic rather than relying on any inherent protections provided by a communication protocol.
SigmalowWindowsv1
sigma
suspicious-ssl-connection-via-ps-script
title: Suspicious SSL Connection (via ps_script)
id: 4fa09701-acaf-5ad4-acee-06fed35f410c
status: stable
description: This rule detects threat actors may employ a known encryption algorithm to conceal command and control traffic rather than relying on any inherent protections provided by a communication protocol.
references:
- https://attack.mitre.org/techniques/T1573/
- https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1573/T1573.md#atomic-test-1---openssl-c2
- https://medium.com/walmartglobaltech/openssl-server-reverse-shell-from-windows-client-aee2dbfa0926
author: Huntrule Team
date: 2026-01-06
tags:
- attack.command-and-control
- attack.t1573
logsource:
product: windows
category: ps_script
definition: 'Requirements: Script Block Logging must be enabled'
detection:
selection:
ScriptBlockText|contains|all:
- System.Net.Security.SslStream
- Net.Security.RemoteCertificateValidationCallback
- '.AuthenticateAsClient'
condition: selection
falsepositives:
- Unknown
level: low
Known false positives
- Unknown
Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.