文章分类 | 推荐文章 | 最新文章 | 热点文章 | 最新软件 | 精品软件 | 下载排行 | 推荐下载 | 免费看大片 | WPS | 杀毒软件
清风网络
首 页 软件下载 网络学院 数码学院
QQ 电脑入门 游戏 操作系统 图形处理 办公软件 媒体动画 精文荟萃 工具软件 网络编程 程序开发 网络技术 认证考试 网站建设 文章专栏
当前位置:清风网络学院网络技术网络协议RFC3128 - Protection Against a Variant of the Tiny Fragment Attack (RFC1858)
精品推荐
特别推荐
·ISIS路由协议
·Telnet入侵最完全手册
·网络协议基础知识 SMTP协议和UDP协议
·新的宽带认证方式——IEEE 802.1x协议
·ARP协议揭密
·网络沟通的桥梁-协议X档案
·TCP/IP协议简介
·NGN网络协议解析
·HTTP协议基础
·电子商务安全协议
·SSL协议介绍
·SIP、SAP及SDP协议组合应用的研究
·在Windows 2000 Server中配置TCP/IP协议
·Catalyst8500配置实例之HSRP协议培植
·计算机网络体系层次结构的划分
·OSPF计算路由
热点TOP10
·Ad Hoc网络协议栈通用要求研究
·关于Sniffer Pro
·RFC791 - Internet Protocol
·在Windows 2000 Server中配置TCP/IP协议
·透析ICMP协议(四): 应用篇ping(RAW Socket)
·传输控制协议(Transmission Control Protocol, TCP)
·对BitTorrent通信协议的分析与检测
·完全用Linux工作 摈弃Windows
·ISIS路由协议
·TCP/IP协议原理
·Telnet入侵最完全手册
·RFC4098 - Terminology for Benchmarking BGP Device Convergence in the Control Plane
·RFC3447 - Public-Key Cryptography Standards (PKCS) #1: RSA Cryptography Specifications Version 2.1
·闭路电视监控系统CCTV资料
·IRIS Traffic Analyzer简易教程
·新的宽带认证方式——IEEE 802.1x协议
·HTTP协议基础
·新一代的AAA协议——Diameter
·IP PBX方案篇
·ARP协议揭密

RFC3128 - Protection Against a Variant of the Tiny Fragment Attack (RFC1858)

日期:2007年5月5日 作者: 查看:[大字体 中字体 小字体]



  Network Working Group I. Miller
Request for Comments: 3128 Singularis Ltd
Updates: 1858 June 2001
Category: Informational

Protection Against a Variant of the Tiny Fragment Attack

Status of this Memo

This memo provides information for the Internet community. It does
not specify an Internet standard of any kind. Distribution of this
memo is unlimited.

Copyright Notice

Copyright (C) The Internet Society (2001). All Rights Reserved.

Abstract

This document discusses how RFC1858 compliant filters can be
vulnerable to a variant of the "Tiny Fragment Attack" described in
section 3.1 of the RFC. This document describes the attack and
recommends corrective action.

1. Introduction

RFC1858 provides an excellent description of a class of attack on
Internet firewalls and proposes countermeasures. However one of
these countmeasures, the "Indirect Method" (section 3.2.2) is
vulnerable to a combination of two of the attacks described.

The attack combines the features of the "Tiny Fragment Attack"
(section 3) and the "Overlapping Fragment Attack" (section 4).

1.1 The scope of the attack

Where the filtering rules allow incoming connections to a machine AND
there other ports which allow only outgoing connections on the same
host, the attack allows incoming connections to the supposedly
outgoing-only ports.

Note that only the initial connection message need be fragmented.
Once the connection is established further traffic on it is legal.
The significance of this weakness will depend on the security policy
in force.

2. The Tiny Overlapping Fragment Attack

The attack typically consists of sending three fragments.

Fragment 1: (Fragment offset = 0; length >= 16)
Includes whole header and is entirely legal. Typically it
describes a SYN packet initiating a new TCP connection to a port
on the target host that is allowed to receive incoming
connections.
e.g., Incoming connection to port 25 SMTP.

Fragment 2: (Fragment offset = 0; length = 8)
Is only the first 8 bytes and could be legal depending on the
other 8-bytes of the header, but is NOT legal combined with the
corresponding bytes from Fragment 1. Such a fragment includes
only the port numbers and sequence number from the TCP header.
Typically this packet replaces the destination port number with a
port number on which the destination host that is not allowed to
receive incoming connections.

Fragment 3: (Fragment offset >= 2; length = rest of message)
Contains no header and completes the message. (This third
fragment is not part of the attack. However Fragment 1 cannot be
the complete message or it would be passed up to the application
before Fragment 2 arrived so a third fragment is necessary.)

2.1 Example of the attack

Consider the following trivial set of rules for incoming packets:

+---+-------+-------+-------+-------+-----------------------+
NoAction Source Dest. Flags Purpose
Port Port
+===+=======+=======+=======+=======+=======================+
1 Permit >1023 SMTP ANY Incoming E-mail
+---+-------+-------+-------+-------+-----------------------+
2 Permit >1023 ANY Ack=1 Existing FTP data
channel connections.
+---+-------+-------+-------+-------+-----------------------+
3 Deny ANY ANY ANY Default deny
+---+-------+-------+-------+-------+-----------------------+

Fragment 1: attacker(1234) -> target(SMTP) Ack=0
This is a new SMTP connection and is permitted by rule 1.

Fragment 2: attacker(1234) -> target(Telnet=23) Ack=absent
All fields present conform to rule 2, as it could be the start of
an FTP packet.

Depending on the precise implementation of the fragment reassembly in
the target machine's IP stack, fragment B may overwrite fragment A to
produce:-

attacker(1234) -> target(Telnet) Ack=0
(new telnet connection)

2.2 The failure of "Indirect Method"

The Indirect Method attempts to solve both Tiny Fragment and
Overlapping Fragment attacks, solely by rejecting packets with FO=1.
However none of the above fragments have FO=1, so none are rejected.

The failure is clear on careful reading. In section 3.2.2 "Indirect
Method", RFC1858 states:-

The indirect method relies on the observation that when a TCP
packet is fragmented so as to force "interesting" header fields
out of the zero-offset fragment, there must exist a fragment with
FO equal to 1.

This is normally true where the fragments are genuine fragments,
generally by bona fide software, but it is simply not true that a
hacker forging fragments is forced to produce an FO=1 fragment simply
because (s)he has produced an 8-byte FO=0 fragment. The
vulnerability flows from this false premise.

3. Countermeasures

Whereas apparently very elegant, RFC1858's Indirect Method is not
robust. In addition to blocking FO=1 packets, it is also necessary
to block FO=0 that hold less than a complete header.

if FO=0 and PROTOCOL=TCP and TRANSPORTLEN < tmin then
DROP PACKET
if FO=1 and PROTOCOL=TCP then
DROP PACKET

4. Security Considerations

This memo is concerned entirely with the security implications of
filtering fragmented IP packets.

5. Author's Address

Ian Miller
Singularis Ltd
32 Stockwell Street
Cambridge
CB1 3ND UK

Phone: +44 1223 511943
EMail: Ian_Miller@singularis.ltd.uk

6. Full Copyright Statement

Copyright (C) The Internet Society (2001). All Rights Reserved.

This document and translations of it may be copied and furnished to
others, and derivative works that comment on or otherwise explain it
or assist in its implementation may be prepared, copied, published
and distributed, in whole or in part, without restriction of any
kind, provided that the above copyright notice and this paragraph are
included on all such copies and derivative works. However, this
document itself may not be modified in any way, such as by removing
the copyright notice or references to the Internet Society or other
Internet organizations, except as needed for the purpose of
developing Internet standards in which case the procedures for
copyrights defined in the Internet Standards process must be
followed, or as required to translate it into languages other than
English.

The limited permissions granted above are perpetual and will not be
revoked by the Internet Society or its successors or assigns.

This document and the information contained herein is provided on an
"AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

Acknowledgement

Funding for the RFCEditor function is currently provided by the
Internet Society.
[1] [2] 下一页 




上一篇:RFC3129 - Requirements for Kerberized Internet Negotiation of Keys

下一篇:RFC3127 - Authentication, Authorization, and Accounting: Protocol Evaluation

RFC3128 - Protection Against a Variant of the Tiny Fragment Attack (RFC1858) 相关文章:
·即时语音提示 & 校对软件InsTalk注册码及注册机 上
·Coinstor:四川省都江堰房产管理局备份成功案例
·用InstallShield8.0制作安装程序
·《机动战士高达SEED Destiny》秘技(GBA) - 其他电视游戏攻略秘籍 - 其他电视游戏
·《鬼泣》的RAINSTORM心得(PS2) - 鬼泣3攻略秘籍 - 鬼泣3
·Liferay中整合tinyMCE详解
·[恶魔猎人3]的RAINSTORM实用心得 - 恶魔猎人3攻略秘籍 - 恶魔猎人3
·Coinstor:广东佛山南海区九江镇儒林中学案例
·推荐书籍:《Wi-Fi安装、配置和使用802.11b无线网络》 Wi-Fi:Install,Configure,and Use 802.11b Wireles
·无法启动 Install Shield
RFC3128 - Protection Against a Variant of the Tiny Fragment Attack (RFC1858) 相关软件:
·Primal Instinct[雨林心处]
·优秀应用程序管理大师McAfee UnInstaller教程
·QSetup Installation Suite V8.0
·MyUninstaller (软件清除程序) v1.37 汉化绿色版
·InstallShield简明教程
·Advanced Instant Messengers Password Recovery V1.50 Final 简体中文汉化版
·小小世界(Tiny Worlds)
·IFRS 7 Financial Instruments Disclosures
·IAS 14 Segment Reporting
·Registry Defragmentation V8.7.3.25 中文版

特别声明:本站除部分特别声明禁止转载的专稿外的其他文章可以自由转载,但请务必注明出处和原始作者。文章版权归文章原始作者所有。对于被本站转载文章的个人和网站,我们表示深深的谢意。如果本站转载的文章有版权问题请联系编辑人员,我们尽快予以更正。
[打印本页] [关闭窗口] 转载请注明来源:http://www.vipcn.net
| 帮助(?) | 版权声明 | 友情连接 | 关于我们 | 信息发布
Copyright 2007 www.vipcn.net All Rights Reserved. 鄂ICP备05000083号Powered by:viphot