غلاف مسار Detection Engineering
كل المسارات

~/roadmaps/الأمن الدفاعي

Detection Engineering

Write, test, and tune high-signal detections.

المحطات: 19متقدّم ~55h

جارٍ تحميل الخريطة…

Detection Engineering Roadmap: خطوة بخطوة

عدد الخطوات بالترتيب: 19. افتح أي خطوة في الخريطة أعلاه لتتبّع تقدّمك وتدوين ملاحظاتك.

Orientation

  1. 1.Start here

    Start· مبتدئ· ~0.5h

    Detection engineering is building, testing and maintaining the rules that find attackers in your logs. This roadmap suits SOC analysts ready to write detections. You need SIEM basics and a lab with logs.

    • Have a lab SIEM with endpoint logs
    • Know basic query syntax
    • Plan your study time

Core skills

  1. 2.Detection lifecycle

    Concept· متقدّم· ~2h

    Good detections follow a lifecycle: idea, research, development, testing, deployment, tuning and retirement. Frameworks like Palantir's ADS make each detection documented and reviewable.

    • Describe each stage of the detection lifecycle
    • Document a detection with the ADS framework
    • Plan reviews and retirement

    الأدوات والتقنيات: Detection

  2. 3.Telemetry requirements

    Concept· متقدّم· ~3h

    A detection is only possible if the right data is collected. Start from the technique, then find which data sources and fields reveal it.

    • Map techniques to data sources using ATT&CK
    • Identify missing telemetry
    • Request specific log fields, not "all logs"

    الأدوات والتقنيات: Detection

  3. 4.ATT&CK coverage mapping

    Concept· متقدّم· ~4h

    Mapping detections to MITRE ATT&CK shows which techniques you would see and where the gaps are.

    • Tag detections with ATT&CK techniques
    • Visualize coverage in ATT&CK Navigator
    • Prioritize gaps by threat relevance

    الأدوات والتقنيات: Detection

  4. 5.Sigma fundamentals

    Tool· متقدّم· ~2h

    Sigma is a generic, vendor-neutral rule format for log detections. Rules are converted to your SIEM's query language.

    • Read and write Sigma rules
    • Use log sources and modifiers correctly
    • Convert rules to your SIEM

    الأدوات والتقنيات: Detection

  5. 6.KQL / query languages

    Lab· متقدّم· ~3h

    SIEMs use query languages such as KQL, SPL or Lucene. Fluency in one lets you explore data, write detections and investigate quickly.

    • Filter, aggregate and join data
    • Use time windows and thresholds
    • Optimize queries for performance

    الأدوات والتقنيات: Detection

  6. 7.Behavioral vs IOC detections

    Concept· متقدّم· ~4h

    Indicators (IPs, hashes, domains) are easy to change; behaviors are much harder for attackers to change. The Pyramid of Pain explains why behavioral detections last longer.

    • Explain the Pyramid of Pain
    • Convert an IOC-based detection into a behavioral one
    • Know when IOCs are still useful

    الأدوات والتقنيات: Detection

  7. 8.Tuning detections and managing false positives

    Concept· متقدّم· ~2h

    A detection that fires too often gets ignored. Tuning uses allow-lists, context and thresholds without blinding the rule to real attacks.

    • Measure alert precision
    • Tune with narrow, documented exceptions
    • Review exceptions regularly

    الأدوات والتقنيات: Detection

  8. 9.Atomic testing

    Tool· متقدّم· ~3h

    Atomic tests are small, safe simulations of attacker techniques used to check whether a detection fires.

    • Run Atomic Red Team tests safely in a lab
    • Link each test to a detection
    • Record results

    الأدوات والتقنيات: Detection

Advanced practice

  1. 10.Detection-as-code

    Concept· متقدّم· ~4h

    Detection-as-code stores rules in Git, reviews changes through pull requests, and deploys automatically — bringing software engineering discipline to detections.

    • Keep rules in version control
    • Use pull requests and peer review
    • Deploy rules automatically

    الأدوات والتقنيات: Detection

  2. 11.CI for detections

    Lab· متقدّم· ~2h

    Continuous integration checks every rule change: syntax validation, conversion tests and replaying sample events so broken rules never reach production.

    • Validate rule syntax automatically
    • Test rules against sample events
    • Block merges when tests fail

    الأدوات والتقنيات: Detection

  3. 12.Threat intel driven detections

    Concept· متقدّم· ~3h

    Threat intelligence tells you which actors and techniques target organizations like yours, so you build the detections that matter first.

    • Read threat reports for relevant techniques
    • Prioritize detections by threat relevance
    • Track which intel led to which rule

    الأدوات والتقنيات: Detection

  4. 13.Endpoint detections

    Tool· متقدّم· ~4h

    Endpoint telemetry — process creation, network connections, file and registry changes — is the richest source for detecting attacker behavior.

    • Configure Sysmon or EDR telemetry
    • Detect suspicious process chains
    • Reduce noise with parent/child context

    الأدوات والتقنيات: Detection

  5. 14.Identity detections

    Concept· متقدّم· ~2h

    Identity attacks — password spraying, token theft, privilege escalation — are detected from authentication and directory logs.

    • Detect password spraying and brute force
    • Detect unusual privilege assignments
    • Use identity protection signals

    الأدوات والتقنيات: Detection

  6. 15.Cloud detections

    Concept· متقدّم· ~3h

    Cloud detections watch control-plane logs for risky API calls, new credentials and data exposure.

    • Detect disabled logging and new access keys
    • Detect public exposure of data
    • Use managed findings as inputs

    الأدوات والتقنيات: Detection

  7. 16.Improving detections with purple team exercises

    Lab· متقدّم· ~4h

    Purple team exercises test detections against realistic technique simulations and feed the results straight into new or improved rules.

    • Plan tests with a red or purple team
    • Record detected, partially detected and missed
    • Turn misses into backlog items

    الأدوات والتقنيات: Detection

  8. 17.Retiring and maintaining old detections

    Tool· متقدّم· ~2h

    Over time detections break, go silent or become irrelevant. Regular review finds rules that never fire, always fire, or depend on missing data.

    • Find silent and broken rules
    • Retire or rewrite outdated detections
    • Schedule periodic reviews

    الأدوات والتقنيات: Detection

Assessment

  1. 18.Skills checkpoint

    Checkpoint· متقدّم· ~2h

    Check that you can take a detection from idea to tested, documented, deployed rule.

    • Identify telemetry and write a rule
    • Test it with an atomic simulation
    • Tune and document it

Capstone

  1. 19.Detection Engineering — ready

    Finish· متقدّم· ~1h

    You can now engineer detections professionally. Continue with Threat Intelligence, Purple Team or Cloud Detection & Response.

    • Keep your detection repository
    • Choose your next roadmap
    • Share a detection write-up

تابع التعلّم

مسارات ذات صلة