Exploitation of Remote Services T1210

Tactic: Lateral Movement

Adversaries may exploit remote services to gain unauthorized access to internal systems once inside of a network. Exploitation of a software vulnerability occurs when an adversary takes advantage of a programming error in a program, service, or within the operating system software or kernel itself to execute adversary-controlled code. A common goal for post-compromise exploitation of remote services is for lateral movement to enable access to a remote system.

Events covered

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

ProviderEventTitle
SysmonEvent ID 1Process creation
SysmonEvent ID 3Network connection
SysmonEvent ID 11FileCreate
SysmonEvent ID 19WmiEvent (WmiEventFilter activity detected)
SysmonEvent ID 20WmiEvent (WmiEventConsumer activity detected)
SysmonEvent ID 21WmiEvent (WmiEventConsumerToFilter activity detected)
SysmonEvent ID 22DNSEvent (DNS query)
Security-AuditingEvent ID 4624An account was successfully logged on.
Security-AuditingEvent ID 4625An account failed to log on.
Security-AuditingEvent ID 4688A new process has been created.
Security-AuditingEvent ID 4697A service was installed in the system.
Security-AuditingEvent ID 4698A scheduled task was created.
Security-AuditingEvent ID 4699A scheduled task was deleted.
Security-AuditingEvent ID 4700A scheduled task was enabled.
Security-AuditingEvent ID 4701A scheduled task was disabled.
Security-AuditingEvent ID 4702A scheduled task was updated.
Security-AuditingEvent ID 4724An attempt was made to reset an account's password.
Security-AuditingEvent ID 4742A computer account was changed.
Security-AuditingEvent ID 5145A network share object was checked to see whether client can be granted desired access.
Security-AuditingEvent ID 5152The Windows Filtering Platform blocked a packet.
Security-AuditingEvent ID 5154The Windows Filtering Platform has permitted an application or service to listen on a port for incoming connections.
Security-AuditingEvent ID 5155The Windows Filtering Platform has blocked an application or service from listening on a port for incoming connections.
Security-AuditingEvent ID 5156The Windows Filtering Platform has permitted a connection.
Security-AuditingEvent ID 5157The Windows Filtering Platform has blocked a connection.
Security-AuditingEvent ID 5158The Windows Filtering Platform has permitted a bind to a local port.
Security-AuditingEvent ID 5159The Windows Filtering Platform has blocked a bind to a local port.
Defender-DeviceEventsPowerShellCommandPowerShell command executed
Defender-DeviceLogonEventsLogonSuccessLogon succeeded
Defender-DeviceNetworkEventsNetworkSignatureInspectedNetwork signature inspected
Defender-DeviceProcessEventsanyProcess activity
Defender-DeviceTvmSoftwareVulnerabilitiesanySoftware vulnerabilities on devices
MSExchange-CmdletLogsEvent ID 6Event ID 6
MSExchange-CmdletLogsEvent ID 8Task <TaskName> throwing unhandled exception.
Audit-CVEEvent ID 1Possible detection of CVE: PossibleDetectionOfCVE.
PowerShellEvent ID 4103Payload Context: ContextInfo User Data: UserData.
NETLOGONEvent ID 5723Event ID 5723
NETLOGONEvent ID 5805Event ID 5805
Sysmon-for-LinuxEvent ID 1Process Create
TermDDEvent ID 50Event ID 50
TermDDEvent ID 56Event ID 56

Authoring guide

These 86 rules share fields, values, and exclusions.

Fields filtered most (86 distinct)

These fields appear most often in rule filters.

FieldRulesHowSample values
EventType17eq 12, ne 3, in 2exec, IntrusionEvent, deletion, Microsoft.ContainerService/managedClusters/diagnosticLogs/Read, ProcessRollup2
event.type16eq 14, in 2start, creation, allowed, change, deletion
process_basename16in 11, eq 9, wildcard 4, starts_with 2, ends_with 1bash, *.cgi, *.fcgi, apache2, busybox
parent_process_basename13eq 11, in 7, starts_with 3, wildcard 3*.cgi, *.fcgi, apache2, telnetd, UMService.exe
CommandLine12contains 8, regex_match 6, wildcard 6* /dev/shm/*, * /run/*, * /home/*, * /tmp/* , *curl *> /*
process.args9in 6, wildcard 6, contains 3, eq 3, starts_with 3*../../../*, *.aws/credentials*, *.env*, -*f*, -c
Image8ends_with 4, starts_with 4, eq 3, wildcard 2, contains 1, is_null 1./*, /bin/cat, /bin/chmod, , :\Windows\System32\csrss.exe
ParentCommandLine8contains 6, wildcard 3, regex_match 1*--port*, */app/*.js*, */apps/*/*.js*, (?i)svchost\.exe\s-k\snetsvcs.+taskeng\.exe, *app.py*
EventID7eq 74688, 4742, 1, 3, 5154
process.parent.interactive6eq 6false
sourcetype5eq 5cisco:sfw:estreamer, splunkd_access, splunkd_ui_access
ParentImage4ends_with 2, contains 1, wildcard 1*/bin/redis*, /*/postfix*master, \cmd.exe, \java.exe, \javaw.exe
file.extension4in 3, eq 1asmx, ascx, ashx, asax, aspx
DAVISRiskLevel3eq 2, ne 1CRITICAL
Muted3eq 3false

Top indicator values (940 distinct)

These values appear most often in rule predicates.

FieldKindValueRules (here)Corpus reach
event.typeeq
start
131036
EventTypeeq
exec
7547
process.parent.interactiveeq
false
67
process.argsin
-c
524
process.argsin
-cl
515
process.argsin
-lc
515
process_basenamein
bash
5181
process_basenamein
busybox
567
process_basenamein
csh
5148
process_basenamein
dash
5150
process_basenamein
fish
5151
process_basenamein
ksh
5149
process_basenamein
sh
5180
process_basenamein
tcsh
5145
process_basenamein
zsh
5180
CommandLinecontains
*ftp*
44
CommandLinecontains
*http*
45
CommandLineregex_match
.*[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}(:[0-9]{1,5})?/.*
46
CommandLineregex_match
.*curl.* \-[a-zA-Z]*[oO]( .+|\-.*)?
46
CommandLineregex_match
.*wget.* \-[a-zA-Z]*O.*
46
CommandLinewildcard
*curl *> /*
46
CommandLinewildcard
*curl *>/*
46
CommandLinewildcard
*curl *>> /*
46
CommandLinewildcard
*curl *>>/*
46
CommandLinewildcard
*curl* --output*
46
CommandLinewildcard
*curl* --remote-name*
46
CommandLinewildcard
*wget *> /*
46
CommandLinewildcard
*wget *>/*
46
CommandLinewildcard
*wget *>> /*
46
CommandLinewildcard
*wget *>>/*
46

Exclusions (429 distinct)

These values appear most often in top-level exclusions.

FieldKindValueRules excluding
parent_process_basenameeq
apache2
3
parent_process_basenameeq
ruby
3
parent_process_basenameeq
asterisk
2
parent_process_basenameeq
httpd
2
parent_process_basenameeq
java
2
parent_process_basenameeq
node
2
CommandLinein
runc init
2
Imagewildcard
/tmp/newroot/*
2
ParentImagewildcard
*/.vscode-server/cli/servers/*/server/node
2
azure.platformlogs.properties.log.user.usernameeq
aksService
2
azure.platformlogs.properties.log.user.usernameeq
hcpService
2
azure.platformlogs.properties.log.user.usernameeq
readinessChecker
2
azure.platformlogs.properties.log.user.usernamestarts_with
system:node:*
2
parent_process_basenamein
apache2
2
parent_process_basenamein
httpd
2

Rules under this technique

These vendors publish rules tagged with this technique.

Platform (all)
Domain (all)

Sigma 16 rules

Elastic 32 rules

Splunk 15 rules

Kusto 21 rules

YARA-L 1 rule

Panther 1 rule