Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Application Security

End of Bibblio RCM includes -->

Researchers Find Significant Vulnerabilities in macOS Privacy Protections

Attacks require executing code on a system but foil Apple's approach to protecting private data and systems files.

BLACK HAT USA 2021 - Applications that are allowed to run on Apple's operating system, macOS, can exceed the permissions granted to them by the user and the operation system, allowing a variety of privacy attacks, such as grabbing address book information, taking screenshots, and gaining access to system files, two researchers stated at a Black Hat USA briefing on Aug. 4.

The researchers — Csaba Fitzl with Offensive Security and Wojciech Regula with SecuRing — found more than a score of vulnerabilities and insecure configurations that allowed the duo to bypass the core mechanism for protecting user privacy — Apple's Transparency, Consent, and Control (TCC) privacy framework. The researchers used malicious plug-ins and process injection into third-party applications — among other approaches — to attack the TCC daemon and give their proof-of-concept attack full permissions on the system.

The two researchers reported the issues to Apple and many of them have been fixed. However, the security weaknesses are not just Apple's problem but also represent issues that third-party software makers need to fix, said Offensive Security's Fitzl during the presentation at Black Hat USA.

"There are too many Apple binaries with exceptions to access private data, which opens up the platform for abuses," he said. "Many, many third-party applications are vulnerable to injection attacks, so if those applications have access to private resources, then those resources are vulnerable."

While the vulnerabilities are not exploitable remotely by themselves, similar issues have been used by attackers to bypass system protections on sensitive data. By convincing the user to run code on their system, the vulnerabilities can be exploited to bypass much of the data security built into Apple's macOS, iOS, and tvOS.

In May, Apple fixed issues in its macOS and tvOS that were exploited in the wild, allowing a malware program, known as XCSSET, to take screenshots and grab Safari browser cookies without requiring user permission. Bypassing privacy permissions on Apple's operation systems has become increasingly popular, as the typical permission request to the user through a dialog box will often tip them off to malware running on the system.

However, bypassing TCC is not a skeleton key to the system. Ransomware, for example, will not be able to encrypt system files following a TCC bypass — the attacker needs to do more, said SecuRing's Regula.

"Ransomware cannot encrypt privacy protected files because they are not only read protected, but write protected," he said.

Security for macOS is based on the System Integrity Protection (SIP) framework, which restricts access to many of the directories, even from a user with root privileges. TCC is based on SIP and provides the mechanism for protecting private data from access. Users interact with the TCC when they use privacy controls found in the Security & Privacy tab of the System Preferences control panel or when a permissions dialog box appears because an application wants to access private data or a private feature, such as the camera.

"TCC limits access to certain data, so that, for example, a malicious application cannot access your desktop or your address book," Regula said during the presentation.

The researchers discovered a variety of ways to gain access to applications or features that have the capability to make TCC changes, and through that method make their own malicious changes to permissions.

In one attack chain, the researchers used a malicious plug-in for the macOS Directory Utility, which keeps track of the user's home directory information, NFSHomeDirectory, to inject code into the process and update the TCC database with fake permissions. In another attack chain, the researchers found a variety of vulnerable system and third-party applications with permissions to change the TCC database and used process injection to change permissions and entitlements.

Veteran technology journalist of more than 20 years. Former research engineer. Written for more than two dozen publications, including CNET News.com, Dark Reading, MIT's Technology Review, Popular Science, and Wired News. Five awards for journalism, including Best Deadline ... View Full Bio

Comment  | 
Print  | 
More Insights
//Comments
Newest First  |  Oldest First  |  Threaded View
Edge-DRsplash-10-edge-articles
I Smell a RAT! New Cybersecurity Threats for the Crypto Industry
David Trepp, Partner, IT Assurance with accounting and advisory firm BPM LLP,  7/9/2021
News
Attacks on Kaseya Servers Led to Ransomware in Less Than 2 Hours
Robert Lemos, Contributing Writer,  7/7/2021
Commentary
It's in the Game (but It Shouldn't Be)
Tal Memran, Cybersecurity Expert, CYE,  7/9/2021
Register for Dark Reading Newsletters
White Papers
Video
Cartoon
Current Issue
Everything You Need to Know About DNS Attacks
It's important to understand DNS, potential attacks against it, and the tools and techniques required to defend DNS infrastructure. This report answers all the questions you were afraid to ask. Domain Name Service (DNS) is a critical part of any organization's digital infrastructure, but it's also one of the least understood. DNS is designed to be invisible to business professionals, IT stakeholders, and many security professionals, but DNS's threat surface is large and widely targeted. Attackers are causing a great deal of damage with an array of attacks such as denial of service, DNS cache poisoning, DNS hijackin, DNS tunneling, and DNS dangling. They are using DNS infrastructure to take control of inbound and outbound communications and preventing users from accessing the applications they are looking for. To stop attacks on DNS, security teams need to shore up the organization's security hygiene around DNS infrastructure, implement controls such as DNSSEC, and monitor DNS traffic
Flash Poll
How Enterprises are Developing Secure Applications
How Enterprises are Developing Secure Applications
Recent breaches of third-party apps are driving many organizations to think harder about the security of their off-the-shelf software as they continue to move left in secure software development practices.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2023-33196
PUBLISHED: 2023-05-26
Craft is a CMS for creating custom digital experiences. Cross site scripting (XSS) can be triggered by review volumes. This issue has been fixed in version 4.4.7.
CVE-2023-33185
PUBLISHED: 2023-05-26
Django-SES is a drop-in mail backend for Django. The django_ses library implements a mail backend for Django using AWS Simple Email Service. The library exports the `SESEventWebhookView class` intended to receive signed requests from AWS to handle email bounces, subscriptions, etc. These requests ar...
CVE-2023-33187
PUBLISHED: 2023-05-26
Highlight is an open source, full-stack monitoring platform. Highlight may record passwords on customer deployments when a password html input is switched to `type="text"` via a javascript "Show Password" button. This differs from the expected behavior which always obfuscates `ty...
CVE-2023-33194
PUBLISHED: 2023-05-26
Craft is a CMS for creating custom digital experiences on the web.The platform does not filter input and encode output in Quick Post validation error message, which can deliver an XSS payload. Old CVE fixed the XSS in label HTML but didn’t fix it when clicking save. This issue was...
CVE-2023-2879
PUBLISHED: 2023-05-26
GDSDB infinite loop in Wireshark 4.0.0 to 4.0.5 and 3.6.0 to 3.6.13 allows denial of service via packet injection or crafted capture file