Abuse Elevation Control Mechanism: Elevated Execution with Prompt T1548.004

Tactic: Privilege Escalation

Adversaries may leverage the AuthorizationExecuteWithPrivileges API to escalate privileges by prompting the user for credentials. The purpose of this API is to give application developers an easy way to perform operations with root privileges, such as for application installation or updating. This API does not validate that the program requesting root privileges comes from a reputable source or has been maliciously modified.

Events covered

1 catalog event is tagged with this technique by at least one rule.

ProviderEventTitle
ESFexecProcess Execution

Authoring guide

These 3 rules share fields, values, and exclusions.

Fields filtered most (10 distinct)

These fields appear most often in rule filters.

FieldRulesHowSample values
event.type3in 2, eq 1start, process_started
process_name3eq 3security_authtrampoline, osascript
host.os.type2eq 2
process.Ext.effective_parent.executable2starts_with 2/Applications/, /Users/Shared/, /Volumes/, /private/tmp/, /tmp/
process.parent.code_signature.exists2eq 2false
process.parent.code_signature.trusted2eq 2false
CommandLine1wildcard 1osascript*with administrator privileges
EventType1eq 1exec
parent_process_name1wildcard 1bash, com.apple.automator.runner, dash
process.args1starts_with 1/Applications/, /Volumes/, auth

Top indicator values (28 distinct)

These values appear most often in rule predicates.

FieldKindValueRules (here)Corpus reach
event.typein
process_started
239
event.typein
start
241
process.parent.code_signature.existseq
false
225
process.parent.code_signature.trustedeq
false
226
process_nameeq
security_authtrampoline
22
process_nameeq
osascript
146
CommandLinewildcard
osascript*with administrator privileges
1
EventTypeeq
exec
1579
event.typeeq
start
11087
parent_process_namewildcard
bash
115
parent_process_namewildcard
com.apple.automator.runner
1
parent_process_namewildcard
dash
17
parent_process_namewildcard
osascript
112
parent_process_namewildcard
perl*
18
parent_process_namewildcard
php*
110
parent_process_namewildcard
pwsh
1
parent_process_namewildcard
python*
123
parent_process_namewildcard
ruby
14
parent_process_namewildcard
sh
115
parent_process_namewildcard
zsh
115
process.Ext.effective_parent.executablestarts_with
/Applications/
13
process.Ext.effective_parent.executablestarts_with
/Users/Shared/
1
process.Ext.effective_parent.executablestarts_with
/Volumes/
13
process.Ext.effective_parent.executablestarts_with
/private/tmp/
12
process.Ext.effective_parent.executablestarts_with
/tmp/
12
process.argsstarts_with
/Applications/
14
process.argsstarts_with
/Volumes/
16
process.argsstarts_with
auth
1

Rules under this technique

These vendors publish rules tagged with this technique.

Platform: macOS

Domain: Endpoint

Elastic 3 rules