Taking over malicious connection in half way by migrating protocol state to a user-level TCP stack

Qi Tang, Chao Zheng, Qiuwen Lu, Wei Yang, Qingsheng Yuan, Xunxun Chen
{"title":"Taking over malicious connection in half way by migrating protocol state to a user-level TCP stack","authors":"Qi Tang, Chao Zheng, Qiuwen Lu, Wei Yang, Qingsheng Yuan, Xunxun Chen","doi":"10.1109/IACS.2017.7921976","DOIUrl":null,"url":null,"abstract":"Network intrusion detection system (NIDS) takes necessary measures when detecting threats. Since most of the malicious contents like phishing sites and advanced persistent threats are transmitted on transmission control protocol (TCP), existing measures are usually injection-based, such as injecting a reset (RST) packet to terminate the connection or a HTTP 302 response to redirect users' requests. Injection is a feasible measure but is unable to scrub traffic like removing malicious contents. Therefore, taking over malicious TCP connections instead of injection is a more effective solution for NIDS. In this paper, we propose an efficient and flexible solution to take over malicious connections selectively at any period of the connections combining with two typical deployments of NIDS. The NIDS usually works as a passive protocol analyzer to gain high performance, when malicious contents are detected, it will migrate TCP states to a user-level TCP stack and work as a transparent proxy. The migration to user-level TCP stack is flexible and graceful due to bypassing the complexity and overhead of OS TCP stack. To evaluate our approach, we elaborate an experiment to compare with the migration to OS TCP stack. The result shows that the response speed of our approach is 8x faster than the OS stack, and more stable.","PeriodicalId":180504,"journal":{"name":"2017 8th International Conference on Information and Communication Systems (ICICS)","volume":"13 3","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2017-04-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2017 8th International Conference on Information and Communication Systems (ICICS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/IACS.2017.7921976","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Network intrusion detection system (NIDS) takes necessary measures when detecting threats. Since most of the malicious contents like phishing sites and advanced persistent threats are transmitted on transmission control protocol (TCP), existing measures are usually injection-based, such as injecting a reset (RST) packet to terminate the connection or a HTTP 302 response to redirect users' requests. Injection is a feasible measure but is unable to scrub traffic like removing malicious contents. Therefore, taking over malicious TCP connections instead of injection is a more effective solution for NIDS. In this paper, we propose an efficient and flexible solution to take over malicious connections selectively at any period of the connections combining with two typical deployments of NIDS. The NIDS usually works as a passive protocol analyzer to gain high performance, when malicious contents are detected, it will migrate TCP states to a user-level TCP stack and work as a transparent proxy. The migration to user-level TCP stack is flexible and graceful due to bypassing the complexity and overhead of OS TCP stack. To evaluate our approach, we elaborate an experiment to compare with the migration to OS TCP stack. The result shows that the response speed of our approach is 8x faster than the OS stack, and more stable.
通过将协议状态迁移到用户级TCP堆栈,在中途接管恶意连接
网络入侵检测系统(NIDS)在检测威胁时采取必要的措施。由于钓鱼网站和高级持续性威胁等恶意内容大多通过TCP (transmission control protocol,传输控制协议)传输,因此现有的措施通常是基于注入的,例如注入重置(RST)数据包来终止连接,或者注入HTTP 302响应来重定向用户的请求。注入是一种可行的措施,但无法像清除恶意内容那样清除流量。因此,接管恶意TCP连接而不是注入是一种更有效的解决方案。在本文中,我们结合两种典型的网络入侵防御部署,提出了一种高效灵活的解决方案,可以在连接的任何阶段有选择地接管恶意连接。NIDS通常作为被动协议分析器来获得高性能,当检测到恶意内容时,它将TCP状态迁移到用户级TCP堆栈,并作为透明代理工作。由于绕过了操作系统TCP堆栈的复杂性和开销,因此迁移到用户级TCP堆栈是灵活和优雅的。为了评估我们的方法,我们精心设计了一个实验来比较向OS TCP堆栈的迁移。结果表明,该方法的响应速度比OS堆栈快8倍,并且更加稳定。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
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学术官方微信