How can phone companies detect tethering (incl. WiFi hotspot)

How they detect that someone is tethering a device isn’t something that network providers often want to talk about, for the obvious reason that the more consumers know about how this is being detected, the easier it is for them to find ways to hide the fact that they’re doing it, and avoid the associated extra charges (1). However there are certain known techniques that will give away the fact that you’re currently tethering, if your Service Provider happens to be running the right tool to check for these indicators:

Your Phone asks your network if tethering is allowed

The first and easiest method is that some phones will query the network to check whether the current contract allows tethering, and then totally disable the tethering options on the device in software if not. This generally only happens if you are running an OS version that has been customized by your Provider, example 1 example 2.

Your phone tells your network that you are tethering

It’s also rumoured that some phones have a second set of APN details saved in them by the phone network, when you enable tethering they switch over to using this second APN for all tethered traffic, while using the normal APN for traffic originating on the phone. However I haven’t found any concrete evidence of this, other than people finding odd APNs and wondering what they’re for (bear in mind that an unlocked phone bought off-contract may have hundreds or thousands of APNs stored on it, ready for use on whichever network in whichever country the eventual owner decides to use it).

Inspecting the network packets for their TTL (time to live)

Every network packet travelling across a TCP/IP network, like the internet, has a built-in time-to-live (TTL) set on it, so that in case there is a problem with that packet reaching its destination this will stop it travelling around the network forever clogging everything up.

The way this works is that the packet starts with a TTL number (say 128) set on it when it leaves the sending device (your phone, or laptop), and then every time that packet travels through a router of any kind (like your home broadband router, or a router at your ISP or phone company) that router subtracts one from the TTL (which would decrement the TTL to 127 in this example), the next router it travels through will in turn decrement the TTL again, and so on, if the TTL ever reaches zero then the router it’s at discards the packet and doesn’t transmit it again.

When your phone is tethering it acts like a router so, as the packet passes from your tethered laptop through your phone and onto the phone network, your phone will subtract “1” from the TTL to show that the packet has passed through its first router. The phone networks know what the expected TTLs from common devices are (for instance packets from an iPhone always start at a TTL of 64), and so they can spot when they’re one less (or totally different) than they’re expecting.

MAC address inspection

Devices on a TCP/IP network, like the internet, all have a unique MAC ID set on their network interfaces. This is made up of two halves, one half identifying the manufacturer of the interface, and the other half being a unique identifier assigned by the manufacturer (like a serial number). Every network packet that is sent out will have been “stamped” with the MAC address of the originating device’s network port. The MAC address of your laptop’s wifi card will have a very different manufacturer and serial code than the MAC address of your phone’s 3G interface.

TCP/IP Stack Fingerprinting

Different computer Operating Systems (eg Android, iOS, Windows, Mac OSX, Linux, etc) set up their TCP/IP stacks with different default values and settings (eg the Initial Packet Size, Initial TTL, Window Size…). The combination of these values can give a “fingerprint” that can be used to identify what operating system is running on the originating device. A side-effect of this may mean that if you’re using an uncommon OS, or an OS that’s similar to your phone’s on your other device, your tethering may not be spotted.

Looking at the Destination IP/URL

You can learn a lot by what a device regularly communicates with.

For instance, many OSs these days do Captive Portal Detection when they first connect to a wifi network (such as your wifi tether connection), they do this by trying to connect to a known web server across the internet, and checking to see if they get the response that they’re expecting. If the expected response is not received, then it’s likely that the wifi connection you’re on is a “captive portal” and may need you to log in, or pay, to connect to it. As Microsoft OSs (like Windows Vista and Windows 7 check with a Microsoft server by default and other OSs like Android, MacOS and so on all connect to their parent company’s servers to do these checks, it can be used as a good indication of the operating system just after the initial connection is made.

Additionally, if a device regularly contacts the Windows Update servers, then it’s very likely that device is a Windows PC or laptop, whereas if it regularly checks with Google’s Android update servers, then it’s probably a phone. Or if they can see that you’re connecting to the Apple App Store, but the IMEI of the device that your SIM card is in indicates that it’s not an Apple device, maybe you’re tethering an iPad to an Android phone?

More sophisticated systems can look at a whole range of data seeing who you’re communicating with (eg are you connecting to the Facebook app’s API servers which is more likely from a phone, or to Facebook’s web servers which is more likely from a PC) and add a whole load of these indicators together to create a fingerprint that indicates what sort of device you’re likely to be using. Some of these fingerprints can be caught out when new device types and services come out, for instance there are reports that just after tablets with built-in 3G came out, some owners of these on the AT&T network received mails warning them that they’d been tethering when they hadn’t, as the fingerprint from this new style of device didn’t look like a typical phone.

(1) Obviously before trying any methods to by-pass tethering detection please remember to check your phone contract and your phone company’s policies on tethering. They may have penalty clauses buried in their contract, Fair Use Policy, or Acceptable Use Policy for people who try to bypass their restrictions and limits.

Read More

A Bad Deal for Mobile Phone Customers

Opinion|If You Own a Cell Phone, You Should Worry About the T-Mobile-Sprint Deal

In allowing the merger, the Justice Department is prioritizing corporate profits over the public interest.

The editorial board represents the opinions of the board, its editor and the publisher. It is separate from the newsroom and the Op-Ed section.


CreditCreditBrittainy Newman for The New York Times

The Justice Department apparently thinks that Americans will benefit from competition among at least four major mobile phone companies. That is the clear logic of its decision on Friday to bless the marriage of T-Mobile and Sprint, two of the four existing mobile phone giants, on the condition that they clear the way for the rise of a new competitor.

It’s a little hard to understand, however, why the government wants to pursue that goal by allowing Sprint to be swallowed and then hoping a new company emerges in its place. Surely it would be more sensible to preserve Sprint as an independent company.

Instead, the department’s contortions to approve the merger demonstrate once again that the federal government has lost interest in preventing corporate consolidation. Even the most obviously anti-competitive deals, like this union of two companies that have long been bitter rivals, are able to obtain the government’s consent. All T-Mobile had to do was pay the government what amounts to a minor toll on the road to larger profits.

John Legere, T-Mobile’s high-voltage chief executive, who became a fixture at President Trump’s Washington hotel while seeking approval for the deal, celebrated what he called “truly monumental news.” He has every reason to be excited, as he is likely to become more wealthy as a result. Mobile phone customers, though, have reason to mourn.

T-Mobile and Sprint have competed fiercely with each other, and with their larger rivals, AT&T and Verizon. If it has been an unpleasant experience for the companies, their customers have benefited. Since 2009, the average cost of mobile service has fallen by roughly 28 percent, according to the Labor Department. The companies also have sought to one-up each other with new products, more flexible contracts and better service. The market worked.

Federal regulators have come to evaluate mergers solely on the basis of whether consumers will benefit. This deal does not meet the test. It should have been obvious to regulators that T-Mobile’s promise not to raise prices for three years does not bode well for the fourth year.

A group of state attorneys general, led by Letitia James of New York and Xavier Becerra of California, has sued to block the merger, arguing that low-income consumers who buy prepaid wireless plans are particularly likely to suffer from higher prices. T-Mobile’s Metro PCS brand and Sprint’s Boost Mobile brand are major competitors in that market.

The government should also be paying attention to a host of other consequences.

The companies say their union will allow increased investment in technology, especially the costly build-out of a 5G network to allow even more data at even higher speeds. But T-Mobile could make those investments on its own. Indeed, studies show that corporate concentration actually reduces the pace of innovation, and of economic growth, for the obvious reason: Companies don’t try as hard when they’re not motivated by fear.

Corporate mergers also are slowing wage growth, by reducing competition for workers. And larger companies exert greater political power. American antitrust law was created to prevent the concentration of political power — an objective that deserves to be revived. It is odd that the Trump administration, which has expressed concern about the market power of tech companies, is willing to sanction the creation of yet another technology behemoth.

The Justice Department is requiring the two companies to make room for the television provider Dish to build a mobile phone business. Sprint is selling Dish its prepaid service, which operates as Boost Mobile, and some of its space on the wireless spectrum. Dish also will pay the new company for its customers to use T-Mobile’s network for a few years.

Makan Delrahim, the head of the Justice Department’s antitrust division, said in a statement that “Dish is in a unique position to succeed.” But Sprint already has a viable mobile phone business, and there is no guarantee that Dish will succeed. Indeed, it is free to sell its new wireless spectrum after six years. It could, for example, sell that spectrum back to T-Mobile.

The Justice Department’s decision would harm consumers, workers and the broader economy. The states’ lawsuit, however, means that the federal judiciary still has the opportunity to act in the public interest and block the Justice Department’s call.

The Times is committed to publishing a diversity of letters to the editor. We’d like to hear what you think about this or any of our articles. Here are some tips. And here’s our email:

Follow The New York Times Opinion section on Facebook, Twitter (@NYTopinion) and Instagram.

Read More