elastic / detection-rules

Home Page:https://www.elastic.co/guide/en/security/current/detection-engine-overview.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Meta] Linux Tuning & Index Pattern Checks

Aegrah opened this issue · comments

Meta Summary

Many of the new Linux rules currently do not leverage all potential indices. While doing performance analysis and tuning, my second goal is to ensure that the rules compatible with other data sources, thus (endgame, auditbeat, auditd_manager) will be added to the rule index list.

Estimated Time to Complete

3 - 5 days, depending on how much time is being spent on it. This meta will be one that can be worked at whenever some additional time is available.

Notes

This round of tuning does not only focus on FP/TP analysis, but also on:

  • Compatibility;
  • Performance.

Tasklist

Meta Tasks

Pull Requests to Enable Tuning or Add Compatibility

  1. Area: DED Team: TRADE backport: auto enhancement python schema
    Aegrah
  2. Area: RAD Domain: Endpoint OS: Linux Rule: Tuning Team: TRADE backport: auto bbr
    Aegrah
  3. Area: RAD Domain: Endpoint OS: Linux Rule: Tuning Team: TRADE backport: auto
    Aegrah
  4. Area: RAD Domain: Endpoint OS: Linux Rule: Tuning Team: TRADE backport: auto bbr
    Aegrah

Linux DR Tuning Pull Requests

  1. Area: RAD Domain: Endpoint OS: Linux Rule: Tuning Team: TRADE backport: auto
    Aegrah
  2. Area: RAD Domain: Endpoint OS: Linux Rule: Tuning Team: TRADE backport: auto
    Aegrah
  3. Area: RAD Domain: Endpoint OS: Linux Rule: Tuning Team: TRADE backport: auto
    Aegrah
  4. Area: RAD Domain: Endpoint OS: Linux Rule: Tuning Team: TRADE backport: auto
    Aegrah
  5. Area: RAD Domain: Endpoint OS: Linux Rule: Tuning Team: TRADE backport: auto
    Aegrah
  6. Area: RAD Domain: Endpoint OS: Linux Rule: Tuning Team: TRADE backport: auto
    Aegrah
  7. Area: RAD Domain: Endpoint OS: Linux Rule: Tuning Team: TRADE backport: auto
    Aegrah
  8. Area: RAD Domain: Endpoint OS: Linux Rule: Tuning Team: TRADE backport: auto
    Aegrah
  9. Area: RAD Domain: Endpoint OS: Linux Rule: Tuning Team: TRADE backport: auto
    Aegrah
  10. Area: RAD Domain: Endpoint OS: Linux Rule: Tuning Team: TRADE backport: auto
    Aegrah
  11. Area: RAD Domain: Endpoint OS: Linux Rule: Tuning Team: TRADE backport: auto
    Aegrah
  12. Area: RAD Domain: Endpoint OS: Linux Rule: Tuning Team: TRADE backport: auto
    Aegrah
  13. Area: RAD Domain: Endpoint OS: Linux Rule: Tuning Team: TRADE backport: auto
    Aegrah
  14. Area: RAD Domain: Endpoint OS: Linux Rule: Tuning Team: TRADE backport: auto
    Aegrah

Linux Cross-Platform Tuning Pull Requests

  1. Area: RAD Domain: Endpoint OS: Linux Rule: Tuning Team: TRADE backport: auto
    Aegrah

Linux BBR Tuning & Promotion Pull Requests

  1. Area: RAD Domain: Endpoint OS: Linux Rule: Deprecation Rule: Tuning Team: TRADE backport: auto bbr
    Aegrah
  2. Area: RAD Domain: Endpoint OS: Linux Rule: Tuning Team: TRADE backport: auto bbr
    Aegrah
  3. Area: RAD Domain: Endpoint OS: Linux Rule: Tuning Team: TRADE backport: auto
    Aegrah

Linux ER Tuning & Promotion Pull Requests

Setup

In order to integrate auditd_manager seamlessly, we prepared for this issue by getting #3430 in. This PR removes the check for the event.action == "auditd_manager.auditd", allowing us to make the rules compatible.

In #3451 the event.action field was removed from all auditd_manager queries, and the "Data Source: Auditd Manager" tag was added.

The above rule tunings have been merged. This round of rule tuning is finished.