# Detection Engineering and Tuning

> Design, write, test and tune detections: Sigma, SPL, KQL, Elastic, YARA and Suricata, with the tuning and validation habits that keep a SOC trustworthy.

Canonical: https://codelivly.com/learning-paths/detection-engineering-and-tuning
Last updated: 2026-11-23

| | |
|---|---|
| Level | Intermediate |
| Category | Cybersecurity |
| Rooms | 6 |
| Lessons | 33 |
| Estimated time | 22 h 5 min |

This path moves you from reading alerts to building the rules that raise them. Six rooms cover the detection lifecycle, Sigma, the three major query languages, YARA and Suricata, tuning without blinding yourself, and validating rules against recorded telemetry. Every lesson has a terminal exercise on realistic log files and scenario questions that need judgment.

## Rooms in this path

1. [Detection Lifecycle and Use Case Design](https://codelivly.com/rooms/detection-lifecycle-and-use-case-design) - Turn a threat report into a testable detection requirement: lifecycle, ATT&CK mapping, log readiness checks, detection…
2. [Sigma Rules in Depth](https://codelivly.com/rooms/sigma-rules-in-depth) - Read, write, correlate and convert Sigma rules: logsource and condition logic, modifiers, correlation types, backend…
3. [SPL, KQL and Elastic Query Mastery](https://codelivly.com/rooms/spl-kql-and-elastic-query-mastery) - Read and write the same detection in SPL, Kusto KQL and Elastic: filters, stats, joins and lookups, time windows, first…
4. [YARA and Suricata for the SOC](https://codelivly.com/rooms/yara-and-suricata-for-the-soc) - Turn case indicators into a YARA file rule and Suricata network rules, test them against samples and eve.json, and read…
5. [Tuning and False Positive Management](https://codelivly.com/rooms/tuning-and-false-positive-management) - Measure a noisy rule, cut its volume with tightly scoped exceptions, prove the true positives still fire and ship the…
6. [Validating Detections Against Recorded Telemetry](https://codelivly.com/rooms/validating-detections-against-recorded-telemetry) - Prove that detection rules work: replay labelled recorded events, find coverage gaps and blind spots, monitor rule and…

## Related

- [Career path: SOC Analyst Level 2](https://codelivly.com/career-paths/soc-analyst-level-2)
- [Capstone: Operation NIGHT HERON](https://codelivly.com/learning-paths/capstone-operation-night-heron)
- [Objectives, Detection Review and Reporting](https://codelivly.com/learning-paths/objectives-detection-review-and-reporting)
- [Active Directory Operations](https://codelivly.com/learning-paths/active-directory-operations-for-red-teams)
