Optimize brute-force detection using a sliding window
まだ誰も着手していません。
評価
調査の方向性
Start with detection/rules/brute_force.py and trace how authentication failures are ordered, grouped by account, and used to select alert evidence. Check the existing detection tests before changing the scan so the five-event threshold, 60-second boundary, and one-alert-per-account behavior stay clear. Add boundary and unsorted-input tests, then compare the current and revised approaches on reproducible synthetic data; done means the criteria pass and existing detection tests still pass.
索引モデルが issue の本文から書いたものです。
説明
Problem
The brute-force detection rule repeatedly scans the remaining authentication failures for each possible starting event.
This can result in quadratic processing complexity for large event collections.
Relevant File
detection/rules/brute_force.py
Suggested Implementation
Investigate a sliding-window or two-pointer approach to reduce repeated scanning.
Acceptance Criteria
- Avoid repeatedly scanning the remaining event collection.
- Preserve the existing five-event threshold.
- Preserve the existing 60-second window semantics.
- Preserve alert structure and evidence selection.
- Preserve the existing one-alert-per-account behavior.
- Add tests for window boundaries and unsorted input.
- Demonstrate the improvement using reproducible synthetic data.
- Existing detection tests continue to pass.
- 主要言語
- Python
- スター
- 1
- フォーク
- 3
- 平均マージ
- 47分
- マージ済み PR(30日)
- 4
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
hrittijab/SecureOps のほかの issue
-
enhancement good first issue help wanted python streaming
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
enhancement good first issue help wanted java
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
good first issue help wanted java testing
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
-
help wanted java testing
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
dashboard enhancement good first issue help wanted python
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
hrittijab/SecureOps の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
bad-antics/lateralus-lang#1623 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
fossguild/thelifesnake#82 ·
メンテナーはふだん 1 日以内に返信
-
Unfitted DialectClassifier crashes with a confusing ValueError: raise a clear "not fitted" errorオープンgood first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
omarelshamy25x/shamy-arabic-nlp#111 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
pietbarber/Manage2Soar#1189 ·
メンテナーはふだん 1 日以内に返信
-
BUG: write_netcdf fails on Tutorial 3 BEM output with pandas CategoricalDtype DOF coordinates対応中かも @dtgaebe が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
sandialabs/WecOptTool#467 ·