Cyber Security News

macOS Gatekeeper Security Feature Bypassed to Execute Malicious Code

Security researchers at Palo Alto Networks’ Unit 42 have uncovered significant vulnerabilities in macOS’s Gatekeeper security mechanism.

This discovery reveals how certain third-party applications and even some of Apple’s native command-line tools can inadvertently bypass Gatekeeper, potentially allowing malicious code to run unchecked on macOS systems.

Gatekeeper, a crucial security feature in macOS, is designed to ensure that only trusted software runs on the system. It achieves this by validating applications downloaded from outside the Apple App Store, confirming they are from verified developers and have not been tampered with.

However, the research shows that this protective measure can be circumvented due to inconsistencies in how some applications handle a specific metadata attribute called “com.apple.quarantine”.

How to Choose an ultimate Managed SIEM solution for Your Security Team -> Download Free Guide (PDF)

The quarantine attribute is automatically added to newly downloaded files on macOS. When a user attempts to run a file with this attribute, Gatekeeper is triggered to perform its security checks.

However, researchers found that certain third-party utilities related to archiving, virtualization, and some of Apple’s command-line tools do not properly enforce or propagate this attribute.

Among the vulnerable applications identified were popular archiving tools such as iZip, Archiver, BetterZip, WinRAR, and the 7z Utility. These applications failed to maintain the quarantine attribute when extracting files from various archive formats, including ZIP, TAR, and 7Z.

Additionally, VMware Fusion was found to drop the quarantine attribute when copying files from a host machine to a guest macOS virtual machine.

Perhaps most surprisingly, some of Apple’s own native command-line tools, including curl, SCP, Unzip, and tar, do not enforce the quarantine attribute on downloaded or extracted files. This oversight in Apple’s own utilities underscores the complexity of maintaining a robust security ecosystem.

The implications of these findings are significant. Without the quarantine attribute, Gatekeeper does not scan the files, potentially allowing malicious code to execute without the user’s knowledge or consent.

Attackers could exploit this vulnerability to bypass macOS’s built-in security measures and run harmful software on target systems.

Some developers have already begun addressing the issue in response to these findings. BetterZip, Archiver, and iZip have announced updates to their software to properly handle the quarantine attribute.

However, the broader issue of relying on third-party compliance for system-wide security remains a concern.

Users are advised to exercise caution when using third-party applications and to ensure their systems are up-to-date with the latest security patches. Meanwhile, Apple and third-party developers must work diligently to address these vulnerabilities and strengthen the overall security of the macOS ecosystem.

Free Webinar on How to Protect Small Businesses Against Advanced Cyberthreats -> Watch Here

Guru Baran

Gurubaran KS is a cybersecurity analyst, and Journalist with a strong focus on emerging threats and digital defense strategies. He is the Co-Founder and Editor-in-Chief of Cyber Security News, where he leads editorial coverage on global cybersecurity developments.

Recent Posts

Hackers Target AI Infrastructure With RCE, Prompt Injection and API Key Theft

Hackers are actively probing AI systems, turning exposed gateways and agent tools into routes for…

4 hours ago

Hackers Make Phishing Pages Change Their Code Every Time Someone Opens Them

Hackers are making some phishing pages harder to track by changing the code delivered to…

4 hours ago

Iran-Linked Hackers Reportedly Knock UK Power Plant Offline for Four Days

A cyber incident reportedly forced a British power plant to halt operations for about four…

5 hours ago

Russian Hackers Use New HOOKEDGE Malware to Spy on European Defense and Diplomatic Targets

Russian hackers have used a new backdoor called HOOKEDGE to target defense manufacturers, government bodies,…

6 hours ago

Ransomware Gang Claims AI Can Analyze 700GB of Stolen Data Every Hour

TITAN ransomware is pairing file encryption with an ambitious claim: artificial intelligence that can sort…

6 hours ago

Hackers Compromise Hundreds of WordPress Sites to Deploy Amatera Stealer via ClickFix

A fake student resume is being used to place a remote-access tool on researchers’ Windows…

7 hours ago