PrintTCCdb
April 17, 2021 ยท View on GitHub
JXA script for Mythic that prints the TCC.db
Blog Post: https://antman1p-30185.medium.com/who-has-full-disk-access-12a523723d30
Usage:
- In Mythic, use
jsimportand upload printTCCdb.js - Use
jsimport_call{"command":"print_tccdb()"}with one of 3 paramerters- root -
jsimport_call{"command":"print_tccdb('root')"}- Lists the contents of the root TCC.db/Library/Application Support/com.apple.TCC/TCC.db - currUser -
jsimport_call{"command":"print_tccdb('currUser')"}- Lists the contents of the current user's TCC.db~/Library/Application Support/com.apple.TCC/TCC.db - A specified User -
jsimport_call{"command":"print_tccdb('CarlosSpiceyWiener')"}- Lists the contents of a specified user's TCC.db/Users/CarlosSpiceyWiener/Library/Application Support/com.apple.TCC/TCC.db
- root -
The TCC.db will print to the Mythic UI
