Exploitation for Client Execution T1203

Tactic: Execution

Adversaries may exploit software vulnerabilities in client applications to execute code. Vulnerabilities can exist in software due to unsecure coding practices that can lead to unanticipated behavior. Adversaries can take advantage of certain vulnerabilities through targeted exploitation for the purpose of arbitrary code execution. Oftentimes the most valuable exploits to an offensive toolkit are those that can be used to obtain code execution on a remote system because they can be used to gain access to that system. Users will expect to see files related to the applications they commonly used to do work, so they are a useful target for exploit research and development because of their high utility.

Events covered

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

ProviderEventTitle
SysmonEvent ID 1Process creation
SysmonEvent ID 3Network connection
SysmonEvent ID 7Image loaded
SysmonEvent ID 11FileCreate
SysmonEvent ID 13RegistryEvent (Value Set)
SysmonEvent ID 22DNSEvent (DNS query)
SysmonEvent ID 23FileDelete (File Delete archived)
SysmonEvent ID 26FileDeleteDetected (File Delete logged)
Security-AuditingEvent ID 4663An attempt was made to access an object.
Security-AuditingEvent ID 4688A new process has been created.
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-DeviceEventsanyDefender event
Defender-DeviceFileEventsanyFile activity
Defender-DeviceFileEventsFileCreatedFile created
Defender-DeviceImageLoadEventsanyImage load
Defender-DeviceNetworkEventsanyNetwork activity
Defender-DeviceNetworkEventsNetworkSignatureInspectedNetwork signature inspected
Defender-DeviceProcessEventsanyProcess activity
Defender-DeviceTvmSoftwareVulnerabilitiesanySoftware vulnerabilities on devices
ESFexecProcess Execution
Audit-CVEEvent ID 1Possible detection of CVE: PossibleDetectionOfCVE.
Sysmon-for-LinuxEvent ID 1Process Create
Windows-Server-Update-ServicesEvent ID 7053The WSUS administration console has encountered an unexpected error.

Authoring guide

These 134 rules share fields, values, and exclusions.

Fields filtered most (115 distinct)

These fields appear most often in rule filters.

FieldRulesHowSample values
EventType38eq 29, in 7, ne 2, starts_with 1exec, start, ProcessRollup2, creation, IntrusionEvent
process_basename37eq 25, in 11, wildcard 5bash, dash, csh, ash, Microsoft.Workflow.Compiler.exe
parent_process_basename28eq 24, in 3, wildcard 1foomatic-rip, java, 7zFM.exe, Bandizip.exe, Foxmail.exe
event.type26eq 24, ne 3, in 1start, deletion, creation, process_started
Image25ends_with 19, contains 2, is_not_null 2, eq 1, starts_with 1, wildcard 1\cmd.exe, \cscript.exe, \mshta.exe, , /bash
CommandLine19contains 12, wildcard 4, match 2, regex_match 2, ends_with 1, eq 1, is_not_null 1, is_null 1, -e , && echo, (?i).*mmc\.exe.*((Windows\s+\\System32)|(Windows\s+System..., * nc *
ParentImage18ends_with 15, eq 2, contains 1C:\Program Files\Internet Explorer\iediagcmd.exe, \WINWORD.EXE, \WinRAR.exe, */zoom.us.app/Contents/MacOS/zoom.us, /node
process.args10eq 7, wildcard 4, starts_with 2, ends_with 1-c, * .bat, * .cmd, * .com, --checkpoint-action=*
TargetFilename8wildcard 5, contains 2, ends_with 1.LOG, .cfg, .txt, /*/sap.com/*/servlet_jsp/irj/root/*, /*/sap.com/*/servlet_jsp/irj/work/*
file.extension8eq 8exe, bat, cmd, com, dll
sourcetype8eq 8cisco:sfw:estreamer, stream:dns, stream:tcp
CurrentDirectory6starts_with 3, eq 2, wildcard 1/var/opt/microsoft/scx/tmp, \\*, *\sap.com*\servlet_jsp\irj\*, /*/sap.com*/servlet_jsp/irj/*, /u0?/*
EventID6eq 67, 4688, 1, 22
Action5eq 5Blocked, Matched, vulnerabilityAlert
ImageLoaded5ends_with 2, wildcard 2, starts_with 1?:\Users\*\AppData\Local\Temp\wps\INetCache\*, \\*, *SolarWinds.Orion.Core.BusinessLayer.dll, *\sdiageng.dll, \Device\Mup\**

Top indicator values (1216 distinct)

These values appear most often in rule predicates.

FieldKindValueRules (here)Corpus reach
event.typeeq
start
231036
EventTypeeq
start
9388
EventTypeeq
exec
7547
process_basenamein
bash
9181
process_basenamein
csh
9148
process_basenamein
dash
9150
process_basenamein
fish
9151
process_basenamein
ksh
9149
process_basenamein
sh
9180
process_basenamein
tcsh
9145
process_basenamein
zsh
9180
sourcetypeeq
cisco:sfw:estreamer
732
EventTypein
exec
6180
EventTypein
ProcessRollup2
5119
EventTypein
start
5157
Imageends_with
\cmd.exe
6132
Imageends_with
\powershell.exe
6181
Imageends_with
\pwsh.exe
6166
Imageends_with
\cscript.exe
472
Imageends_with
\rundll32.exe
494
Imageends_with
\wscript.exe
474
file.extensioneq
exe
632
process_basenamewildcard
curl
528
process_basenamewildcard
perl*
522
process_basenamewildcard
python*
551
Actioneq
Blocked
45
Actioneq
Matched
45
parent_process_basenameeq
WinRAR.exe
415
process_basenameeq
ipconfig.exe
411
process_basenameeq
netsh.exe
421

Exclusions (430 distinct)

These values appear most often in top-level exclusions.

FieldKindValueRules excluding
process.code_signature.trustedeq
true
5
Imagewildcard
?:\Program Files (x86)\*.exe
3
Imagewildcard
?:\Program Files\*.exe
3
dest_ipcidr_match
10.0.0.0/8
3
dest_ipcidr_match
127.0.0.0/8
3
dest_ipcidr_match
169.254.0.0/16
3
dest_ipcidr_match
172.16.0.0/12
3
dest_ipcidr_match
192.168.0.0/16
3
process_basenameeq
rundll32.exe
3
CommandLinewildcard
*-sDEVICE=ps2write*
2
CommandLinewildcard
*/tmp/foomatic-*
2
CommandLinewildcard
*printf*
2
CommandLinewildcard
/bin/bash -c cat
2
CommandLinewildcard
/bin/bash -e -c cat
2
CommandLinewildcard
/bin/sh -e -c cat
2

Rules under this technique

These vendors publish rules tagged with this technique.

Platform (all)
Domain (all)

Sigma 35 rules

Elastic 52 rules

Splunk 16 rules

Kusto 28 rules

Panther 3 rules