| name | T1548.004_elevated-execution-with-prompt |
| description | Adversaries may leverage the <code>AuthorizationExecuteWithPrivileges</code> API to escalate privileges by prompting the user for credentials. |
| category | authorization |
| version | 18.1 |
| author | cyberstrike-official |
| tags | ["mitre-attack","enterprise","t1548.004","privilege-escalation","defense-evasion","macos","sub-technique"] |
| technique_id | T1548.004 |
| tactic | privilege-escalation |
| all_tactics | ["privilege-escalation","defense-evasion"] |
| platforms | ["macOS"] |
| mitre_url | https://attack.mitre.org/techniques/T1548/004 |
| tech_stack | ["macos"] |
| cwe_ids | ["CWE-269"] |
| chains_with | ["T1548","T1548.001","T1548.002","T1548.003","T1548.005","T1548.006"] |
| prerequisites | ["T1548"] |
| severity_boost | {"T1548":"Chain with T1548 for deeper attack path","T1548.001":"Chain with T1548.001 for deeper attack path","T1548.002":"Chain with T1548.002 for deeper attack path"} |
T1548.004 Elevated Execution with Prompt
Sub-technique of: T1548
High-Level Description
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.
Although this API is deprecated, it still fully functions in the latest releases of macOS. When calling this API, the user will be prompted to enter their credentials but no checks on the origin or integrity of the program are made. The program calling the API may also load world writable files which can be modified to perform malicious behavior with elevated privileges.
Adversaries may abuse AuthorizationExecuteWithPrivileges to obtain root privileges in order to install malicious software on victims and install persistence mechanisms. This technique may be combined with Masquerading to trick the user into granting escalated privileges to malicious code. This technique has also been shown to work by modifying legitimate programs present on the machine that make use of this API.
Kill Chain Phase
- Privilege Escalation (TA0004)
- Defense Evasion (TA0005)
Platforms: macOS
What to Check
How to Test
Manual Testing
-
Identify Attack Surface: Determine if the target environment is susceptible to Elevated Execution with Prompt by examining the target platforms (macOS).
-
Assess Existing Defenses: Review whether mitigations for T1548.004 are in place. If defenses are absent or misconfigured, this technique may be exploitable.
-
Execute Test: Use tools and methods described in the MITRE ATT&CK page and external references below.