News for hackers. Stuff that matters.
Re:How to find a lost phone in a no-cell-coverage camping site? by marcod on Wednesday October 25, 2023 @07:09PM (#38019526)
So, there is no security feature that prevents a phone from connecting to a cloned wifi network??
Re:How to find a lost phone in a no-cell-coverage camping site? by nineteen999 on Wednesday October 25, 2023 @07:21PM (#38019629)
If the SSID and password are the same, how would the phone tell the difference? I don't know.

My Fitbit has a "find my phone" feature that uses Bluetooth to tell the Fitbit app on the phone to make a loud whistle. It's kind of handy and ive made use of it several times around my house, but obviously isn't useful outside Bluetooth range.

Re:How to find a lost phone in a no-cell-coverage camping site? by flashback2199 on Wednesday October 25, 2023 @07:34PM (#38019739)
> If the SSID and password are the same, how would the phone tell the difference

MAC address, but devices don't care, by design they will connect if the SSID and encryption type are the same, actually, you can create a mesh wifi network at your house with regular routers or access points by doing so, connecting them with wired ethernet.

Re:How to find a lost phone in a no-cell-coverage camping site? by HPsquared on Wednesday October 25, 2023 @07:40PM (#38019793)
MAC address can of course be spoofed easily as well.
Re:How to find a lost phone in a no-cell-coverage camping site? by eternityforest on Wednesday October 25, 2023 @07:45PM (#38019842)
Which is a very good thing, otherwise you wouldn't be able to replace a router and have stuff just work.
Re:How to find a lost phone in a no-cell-coverage camping site? by pests on Wednesday October 25, 2023 @08:12PM (#38020024)
The last time I did we did a WiFi password change at my house there were near 100 devices that had to be updated. Such a hassle. Thankfully it's stayed the same over 4 routers and about 7 years.
Re:How to find a lost phone in a no-cell-coverage camping site? by dclowd9901 on Thursday October 26, 2023 @12:39AM (#38021657)
Orrrrr the protocol would just be smart enough to say “hey, we are thinking of connecting to this network but the MAC address is different — did you recently switch base stations?”
Re:How to find a lost phone in a no-cell-coverage camping site? by eternityforest on Thursday October 26, 2023 @01:24AM (#38021907)
As long as screenless devices and other unattended things like light bulbs didn't need manual intervention, and it was easy to turn off the checks on a Linux server, it would be cool.

But it would probably be an annoyance in large multi hotspot environments, and could become another thing to train people to mindlessly click through like cookie prompts.

Re:How to find a lost phone in a no-cell-coverage camping site? by namibj on Wednesday October 25, 2023 @08:21PM (#38020085)
ESSID != BSSID. The former meant for UX, the latter to uniquely identify. Wpa_didn't allows fixing the latter, for example, as needed when you hang out at multiple locations where the wifi has the default ESSID, but of course with distinct passwords. Causes authentication timeout/lockout annoyance if left alone.
Re:How to find a lost phone in a no-cell-coverage camping site? by lxgr on Wednesday October 25, 2023 @08:52PM (#38020349)
That's a pretty annoying situation, yes.

Fortunately many default network names at least contain some randomness these days, e.g. three bytes of an access point's BSSID, to make this less likely.

That's also the proper fix – pinning a WPA password to an individual BSSID would go against the concept of encryption being scoped to an ESS/ESSID, not individual APs.

Re:How to find a lost phone in a no-cell-coverage camping site? by nehal3m on Thursday October 26, 2023 @07:56AM (#38024379)
You can, but if the AP's aren't aware of their shared clients they can't hand them off to another AP when signal strength degrades. Let's say you connect a client to AP A, then walk out of range closer to AP B. Your signal strength will suck because you're now farther away from AP A (and close to AP B). AP A won't disconnect your client to allow it to connect to B for better signal strength (that is, until AP A's signal strength is too low to sustain a connection).

Networks that are meshed by design take this into account and communicate about signal strength per client, handing them over when they notice a neighbor would be able to serve the client better.

Re:How to find a lost phone in a no-cell-coverage camping site? by oynqr on Thursday October 26, 2023 @10:39AM (#38026202)
While communication between APs (and forwarding of the data to clients) helps, it's not strictly needed because clients will do background scans, especially when reception is getting worse.
Re:How to find a lost phone in a no-cell-coverage camping site? by flashback2199 on Friday October 27, 2023 @04:12AM (#38035942)
It apparently depends on the client device's implementation but yes in general client devices will switch to connect to the stronger one automatically on their own
Re:How to find a lost phone in a no-cell-coverage camping site? by dhosek on Wednesday October 25, 2023 @07:20PM (#38019611)
How can you tell a wifi network is cloned if the SSID/password match? After all, it might legitimately be a new legitimate access point in the network.
Re:How to find a lost phone in a no-cell-coverage camping site? by redox99 on Wednesday October 25, 2023 @07:22PM (#38019634)
Obivously using certificates and TOFU. APs would share the certificate.

(That's how it should work, not how it does in practice)

Re:How to find a lost phone in a no-cell-coverage camping site? by cj on Wednesday October 25, 2023 @07:37PM (#38019767)
I’ve always wondered how commonly black hats clone and exploit mass deployed public SSIDs like the “xfinitywifi” network you see in all major US cities with xfinity.

Presumably you could get a lot of random devices to automatically connect and then hijack DNS to cause trouble.

Re:How to find a lost phone in a no-cell-coverage camping site? by ruined on Wednesday October 25, 2023 @07:41PM (#38019803)
it's easy and fun!
Re:How to find a lost phone in a no-cell-coverage camping site? by solardev on Wednesday October 25, 2023 @07:44PM (#38019827)
Even if you hijacked DNS, most things are HTTPS now and you'd have to get a copy of a certificate from a trusted CA.
Re:How to find a lost phone in a no-cell-coverage camping site? by lazide on Wednesday October 25, 2023 @08:33PM (#38020183)
At least 50% of such APs I ran across didn’t work right. I chalk it up to broken implementation on the ISP side, but a decent number may be issues like this.
Re:How to find a lost phone in a no-cell-coverage camping site? by lxgr on Wednesday October 25, 2023 @09:07PM (#38020476)
It's not that easy, unfortunately: Many networks span more than one access point, either simultaneously or across time (mediocre CPEs are notoriously being swapped out all the time by cable providers, in my experience).

Initially loading and then synchronizing certificates across APs would be anything but trivial.

I've surprised my friends a few times by keeping my SSID + password constant over the years and across several moves within the city (and across ISPs) and even internationally – whenever they come to my place, they have Wi-Fi the second they step through the door :)

It's also nice not having to re-configure various embedded devices, many without a sane user interface to type a passphrase or even accept a new TOFU public key, every time I set up a new router at my family's place.

Re:How to find a lost phone in a no-cell-coverage camping site? by lxgr on Wednesday October 25, 2023 @09:03PM (#38020442)
Exactly, if the SSID and password match, it is the same network by definition.
Re:How to find a lost phone in a no-cell-coverage camping site? by rkachowski on Thursday October 26, 2023 @05:24AM (#38023464)
The BSSID won't match
Re:How to find a lost phone in a no-cell-coverage camping site? by ruined on Wednesday October 25, 2023 @07:32PM (#38019718)
802.1x eap
Re:How to find a lost phone in a no-cell-coverage camping site? by solardev on Wednesday October 25, 2023 @07:42PM (#38019813)
Yeah, back in the day before HTTPS was common, this used to be a viable attack where people would set up rogue hotspots at cafes and whatnot and intercept all your traffic.
Re:How to find a lost phone in a no-cell-coverage camping site? by lxgr on Wednesday October 25, 2023 @09:02PM (#38020431)
That's only possible for unencrypted networks/SSIDs, though.
Re:How to find a lost phone in a no-cell-coverage camping site? by solardev on Wednesday October 25, 2023 @09:12PM (#38020527)
I think that's a different attack, where you could passively sniff wifi traffic from networks without WEP. I meant more just hosting your own hotspot with a popular name, forcing clients to connect to it via disconnect/reconnect attacks, and then you're essentially a tiny MITM ISP that can monitor all their unencrypted traffic
Re:How to find a lost phone in a no-cell-coverage camping site? by lxgr on Wednesday October 25, 2023 @09:14PM (#38020536)
> hosting your own hotspot with a popular name, forcing clients to connect to it via disconnect/reconnect attacks

You can only do that for unencrypted networks or those for which you know the passphrase, though.

Re:How to find a lost phone in a no-cell-coverage camping site? by solardev on Wednesday October 25, 2023 @09:25PM (#38020610)
Yes, like most public hotspot in cafes, schools, libraries, etc where the password is readily shared.
Re:How to find a lost phone in a no-cell-coverage camping site? by LordShredda on Wednesday October 25, 2023 @07:43PM (#38019818)
Assuming you kept the password a secret, how would you create an identical wifi clone?
Re:How to find a lost phone in a no-cell-coverage camping site? by addandsubtract on Wednesday October 25, 2023 @08:29PM (#38020147)
LAX_FREE_AIRPORT_WIFI
Re:How to find a lost phone in a no-cell-coverage camping site? by brink on Wednesday October 25, 2023 @07:51PM (#38019887)
99.9% of people don't consider this an issue, I'd rather there not be one in the spec. It's just unnecessary complication. If you're the genuinely paranoid 0.1%, write a script.
Re:How to find a lost phone in a no-cell-coverage camping site? by darkarmani on Wednesday October 25, 2023 @08:48PM (#38020305)
802.1x. At least that was what could be used 12 years ago. I don't know about state of the art now.
Re:How to find a lost phone in a no-cell-coverage camping site? by lxgr on Wednesday October 25, 2023 @08:49PM (#38020328)
There's not really such thing as a cloned wifi network conceptually: If you set up a new access point using the same SSID and encryption settings, you didn't clone a network – you just extended it by one more access point/location where it's available!

A Wi-Fi network is the abstract concept of "all access points using the same name and passphrase", not an individual instance of an access point.

If you connect the two access points (e.g. using wired Ethernet), clients can actually roam between the two fairly seamlessly without any other setup required, and this even works across brands!

Re:How to find a lost phone in a no-cell-coverage camping site? by progman32 on Thursday October 26, 2023 @01:26AM (#38021928)
One thing to keep in mind re: roaming - devices tend to "stick" with their current AP even though there's a perfectly good same-SSID AP with much better strength available. There are protocols that can orchestrate between APs to "kick" stubborn devices to better APs: 802.11r, 802.11k, and 802.11v.
Re:How to find a lost phone in a no-cell-coverage camping site? by JCharante on Wednesday October 25, 2023 @08:49PM (#38020329)
Enterprise networking hardware has protections against this by attacking other access points. Example from cisco: https://community.cisco.com/t5/wireless/wlc-quot-rogue-conta...
Re:How to find a lost phone in a no-cell-coverage camping site? by jeroenhd on Wednesday October 25, 2023 @08:50PM (#38020338)
Either "enterprise" WiFi or, if your device supports it, locking down the MAC address. That'll give you range issues if you use mesh wifi, range extenders, or additional access points, though.

I don't know why more devices don't support WPA Enterprise, it's not _that_ complicated a protocol. I can imagine a "secure router" product with a normal WPA3 network for management and an "enterprise" network with a simple username/password list selling quite well in some niche circles.

You can build such a network yourself, though, with almost any OpenWRT device, though it's clearly not something most end users can manage themselves: https://github.com/ouaibe/howto/blob/master/OpenWRT/802.1xOn...