Windows Wi-Fi attack discovered

Daily Newsletters

Sign up to ZDNet UK's daily newsletter.

NEWS

A Windows feature that automatically searches for Wi-Fi connections can be exploited by hackers, a security researcher has warned.

The feature is part of Windows XP and 2000 and was exposed as being vulnerable at hacker conference ShmooCon on Saturday by vulnerability researcher Mark Loveless.

Loveless claimed that hackers can take advantage of the feature to include a user's PC in a peer-to-peer network, giving them access to information on its hard drive.

When a PC running Windows XP or Windows 2000 boots up it will automatically try to connect to a wireless network. If the computer can't set up a wireless connection, it will establish an ad hoc connection to a local address. This is assigned with an IP address and Windows associates this address with the SSID of the last wireless network it connected to.

The machine will then broadcast this SSID, looking to connect with other computers in the immediate area.

The danger arises if an attacker listens for computers that are broadcasting in this way, and creates a network connection of their own with that same SSID. This would allow the two machines to associate together, potentially giving the attacker access to files on the victim's PC.

Security experts contacted by ZDNet UK on Monday confirmed that the flaw exists, but said that it should not be a problem for those using firewalls.

Paul Wood, security analyst at MessageLabs indicated that users will probably be unaware that their computers have connected to the peer-to-peer network in such a way.

MessageLabs believes that users running Windows XP Service Pack 2 (SP2) are not at risk.

"This yet again is a wake-up call for those who haven't installed SP2. Any machines running a copy of XP without SP2 are saying 'Come and get me', as there are so many gaping threats," said Mark Sunner, chief technology officer at MessageLabs.

Get some protection
Experts recommended companies deploy a security policy, if one isn't already in place: "Any organisation deploying a Wi-Fi network needs to implement a company security policy," said Sunner. "The potential victims are the road-warrior community. Does the in-house security department have a mechanism to check the visibility of remote machines?"

MessageLabs also recommended that individual teleworkers be given personal firewalls.

Individuals can also protect themselves by disabling Wi-Fi when not using it, said Greg Day, security analyst at McAfee.

MessageLabs advised the following:

"Users with Wi-Fi can disable the peer-to-peer facility by going to "Wireless Network Properties | Advanced | Network Access Point | Choose Infrastructure Networks Only," said Wood. "We recommend people only connect to infrastructure points, although some users may want to use peer-to-peer for head-to-head gaming and file sharing."

MessageLabs pointed out that system administrators can also mitigate the problem by blocking ports 135, 137, 138, and 139 — which in Sunner's words "should be nailed shut already" — from accepting NetBIOS connections.

Day downplayed the potential of the attack: "Hackers are trying to class this as virus-like. You become part of the problem because your machine is now broadcasting on a peer-to-peer network. However, all this gives hackers is the ability to see other machines — they still have to write exploits. But if the user is patched or has a firewall, they are protected."

Sunner echoed those feelings: "I'm a purist, and for me the [virus] analogy is not rooted in reality. Could it be self-replicating? It's not really within the realms of possibility," said Sunner.

Criminal gangs were unlikely to target this flaw as it would be too labour-intensive to exploit, predicted MessageLabs, saying that it was "really a threat from script kiddies".

Microsoft had not responded to a request for comment at the time of writing.

Talkback

That was a nice article. But, there is still the problem where the attacker actually fakes the accesspoint, i.e : The attacker pretends to be your accesspoint, if he succedes with that the hacker can do a "man-in-the-middle" attack on all the victims internet communication so the local firewall isnt much help in such scenario. The local firewall however help protect the individual computer from intruders, but it doesn't protect the information sent to or from the computer...

via Facebook 17 January, 2006 15:41
Reply

This is nothing new. Whether you broadcast the SSID or not really doesn't make a difference. A hacker can simply wait for someone to connect, jam the signal for a few seconds, or send a disconnect packet to the wireless access point.
Once the signal is reacquired, a hacker simply begins to capture packets, where the SSID is pretty easy to see. Also during this time, the packets used for passkey processing can be captured and taken offline where software can be used to eventually 'crack' the passkey.
So, same as always. Use a good 128 bit encryption with a passkey which is at least 15 characters or more long. Also, change this passkey monthly.

via Facebook 18 January, 2006 03:59
Reply

I first described the vulnerability that I termed "WiPhishing” over a year and a half ago (Google “wiphishing” for more information). I postulated that “WiPhishing” occurs when a hacker sets up an access point to lure computers that are set to automatically connect to easily guessable SSIDs such as “Linksys”, “BTopenzone” or “dlink”. Computers get set up this way either deliberately by users, so that their computers will automatically connect to their home network or a Starbucks network, or automatically by the XP wireless client. This "newly discovered" vulnerability makes matters even worse, as we now discover that the XP client can't tell the difference between a normal access point-to-laptop (infrastructure) WiFi mode and the less commonly used laptop-to-laptop (ad-hoc) WiFi mode. What is now being pointed out is that laptops set to automatically connect to normal infrastructure (laptop-to-access point) networks called, for example, Linksys (which is bad enough but very common), will also mistakenly automatically connect to ad-hoc (laptop-to-laptop) networks with the same name (SSID). After they have made this connection, they are "infected" with this ad-hoc connection profile and will start broadcasting it, just as they previously broadcasted the Linksys infrastructure connection. Unfortunately, because of this vulnerability, all computers that subsequently connect to them also get “infected” with the ad-hoc profile and so on and so on.

The bottom line is this; because of this vulnerability, all a hacker has to do to WiPhish a laptop, is set up a laptop with an ad-hoc connection set to “Linksys” or “BTopenzone”. As soon as a laptop set up this way is turned on, all other laptops in the vicinity that are set up to automatically connect to a network with the same name will start mistakenly connecting to the hacker’s laptop. A hacker sitting outside an office building or in an airport using this technique can gain access to many users’ laptops, often without their knowledge, and create WiFi mayhem in the process by trying out different easily guessable network names like Linksys until they catch a Phish. Once connected to a user’s laptop, an experienced hacker can not only potentially access data on that laptop (all shared folders are immediately accessible) but can also potentially use the laptop’s authenticated connection to a wired office network to access other network-connected resources such as servers or other computers.

I did a piece on the subject with the NBC affiliate in Dallas last year which can be viewed at the following link: http://cf.nbc5i.com/dfw/sh/videoplayer/video.cfm?id=4459208&owner=dfw

Even if Windows firewall has been turned on and locked by an employee’s network administrator, the user can easily turn it off (so they can play their favorite MPORG) by downloading software readily available on the Internet for this specific purpose.

This is a real problem, not just for users who do not know enough to secure their laptops properly, but more importantly for their employers. For this and other reasons, it is essential that organizations define wireless connectivity policies and have the means to enforce compliance with those policies on all laptops used for and at work. My company developed what we believe is the only complete solution to this threat, which is currently being used by many organizations large and small. We call our solution AirSafe Enterprise, and it enables wireless connectivity policies to be established and enforced across the enterprise, and also automatically turns off a laptop’s wireless adapter whenever the laptop is connected to a wired network.

More information on AirSafe Enterprise and our other products is available at our web site at www.cirond.com, or at that of our exclusive licensee, AirPatrol Corporation, at www.airpatrolcorp.com.
Nicholas Miller
CEO Cirond Corporation

via Facebook 20 January, 2006 10:34
Reply

This issue is obviously not a problem for sophisticated users and as usual, we hear the familiar refrain: "anyone with half a brain knows how to ..." from the computer literati; but therein lies the problem. Take a drive around any neighborhood or business park with a wireless laptop and you will see numerous access points set to the default settings and many without even basic WEP turned on. This means that many laptops are, in all likelihood, set up to automatically connect to those networks (either accidentally or on purpose). Just sit outside any office building with a WiFi router or access point, or as we now find out, a laptop with an ad-hoc connection profile with its SSID set to Linksys or tmobile, and see how many laptops connect to it. This is a very easy way for hackers to gain access to those laptops and also potentially to the office wired network that they may be simultaneously connected to. If anyone is in any doubt, check out this link (shameless self promotion!): http://cf.nbc5i.com/dfw/sh/videoplayer/video.cfm?id=4459208&owner=dfw
This “new” threat pours gasoline on the fire as we now discover that the XP client can't tell the difference between a normal access point-to-laptop (infrastructure) WiFi mode and the less commonly used laptop-to-laptop (ad-hoc) WiFi mode. What is now being pointed out is that laptops set to automatically connect to normal infrastructure (laptop-to-access point) networks (which is bad enough but very common), will also mistakenly automatically connect to ad-hoc (laptop-to-laptop) networks with the same name (SSID). After they have made this connection, they are "infected" with this ad-hoc connection profile and will start broadcasting it, just as they previously broadcasted the Linksys infrastructure connection. Unfortunately, because of this vulnerability, all computers that subsequently connect to them also get “infected” with the ad-hoc profile and so on and so on.

The bottom line is this; because of this vulnerability, all a hacker has to do to WiPhish a laptop, is set up a laptop with an ad-hoc connection set to “Linksys” or “tmobile”. As soon as a laptop set up this way is turned on, all other laptops in the vicinity that are set up to automatically connect to a network with the same name will start mistakenly connecting to the hacker’s laptop. A hacker sitting outside an office building or in an airport using this technique can gain access to many users’ laptops, often without their knowledge, and create WiFi mayhem in the process by trying out different easily guessable network names like Linksys, Dlink or tmobile until they catch a Phish. Once connected to a user’s laptop, an experienced hacker can not only potentially access data on that laptop (all shared folders are immediately accessible) but can also potentially use the laptop’s authenticated connection to a wired office network to access other network-connected resources such as servers or other computers. OOPS!

Some say XP SP2 and Windows firewall solves the problem, but hands up all who are prepared to bet the security of their entire corporate network on Windows Firewall, assuming of course that it is turned on. Even if Windows firewall has been turned on and locked by the employees' network administrators, users can easily turn it off (so they can play their favourite MPORG) by downloading software readily available on the Internet for this specific purpose. This is a real problem, not just for users who do not know enough to secure their laptops properly, but more importantly for their employers. For this and other reasons, it is essential that organizations define wireless connectivity policies and have the means to enforce compliance with those policies on all laptops used for and at work. Before anyone inevitably points out that my company "conveniently" offers a solution to this problem - as if we invented it (more information is available at our web site at www.cirond.com, or at that of our

via Facebook 20 January, 2006 10:38
Reply

Post your comment

In order to post a comment you need to be registered and logged in.

You can also log in with Facebook. Log in or create your ZDNet UK account below

  • Login

Will not be displayed with your comment

By signing up for this service, you indicate that you agree to our Terms and Conditions and have read and understood our Privacy Policy. Questions about membership? Find the answers in the Community FAQ

Get ZDNet UK's daily newsletter

Enter your email address to sign up

ZDNet UK Live

Freebies202

Duplicate comments are not made intentionally. Its very good to know that now you are keeping check on this problem because sometimes a commenter...

4 hours ago by Freebies202 on Microsoft fixes blog comments, speeds up blogs with open source
kevinmchapman

"the very significant number of users" and "many (most) of us" - you have no evidence for these statements. It is a fact that most users are saying...

12 hours ago by kevinmchapman on A tale of two distros: Ubuntu and Linux Mint
Marg Menzies Harrison

Another grammar faux pas is the improper use of "you". When sitting down down in a restaurant, for example, I get cringe when the waitress...

14 hours ago by Marg Menzies Harrison via Facebook on 10 flagrant grammar mistakes that make you look stupid
zdnetukuser

And NOW, folks, for Canonical's next trick... Kubuntu is late. Here's a pencil. Draw your own conclusions. cf.:...

14 hours ago by zdnetukuser on Linux Minterface
Moley

@kevinmchapman. The discussion here reflects the very significant number of users who really do like the traditional menu system and who wish to...

16 hours ago by Moley on A tale of two distros: Ubuntu and Linux Mint
kevinmchapman

Er, no... It is an efficient means of finding the application/file/setting you need in one place. The icons are a simply a fallback for when you...

18 hours ago by kevinmchapman on A tale of two distros: Ubuntu and Linux Mint
TerryRK

Isn't the provision of a text based search an admission by the developers that the mass of icons approach does not work? I don't need to use a...

19 hours ago by TerryRK on A tale of two distros: Ubuntu and Linux Mint
kevinmchapman

"Unity and GNOME 3 both abandon the old text-based cascading menus in favour of a graphical icon-driven system." Point truly missed. Both use a...

20 hours ago by kevinmchapman on A tale of two distros: Ubuntu and Linux Mint
TerryRK

whs001 - Thank you, I'm glad you liked the article. I absolutely agree with you on your first point. I should perhaps have made it clearer that...

20 hours ago by TerryRK on A tale of two distros: Ubuntu and Linux Mint
Dennis Nilsson

If we allow corporate interest to dictate the way our government circumvents due process against foreign entities then we should accept the same...

21 hours ago by Dennis Nilsson via Facebook on ACTA stumbles in Germany
GHar123

I totally dislike pirating of works, I fear that artists will be deterred from creating works if they think that they are going to get ripped off....

22 hours ago by GHar123 on ACTA stumbles in Germany
JCB33

How dare film makers, artists or anybody that invests in creativity stop us pirating their works for free. I want to be able to walk into my local...

1 day ago by JCB33 on ACTA stumbles in Germany
Moley

@GrueMaster. I prefer horses for courses rather than one size fits all. I, and I suspect most other computer users, do not really wish to have...

1 day ago by Moley on A tale of two distros: Ubuntu and Linux Mint
greycynic

The product that scares me every time I have to use it is the Office 2007 version of Excel. The first bug that I found was applying the median...

1 day ago by greycynic on Ten flawed products that derail productivity
GrueMaster

Nice review and very informative. One thing I'd like to add (in reply to whs001's 1st question), the main reason to have the same interface from...

1 day ago by GrueMaster on A tale of two distros: Ubuntu and Linux Mint
Frederick Wrigley

I'be been using Mint 12 since the RC came out, and I am far more happy with the Cinnamon, the Mate, and, yes (with extensions), theGnome 3...

1 day ago by Frederick Wrigley via Facebook on A tale of two distros: Ubuntu and Linux Mint
bdantas

Excellent article. One small correction, though--although a fresh installation of Linux Mint 12 will, indeed, provide the user with a version of...

1 day ago by bdantas on A tale of two distros: Ubuntu and Linux Mint
Alan Ralph

In related news, the ISPs club together to get the members of the Home Affairs Select Committee (ya goofed on that part, ZDNet UK) copies of "The...

1 day ago by Alan Ralph via Facebook on MPs urge ISPs to take down terrorist material
Alan Ralph

In related news, the ISPs club together to get the members of the Home Affairs Select Committee (ya goofed on that part, ZDNet UK) copies of "The...

1 day ago by Alan Ralph via Facebook on MPs urge ISPs to take down terrorist material
Moley

For Gnome 2 die-hards, it is possible to add icons to the bottom panel (or top top panel, if you prefer) which provide the exact Gnome 2...

1 day ago by Moley on A tale of two distros: Ubuntu and Linux Mint