Encrypted Channel T1573

Adversaries may employ an encryption algorithm to conceal command and control traffic rather than relying on any inherent protections provided by a communication protocol. Despite the use of a secure algorithm, these implementations may be vulnerable to reverse engineering if secret keys are encoded and/or generated within malware samples/configuration files.

Events covered

5 catalog events are tagged with this technique by at least one rule.

Authoring guide

Patterns shared across the 6 rules above: which fields they filter on, what specific values they look for, and what they exclude. The catalog normalizes field names across vendors so Sigma's Image, Elastic's process.name, and Splunk's process_name collapse into one row. Each rule contributes at most once per row.

Fields filtered most (13 distinct)

The fields most rules look at when detecting this technique. The How column shows the operators authors use (eq, wildcard, regex_match, match) and how often each appears. Sample values are concrete examples to start from, not an exhaustive list.

FieldRulesHowSample values
Image3ends_with 2, wildcard 1\curl.exe, \searchfilterhost.exe, \searchprotocolhost.exe, \sndvol.exe, c:\windows\explorer.exe
CommandLine2contains 2-encodedcommand, .onion, socks4a://, socks5://
DestinationPortName1eq 1dns
EfectiveCommand1regex_match 1regexEmpire
EventData1contains 1-encodedcommand, powershell.exe, powershell_ise.exe
EventID1eq 14688
Initiated1eq 1true
ParentImage1ends_with 1\rundll32.exe
Protocol1eq 1tcp
ScriptBlockText1contains 1.authenticateasclient, net.security.remotecertificatevalidationcallback, system.net.security.sslstream
SrcIPs1ge 12
Status1contains 1nxdomain, refused, servfail
dns.question.name1ends_with 1.freessl.org, .sslforfree.com, .zerossl.com

Top indicator values (38 distinct)

Specific (field, operator, value) combinations the rules check for, ranked by how many rules under this technique use each one. The Corpus reach column counts how many rules across the entire catalog (any technique) check the same combination. High numbers point to widely-used indicators that are likely noisy on their own; combine them with another condition for useful signal. Blank means the combination is specific to rules under this technique. Click a value to expand the rules under this technique that use it.

FieldKindValueRules (here)Corpus reach
CommandLinecontains
-encodedcommand
13
CommandLinecontains
.onion
1
CommandLinecontains
socks4a://
1
CommandLinecontains
socks5://
1
CommandLinecontains
socks5h://
1
DestinationPortNameeq
dns
14
EfectiveCommandregex_match
regexEmpire
1
EventDatacontains
-encodedcommand
1
EventDatacontains
powershell.exe
1
EventDatacontains
powershell_ise.exe
1
EventDatacontains
pwsh.exe
1
EventIDeq
4688
1312
Imageends_with
\curl.exe
130
Imageends_with
\searchfilterhost.exe
13
Imageends_with
\searchprotocolhost.exe
12
Imageends_with
\sndvol.exe
12
Imageends_with
\wermgr.exe
17
Imageends_with
\wwahost.exe
12
Imagewildcard
c:\windows\explorer.exe
1
Imagewildcard
c:\windows\microsoft.net\framework*\*.exe
1
Imagewildcard
c:\windows\notepad.exe
1
Imagewildcard
c:\windows\system32\*.exe
1
Imagewildcard
c:\windows\system\*.exe
1
Imagewildcard
c:\windows\syswow64\*.exe
1
Initiatedeq
true
148
ParentImageends_with
\rundll32.exe
117
Protocoleq
tcp
19
ScriptBlockTextcontains
.authenticateasclient
1
ScriptBlockTextcontains
net.security.remotecertificatevalidationcallback
1
ScriptBlockTextcontains
system.net.security.sslstream
1

Exclusions (7 distinct)

Field/operator/value combinations excluded by rules under this technique (top-level not() clauses), sorted by how many rules exclude each. These are the false-positive paths the community has learned to filter out. A new rule that ignores the high-count entries here will likely fire on the same noisy paths. Click a value to expand the rules under this technique that exclude it.

FieldKindValueRules excluding
EventDatacontains
gc_service.exe
1
EventDatacontains
gc_worker.exe
1
ParentImagecontains
gc_service.exe
1
ParentImagecontains
gc_worker.exe
1
process_namewildcard
microsoftedge*.exe
1
process_namewildcard
msedge.exe
1
process_namewildcard
svchost.exe
1

Rules under this technique

Every rule in the catalog tagged with this technique, grouped by vendor. Click a rule title for its full predicates, exclusions, and indicators.

Sigma 3 rules

Elastic 1 rule

Kusto 2 rules