Update README.md
Browse files
README.md
CHANGED
|
@@ -6,7 +6,8 @@ tags:
|
|
| 6 |
- cybersecurity
|
| 7 |
- mitre-attack
|
| 8 |
- ioc-extraction
|
| 9 |
-
-
|
|
|
|
| 10 |
pretty_name: Astraea Unified Threat Dataset v4
|
| 11 |
size_categories: 100K<n<1M
|
| 12 |
task_categories:
|
|
@@ -16,50 +17,142 @@ task_categories:
|
|
| 16 |
|
| 17 |
# Astraea Unified Threat Dataset (v4)
|
| 18 |
|
| 19 |
-
Developed by **Auren Research**, **Astraea Unified Threat (v4)** is a
|
| 20 |
|
| 21 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
|
| 23 |
---
|
| 24 |
|
| 25 |
## Dataset Profile
|
| 26 |
|
| 27 |
-
| Metric | Value |
|
| 28 |
|---|---|---|
|
| 29 |
-
| **Total
|
| 30 |
-
| **Class
|
| 31 |
-
| **Mean
|
| 32 |
-
| **Validated IOC
|
| 33 |
-
| **MITRE
|
| 34 |
-
| **
|
| 35 |
-
| **
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
|
| 37 |
---
|
| 38 |
|
| 39 |
## Technical Features
|
| 40 |
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
|
|
|
|
|
|
| 44 |
|
| 45 |
---
|
| 46 |
|
| 47 |
## Data Schema
|
| 48 |
|
| 49 |
-
Each row contains 12 structured columns
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 63 |
|
| 64 |
---
|
| 65 |
|
|
@@ -71,5 +164,6 @@ Each row contains 12 structured columns for unified multi-head architecture trai
|
|
| 71 |
author = {Auren Research},
|
| 72 |
year = {2026},
|
| 73 |
publisher = {Hugging Face},
|
| 74 |
-
howpublished = {\url{
|
| 75 |
-
}
|
|
|
|
|
|
| 6 |
- cybersecurity
|
| 7 |
- mitre-attack
|
| 8 |
- ioc-extraction
|
| 9 |
+
- phishing-detection
|
| 10 |
+
- log-analysis
|
| 11 |
pretty_name: Astraea Unified Threat Dataset v4
|
| 12 |
size_categories: 100K<n<1M
|
| 13 |
task_categories:
|
|
|
|
| 17 |
|
| 18 |
# Astraea Unified Threat Dataset (v4)
|
| 19 |
|
| 20 |
+
Developed by **Auren Research**, **Astraea Unified Threat (v4)** is a production-balanced telemetry dataset for fine-tuning multi-task encoder architectures such as [`answerdotai/ModernBERT`](https://huggingface.co/answerdotai/ModernBERT-base) and [`chandar-lab/NeoBERT`](https://huggingface.co/chandar-lab/NeoBERT).
|
| 21 |
|
| 22 |
+
Each example is a structured security log or email payload with task-specific prefixes (for example, `[TASK=LOG_CLS]`), enabling a single model to perform log triage, IOC extraction, MITRE ATT&CK mapping, attack-chain classification, and phishing detection.
|
| 23 |
+
|
| 24 |
+
---
|
| 25 |
+
|
| 26 |
+
## Files
|
| 27 |
+
|
| 28 |
+
| File | Rows | Size | Purpose |
|
| 29 |
+
|---|---:|---:|---|
|
| 30 |
+
| `train.parquet` | 220,295 | ~84 MB | Primary training split |
|
| 31 |
+
| `val.parquet` | 31,843 | ~14 MB | Validation for log classification and IOC NER |
|
| 32 |
+
| `test.parquet` | 20,000 | ~22 MB | Held-out public phishing benchmark |
|
| 33 |
+
| `astraea-unified-threat.parquet` | 270,263 | ~127 MB | Legacy unified export (optional) |
|
| 34 |
+
|
| 35 |
+
**Recommended for training:** use `train.parquet`, `val.parquet`, and `test.parquet`. The unified file does not include all rows from the split release (2,971 additional training examples and a task-aware partition are only in the split files).
|
| 36 |
|
| 37 |
---
|
| 38 |
|
| 39 |
## Dataset Profile
|
| 40 |
|
| 41 |
+
| Metric | Value | Notes |
|
| 42 |
|---|---|---|
|
| 43 |
+
| **Total rows (splits)** | 272,138 | train + val + test |
|
| 44 |
+
| **Class balance (`is_malicious`)** | **44.2% malicious** | Globally balanced across splits |
|
| 45 |
+
| **Mean anomaly score** | 0.443 | Continuous target in [0.0, 1.0] |
|
| 46 |
+
| **Validated IOC spans** | 1,134,937 | Character offsets verified on IOC rows |
|
| 47 |
+
| **MITRE coverage** | 19 techniques, 10 tactics | On `mitre_classification` rows |
|
| 48 |
+
| **Log types** | 21 | Windows, Linux, cloud, EDR, network, IAM, K8s, WAF, email, and more |
|
| 49 |
+
| **Sources** | 23 | Synthetic telemetry + public phishing |
|
| 50 |
+
| **Language** | English | Standard telemetry and email syntax |
|
| 51 |
+
| **Format** | Parquet | Columnar, Hugging Face–compatible |
|
| 52 |
+
|
| 53 |
+
---
|
| 54 |
+
|
| 55 |
+
## Train / Validation / Test Splits
|
| 56 |
+
|
| 57 |
+
Splits are **task-aware** and **leakage-safe**: no overlapping `text` values across train, val, or test.
|
| 58 |
+
|
| 59 |
+
### `train.parquet` (220,295 rows)
|
| 60 |
+
|
| 61 |
+
| Task prefix | `label_type` | Rows |
|
| 62 |
+
|---|---|---:|
|
| 63 |
+
| `[TASK=LOG_CLS]` | `log_classification` | 126,805 |
|
| 64 |
+
| `[TASK=IOC_NER]` | `ioc_extraction` | 48,231 |
|
| 65 |
+
| `[TASK=MITRE]` | `mitre_classification` | 24,650 |
|
| 66 |
+
| `[TASK=ATTACK_CHAIN]` | `attack_chain` | 12,000 |
|
| 67 |
+
| `[TASK=PHISH]` | `phishing_detection` | 8,609 |
|
| 68 |
+
|
| 69 |
+
Use for fine-tuning all supported tasks. Includes synthetic phishing (`synthetic_email`) plus adversarial and false-positive hard negatives.
|
| 70 |
+
|
| 71 |
+
### `val.parquet` (31,843 rows)
|
| 72 |
+
|
| 73 |
+
| Task prefix | `label_type` | Rows |
|
| 74 |
+
|---|---|---:|
|
| 75 |
+
| `[TASK=LOG_CLS]` | `log_classification` | 24,405 |
|
| 76 |
+
| `[TASK=IOC_NER]` | `ioc_extraction` | 7,438 |
|
| 77 |
+
|
| 78 |
+
Focused on **network and supply-chain telemetry** (netflow, CI/CD, HTTP, firewall, DNS). Malicious rate for log classification is **~19.1%** (vs. ~4.3% in train), providing a harder validation signal than random sampling.
|
| 79 |
+
|
| 80 |
+
### `test.parquet` (20,000 rows)
|
| 81 |
+
|
| 82 |
+
| Task prefix | `label_type` | Rows |
|
| 83 |
+
|---|---|---:|
|
| 84 |
+
| `[TASK=PHISH]` | `phishing_detection` | 20,000 |
|
| 85 |
+
|
| 86 |
+
All rows are from **`public_phishing`** (Seven Phishing Email Datasets). Use this split for real-world phishing evaluation only.
|
| 87 |
+
|
| 88 |
+
> **Note:** MITRE and attack-chain tasks currently have no dedicated test split. Hold out a subset of `train.parquet` or report metrics on validation data for those tasks.
|
| 89 |
+
|
| 90 |
+
---
|
| 91 |
+
|
| 92 |
+
## Supported Tasks
|
| 93 |
+
|
| 94 |
+
| Task | Head type | Label columns | Eval split |
|
| 95 |
+
|---|---|---|---|
|
| 96 |
+
| Log triage | Sequence classification | `is_malicious` | `val` |
|
| 97 |
+
| IOC extraction | Token classification (NER) | `ioc_spans` | `val` |
|
| 98 |
+
| MITRE mapping | Multi-label classification | `mitre_tactic`, `mitre_technique` | train holdout |
|
| 99 |
+
| Attack chain | Sequence / multi-label classification | `attack_stage` | train holdout |
|
| 100 |
+
| Phishing detection | Sequence classification | `is_malicious` | `test` |
|
| 101 |
|
| 102 |
---
|
| 103 |
|
| 104 |
## Technical Features
|
| 105 |
|
| 106 |
+
- **2026 threat-vector telemetry:** Simulated enterprise attack surfaces including NHI/service-account abuse, CI/CD and OAuth compromise patterns, cloud audit anomalies, EDR alerts, and generative-AI-style spearphishing artifacts.
|
| 107 |
+
- **Benign background baseline:** Large volumes of benign Windows, Linux, database, cloud, and EDR telemetry to reduce false-positive saturation in production-like settings.
|
| 108 |
+
- **Malicious augmentations:** Additional malicious Windows, Linux, EDR, cloud, and netflow examples (not present in the legacy unified export) so models cannot rely on log-type shortcuts.
|
| 109 |
+
- **Token boundary fuzzing:** IPs, domains, hashes, and filenames are randomized across examples to encourage behavioral pattern learning over memorization.
|
| 110 |
+
- **Public holdout:** All 20,000 public phishing emails are isolated in `test.parquet` for unbiased evaluation.
|
| 111 |
|
| 112 |
---
|
| 113 |
|
| 114 |
## Data Schema
|
| 115 |
|
| 116 |
+
Each row contains 12 structured columns:
|
| 117 |
+
|
| 118 |
+
| Column | Type | Description |
|
| 119 |
+
|---|---|---|
|
| 120 |
+
| `row_id` | int64 | Row index **within each split file** (not a global ID across files) |
|
| 121 |
+
| `text` | string | Log stream or email payload; primary model input |
|
| 122 |
+
| `source` | string | Provenance label (e.g. `synthetic_cloud`, `public_phishing`) |
|
| 123 |
+
| `label_type` | string | Task router (`log_classification`, `ioc_extraction`, etc.) |
|
| 124 |
+
| `mitre_tactic` | string | MITRE ATT&CK tactic or `none` |
|
| 125 |
+
| `mitre_technique` | string | MITRE technique ID (e.g. `T1059.001`) or `none` |
|
| 126 |
+
| `ioc_spans` | JSON string | Span annotations: `[{"start": int, "end": int, "type": str, "value": str}]` |
|
| 127 |
+
| `anomaly_score` | float | Continuous score in [0.0, 1.0] |
|
| 128 |
+
| `attack_stage` | string | Kill-chain stage label(s) |
|
| 129 |
+
| `is_malicious` | bool | Binary threat label |
|
| 130 |
+
| `log_type` | string | Telemetry subtype (e.g. `windows_event`, `kubernetes`, `iam`) |
|
| 131 |
+
| `metadata` | JSON string | Ancillary provenance fields |
|
| 132 |
+
|
| 133 |
+
### IOC span types
|
| 134 |
+
|
| 135 |
+
`ip`, `domain`, `email`, `filename`, `hash_md5`, `hash_sha256`, `hash_sha1`, `punycode`, `registry_key`
|
| 136 |
+
|
| 137 |
+
---
|
| 138 |
+
|
| 139 |
+
## Quick Start
|
| 140 |
+
|
| 141 |
+
```python
|
| 142 |
+
from datasets import load_dataset
|
| 143 |
+
|
| 144 |
+
# Load from a local directory or Hugging Face Hub
|
| 145 |
+
train = load_dataset("parquet", data_files="train.parquet", split="train")
|
| 146 |
+
val = load_dataset("parquet", data_files="val.parquet", split="train")
|
| 147 |
+
test = load_dataset("parquet", data_files="test.parquet", split="train")
|
| 148 |
+
|
| 149 |
+
# Example: log classification
|
| 150 |
+
logs = train.filter(lambda x: x["label_type"] == "log_classification")
|
| 151 |
+
print(logs[0]["text"])
|
| 152 |
+
print(logs[0]["is_malicious"])
|
| 153 |
+
```
|
| 154 |
+
|
| 155 |
+
For multi-task fine-tuning, pass the full `text` field (including the `[TASK=...]` prefix) to models such as ModernBERT, and use task-specific classification or token heads keyed on `label_type`.
|
| 156 |
|
| 157 |
---
|
| 158 |
|
|
|
|
| 164 |
author = {Auren Research},
|
| 165 |
year = {2026},
|
| 166 |
publisher = {Hugging Face},
|
| 167 |
+
howpublished = {\url{https://huggingface.co/auren-research/astraea-unified-threat}}
|
| 168 |
+
}
|
| 169 |
+
```
|