Get apps with Full Disk access
DiscoverymacOS
The following command interacts with the TCC (Transparency, Consent, and Control) database to show the apps that have Full Disk access permission
sqlite3 /Library/Application\ Support/com.apple.TCC/TCC.db \
'select client from access where auth_value and service = "kTCCServiceSystemPolicyAllFiles"'- Evidence
- Upstream reference
- Environment
- Local host
- Compatibility
- Imported from LOOBins; availability and behaviour depend on macOS version, privacy permissions and installed components. Not lab tested here.
- Native
- Discovery
- Detection
- Elastic Detection Rules: Potential Privacy Control Bypass via TCCDB Modification: github.com/elastic/detection-rules/blob/e9baebc2bc18f90ae16501613cd9521a16a38ad7/rules/macos/defense_evasion_privacy_controls_tcc_database_modification.tomlSplunk Security Content: Suspicious SQLite3 LSQuarantine Behavior: github.com/splunk/security_content/blob/c65dda5c0aa73a97f28c49c20739971ec1ba18a6/dev/endpoint/suspicious_sqlite3_lsquarantine_behavior.yml#L2Jamf Protect: Detect SQLite3 activity used to associated URLs with downloaded files: github.com/jamf/jamfprotect/blob/main/custom_analytic_detections/sqlite3_downloads