|
Download README.md from Neerajsangwan/agentic-pcap: direct link, hf CLI and curl.
- Browser
- Download file 13.3 kB
-
https://huggingface.co/datasets/Neerajsangwan/agentic-pcap/resolve/main/README.md
- Command line
-
hf download hf://datasets/Neerajsangwan/agentic-pcap/README.md
-
curl -L -o README.md https://huggingface.co/datasets/Neerajsangwan/agentic-pcap/resolve/main/README.md
13.3 kB
| pretty_name: Agentic LLMs for Network Attack Detection | |
| language: | |
| - en | |
| license: cc-by-4.0 | |
| tags: | |
| - cybersecurity | |
| - network-security | |
| - packet-capture | |
| - intrusion-detection | |
| - agentic-ai | |
| configs: | |
| - config_name: capture_metadata | |
| data_files: | |
| - split: benchmark | |
| path: metadata/captures.csv | |
| dataset_info: | |
| - config_name: capture_metadata | |
| features: | |
| - name: run_id | |
| dtype: string | |
| - name: traffic_condition | |
| dtype: | |
| class_label: | |
| names: | |
| "0": low_background | |
| "1": generated_high_background | |
| - name: capture_kind | |
| dtype: | |
| class_label: | |
| names: | |
| "0": attack | |
| "1": benign | |
| - name: benchmark_label | |
| dtype: | |
| class_label: | |
| names: | |
| "0": Attack 1 | |
| "1": Attack 2 | |
| "2": Attack 3 | |
| "3": Attack 4 | |
| "4": Attack 5 | |
| "5": Attack 6 | |
| "6": Attack 7 | |
| "7": Attack 8 | |
| "8": Attack 9 | |
| "9": Attack 10 | |
| "10": Attack 11 | |
| "11": No attack detected | |
| - name: public_class_name | |
| dtype: | |
| class_label: | |
| names: | |
| "0": TCP ACK flood using IP fragmentation | |
| "1": ARP spoofing | |
| "2": DNS flood | |
| "3": FIN scan | |
| "4": ICMP fragmentation flood | |
| "5": NULL scan | |
| "6": TCP SYN port scan (nmap -sS) | |
| "7": Slowloris | |
| "8": UDP fragmentation flood | |
| "9": UDP scan | |
| "10": Xmas scan | |
| "11": Benign | |
| - name: file_size_mib | |
| dtype: float64 | |
| - name: pcap_path | |
| dtype: string | |
| - name: file_size_bytes | |
| dtype: int64 | |
| splits: | |
| - name: benchmark | |
| num_examples: 44 | |
| # Agentic LLMs for Network Attack Detection | |
| > **Can a tool-using LLM agent independently investigate a raw network capture | |
| > and identify an attack?** | |
| > | |
| > **How do model choice, reasoning configuration, prompt guidance, and | |
| > background traffic change the investigation and its final decision?** | |
| This Hugging Face repository is the canonical research release for our | |
| experimental evaluation of autonomous network-traffic investigation with | |
| agentic LLMs. It brings together the dataset, recorded investigations, | |
| aggregate results, documentation, and citation metadata. | |
| Given only the path to a packet-capture (PCAP) file and natural-language | |
| descriptions of 11 possible attacks, the agent selects and executes its own | |
| packet-analysis queries, adapts them to successive observations, and returns | |
| one capture-level decision. It receives no precomputed packet features or | |
| traffic summary. | |
| ## Project resources | |
| - [**View the MIT-licensed benchmark code on GitHub**](https://github.com/maureille/agentic-pcap) | |
| - [**Explore the interactive results and investigation dashboard**](https://agentic-pcap.aureille.org/) | |
| The Hugging Face release is the primary source for the complete experimental | |
| description and artifacts. The GitHub repository focuses on the software, | |
| reproduction workflow, and GitHub Pages implementation. | |
| The release contains: | |
| - 44 thirty-minute PCAPs covering low and generated high background traffic; | |
| - 11 attack classes and corresponding benign captures; | |
| - six prompt variants with different levels of investigation guidance; | |
| - 18 model/reasoning configurations; | |
| - all 4,752 complete agent sessions, including prompts, tool use, observations, | |
| and final decisions. | |
| Because the complete investigation trajectories are preserved, not only the | |
| final predictions, the dataset can also support analysis of agent behavior, | |
| query selection, prompt guidance, failure modes, token consumption, and | |
| reproducibility. | |
| ## Results and dashboard | |
| The | |
| [GitHub Pages results portal](https://agentic-pcap.aureille.org/) | |
| presents the interactive benchmark results, all seven result figures, and the | |
| complete session dashboard. It is the single web entry point for viewing | |
| results; no download is required. | |
| An accompanying manuscript by Matthieu Aureille and Jan Fesl has been submitted | |
| for peer review. It is not currently public; a link will be added when a public | |
| version becomes available. | |
| ## Dataset | |
| The benchmark contains 44 packet-capture (PCAP) files. Each capture spans | |
| 30 minutes. | |
| The captures are split into two traffic conditions: | |
| - **Low background traffic:** only the scenario traffic and the testbed's | |
| normal idle activity are present; no additional background traffic is | |
| generated. | |
| - **Generated high background traffic:** automatically generated benign | |
| activity, including external downloads, is added to produce larger and | |
| noisier captures. | |
| | Traffic condition | Attack captures | Benign captures | Total size | | |
| |---|---:|---:|---:| | |
| | Low background traffic | 11 | 11 | 1.47 GiB | | |
| | Generated high background traffic | 11 | 11 | 71.86 GiB | | |
| | **Total** | **22** | **22** | **73.33 GiB** | | |
| The attack captures cover 11 classes. Agents were given the generic labels | |
| `Attack 1` through `Attack 11` together with natural-language descriptions of | |
| observable behavior. The public class names are provided in the metadata for | |
| interpretation. Benign captures use the expected output `No attack detected`. | |
| In the metadata viewer, capture sizes are shown in mebibytes (`file_size_mib`, | |
| where 1 MiB = 1,048,576 bytes). The exact byte count is retained in | |
| `file_size_bytes`. | |
| ## Recorded investigations | |
| The release contains all 4,752 investigations included in the accompanying | |
| study: 18 model/reasoning configurations, six prompt variants, and 44 captures | |
| (264 investigations per configuration). In each session directory: | |
| - `final_answer.txt` contains the capture-level decision; | |
| - `prompt.md` contains the submitted investigation prompt; | |
| - `session_export.json`, `.md`, and `.html` contain the recorded session. | |
| ## Prompt variants | |
| Every prompt variant was applied to all 44 captures. The attack descriptions | |
| and required output labels remain unchanged; only the level of investigation | |
| guidance differs. | |
| | Variant | Artifact directory | Information given to the agent | | |
| |---|---|---| | |
| | P0 | `P0_signature` | Simple attack signatures only | | |
| | P1 | `P1_observables` | Signatures and relevant traffic indicators to inspect | | |
| | P2 | `P2_differential` | Signatures and guidance for distinguishing similar classes | | |
| | P3 | `P3_workflow` | Signatures and a high-level investigation workflow | | |
| | P4 | `P4_evidence_policy` | Signatures, required evidence, and disqualifying observations | | |
| | P5 | `P5_full` | All information from P0–P4 | | |
| No variant gives the agent a complete executable command sequence or a value | |
| computed from the PCAP. The exact submitted prompt is retained as `prompt.md` | |
| in every session. | |
| ## Released configurations | |
| Each model/reasoning setting contains 264 investigations: 44 captures × six | |
| prompt variants. Settings listed together in one row have separate artifact | |
| directories and 264 investigations each. | |
| | Serving path | Model | Architecture | Reported total / active parameters | Reasoning configuration(s) | Investigations | | |
| |---|---|---|---:|---|---:| | |
| | Local open-weight, vLLM | Qwen 3.5 9B BF16 | Dense | 9B | Thinking disabled / enabled | 528 (264 per setting) | | |
| | Local open-weight, vLLM | Gemma 4 12B IT BF16 | Dense | 11.95B | Thinking disabled / enabled | 528 (264 per setting) | | |
| | Local open-weight, vLLM | Qwen 3.6 27B BF16 | Dense | 27B | Thinking disabled / enabled | 528 (264 per setting) | | |
| | Local open-weight, vLLM | Gemma 4 31B IT BF16 | Dense | 30.7B | Thinking disabled / enabled | 528 (264 per setting) | | |
| | Local open-weight, vLLM | Qwen 3.6 35B-A3B BF16 | Mixture of experts | 35B / 3B active | Thinking disabled / enabled | 528 (264 per setting) | | |
| | Local open-weight, vLLM | gpt-oss-120b MXFP4 | Mixture of experts | 117B / 5.1B active | Provider default | 264 | | |
| | Open-weight, external API | Mistral Medium 3.5 | Dense | 128B | Effort none / high | 528 (264 per setting) | | |
| | Open-weight, external API | DeepSeek V4 Flash | Mixture of experts | 284B / 13B active | Effort max | 264 | | |
| | Open-weight, external API | MiMo V2.5 | Mixture of experts | 310B / 15B active | Effort high | 264 | | |
| | Open-weight, external API | MiniMax M3 | Mixture of experts | ≈428B / ≈23B active | Provider default | 264 | | |
| | Open-weight, external API | GLM 5.2 | Mixture of experts | 744B / 40B active | Provider default | 264 | | |
| | Proprietary API reference | GPT-5.5 | Undisclosed | Undisclosed | Effort xhigh | 264 | | |
| `B` denotes billions of parameters, `IT` denotes instruction-tuned, `BF16` | |
| denotes bfloat16 serving precision, and `MXFP4` denotes a microscaling 4-bit | |
| floating-point format. | |
| ## Files | |
| | Path | Contents | | |
| |---|---| | |
| | `data/pcaps/low_background/` | 22 low-background captures | | |
| | `data/pcaps/generated_high_background/` | 22 generated-high-background captures | | |
| | `metadata/captures.csv` | One row per capture, including label, condition, path, and size | | |
| | `metadata/condition_summary.csv` | Capture counts and sizes by traffic condition | | |
| | `artifacts/primary_runs/ALL_MODELS/` | 4,752 complete investigation sessions | | |
| | `artifacts/primary_runs/ALL_MODELS_SUMMARIES/` | Per-prompt and global result tables and dashboards | | |
| | `artifacts/primary_runs/ALL_MODELS_SUMMARIES/manifest.json` | Machine-readable index of the summary artifacts | | |
| | `SHA256SUMS` | SHA-256 checksums for the 44 PCAP files | | |
| ## Download | |
| Install the Hugging Face command-line client: | |
| ```bash | |
| python3 -m pip install --upgrade huggingface_hub | |
| ``` | |
| Download the complete dataset: | |
| ```bash | |
| hf download maureille/agentic-pcap \ | |
| --repo-type dataset \ | |
| --local-dir agentic-pcap-dataset | |
| ``` | |
| Download one capture: | |
| ```bash | |
| hf download maureille/agentic-pcap \ | |
| data/pcaps/low_background/attack/run1234.pcap \ | |
| --repo-type dataset \ | |
| --local-dir agentic-pcap-dataset | |
| ``` | |
| Download only the recorded sessions and summaries: | |
| ```bash | |
| hf download maureille/agentic-pcap \ | |
| --repo-type dataset \ | |
| --include "artifacts/primary_runs/**" \ | |
| --local-dir agentic-pcap-results | |
| ``` | |
| Verify a complete download on macOS: | |
| ```bash | |
| cd agentic-pcap-dataset | |
| shasum -a 256 -c SHA256SUMS | |
| ``` | |
| On Linux, use `sha256sum -c SHA256SUMS`. | |
| ## Collection and safety | |
| The traffic was generated in an emulated GNS3 testbed. All attack traffic was | |
| confined to that testbed. No traffic from human users was collected, and the | |
| released PCAPs contain no credentials or other sensitive information. | |
| The dataset is intended for offline research on capture-level attack detection | |
| and agent investigations. It is not a production intrusion-detection system. | |
| Its scope is limited to the published topology, traffic generation process, and | |
| 11 attack classes. | |
| ## Citation | |
| If you use these PCAPs or the recorded investigation artifacts, please cite the | |
| [Hugging Face dataset](https://huggingface.co/datasets/maureille/agentic-pcap) | |
| and reference the | |
| [GitHub code repository](https://github.com/maureille/agentic-pcap). | |
| **Suggested citation** | |
| > M. Aureille and J. Fesl, “Agentic LLMs for Network Attack Detection,” | |
| > version 1.0.0, Hugging Face dataset, 2026. [Online]. Available: | |
| > https://huggingface.co/datasets/maureille/agentic-pcap | |
| **BibTeX** | |
| ```bibtex | |
| @misc{aureille2026agentic, | |
| author = {Matthieu Aureille and Jan Fesl}, | |
| title = {Agentic LLMs for Network Attack Detection}, | |
| year = {2026}, | |
| howpublished = {Hugging Face dataset}, | |
| note = {Version 1.0.0}, | |
| url = {https://huggingface.co/datasets/maureille/agentic-pcap} | |
| } | |
| ``` | |
| Machine-readable dataset citation metadata is available in `CITATION.cff`. | |
| ## License | |
| This project uses separate licenses for its data and software components: | |
| - **Dataset and experimental artifacts - CC BY 4.0.** The PCAP files, capture | |
| metadata, natural-language attack descriptions, submitted prompt content, | |
| recorded agent sessions, final decisions, aggregate result tables, figures, | |
| and benchmark data embedded in the GitHub Pages site are licensed under the | |
| [Creative Commons Attribution 4.0 International License](https://creativecommons.org/licenses/by/4.0/). | |
| See the root `LICENSE` file for the complete terms. | |
| - **Software - MIT.** The benchmark runner, orchestration and scoring scripts, | |
| prompt-generation code, dashboard-generation code, and GitHub Pages | |
| presentation software are licensed under the MIT License. The complete MIT | |
| terms are provided in the | |
| [GitHub code repository](https://github.com/maureille/agentic-pcap). | |
| ### Attribution and redistribution | |
| Reuse, redistribution, modification, and commercial use of the dataset and | |
| experimental artifacts are permitted under CC BY 4.0. When sharing this | |
| dataset or a modified version, credit Matthieu Aureille and Jan Fesl, link to | |
| the canonical Hugging Face release and the CC BY 4.0 license, and indicate | |
| whether changes were made. | |
| Unofficial mirrors and derivative releases should be clearly identified as | |
| such and link back to the canonical release. | |
| Across the GitHub Pages site, the HTML/CSS/JavaScript presentation software is | |
| covered by MIT, while the investigation records, metrics, tables, and figures | |
| embedded in the pages remain covered by CC BY 4.0. | |
| Copyright © 2026 Matthieu Aureille and Jan Fesl. | |