Optimize brute-force detection using a sliding window
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 55/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Python
- Estrellas
- 1
- Forks
- 3
- Merge medio
- 47 min
- PR fusionados (30 d)
- 4
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de hrittijab/SecureOps
-
enhancement good first issue help wanted python streaming
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
-
enhancement good first issue help wanted java
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
-
good first issue help wanted java testing
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
-
help wanted java testing
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
-
dashboard enhancement good first issue help wanted python
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Todos los issues de hrittijab/SecureOps
Issues similares
-
[Bug]: streaming_end_of_stream_only guardrails rescan the whole stream on every chunk - blocks event loopPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertobug llm translation
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
arith ascend bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
tile-ai/tilelang#5173 · 2 comentarios · 1 reacción ·
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
lanl/text-fetch#92 ·
Los mantenedores suelen responder en 1 día
-
kind: for-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
monumental-archive/.github#2284 ·
Los mantenedores suelen responder en 1 día
-
good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 87/100
TanbirRamim/open-source-radar#761 ·
Los mantenedores suelen responder en 1 día