Skip to content
Back to skills

Ics Flow Eval

ASecurity

Evaluates machine learning models' ability to detect and classify cyberattacks in Industrial Control Systems (ICS) network traffic. It probes the capability to distinguish between normal operations and specific attack types like DDoS, IP-Scan, MitM, Port-Scan, and Replay using flow-level features. Use when the user wants to benchmark on ICS-Flow, or asks about evaluating this task. Reports F1-score.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 11, 2026
datapythongo

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill ics-flow-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ics Flow Eval?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ics Flow Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-ics-flow-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-ics-flow-eval)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ics-flow-eval
description: Evaluates machine learning models' ability to detect and classify cyberattacks in Industrial Control Systems (ICS) network traffic. It probes the capability to distinguish between normal operations and specific attack types like DDoS, IP-Scan, MitM, Port-Scan, and Replay using flow-level features. Use when the user wants to benchmark on ICS-Flow, or asks about evaluating this task. Reports F1-score.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2305.09678
  bibtex_key: [REDACTED]
  confidence: high
---

# ics-flow-eval

> Anomaly Detection Dataset for Industrial Control Systems — Dehlaghi-Ghadim et al. (2023) (arXiv:2305.09678, 2023)

## What this evaluates

Evaluates machine learning models' ability to detect and classify cyberattacks in Industrial Control Systems (ICS) network traffic. It probes the capability to distinguish between normal operations and specific attack types like DDoS, IP-Scan, MitM, Port-Scan, and Replay using flow-level features.

## Datasets

- **ICS-Flow** — total ?; splits: test (-1)

## Metrics

- `F1-score` **(primary)** — range: [0, 1]
  - Harmonic mean of precision and recall: 2 * (precision * recall) / (precision + recall). Calculated per class and typically macro-averaged to handle imbalanced datasets.
- `Accuracy` — range: [0, 1]
  - Ratio of correctly classified instances to the total number of instances.

## Input / output format

**Input**: Network flow records or feature vectors extracted from ICS network traffic.

**Output**: Categorical label indicating the flow type: Normal, DDoS, IP-Scan, MitM, Port-Scan, or Replay.

## Scoring recipe

```python
def compute_f1(predictions, gold):
    tp = fp = fn = 0
    for p, g in zip(predictions, gold):
        if p == g == 'positive': tp += 1
        elif p == 'positive' and g != 'positive': fp += 1
        elif p != 'positive' and g == 'positive': fn += 1
    prec = tp / (tp + fp) if (tp + fp) > 0 else 0
    rec = tp / (tp + fn) if (tp + fn) > 0 else 0
    return 2 * prec * rec / (prec + rec) if (prec + rec) > 0 else 0
```

## Common pitfalls

- Relying solely on accuracy can be misleading due to class imbalance; the paper explicitly notes F1-score is more reliable for imbalanced classes.
- Individual flow analysis cannot differentiate between attacks sharing similar network processes (e.g., IP-Scan vs. Port-Scan/Replay/MitM due to ARP poisoning), leading to high misclassification rates for those specific classes.

## Evidence (verbatim from paper)

> Despite this, the ML methods effectively identified normal flows, as evidenced by their F1-score exceeding 0.99. The high F1-score for DDoS attack identification was expected since DDoS flows are easily detectable by monitoring massive packets and connections during the attack. Conversely, the F1-scores for IP-scan, Port-Scan, MitM, and Replay attack indicate that accurately classifying flows into the correct attack types is a non-trivial task, especially for IP-Scan with an F1-score of only 0.52.

## Citation

```bibtex
@misc{dehlaghighadim2023icsflow,
  title={Anomaly Detection Dataset for Industrial Control Systems},
  author={Dehlaghi-Ghadim et al. (2023)},
  year={2023},
  note={arXiv:2305.09678}
}
```

- arXiv: 2305.09678

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.