请输入您要查询的百科知识:

 

词条 TCP sequence prediction attack
释义

  1. See also

  2. References

  3. External links

{{Computer hacking}}

A TCP sequence prediction attack is an attempt to predict the sequence number used to identify the packets in a TCP connection, which can be used to counterfeit packets.[1]

The attacker hopes to correctly guess the sequence number to be used by the sending host. If they can do this, they will be able to send counterfeit packets to the receiving host which will seem to originate from the sending host, even though the counterfeit packets may in fact originate from some third host controlled by the attacker. One possible way for this to occur is for the attacker to listen to the conversation occurring between the trusted hosts, and then to issue packets using the same source IP address. By monitoring the traffic before an attack is mounted, the malicious host can figure out the correct sequence number. After the IP address and the correct sequence number are known, it is basically a race between the attacker and the trusted host to get the correct packet sent. One common way for the attacker to send it first is to launch another attack on the trusted host, such as a Denial-of-Service attack. Once the attacker has control over the connection, it is able to send counterfeit packets without getting a response.

If an attacker can cause delivery of counterfeit packets of this sort, he or she may be able to cause various sorts of mischief, including the injection into an existing TCP connection of data of the attacker's choosing, and the premature closure of an existing TCP connection by the injection of counterfeit packets with the RST bit set.

Theoretically, other information such as timing differences or information from lower protocol layers could allow the receiving host to distinguish authentic TCP packets from the sending host and counterfeit TCP packets with the correct sequence number sent by the attacker. If such other information is available to the receiving host, if the attacker can also fake that other information, and if the receiving host gathers and uses the information correctly, then the receiving host may be fairly immune to TCP sequence prediction attacks. Usually this is not the case, so the TCP sequence number is the primary means of protection of TCP traffic against these types of attack.

Another solution to this type of attack is to configure any router or firewall to not allow packets to come in from an external source but with an internal IP address. Although this does not fix the attack, it will prevent the potential attacks from reaching their targets.

See also

{{Portal|Free and open-source software}}
  • Aircrack
  • AirSnort
  • BackTrack
  • Denial-of-service attack
  • Nmap
  • Packet sniffer
  • Snort
  • SYN flood
  • Wireshark

References

1. ^{{cite journal|last=Bellovin|first=S.M.|title=Security Problems in the TCP/IP Protocol Suite|journal=ACM SIGCOMM Computer Communication Review|date=1 April 1989|url=http://portal.acm.org/citation.cfm?id=378444.378449|accessdate=6 May 2011}}
[1]
}}

External links

  • RFC 1948, Defending Against Sequence Number Attacks, May 1996, obsoleted by RFC 6528 Steven M. Bellovin.
  • RFC 6528, Defending against Sequence Number Attacks, February 2012 Standard Track Steven M. Bellovin
  • A Weakness in the 4.2BSD Unix TCP/IP Software

2 : Transmission Control Protocol|Computer network security

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/11 13:46:18