atlas

Research map / Adversarial robustness and security / Attacks on text and graphs

DiffuPac: Contextual Mimicry in Adversarial Packets Generation via Diffusion Model

NeurIPS 2024 · Adversarial robustness and security › Attacks on text and graphs · approach: Diffusion-based adversarial purification · 6 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes DiffuPac, a BERT-initialized DiffuSeq-style diffusion model that generates adversarial network packet sequences by blending malicious flows into contextually paired benign traffic, evaluated against NIDS without surrogate classifiers.

Problem

Existing adversarial packet generators for NIDS assume attackers know NIDS internals (surrogate classifiers, feature extractors), which is unrealistic; the paper targets evasion under limited attacker knowledge.

Approach

Combine a pre-trained BERT (masked unidirectional flow and same-sequence-origin pretraining) with a DiffuSeq-style conditional diffusion model: contextually paired benign and malicious packet sequences are concatenated, only the malicious part is noised, and BERT serves as the denoiser guided by normal packets, so generated packets mimic benign traffic without NIDS access.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use DiffuPac instead of Traffic Manipulator and TANTRAAdversarial packet generation · All six attack typesAverage MER: 6.69 percentage pointsHelped
Use DiffuPac instead of Traffic Manipulator (GAN & PSO)Adversarial packet generation · All six attack typesAverage MER: 9.12 percentage pointsHelped
Use DiffuPac instead of TANTRA (LSTM)Adversarial packet generation · All six attack typesAverage MER: 4.26 percentage pointsHelped
Increase BERT configuration from Tiny to Medium (ablation)BERT pre-training · BERT model comparisonMUM accuracy: 0.844 -> 0.905Helped
Increase BERT configuration from Tiny to Medium (ablation)BERT pre-training · BERT model comparisonSSP accuracy: 0.846 -> 0.972Helped
Replace the pre-trained BERT denoiser with a standard transformer trained from scratch (ablation)DiffuPac · Adversarial packet generationevasion effectivenessMixed

Surprising findings

Limitations

Experimental setup

Datasets: Kitsune CICIDS-2017

Benchmarks: Kitsune CICIDS-2017

Metrics: Malicious traffic Evasion Rate (MER) precision recall F1 out-of-distribution rate (K-S test)

Baselines: Traffic Manipulator (GAN & PSO) TANTRA (LSTM)

Builds on: DiffuSeq BERT ET-BERT Traffic Manipulator TANTRA

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy