External Remote Services T1133

Adversaries may leverage external-facing remote services to initially access and/or persist within a network. Remote services such as VPNs, Citrix, and other access mechanisms allow users to connect to internal enterprise network resources from external locations. There are often remote service gateways that manage connections and credential authentication for these services. Services such as Windows Remote Management and VNC can also be used externally.

Events covered

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

Authoring guide

Patterns shared across the 28 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 (25 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
EventID10eq 104688, 4778, 4779, 5156, 1024
Image6ends_with 5, eq 1\dns.exe, \arcsoc.exe, \cmd.exe, \conhost.exe, \powershell.exe
TargetFilename6ends_with 3, in 2, contains 1*\\httpproxy\\oab\\*, *\\httpproxy\\owa\\auth\\*, *\\inetpub\\wwwroot\\aspnet_client\\*, \dns.log, .ahk
process_name5eq 2, in 2, match 1cmd.exe, java.exe, (?i)rdpclip.exe, (?i)tstheme.exe, bash
CommandLine4contains 3, ends_with 1, regex_match 1 -group , /add, &c=, &k=, &p=
DestinationPort3match 2, in 1(?i)3389|rdp, 1099, 1389, 389
LogonType3eq 3Network, RemoteInteractive
ParentImage3contains 1, ends_with 1, eq 1\dns.exe, \goanywhere\tomcat\, teamviewer_service.exe
file_name3in 2, ends_with 1*.ashx, *.asp*, *.aspx, .aspx
src_ip3cidr_match 3, eq 2, contains 1-, 10.0.0.0/8, 127.0.0.0/8
SourcePort2match 2(?i)3389|rdp
Type2eq 2
parent_process_name2eq 1, in 1UMWorkerProcess.exe, apache2, caddy, pc-app.exe
prefix2eq 2src_
signature_id2contains 1, match 1(?i)4778, (?i)4779, 4625, 5156

Top indicator values (283 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
EventIDeq
4688
3312
EventIDeq
4778
22
EventIDeq
4779
23
EventIDeq
5156
215
src_ipcidr_match
10.0.0.0/8
34
src_ipcidr_match
127.0.0.0/8
36
src_ipcidr_match
169.254.0.0/16
35
src_ipcidr_match
172.16.0.0/12
34
src_ipcidr_match
192.168.0.0/16
34
src_ipcidr_match
::1/128
34
src_ipcidr_match
fc00::/7
34
src_ipcidr_match
fe80::/10
34
DestinationPortmatch
(?i)3389|rdp
22
Imageends_with
\dns.exe
22
LogonTypeeq
Network
239
SourcePortmatch
(?i)3389|rdp
22
TargetFilenameends_with
\dns.log
22
TargetFilenamein
*\\httpproxy\\oab\\*
22
TargetFilenamein
*\\httpproxy\\owa\\auth\\*
22
TargetFilenamein
*\\inetpub\\wwwroot\\aspnet_client\\*
22
file_namein
*.ashx
24
prefixeq
src_
25
src_ipeq
-
22
CommandLinecontains
-group
13
CommandLinecontains
/add
15
CommandLinecontains
&c=
1
CommandLinecontains
&k=
1
CommandLinecontains
&p=
1
CommandLinecontains
.downloadfile(
18
CommandLinecontains
.downloadstring(
18

Exclusions (12 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
src_ipcidr_match
10.0.0.0/8
3
src_ipcidr_match
127.0.0.0/8
3
src_ipcidr_match
169.254.0.0/16
3
src_ipcidr_match
172.16.0.0/12
3
src_ipcidr_match
192.168.0.0/16
3
src_ipcidr_match
::1/128
3
src_ipcidr_match
fc00::/7
3
src_ipcidr_match
fe80::/10
3
TargetFilenameends_with
\dns.log
2
src_ipeq
-
2
Imageends_with
\conhost.exe
1
src_ipcontains
-
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 12 rules

Splunk 16 rules