Optimize brute-force detection using a sliding window
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 55/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Python
- Stelle
- 1
- Fork
- 3
- Merge medio
- 47m
- PR unite (30g)
- 4
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di hrittijab/SecureOps
-
enhancement good first issue help wanted python streaming
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
enhancement good first issue help wanted java
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
good first issue help wanted java testing
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
-
help wanted java testing
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
dashboard enhancement good first issue help wanted python
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
Tutte le issue di hrittijab/SecureOps
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
bad-antics/lateralus-lang#1623 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
fossguild/thelifesnake#82 ·
I maintainer di solito rispondono entro 1 giorno
-
Unfitted DialectClassifier crashes with a confusing ValueError: raise a clear "not fitted" errorApertagood first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
omarelshamy25x/shamy-arabic-nlp#111 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
pietbarber/Manage2Soar#1189 ·
I maintainer di solito rispondono entro 1 giorno
-
BUG: write_netcdf fails on Tutorial 3 BEM output with pandas CategoricalDtype DOF coordinatesForse già presa @dtgaebe l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
sandialabs/WecOptTool#467 ·