Rapid7

module

Bypass the macOS TCC Framework

Disclosed
N/A
Created
Sep 12, 2020

Description

This module exploits a vulnerability in the TCC daemon on macOS Catalina
( manipulated (by setting the HOME environment variable) to use a new user
controlled location as the TCC database. We can then grant ourselves
entitlements by inserting them into this new database.

Authors

mattshockl
timwr

Platform

OSX

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':


msf > use post/osx/escalate/tccbypass
msf post(tccbypass) > show actions
...actions...
msf post(tccbypass) > set ACTION < action-name >
msf post(tccbypass) > show options
...show and set options...
msf post(tccbypass) > run

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.