Saturday, May 25th 06:37 AM IST

How Firewalls help hackers break into Facebook, Twitter

May 22, 2012

Washington: Firewall technology designed to boost security can unwittingly reveal data that could help a hacker break into Facebook and Twitter accounts, a new study says.

Using Android smartphones, Z Morley Mao, computer science associate professor at the University of Michigan, and doctoral student Zhiyun Qian revealed how an attacker could hijack a TCP (transmission control protocol) Internet connection by taking advantage of publicly available information on smartphones.

Hackers could also take advantage of users’ willingness to download untrusted apps and network firewall middleboxes, which block data bundles that don’t appear to be part of the flow of information traffic.

Firewalls meant to boost security are actually compromising it: AP

The researchers detected these middleboxes on 32 percent of the nearly 150 networks they tested worldwide. “Firewall middleboxes are supposed to protect against this kind of attack, but it turns out they do the opposite,” Qian said.

“Most vendors and carriers that deploy such firewall middleboxes still believe they are safe and we want them to be aware of this design flaw,” said Qian, according to a Michigan statement.

Middleboxes monitor the “sequence numbers” of data packets on their way to mobile devices. When you snap and share a photo with a friend, for example, it gets chopped into numerous packets before it’s sent across the network.

Your friend’s smartphone looks to the sequence numbers to put the picture back together. Middleboxes could help hackers use the process of elimination to home in on a number in the right range.

“An attacker can try to guess at sequence numbers. It’s usually hard to get feedback on whether a guessed number is correct, but the firewall middlebox makes this possible,” Qian said. “The attacker can try a range of sequence numbers. The firewall will only allow one through if it is in the valid range.”

How does the attacker know he has succeeded? That’s where the Android spyware comes in (smartphone malware is already very popular, the researchers say, and it wouldn’t be hard for an attacker to add this capability into an existing program).

The intelligence the spyware needs is not privileged information. It doesn’t need special administrator or root access. It would just read a couple of the phone’s publicly available incoming packet counters and let the attacker know when the counters ­advanced.

Armed with a valid sequence number, the hacker could spoof Facebook or Twitter’s HTTP (as opposed to the more secure HTTPS) web login page and gain the user’s passwords.

These findings were presented on Tuesday at the IEEE Symposium on Security and Privacy in San Francisco.

IANS

Firstpost encourages open discussion and debate, but please adhere to the rules below, before posting. Comments that are found to be in violation of any one or more of the guidelines will be automatically deleted:

Personal attacks/name calling will not be tolerated. This applies to comments directed at the author, other commenters and other politicians/public figures

Please do not post comments that target a specific community, caste, nationality or religion.

While you do not have to use your real name, any commenters using any Firstpost writer's name will be deleted, and the commenter banned from participating in any future discussions.

Comments will be moderated for abusive and offensive language.

Please read our comments and moderation policy before posting