Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Assesses macOS for privilege escalation via the AuthorizationExecuteWithPrivileges credential prompt, mapped to MITRE ATT&CK T1548.004.
61% 96%+35 ptsof test cases passed
Passed 22 of 23 test cases with the skill, and 14 of 23 without it.
3 of 3 safety checks passed
8 agent runs
Sub-technique of: T1548
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.
Platforms: macOS
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.
Note: No Atomic Red Team tests available for this technique. See Atomic Red Team GitHub for updates.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.