Clicky

AndroidPure
  • Leaks
  • News
  • Reviews
  • Updates
  • How to
No Result
View All Result
AndroidPure
  • Leaks
  • News
  • Reviews
  • Updates
  • How to
No Result
View All Result
AndroidPure
No Result
View All Result
Home News

Microsoft reveals details about how it discovered a security flaw in macOS Gatekeeper

Ashwin Karthik by Ashwin Karthik
1 month ago
in News

Microsoft has revealed how it discovered a security flaw in macOS Gatekeeper. The vulnerability has been termed as Achilles.

Microsoft reveals details about how it discovered a security flaw in macOS Gatekeeper

For those unaware, Gatekeeper is a security feature that protects your Mac, it does so by only allowing trusted software to run on it, it’s sort of like an antivirus. The security issue has been referenced as CVE-2022-42821. It has a severity rating of 5.5, which means it is a medium level threat.

Microsoft says that it analyzed the threat, and shared its findings with Apple in July through Microsoft Security Vulnerability Research, in order to help protect macOS users from potential attacks.

Apple patched the Achilles heel security flaw in macOS Ventura that was released on October 24th, and later in macOS Monterey 12.6.2 and macOS Big Sur 11.7.2, which were rolled out on December 13th. In its security notes, the Cupertino company had mentioned that the vulnerability could allow an app to bypass Gatekeeper checks, and that it a logic issue had been addressed with improved checks.

Achilles vulnerability in macOS Gatekeeper

 

How Microsoft discovered the Achilles vulnerability in macOS

That doesn’t explain much, but an article on Microsoft’s security blog goes into the details. It is a bit on the technical side, so I’ll try to simplify it here. Microsoft says that macOS devices usually get infected as a result of users running fake apps that they may have downloaded from third-party sources, i.e. outside the App Store.

When a user downloads a file through their web browser, macOS assigns an extended attribute to it called com.apple.quarantine. The browser saves the metadata of a downloaded file in the above-mentioned attribute, and it contains some information such as flag;date;agent_name;UUID.

This is used by Gatekeeper to enforce some security policies. macOS usually warns you when you are trying to install something downloaded from the internet, that’s because Gatekeeper read its extended attribute, and recognized it as an app from an unknown source. After analyzing past security vulnerabilities that were present in macOS, Microsoft security researchers identified a specific one, referenced as CVE-2021-1810. The loophole, which was patched a year ago, would create a symbolic link to an app residing in long path results (more than 886 characters). Such symbolic links didn’t have the special attribute assigned to them. The researchers looked for a way to make metadata persist over archives.

They came to know that when a file is copied, macOS uses a mechanism called AppleSingle, to add a binary blob to the contents of the file. A second mechanism, known as AppleDouble, saves the file’s metadata separately in a different file next to the original, by adding a “.” prefix. While extracting a file from an archive, macOS processes the metadata stored in the AppleDouble file, and assigns it to the target file when it is extracted.

Microsoft’s team studied the source code of the unarchiving tool, and found an extended attribute called com.apple.acl.text, that was related to Access Control Lists. ACLs are one of the ways that macOS uses to handle permissions for files, including the ability to write attributes, extended attributes, set the ownership of the file, delete the file, and even set ACLs to it.

 

The security researchers designed a proof-of-concept exploit that targeted these mechanisms. It included creating a fake directory structure, an arbitrary icon and the payload (malware). Then they created an AppleDouble file with the ACL attribute mentioned above, and set a restrictive value to it. The final step was to create an archive with the contents and host it on a server. In other words, the proof-of-concept malware was packaged in a ZIP file, and this allowed them to bypass Gatekeeper.

macOS Gatekeeper Achilles heel vulnerability

Images via Microsoft

Given the rather low severity level, and the fact that the vulnerability has been patched, I don’t think users have to be worried about it. But the proof-of-concept was definitely an interesting one. One thing that intrigued me in the Microsoft’s article was that the Lockdown Mode that debuted in macOS Ventura cannot protect users against the Achilles vulnerability, users need to update macOS to patch the flaw.

Tags: AppleMacMacOSMicrosoft
Share2Tweet1SendShare
Previous Post

Poco C50 to launch soon in India

Next Post

Samsung Galaxy F04 to launch on January 4th

Ashwin Karthik

Ashwin Karthik

Originally a Business Grad, Ashwin is a natural at testing and reviewing apps & games for Windows and Android Apps, as well as flashing ROMs. A proud owner of a Redmi K20, he is also an avid gamer and loves playing on his Computer, PS4 & Nintendo consoles.

Related Posts

OnePlus Tab design revealed Halo green colour
News

OnePlus Pad design revealed; to launch on February 7th

January 30, 2023
Infinix Note 12i
News

Infinix Note 12i with Helio G85, 50MP camera launched in India

January 26, 2023
Moto G23 Pearl White
News

Moto G23 and Moto G13 announced in Europe

January 25, 2023
Moto G73 5G Lucent White
News

Moto G73 5G with Dimensity 930, 120Hz display announced

January 24, 2023
Moto G53 5G Arctic Silver
News

Moto G53 5G with 120Hz display, 50MP camera launched in Europe

January 24, 2023
Moto G23 leaked render
Leaks

Moto G23 leaked renders reveal triple camera design

January 23, 2023

Follow Us

  • 924 Followers
  • 11.6k Subscribers

Popular

  • How to fix lags in Citra emulator on Android

    What is the Citra resolution hack? Learn how to improve FPS in 3DS games on your Android phone

    1838 shares
    Share 744 Tweet 456
  • List of phones that support 5G in India

    363 shares
    Share 145 Tweet 91
  • Moto G73 5G with Dimensity 930, 120Hz display announced

    25 shares
    Share 10 Tweet 6
  • How to install Elder Scrolls Morrowind on Android

    1541 shares
    Share 624 Tweet 382
  • How to fix pin required after phone restarts issue – random reboots?

    1613 shares
    Share 651 Tweet 401
  • How to fix the “no sound during calls” issue on the Moto G

    952 shares
    Share 381 Tweet 238
  • How to fix the Poco M3 boot loop issue or stuck on MIUI logo

    856 shares
    Share 343 Tweet 214

Latest

OnePlus Tab design revealed Halo green colour

OnePlus Pad design revealed; to launch on February 7th

January 30, 2023
Infinix Note 12i

Infinix Note 12i with Helio G85, 50MP camera launched in India

January 26, 2023
Moto G23 Pearl White

Moto G23 and Moto G13 announced in Europe

January 25, 2023
Moto G73 5G Lucent White

Moto G73 5G with Dimensity 930, 120Hz display announced

January 24, 2023
Moto G53 5G Arctic Silver

Moto G53 5G with 120Hz display, 50MP camera launched in Europe

January 24, 2023
Moto G23 leaked render

Moto G23 leaked renders reveal triple camera design

January 23, 2023
OnePlus Nord CE 3 renders

OnePlus Nord CE 3 specs leaked; Snapdragon 695, 120Hz display

January 20, 2023
AndroidPure

© 2022 AndroidPure - Non-Stop Android.

AndroidPure, founded in Feb 2012 is based at NOIDA, NCR Delhi, INDIA.

  • Privacy
  • About Us
  • Tip Us
  • Contact Us

Follow Us

No Result
View All Result
  • Leaks
  • News
  • Reviews
  • Updates
  • How to

© 2022 AndroidPure - Non-Stop Android.