macOS

New Shrootless Bug Allow Hackers To Bypass SIP & Install Rootkits in macOS

Microsoft recently discovered a new macOS vulnerability dubbed as “Shrootless”, this vulnerability allows threat actors to bypass SIP (System Integrity Protection) and install rootkits in macOS.

In macOS, SIP (System Integrity Protection) is one of the protection functions, and it is responsible for limiting the operations that compromise system integrity by the root user.

While they have also detected a technique through which a threat actor can easily elevate their privileges to root a vulnerable Mac system. Even they have also noted that SIP can be bypassed and arbitrary operations can be executed on the compromised system.

Shrootless Vulnerability

The Shrootless vulnerability is tracked under the CVE-2021-30892 identifier by the experts of Microsoft, which resides in the macOS software installation daemon (system_installd).

During the evaluation of Apple’s process of bypassing SIP protection, this vulnerability was identified, and it has been noticed that there is a problem with:- 

How does Apple sign packages

Apple’s post-install scripts

Apple’s installed scripts

To fully bypass SIP filesystem restrictions, the system_installd daemon that had the com.apple.rootless.install.inheritable entitlement allows the threat actors to execute their actions successfully.

A principal security researcher at Microsoft, Jonathan Bar Or stated:-

“We found that the vulnerability lies in how Apple-signed packages with post-install scripts are installed. A malicious actor could create a specially crafted file that would hijack the installation process. After bypassing SIP’s restrictions, the attacker could then install a malicious kernel driver (rootkit), overwrite system files, or install persistent, undetectable malware, among others.”

Threat actors can easily bypass SIP by creating a malicious /etc/zshenv file and then waiting for system_installd to invoke the zsh. Since at the /etc/zshenv the macOS installation daemon always looks for the shell.

Moreover, the Microsoft Security Vulnerability Research (MSVR) has already reported this security flaw to Apple, and Apple promptly released the security patch for this vulnerability two days ago, on October 26.

You can follow us on LinkedinTwitterFacebook for daily Cybersecurity updates

Balaji N

BALAJI is an Ex-Security Researcher (Threat Research Labs) at Comodo Cybersecurity. Editor-in-Chief & Co-Founder - Cyber Security News & GBHackers On Security.

Recent Posts

GitAuto Strengthens Code Security By Automating QA At Scale

In the current software landscape, security breaches caused by untested or poorly tested code are…

36 minutes ago

Cybersecurity in Mergers and Acquisitions – CISO Focus

Cybersecurity in mergers and acquisitions is crucial, as M&A activities represent key inflection points for…

2 hours ago

Top Cybersecurity Trends Every CISO Must Watch in 2025

In 2025, cybersecurity trends for CISOs will reflect a landscape that is more dynamic and…

2 hours ago

Zero Trust Architecture – A CISO’s Blueprint for Modern Security

Zero-trust architecture has become essential for securing operations in today’s hyper-connected world, where corporate network…

2 hours ago

Chrome 136 Released With Patch For 20-Year-Old Privacy Vulnerability

The Chrome team has officially promoted Chrome 136 to the stable channel for Windows, Mac,…

3 hours ago

SecAI Debuts at RSA 2025, Redefining Threat Investigation with AI

By fusing agentic AI and contextual threat intelligence, SecAI transforms investigation from a bottleneck into…

13 hours ago