Skip to content

Add rule: TCC Database File Modification - macOS - #6207

Closed
Aymwvn wants to merge 1 commit into
SigmaHQ:masterfrom
Aymwvn:add-macos-tcc-db-rule
Closed

Add rule: TCC Database File Modification - macOS#6207
Aymwvn wants to merge 1 commit into
SigmaHQ:masterfrom
Aymwvn:add-macos-tcc-db-rule

Conversation

@Aymwvn

@Aymwvn Aymwvn commented Aug 6, 2026

Copy link
Copy Markdown

Detects direct modification of TCC.db, which stores app privacy permissions (camera, mic, screen recording, full disk access). Malware can directly write to this file to silently grant itself permissions, bypassing the user consent prompt.

rules/macos/file_event/ only had 2 existing rules, so this fills a real gap in macOS coverage.

Validated with sigma check - no errors or issues.

@github-actions github-actions Bot added Rules Review Needed The PR requires review MacOS Pull request add/update macos related rules labels Aug 6, 2026

@swachchhanda000 swachchhanda000 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @Aymwvn,

Thanks for the PR. However it is not acceptable bcz of the reason you have already mentioned in falsepositives, it can trigger on both legitimate and malicious cases. Unless we add some selector or do some filtering to remove legitimate condition. I am not really comfortable with this logic that triggers on just anytime this file is created.

I am closing this PR. Feel free to reopen the PR if you can improve the detection logic.

Cheers!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

MacOS Pull request add/update macos related rules Review Needed The PR requires review Rules

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants