You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+30Lines changed: 30 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,19 @@ The validation workflow is driven by `/tests/validation_cases.json` and executed
21
21
- Positive fixtures ensure each rule fires on the intended attack sample.
22
22
- Negative fixtures ensure the same rule does not fire on curated benign activity.
23
23
- The dataset folder includes Mordor-style logs and lightweight lab fixtures formatted as Sysmon-like JSON/JSONL for deterministic CI validation.
24
+
- Enriched fixtures such as `mordor_lsass_dump.json` and `schtasks_create.json` contain small event sequences instead of a single alerting row, so rules are tested with realistic context.
25
+
26
+
## Repository Layout
27
+
28
+
```text
29
+
rules/sigma/ Sigma detection rules
30
+
tests/dataset/ Positive and negative datasets
31
+
tests/validation_cases.json
32
+
tools/validate_datasets.py
33
+
tools/run_sigma_cli.py Offline-safe sigma wrapper
34
+
tools/build_sigma.py Build helper for SIEM outputs
`tools/run_sigma_cli.py` is used instead of calling `sigma` directly so the project can run in restricted environments without depending on user-profile cache paths or live MITRE metadata downloads.
63
+
49
64
### 3. Run Sigma syntax checks
50
65
```bash
51
66
python tools/run_sigma_cli.py check rules/sigma/
@@ -94,6 +109,19 @@ Doğrulama akışı `/tests/validation_cases.json` ile tanımlanır ve `python t
94
109
- Pozitif fixture’lar her kuralın hedeflenen saldırı örneğinde tetiklendiğini doğrular.
95
110
- Negatif fixture’lar aynı kuralın benign aktivitede tetiklenmediğini doğrular.
96
111
- Dataset klasörü, deterministik CI doğrulaması için Mordor tarzı loglar ve Sysmon benzeri JSON/JSONL formatında hafif lab fixture’ları içerir.
112
+
-`mordor_lsass_dump.json` ve `schtasks_create.json` gibi zenginleştirilmiş fixture’lar tek event yerine küçük bir event akışı içerir; böylece kurallar daha gerçekçi bağlamda test edilir.
`sigma` komutunu doğrudan çağırmak yerine `tools/run_sigma_cli.py` kullanılıyor; bunun nedeni kısıtlı ortamlarda kullanıcı profilindeki cache dizinlerine veya canlı MITRE metadata indirmelerine bağımlı kalmamak.
0 commit comments