Adversaries may leverage the AuthorizationExecuteWithPrivileges API to escalate privileges by prompting the user for credentials.1 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.234 This technique may be combined with Masquerading to trick the user into granting escalated privileges to malicious code.56 This technique has also been shown to work by modifying legitimate programs present on the machine that make use of this API.7
- AppleDocs AuthorizationExecuteWithPrivileges
- Death by 1000 installers; it's all broken!
- Carbon Black Shlayer Feb 2019
- OSX Coldroot RAT
- Death by 1000 installers; it's all broken!
- Carbon Black Shlayer Feb 2019
- Death by 1000 installers; it's all broken!
使用该技术的组织
参考表中尚无组织使用记录。
断言
尚无指向该技术的公开断言。
记录自动入库·未人工复核;置信度与有效期按引用读取。