Home > Security News > New attacks reveal fundamental problems with TCP
Security News:
EMAIL THIS

New attacks reveal fundamental problems with TCP

By Dennis Fisher, Executive Editor
01 Oct 2008 | SearchSecurity.com

Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   

A pair of security experts are now discussing several fundamental issues with the TCP protocol that can be exploited to cause denials of service and resource consumption on virtually any remote machine that has a TCP service listening for remote connections.

The problems, which were identified as far back as 2005, are not simply vulnerabilities in products from one or two vendors, but are issues with the ways in which routers, PCs and other machines handle TCP connection requests from unknown, remote machines. The attacks can be carried out with very little bandwidth, such as that available on a cable modem, and there don't appear to be any workarounds or fixes for the problems at this point.

"So far there hasn't been a lot of activity on mitigation strategies," said Robert E. Lee, chief security officer of Outpost24, a Swedish vulnerability assessment firm. Jack Louis, a senior security researcher at Outpost24, developed the attacks. Louis discovered the TCP problems and he and Lee have developed an attack framework for the issues. The framework, called Sockstress, enables them to plug in the various attack types at will. "We've been talking to a major router vendor and a supplier of operating systems, but it hasn't gotten very far."

Lee and Louis, who will present their findings at the T2 Conference in Helsinki in mid-October, are not releasing the details of the flaws, but Lee said that they evolve from the way that Web servers and other machines handle the three-way TCP handshake at the beginning of a new connection. Their attacks enable them to consume all of the resources of a given TCP service. In some cases, the attacks can cause the remote machine to reboot.

Lee said that Louis discovered the issue when the pair were doing large-scale penetration tests that required them to scan tens of thousands of IP addresses. To make life easier, Louis wrote a tool called Unicornscan , which is a distributed TCP/IP stack that can be used for TCP scanning. It was while reviewing packet dumps from scans with the tool that Louis noticed some anomalies.

"We noticed that certain systems would start resending certain packet responses continuously until they were rebooted," Lee said. "That was the light bulb going off. We said, There's some sort of state mechanism that we're triggering here."

Many TCP servers use a technique known as a SYN cookie in order to prevent attackers using spoofed IP addresses from launching SYN flood denial-of-service attacks against them. The cookie is essentially a chosen TCP initial sequence number that is calculated using some specific hashed metadata that reflects the details of the specific TCP connection. Once the client returns a correct packet to the server, the server knows that the client isn't using a forged IP address.

Sockstress computes and stores so-called client-side SYN cookies and enables Lee and Louis to specify a destination port and IP address. The method allows them to complete the TCP handshake without having to store any values, which takes time and resources. "We can then say that we want to establish X number of TCP connections on that address and that we want to use this attack type, and it does it," Lee said.

Lee and Louis have been able to execute a number of different attacks, which consumer various resources on the server, including memory, kernel timers and counters, and applications. Lee said that when and if specific vendors develop workarounds for the issues, they will release details of those issues.

"The best advice I have right now is don't allow anonymous connections. Make whitelist so only certain IP addresses can come in," Lee said, acknowledging the impracticality of that for a Web server or mail server or virtually any other TCP-enabled device. "There's no real workaround right now."



Tags: Network Protocols and SecurityHacker Tools and Techniques: Underground Sites and Hacking GroupsVIEW ALL TAGS

Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
Network Protocols and Security
PCI compliance requirement 4: Encrypt transmissions
Balancing security and performance: Protecting layer 7 on the network
Swedish hacker indicted for Cisco Systems, NASA breach
How should service providers address VoIP security issues and threats?
Cyberattack mapping could alter security defense strategy
The case against UTM: Is there a better alternative?
What is the best operating system for an FTP server implementation?
What are the best network security books?
Book chapter: IPv6 implementation security issues
IPv6 move could cause network problems, threaten cybersecurity

Hacker Tools and Techniques: Underground Sites and Hacking Groups
Botnet platform helps cybercriminals bid for zombie PCs
Man pleads guilty in online banking hacking scam
ATM malware lets attackers take over machines
The failing war against cybercriminals
Hacker attack techniques and tactics: Understanding hacking strategies
The Pipe Dream of No More Free Bugs
Government needs a plan to limit Web usage during a security crisis
Mobile phones win during Pwn2Own contest
Black Hat DC 2009: Joanna Rutkowska on Intel TXT flaws
Black Hat DC 2009: Mac OS attack method

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
5 terms you need to know before you employ VoIP  (SearchSecurity.com)
digest authentication  (SearchSecurity.com)
IGP  (SearchSecurity.com)
IP spoofing  (SearchSecurity.com)
Secure Sockets Layer  (SearchSecurity.com)
smurfing  (SearchSecurity.com)
Transport Layer Security  (SearchSecurity.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



More Tips to Secure Your Network
Focused on Channel Security?
TechTarget Security Media
Information Security View this month\\'s issue and subscribe today.
Information Security Decisions Apply online for free conference admission.
SearchSecurity.com
HomeNewsMagazineMultimediaWhite PapersLearningAdviceTopicsEventsAbout Us

About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2003 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts