Chemical Safety Incidents
Fixing an Internet Security Threat
Tuesday, August 9, 2016 @ 06:08 PM gHale
A weakness in the Transmission Control Protocol (TCP) of all Linux operating systems since late 2012 enables attackers to hijack users’ Internet communications completely remotely, researchers said.
Such a weakness could end up used to launch targeted attacks that track users’ online activity, forcibly terminate a communication, hijack a conversation between hosts or degrade the privacy guarantee by anonymity networks such as Tor, said researchers at the University of California, Riverside (UCR).
While most users don’t interact directly with the Linux operating system, the software runs behind the scenes on Internet servers, Android phones and other devices. To transfer information from one source to another, Linux and other operating systems use the Transmission Control Protocol (TCP) to package and send data, and the Internet Protocol (IP) to ensure the information gets to the correct destination.
One case in point could be when two people communicate by email, TCP assembles their message into a series of data packets — identified by unique sequence numbers — that transmit, end up received, and reassembled into the original message. Those TCP sequence numbers are useful to attackers, but with almost 4 billion possible sequences, it’s essentially impossible to identify the sequence number associated with any particular communication by chance.
UCR researchers, led by Yue Cao, a computer science graduate student in UCR’s Bourns College of Engineering, didn’t rely on chance though. Instead, they identified a subtle flaw (in the form of ‘side channels’) in the Linux software that enables attackers to infer the TCP sequence numbers associated with a particular connection with no more information than the IP address of the communicating parties.
This means that given any two arbitrary machines on the Internet, a remote blind attacker without being able to eavesdrop on the communication, can track users’ online activity, terminate connections with others and inject false material into their communications.
Encrypted connections (e.g., HTTPS) are immune to data injection, but they are still subject to being forcefully terminated by the attacker. The weakness would allow attackers to degrade the privacy of anonymity networks, such as Tor, by forcing the connections to route through certain relays. The attack is fast and reliable, often taking less than a minute and showing a success rate of about 90 percent.
Project advisor Zhiyun Qian, an assistant professor of computer science at UCR, whose research focuses on identifying security vulnerabilities to help software companies improve their systems, said unlike conventional cyber attacks, users could become victims without doing anything wrong, such as downloading malware or clicking on a link in a phishing email.
“The unique aspect of the attack we demonstrated is the very low requirement to be able to carry it out. Essentially, it can be done easily by anyone in the world where an attack machine is in a network that allows IP spoofing. The only piece of information that is needed is the pair of IP addresses (for victim client and server), which is fairly easy to obtain,” Qian said.
Qian said the researchers alerted Linux about the vulnerability, which has resulted in patches applied to the latest Linux version.
Until then, Qian recommends the following temporary patch to apply to client and server hosts. It raises the ‘challenge ACK limit’ to an extremely large value to make it practically impossible to exploit the side channel. This can be done on Ubuntu as follows:
1. Open /etc/sysctl.conf, append a command “/net.ipv4/tcp_challenge_ack_limit = 999999999″.
2. Use “sysctl -p” to update the configuration.