当前位置:网站首页>TCP 复位攻击原理
TCP 复位攻击原理
2022-06-26 14:38:00 【华为云】
TCP 复位攻击原理
TCP
TCP是面向连接的运输层协议,应用程序在使用TCP协议之前,必须先建立TCP连接。在传送数据完毕后,必须释放建立的TCP连接。TCP是点对点的通信,提供可靠交付,通过TCP连接传送的数据,无差错,不丢失,不重复,并且按序到达。TCP提供全双工通信,TCP连接的两端都设有发送缓存和接收缓存,用来临时存放双向通信的数据,这样TCP在适合的时候把数据发送出去,应用进程在适合的时候读取缓存中的数据。TCP是面向字节流的,TCP把应用程序给的数据看成一连串无结构的字节流,但是TCP传送的数据单元是报文段。
TCP报文
一个TCP报文段分为首部和数据两部分,首部中有个复位RST(ReSet)字段,它是重置位,当RST=1时表明TCP连接中出现严重差错,必须释放连接,然后再重新建立运输连接。RST设置为1用来拒绝一个非法的报文段或拒绝打开一个连接。
复位攻击
RST攻击就是服务器A和B建立了TCP连接,C伪造了一个TCP包发给B,使B异常的断开与A之间的TCP连接。
当服务器C伪装成A的包,发送RST包,B就会丢弃与A的缓冲区的数据,强制关掉连接。
当服务器C伪装成A的包,发送SYN包,服务器B在正常连接时又来新建连接,B主动向A发送RST包,并在服务器强制关掉连接。
这就是复位攻击的具体实现方法。
总结
要成功实现攻击,需要正确设置源和目的的IP地址、端口号和序列号,把攻击者和受害者放在同一个网络中可以降低猜测序列号的难度。
️ 感谢大家
如果你觉得这篇内容对你挺有有帮助的话:
- 欢迎关注我️,点赞,评论,转发
- 关注
盼盼小课堂,定期为你推送好文,还有群聊不定期抽奖活动,可以畅所欲言,与大神们一起交流,一起学习。
边栏推荐
- Attention meets geometry: geometry guided spatiotemporal attention consistency self supervised monocular depth estimation
- Mark: unity3d cannot select resources in the inspector, that is, project locking
- Extended hooks
- R语言glm函数逻辑回归模型、使用epiDisplay包logistic.display函数获取模型汇总统计信息(自变量初始和调整后的优势比及置信区间,回归系数的Wald检验的p值)、结果保存到csv
- MySQL master-slave replication and read-write separation
- 通俗语言说BM3D
- Informatics Olympiad 1405: sum and product of prime numbers (thinking problem)
- JVM 输出 GC 日志导致 JVM 卡住,我 TM 人傻了
- '教练,我想打篮球!' —— 给做系统的同学们准备的 AI 学习系列小册
- 网上找客户经理办理股票开户安全吗??
猜你喜欢
![[cloud native] codeless IVX editor programmable by](/img/10/7c56e46df69be6be522a477b00ec05.png)
[cloud native] codeless IVX editor programmable by "everyone"

Where do people get their top energy?

The engine "node" is inconsistent with this module

Complimentary Book Cognitive Control: how does our brain accomplish tasks?

Stream常用操作以及原理探索

Attention meets Geometry:几何引导的时空注意一致性自监督单目深度估计

15 BS object Node name Node name String get nested node content

Leaflet loading ArcGIS for server map layers

The annual salary of 500000 is one line, and the annual salary of 1million is another line

Deploy the flask environment using the pagoda panel
随机推荐
Unity uses skybox panoramic shader to make panorama preview. There is a gap. Solution
权威发布 | 延安大学2022年教师岗位招聘公告
15 bs对象.节点名称.节点名称.string 获取嵌套节点内容
Error when redis is started: could not create server TCP listening socket *: 6379: bind: address already in use - solution
聊聊 RPA 方向的规划:简单有价值的事情长期坚持做
Extended hooks
Electron
使用 Abp.Zero 搭建第三方登录模块(一):原理篇
Question bank and answers of the latest Guizhou construction eight (Mechanics) simulated examination in 2022
2022年最新贵州建筑八大员(机械员)模拟考试题库及答案
文献1
Mark: unity3d cannot select resources in the inspector, that is, project locking
R语言使用glm函数构建泊松对数线性回归模型处理三维列联表数据构建饱和模型、使用step函数基于AIC指标实现逐步回归筛选最佳模型、使用summary函数查看简单模型的汇总统计信息
Electron
Two dimensional DFS
Atcoder bit operation & Conclusion + formula derivation
ArcGIS secondary development - arcpy delete layer
Use abp Zero builds a third-party login module (II): server development
Introduction to basic knowledge of C language (Daquan) [suggestions collection]
Transformers datacollatorwithpadding class