This Terminal Command Can Bypass Mac Privacy Protections

macOS terminal icon

A UNIX command line tool called “ls” can be used to bypass Mac privacy protections like TCC (Transparency, Consent, and Control) and the sandbox. This provides unauthorized access to file metadata in directories that are supposed to be protected

I continue to believe that macOS “security” is mainly theater that only impedes the law-abiding Mac software industry while posing little problem for Mac malware. It doesn’t take a genius hacker to bypass macOS privacy protections: calling “ls” is a script kiddie level attack.

It affects macOS Big Sur, Catalina, and Mojave.

Check It Out: This Terminal Command Can Bypass Mac Privacy Protections

One thought on “This Terminal Command Can Bypass Mac Privacy Protections

  • Why do an Xcode project to do:

    ls -l@ ~/Library/Safari/LocalStorage/

    It is well known that from the shell level you can do anything. In fact, Apple makes it clear in their documentation that a lot of their security measures are for programs that behave themselves.

    What are you going to get out of the information, what websites you visit? These data files are formatted by each website and the .localstorage files are Sqlite databases with a schema that is not readily apparent unless you know the innards of Safari.

    IF this is all a script kiddie can do, then this is relevant. Tell me they can read the files and get something out of them, then I will worry.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

WIN an iPhone 15 Pro Max!

Enter our epic giveaway for a chance to win the latest iPhone 15 Pro Max!