Skip to content

new: TCC Permissions Reset Via Tccutil - #6362

Open
Varunpoojari wants to merge 2 commits into
SigmaHQ:masterfrom
Varunpoojari:rule/tccutil-reset
Open

Varunpoojari wants to merge 2 commits into
SigmaHQ:masterfrom
Varunpoojari:rule/tccutil-reset

Conversation

@Varunpoojari

Copy link
Copy Markdown

Summary of the Pull Request

Adds a macOS rule detecting tccutil resetting TCC permissions for AppleEvents or for all services.

macOS infostealers such as Banshee run tccutil reset AppleEvents to clear prior consent decisions and re-trigger automation prompts (Check Point Research, 2025). LOOBins lists tccutil with "no detections at time of publishing", and no existing SigmaHQ rule covers it. Tagged T1548.006 (TCC Manipulation, ATT&CK v19.2).

Tested on macOS using Apple's built-in eslogger (exec events) to confirm field values:

  • Image: /usr/bin/tccutil
  • CommandLine: tccutil reset <Service> <bundle-id>

The rule matches reset AppleEvents / reset All and deliberately excludes other services (e.g. SystemPolicyAllFiles, Camera). Validated locally with sigma check (SigmaHQ validation config), tests/test_rules.py and tests/test_logsource.py, all passing.

Changelog

new: TCC Permissions Reset Via Tccutil

Example Log Event

Fixed Issues

SigmaHQ Rule Creation Conventions

  • If your PR adds new rules, please consider following and applying these conventions

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

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Welcome @Varunpoojari 👋

It looks like this is your first pull request on the Sigma rules repository!

Please read the SigmaHQ conventions to ensure your contribution adheres to best practices and includes all the necessary elements for a successful review.

Also check CONTRIBUTING.md for more information on how to contribute to the Sigma rules repository, specifically proper testing and validation of your rules.

Thanks again, and welcome to the Sigma community! 😃

If you want to engage more with the community for official support, general discussions or announcements:

👉 Join our Discord server

@Varunpoojari

Copy link
Copy Markdown
Author

Hi maintainers, a friendly ping on this rule whenever someone has capacity. It's my first Sigma contribution. I validated it locally with sigma check, tests/test_rules.py and tests/test_logsource.py, and confirmed the field values on macOS using eslogger. I'm happy to adjust the detection logic, add false-positive notes, or change the metadata based on feedback. Thanks for your time!

This branch has not been deployed

No deployments
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