TransfficFormer: A novel Transformer-based framework to generate evasive malicious traffic

IF 7.2 1区 计算机科学 Q1 COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE
Wenbiao Du , Jingfeng Xue , Xiuqi Yang , Wenjie Guo , Dujuan Gu , Weijie Han
{"title":"TransfficFormer: A novel Transformer-based framework to generate evasive malicious traffic","authors":"Wenbiao Du ,&nbsp;Jingfeng Xue ,&nbsp;Xiuqi Yang ,&nbsp;Wenjie Guo ,&nbsp;Dujuan Gu ,&nbsp;Weijie Han","doi":"10.1016/j.knosys.2025.113546","DOIUrl":null,"url":null,"abstract":"<div><div>Machine learning (ML) and deep learning (DL) have significantly improved the detection accuracy of contemporary Network Intrusion Detection Systems (NIDS), yet they remain susceptible to adversarial attacks. Current attacks against ML/DL-based NIDS primarily focus on altering feature vectors, thereby overlooking the discrete and irreversible nature of network traffic packets, which significantly limits its practical applicability. To address these challenges, we propose TransfficFormer to generate adversarial attack traffic that combines heuristic algorithm and transformer. We train a Transformer-based generator by transforming source-space features into discrete sequence autoregressive models. The three-layer particle swarm optimization algorithm with random and perception factor is utilized to optimize the generation of adversarial mutation malicious traffic with reversible metadata feature vectors. Furthermore, the discriminator feedback probability is fine-tuned using reinforcement learning strategies, ensuring the preservation of both malicious intent and normal communication functionality within the generated traffic. Comprehensive experiments demonstrate that Transfficformer can autonomously generate mutant malicious traffic, effectively evading various ML/DL-based NIDS with minimal overhead. The practicality of the generated mutant traffic is validated in the NSFOCUS cyber range.</div></div>","PeriodicalId":49939,"journal":{"name":"Knowledge-Based Systems","volume":"319 ","pages":"Article 113546"},"PeriodicalIF":7.2000,"publicationDate":"2025-04-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Knowledge-Based Systems","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0950705125005921","RegionNum":1,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0

Abstract

Machine learning (ML) and deep learning (DL) have significantly improved the detection accuracy of contemporary Network Intrusion Detection Systems (NIDS), yet they remain susceptible to adversarial attacks. Current attacks against ML/DL-based NIDS primarily focus on altering feature vectors, thereby overlooking the discrete and irreversible nature of network traffic packets, which significantly limits its practical applicability. To address these challenges, we propose TransfficFormer to generate adversarial attack traffic that combines heuristic algorithm and transformer. We train a Transformer-based generator by transforming source-space features into discrete sequence autoregressive models. The three-layer particle swarm optimization algorithm with random and perception factor is utilized to optimize the generation of adversarial mutation malicious traffic with reversible metadata feature vectors. Furthermore, the discriminator feedback probability is fine-tuned using reinforcement learning strategies, ensuring the preservation of both malicious intent and normal communication functionality within the generated traffic. Comprehensive experiments demonstrate that Transfficformer can autonomously generate mutant malicious traffic, effectively evading various ML/DL-based NIDS with minimal overhead. The practicality of the generated mutant traffic is validated in the NSFOCUS cyber range.
TransfficFormer:一种新的基于transformer的框架,用于生成规避恶意流量
机器学习(ML)和深度学习(DL)显著提高了当代网络入侵检测系统(NIDS)的检测精度,但它们仍然容易受到对抗性攻击。目前针对基于ML/ dl的NIDS的攻击主要集中在改变特征向量上,从而忽略了网络流量数据包的离散性和不可逆性,这极大地限制了其实际适用性。为了解决这些挑战,我们提出了TransfficFormer来生成对抗性攻击流量,该流量结合了启发式算法和变压器。我们通过将源空间特征转换为离散序列自回归模型来训练基于变压器的生成器。采用随机因子和感知因子相结合的三层粒子群优化算法,优化生成具有可逆元数据特征向量的对抗性突变恶意流量。此外,鉴别器反馈概率使用强化学习策略进行微调,确保在生成的流量中保留恶意意图和正常通信功能。综合实验表明,Transfficformer能够自主生成突变型恶意流量,以最小的开销有效规避各种基于ML/ dl的NIDS。在NSFOCUS网络范围内验证了生成的突变流量的实用性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Knowledge-Based Systems
Knowledge-Based Systems 工程技术-计算机:人工智能
CiteScore
14.80
自引率
12.50%
发文量
1245
审稿时长
7.8 months
期刊介绍: Knowledge-Based Systems, an international and interdisciplinary journal in artificial intelligence, publishes original, innovative, and creative research results in the field. It focuses on knowledge-based and other artificial intelligence techniques-based systems. The journal aims to support human prediction and decision-making through data science and computation techniques, provide a balanced coverage of theory and practical study, and encourage the development and implementation of knowledge-based intelligence models, methods, systems, and software tools. Applications in business, government, education, engineering, and healthcare are emphasized.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信