pradeep-xpert commited on
Commit
3ad06d2
·
verified ·
1 Parent(s): 6143441

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +65 -12
README.md CHANGED
@@ -28,6 +28,16 @@ Dataset** product. It contains roughly **~10% of the full dataset** at
28
  identical schema, MITRE ATT&CK tactic coverage, and statistical fingerprint,
29
  so you can evaluate fit before licensing the full product.
30
 
 
 
 
 
 
 
 
 
 
 
31
  | File | Rows (sample) | Rows (full) | Description |
32
  |----------------------------|---------------|---------------|----------------------------------------------|
33
  | `soc_topology.csv` | ~25 | ~2,400 | SOC / analyst registry |
@@ -61,6 +71,45 @@ lifecycles across enterprise detection environments, with:
61
  - **Rule drift modeling** — periodic rule-noise amplification simulating
62
  detection-engineering signal decay
63
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
64
  ## Calibrated Benchmark Targets
65
 
66
  The full product is calibrated to 12 benchmark validation tests drawn from
@@ -136,8 +185,10 @@ and SOC registry schemas respectively.
136
 
137
  ## Suggested Use Cases
138
 
139
- - Training **alert triage** models — predict true_positive vs false_positive
140
- - **MITRE ATT&CK tactic classification** from alert features
 
 
141
  - **SOAR playbook recommendation** — predict which alerts benefit from
142
  automation
143
  - **Alert prioritization** — calibrate triage scores against ground-truth
@@ -146,7 +197,7 @@ and SOC registry schemas respectively.
146
  workload
147
  - **Kill-chain detection** — group related alerts into multi-stage
148
  incidents
149
- - **SLA breach prediction** — early-warning systems for at-risk alerts
150
  - **Alert storm detection** — distinguish coordinated bursts from baseline
151
  volume
152
  - **False positive reduction** modeling — reduce 45% FP rate
@@ -166,23 +217,25 @@ topology = pd.read_csv("soc_topology.csv")
166
  enriched = alerts.merge(topology, on=["soc_id", "analyst_id"], how="left",
167
  suffixes=("", "_analyst"))
168
 
169
- # Binary true-positive classification target
 
 
 
170
  y_tp = alerts["resolution_outcome"].isin([
171
- "true_positive_remediated",
172
- "true_positive_escalated",
173
- "incident_declared",
174
  ]).astype(int)
175
 
176
- # Multi-class ATT&CK tactic classification target
177
  y_tactic = alerts["mitre_tactic"]
178
 
179
- # Binary SLA breach prediction target
180
  y_sla = alerts["sla_breached_flag"]
181
-
182
- # Per-incident severity classification
183
- y_severity = incidents["incident_severity"]
184
  ```
185
 
 
 
 
 
186
  ## License
187
 
188
  This **sample** is released under **CC-BY-NC-4.0** (free for non-commercial
 
28
  identical schema, MITRE ATT&CK tactic coverage, and statistical fingerprint,
29
  so you can evaluate fit before licensing the full product.
30
 
31
+ > 🤖 **Trained baseline available:**
32
+ > [**xpertsystems/cyb008-baseline-classifier**](https://huggingface.co/xpertsystems/cyb008-baseline-classifier)
33
+ > — XGBoost + PyTorch MLP for **5-class SOC alert triage outcome
34
+ > classification** (the README's first headline use case), stratified
35
+ > split, multi-seed evaluation (ROC-AUC 0.955 ± 0.003). **Includes a
36
+ > structural-leakage diagnostic** documenting three oracle columns
37
+ > dropped from the feature set, and a separate unlearnable-target
38
+ > finding for MITRE ATT&CK tactic classification. Buyers planning
39
+ > SOC ML work should read the diagnostic first.
40
+
41
  | File | Rows (sample) | Rows (full) | Description |
42
  |----------------------------|---------------|---------------|----------------------------------------------|
43
  | `soc_topology.csv` | ~25 | ~2,400 | SOC / analyst registry |
 
71
  - **Rule drift modeling** — periodic rule-noise amplification simulating
72
  detection-engineering signal decay
73
 
74
+ ## Trained Baseline Available
75
+
76
+ A working baseline classifier trained on this sample is published at
77
+ **[xpertsystems/cyb008-baseline-classifier](https://huggingface.co/xpertsystems/cyb008-baseline-classifier)**.
78
+
79
+ | Component | Detail |
80
+ |---|---|
81
+ | Primary task | **5-class `resolution_outcome` classification** (SOC alert triage — the README's first headline use case) |
82
+ | Diagnostic | Structural-leakage audit (3 oracle columns dropped) + unlearnable-target finding for `mitre_tactic` |
83
+ | Models | XGBoost (`model_xgb.json`) + PyTorch MLP (`model_mlp.safetensors`) |
84
+ | Features | 53 (after one-hot encoding); pipeline included as `feature_engineering.py` |
85
+ | Split | **Stratified random** — no natural row-level group key (25 analysts, 5 SOCs, only 9% of alerts link to an incident) |
86
+ | Validation | Single seed + multi-seed aggregate across 10 seeds |
87
+ | Demo | `inference_example.ipynb` — end-to-end copy-paste |
88
+ | Headline metrics | XGBoost: accuracy 0.777 ± 0.007, macro ROC-AUC 0.955 ± 0.003 (multi-seed); MLP slightly outperforms |
89
+
90
+ **Important findings for buyers planning SOC ML work:**
91
+
92
+ 1. **Three structural oracles in the data** (`alert_lifecycle_phase`,
93
+ `automation_resolved`, `escalation_flag`) deterministically encode
94
+ the `resolution_outcome` label. With these columns present, a
95
+ plain XGBoost achieves 100% accuracy. The baseline excludes them
96
+ to demonstrate honest learning — and the documented honest result
97
+ (acc 0.78, AUC 0.96) is genuinely useful.
98
+
99
+ 2. **MITRE ATT&CK tactic classification is NOT learnable on this
100
+ sample.** The README lists tactic classification as a top use case,
101
+ but feature distributions are nearly identical across all 12
102
+ tactics. A trained model performs *below* majority baseline
103
+ (acc 0.08 vs 0.14). The baseline model card documents this
104
+ explicitly with a recommendation to the dataset author.
105
+
106
+ 3. **SLA breach prediction is also not learnable** (acc 0.68 vs
107
+ majority 0.82). Documented as out-of-scope.
108
+
109
+ See the model card and `leakage_diagnostic.json` for the full audit
110
+ and our recommendations to make these tasks viable in the next
111
+ dataset version.
112
+
113
  ## Calibrated Benchmark Targets
114
 
115
  The full product is calibrated to 12 benchmark validation tests drawn from
 
185
 
186
  ## Suggested Use Cases
187
 
188
+ - Training **alert triage** models — predict TP vs FP, or full 5-class
189
+ resolution outcome (the baseline ships this)
190
+ [worked example available](https://huggingface.co/xpertsystems/cyb008-baseline-classifier)
191
+ - **MITRE ATT&CK tactic classification** from alert features (see baseline diagnostic — not learnable on this sample)
192
  - **SOAR playbook recommendation** — predict which alerts benefit from
193
  automation
194
  - **Alert prioritization** — calibrate triage scores against ground-truth
 
197
  workload
198
  - **Kill-chain detection** — group related alerts into multi-stage
199
  incidents
200
+ - **SLA breach prediction** — early-warning systems (see baseline diagnostic — not learnable on this sample)
201
  - **Alert storm detection** — distinguish coordinated bursts from baseline
202
  volume
203
  - **False positive reduction** modeling — reduce 45% FP rate
 
217
  enriched = alerts.merge(topology, on=["soc_id", "analyst_id"], how="left",
218
  suffixes=("", "_analyst"))
219
 
220
+ # 5-class triage outcome target (the README's first headline use case)
221
+ y_outcome = alerts["resolution_outcome"]
222
+
223
+ # Binary true-positive collapse (for binary triage)
224
  y_tp = alerts["resolution_outcome"].isin([
225
+ "true_positive_remediated", "true_positive_escalated",
 
 
226
  ]).astype(int)
227
 
228
+ # Multi-class ATT&CK tactic classification target — see leakage diagnostic
229
  y_tactic = alerts["mitre_tactic"]
230
 
231
+ # Binary SLA breach prediction target — see leakage diagnostic
232
  y_sla = alerts["sla_breached_flag"]
 
 
 
233
  ```
234
 
235
+ For a worked end-to-end example with 5-class triage classification,
236
+ stratified splitting, and feature engineering, see the inference notebook
237
+ in the [baseline classifier repo](https://huggingface.co/xpertsystems/cyb008-baseline-classifier/blob/main/inference_example.ipynb).
238
+
239
  ## License
240
 
241
  This **sample** is released under **CC-BY-NC-4.0** (free for non-commercial