1.8 KiB
1.8 KiB
Hunt: Tuning - Guidelines
These guidelines serve as a reminder set of considerations when tuning an existing Hunt.
Documentation and Context
- Detailed description of the suggested changes.
- Provide example JSON data or screenshots.
- Evidence of enhancing hunting results by either reducing false-positives or removing false-negatives.
- Evidence of specific environment factors influencing customized hunt tuning (Contextual Tuning).
- Evidence of refining hunts to better detect deviations from typical behavior (Behavioral Tuning).
- Field Usage: Ensure standardized fields for compatibility across different data environments and sources.
Hunt Metadata Checks
author: The name of the individual or organization authoring the rule.nameanddescriptionare descriptive and typo-free.language: The query language(s) used in the rule, such asKQL,EQL,ES|QL,OsQuery, orYARA.queryis inclusive, not overly exclusive. Review to ensure the original intent of the hunt is maintained.integrationaligns with theindex. Ensure updates if the integration is newly introduced.notesincludes additional information (e.g., Triage and analysis investigation guides, timeline templates).mitrematches appropriate technique and sub-technique IDs that hunting query collect's data for.referencesare valid URL links that include information relevenat to the hunt or threat.
Testing and Validation
- Evidence of testing and valid query usage.
- Markdown Generated: Run
python -m hunting generate-markdownwith specific parameters to ensure a markdown version of the hunting TOML files is created. - Index Refreshed: Run
python -m hunting refresh-indexto refresh indexes. - Run Unit Tests: Run
pytest tests/test_hunt_data.pyto run unit tests.