External Remote Services T1133

Tactics: Persistence, Initial Access

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

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

Authoring guide

These 222 rules share fields, values, and exclusions.

Fields filtered most (207 distinct)

These fields appear most often in rule filters.

FieldRulesHowSample values
EventType21eq 9, contains 5, in 5, cross_field_compare 3, starts_with 1type, authorizesecuritygroupingress, login to sra, ssh_login, CreateDBCluster
HttpRequestMethod16eq 10, in 8, contains 1get, post, put, head, options
c-uri15contains 11, in 5, eq 1*${*, *%2f%7b*, *.jsp?cmd=*, */app?service=direct/1/printerdetails/printeroptionstab.tab, */app?service=direct/1/printerlist/selectprinter&sp=*
data_stream.dataset15eq 14, in 2aws.cloudtrail, network_traffic.flow, fortinet_fortigate.log, gcp.audit, kubernetes.audit_logs
EventID12eq 11, in 14688, 4778, 4779, 5156, 1024
Status11eq 11open, FAILED
cs-method11eq 9, in 2get, post, head, put
HttpStatusCode10ge 9, le 9, eq 1500, 400, 499, 599, 100
HttpUserAgentOriginal10contains 5, is_not_null 4, is_null 2.nasl, (bot for jce), (hydra), advanced email extractor, 360spider
process_name10eq 5, in 4, regex_match 1java.exe, cmd.exe, javaw.exe, (?i)rdpclip.exe, (?i)tstheme.exe
src_ip10cidr_match 4, is_not_null 4, eq 3, contains 1, cross_field_compare 1, ne 110.0.0.0/8, 127.0.0.0/8, -, 0.0.0.0, 127.0.0.1
DestinationPort9eq 4, in 2, regex_match 2, ge 1, le 1(?i)3389|rdp, 1099, 11434, 135, 1389
UrlOriginal9contains 6, regex_match 3, eq 1, is_not_null 1%26%20%64%69%72, %26%64%69%72, %2f%62%69%6e%2f%62%61%73%68, (10\.\d{1,3}\.\d{1,3}\.\d{1,3})|(172\.1[6-9]\.\d{1,3}\.\d..., /%2e%2e/
event.category9in 5, eq 4network, network_traffic, authentication, process
CommandLine8contains 4, ends_with 3, regex_match 1, wildcard 1/TeamViewer_Desktop --IPCport 5939 --Module 1, -group , /add, &c=, &k=

Top indicator values (983 distinct)

These values appear most often in rule predicates.

FieldKindValueRules (here)Corpus reach
HttpRequestMethodeq
get
1012
HttpRequestMethodin
post
812
HttpRequestMethodin
put
812
event.outcomeeq
success
8369
Reasoneq
new_alert
68
Statuseq
open
69
Statuseq
FAILED
55
EventResourceIdeq
traffic
56
HttpStatusCodege
500
55
HttpStatusCodege
400
44
HttpStatusCodele
599
55
HttpStatusCodele
499
44
HttpUserAgentOriginalcontains
havij
55
HttpUserAgentOriginalcontains
nikto
55
HttpUserAgentOriginalcontains
advanced email extractor
44
HttpUserAgentOriginalcontains
bfac
44
HttpUserAgentOriginalcontains
brutus
44
HttpUserAgentOriginalcontains
cgichk
44
HttpUserAgentOriginalcontains
cisco-torch
44
HttpUserAgentOriginalcontains
datacha0s
46
HttpUserAgentOriginalcontains
dirbuster
46
HttpUserAgentOriginalcontains
fantombrowser
44
HttpUserAgentOriginalcontains
fantomcrew
44
UrlOriginalcontains
whoami
55
cs-methodeq
get
549
data_stream.dataseteq
aws.cloudtrail
5169
event.categoryin
network
518
event.categoryin
network_traffic
516
DstBytesne
0
46
DvcActioneq
open
44

Exclusions (158 distinct)

These values appear most often in top-level exclusions.

FieldKindValueRules excluding
src_ipcidr_match
10.0.0.0/8
9
src_ipcidr_match
127.0.0.0/8
9
src_ipcidr_match
169.254.0.0/16
9
src_ipcidr_match
172.16.0.0/12
9
src_ipcidr_match
192.168.0.0/16
9
src_ipcidr_match
fc00::/7
4
src_ipcidr_match
fe80::/10
4
src_ipin
10.0.0.0/8
4
src_ipin
100.64.0.0/10
4
src_ipin
127.0.0.0/8
4
src_ipin
169.254.0.0/16
4
src_ipin
172.16.0.0/12
4
src_ipin
192.0.0.0/24
4
src_ipin
192.0.0.0/29
4
src_ipin
192.0.0.10/32
4

Rules under this technique

These vendors publish rules tagged with this technique.

Platform (all)
Domain (all)

Sigma 20 rules

Elastic 22 rules

Splunk 44 rules

Kusto 132 rules

Panther 4 rules