CI test harness for detection rules against `Atomic Red Team`
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 15/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Tranquilo
- Stack tecnológico
- github-actions, go
- Área
- ci-cd, security, testing-qa
Línea de trabajo
Start by reading the Fibratus alert log output and the atomic-red-team fork's technique IDs, then design the atomic-ID-to-rule mapping file the issue proposes. Build Fibratus from master and run a single atomic to confirm the log records a matching alert. Done means a push-triggered workflow runs selected atomics, reports coverage, and fails below a threshold. The open design choices (threshold, retry policy, the AV question) need maintainer input first.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Motivation
Fibratus's detection rules currently have no automated, continuous validation against real attack technique execution. As a Detection-as-Code practice, rules should be tested the same way code is, automatically, on every change, with a measurable pass/fail signal rather than validated ad hoc. This also surfaces rule regressions early: a refactor to the rules engine or an event schema change could silently break existing detections without anyone noticing until a real incident.
Expectation
A GitHub Actions workflow that, on every push to master, builds and runs the latest Fibratus, executes a curated set of Atomic Red Team techniques (including new atomics specific to process injection and privilege escalation not yet covered upstream), checks which techniques triggered a matching Fibratus alert, and reports coverage, failing the build if coverage drops below a defined threshold.
Proposal
- Atomics source. Use the fork at rabbitstack/atomic-red-team rather than upstream redcanaryco/atomic-red-team, since new atomics need to be authored there to cover process injection and privilege escalation techniques not currently present upstream
- Workflow trigger. Run on every push to
master - Pipeline steps
- Build Fibratus from the latest master
- Install it. Check for the operational status of the Fibratus service
- Clone the rabbitstack/atomic-red-team fork
- Execute the selected/tagged atomics relevant to the covered techniques, with jitter between executions (randomized delay) so techniques don't fire all at once, avoiding event bursts that could mask timing-sensitive detections or overwhelm the pipeline
- Parse the Fibratus log file for generated alerts after the run
- Match fired alerts against the executed atomics/techniques (by technique ID) to compute a coverage percentage
- Generate a report summarizing matched vs. unmatched rules and overall coverage %
- Fail the workflow if coverage falls below a configured threshold
- Upload the test harness results (report, raw Fibratus logs, per-technique pass/fail) as GitHub Actions artifacts
Additional context
- Per-technique mapping file. Maintain an explicit mapping between atomic test IDs (or MITRE ATT&CK technique/sub-technique IDs) and the Fibratus rule(s) expected to fire, so the harness knows which alert should correspond to which atomic rather than just checking "did any alert fire"
- False-positive tracking, not just coverage. Alongside true-positive coverage %, consider tracking whether benign/unrelated activity during the run triggers unexpected alerts, to catch overly broad rules
- Flaky/timing-sensitive atomics. Some atomics may require retries or longer observation windows before the corresponding event surfaces (e.g. async telemetry, delayed persistence triggers). Consider a per-technique timeout/retry policy rather than a single fixed wait
- Historical trend, not just pass/fail. Persisting coverage % over time (e.g. as a badge or trend chart from uploaded artifacts) would make regressions visible even when they don't cross the failure threshold
- Windows Defender/AV interference. Defender or other AV on the runner could intercept/quarantine atomics before Fibratus ever observes them
- Lenguaje dominante
- Go
- Estrellas
- 2.6k
- Forks
- 222
- Merge medio
- 16 h 23 min
- PR fusionados (30 d)
- 11
Preparar el entorno
- Sin Dockerfile ni 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 rabbitstack/fibratus
-
Service crashes on Windows Server 2016: "panic: sub-authority index out of range" in RidToStringAbiertotype: bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
rabbitstack/fibratus#761 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
CI: the test job has been red since September, and TestFsProcessor looks like a real mmap regressionAbiertoci
Dificultad 4/5 3-5 días Aptitud para principiantes 22/100
rabbitstack/fibratus#754 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
scope: hardering type: enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 15/100
rabbitstack/fibratus#713 ·
Los mantenedores suelen responder en 1 día
-
Add `WMI` activity telemetryAbiertoneeds: config scope: events/telemetry type: feature
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
rabbitstack/fibratus#710 ·
Los mantenedores suelen responder en 1 día
-
needs: config scope: events/telemetry type: feature
Dificultad 4/5 3-5 días Aptitud para principiantes 30/100
rabbitstack/fibratus#708 ·
Los mantenedores suelen responder en 1 día
Todos los issues de rabbitstack/fibratus
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 4 días
-
[bug] Explorer trims leading spaces on file namesPosiblemente ocupada @unshade la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
mickael-kerjean/filestash#1033 · 1 comentario ·
-
Update Tailscale dependency for Android cgo fallback fixPosiblemente ocupada @lozbrown la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
Los mantenedores suelen responder en 1 día
-
[BUG] HTTP remote call timeouts can be returned as 500Posiblemente ocupada @XnLemon la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
apache/dubbo-go-pixiu#1096 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
canonical/rockcraft#1459 · 1 comentario ·
Los mantenedores suelen responder en 2 días