Repository navigation
Conversation
Co-authored-by: Cursor <cursoragent@cursor.com>
|
Starting the rule tests ... |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request
Issue link(s): None
Summary - What I changed
Adds three new detection rules and tunes two existing rules for Linux Atomic Red Team coverage gaps reviewed in batches
linux-atomic-2026-11-30-01andlinux-atomic-2026-11-30-02.Atomic coverage
4097bc00-5eeb-4d56-aaf9-287d60351d95;T1110.001Password Guessing.562aa072-524e-459a-ba2b-91f1afccf5ab;T1136.002Domain Account.a54d497e-8dbe-4558-9895-44944baa395f;T1087.002Domain Account.3a41f169-a5ab-407f-9269-abafdb5da6c2;T1217Browser Information Discovery. This broadens the incoming macOS concept from [New Rules] macOS BBRs for Sensitive File Collection via Find and Remote File Transfer #7221 to equivalent Linux behavior.9c096ec4-fd42-419d-a762-d64cc950627e;T1553.004Install Root Certificate.The new directory-account and find rules are building blocks because the observed commands are useful correlation context but can be legitimate administrative activity. The sudo ES|QL rule correlates repeated timestamp resets and stdin password submissions by host and parent process.
How To Test
python -m detection_rules toml-lint -f <rule>for all five changed files.python -m detection_rules validate-rule <rule>for all five changed files; all passed.git diff --check; passed.python -m detection_rules test: 321 passed and 109 skipped. One unrelated existing-rule schema failure remains forGitHub Token Clone Push or ZIP from Unusual ASN(asn.asnis unknown in the local GitHub integration schema).Checklist
Rule: NewandRule: Tuninglabels.