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

New ScriptBlock Smuggling Attack Let Ackers Bypass PowerShell Security Logs And AMSI

Ever since the introduction of PowerShell v5, there have been less usage of the application…

2 mins ago

Hackers Leveraging New Social Engineering To Run PowerShell And Install Malware

Hackers use social engineering as it focuses on the psychological rather than technological aspects of…

2 hours ago

Hackers Attacking Hotel Owners & Employees as Potential Guests

Since last summer, hotel owners and employees have grappled with a surge in malicious e-mails…

2 hours ago

New OPIX Ransomware Encrypting Files With Random Character String

A recently identified ransomware variant dubbed OPIX encrypts user files using a random character string…

3 hours ago

Empire Market Founders Charged for Operating $430 Million Dark Web Marketplace

Two men have been charged in federal court in Chicago with operating “Empire Market,” a…

4 hours ago

Multiple VMware vCenter Server Flaws Allow Remote Code Execution

VMware has released a critical security advisory, VMSA-2024-0012, addressing multiple vulnerabilities in VMware vCenter Server,…

6 hours ago