T1573 Sumo Logic CSE · Sumo

Detect Encrypted Channel in Sumo Logic CSE

This detection identifies adversaries using custom or non-standard encryption to conceal command and control (C2) traffic. Unlike legitimate TLS/HTTPS, malware implementing encrypted channels often exhibits behavioral anomalies: unusual processes making encrypted connections, connections to raw IP addresses without SNI, self-signed or short-lived certificates, high-frequency beaconing intervals, non-browser processes using port 443/8443 with atypical TLS fingerprints (JA3), and data volumes inconsistent with the application type. This detection correlates process lineage, network destinations, certificate characteristics, and traffic timing to surface encrypted C2 channels used by threat actors such as Tropic Trooper, Lazarus Group, and malware families including RCSession, Cryptoistic, Gomir, and Chaes.

MITRE ATT&CK

Tactic
Command and Control
Technique
T1573 Encrypted Channel
Canonical reference
https://attack.mitre.org/techniques/T1573/

Sumo Detection Query

Sumo Logic CSE (Sumo)
sql
_sourceCategory=*sysmon* OR _sourceCategory=*endpoint*
| json auto
| where EventCode = 3
| where DestinationPort in ("443","8443","4443","8080","9443","3443","7443")
| where !matches(DestinationIp, "^(10\.|172\.(1[6-9]|2[0-9]|3[01])\.|192\.168\.|127\.)")
| eval ProcessName = lower(Image)
| where !matches(ProcessName, "chrome|firefox|msedge|iexplore|outlook|teams|onedrive|slack|zoom")
| eval IsIPOnly = if(matches(DestinationHostname, "^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$") or isNull(DestinationHostname), "true", "false")
| eval SuspiciousParent = if(matches(lower(ParentImage), "cmd\.exe|powershell\.exe|wscript\.exe|cscript\.exe|mshta\.exe"), "true", "false")
| eval RiskScore = if(IsIPOnly = "true" and SuspiciousParent = "true", 100,
    if(IsIPOnly = "true", 70,
    if(SuspiciousParent = "true", 50, 30)))
| where RiskScore >= 50
| stats count AS ConnectionCount, values(DestinationIp) AS DestIPs, max(RiskScore) AS MaxRisk by _sourceHost, ProcessName, ParentImage, DestinationPort
| sort by MaxRisk desc
high severity medium confidence

Sumo Logic detection for Encrypted Channel. Detects encrypted C2 channels by identifying non-browser processes making encrypted connections (ports 443, 8443, etc.) to external IPs, particularly connections to raw IP addresses without hostname r

Data Sources

SysmonEndpoint data

Required Tables

_sourceCategory=*sysmon*

False Positives & Tuning

  • Custom internal monitoring agents communicating over HTTPS to known services
  • IT management and patch management tools making scheduled encrypted connections
  • Security products beaconing to cloud-based management platforms
  • Backup agents connecting to cloud storage at regular intervals
  • VPN and network tunneling software maintaining persistent encrypted sessions
Download portable Sigma rule (.yml)

Other platforms for T1573


Testing Methodology

Validate this detection against 4 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are available with Pro.

  1. Test 1Simulate Custom Encrypted C2 Beacon Using PowerShell SSL

    Expected signal: Sysmon Event ID 3 (NetworkConnect) with Image=powershell.exe, DestinationPort=443, DestinationHostname=ifconfig.me; Sysmon Event ID 1 showing PowerShell execution with -ExecutionPolicy Bypass flag; DeviceNetworkEvents showing 5 connections at ~30 second intervals (low jitter beaconing pattern)

  2. Test 2Simulate C2 Connection to Raw IP Address Over HTTPS

    Expected signal: Sysmon Event ID 3 with Image=powershell.exe, DestinationIp=1.1.1.1, DestinationPort=443, DestinationHostname empty or equal to the IP address; DeviceNetworkEvents showing IsIPOnlyConnection=true with RemoteUrl matching RemoteIP

  3. Test 3Simulate Encrypted C2 Beacon from LOLBin (mshta.exe)

    Expected signal: Sysmon Event ID 1 showing mshta.exe execution with HTA file path argument; Sysmon Event ID 3 with Image=mshta.exe, DestinationPort=443, DestinationHostname=httpbin.org; DeviceProcessEvents and DeviceNetworkEvents correlation showing mshta.exe as initiating process

  4. Test 4Linux Custom Encrypted Beacon Simulation Using OpenSSL

    Expected signal: Auditd SYSCALL records for connect() calls from openssl process; syslog entries showing openssl process network activity; on hosts with Sysmon for Linux, Event ID 3 showing openssl making TLS connections to external IP on port 443 at ~30 second intervals

Unlock Pro Content

Get the full detection package for T1573 including response playbook, investigation guide, and atomic red team tests.

Response PlaybookInvestigation GuideHunting QueriesAtomic Red Team TestsTuning Guidance

Related Detections