Trace My Phone's Location, Without My Consent

Recently, a whole host of sites have been appearing which allow you to trace a mobile phone, with the owner's permission of course. These sites are aimed at parents who want to be able to locate their children if they become lost, go down the pub during school lunch break, etc. These companies obviously pay a shit load of money to O2, Vodafone, Orange, etc. in order to have a 'back door' to their GSM networks in order to use triangulation from base stations to locate phones.

Anyhow, this got me thinking, with security in mind. Is it possible to abuse this? If you didn't require the owner's consent to locate their phone then that would be a pretty serious security issue, not to mention a total lack of privacy.

I was curious as to the whole logic behind the 'registration' of a mobile phone process. Obviously a parent would grab her child's phone, register on the website; add the phone, type in some sort of random PIN (or confirmation number) that was displayed/sent to confirm consent and job done. That's how things are done normally.

What I'm interested in is the random PIN (or confirmation number) - and more importantly, in what method is this sent? Is the number sent to the phone which you must reply to in a text message quoting it, or is it displayed on the website and you then write a text message quoting the number from your phone.

The way in which it is sent is of great importance, from an attack perspective.

If the random confirmation number is sent directly to the phone in the form of a text message then as an attacker, the only way I can see that number is to have the phone in front of me. That's how it should be done, as not only does this method imply you have the phone in front of you, but there is additional security added with having to reply from the phone too as confirmation (or consent).

Now, if the random confirmation number is displayed on the website after I select to 'add a phone' then this has every opportunity to be attacked. "Please text '8872N110' to 85518 from your phone to confirm you wish this phone to be added." Now, is it just me or does anyone else see the security implications of this? You may not see it straight away, but what if I had the ability of spoofing text messages? (see SMS spoofing article) Now do you see the problem?

If the confirmation number was sent via the first method (directly to the phone, which must be replied to), then there is no way as an attacker that I can see that number (or even reply) without having that phone in front of me. However, now that I have the confirmation number displayed on the website, added together with the ability to spoof text messages, it's all to play for. I can simply spoof a text message from my victim's number, input the relevant confirmation number and send to the phone tracking website's number, and bop, my victim's phone is added. The phone tracking website assumes that because the text message originated from the victim's number, and also, because it contains the random confirmation number, that they now have their consent to be tracked.

Mad stuff eh?

Other Posts

Introducing Ncrack, a Network Brute Forcer on Crack
"Ncrack is an open source tool for network authentication cracking. It was designed for high-speed parallel cracking using a dynamic…
Hash Me Up (Mac OS X Styleee)
On a good day you'll catch me on my MacBook Pro like any other Apple fanboy.  However, I was on…
Kneber Botnet - The End is Nigh! Not Quite!
Just a quick one this morning...  A botnet has been discovered that has apparently hijacked more than 75,000 boxes across…
Web 2.0 + People = New Challenges
This article originally appeared on Verizon Business' ThinkForward blog.  It is written by me with a different audience in mind…
Nmap 5.20 released
More than 150 significant improvements,30+ new Nmap Scripting Engine (NSE) scriptsEnhanced Performance and Reduced Memory ConsumptionProtocol-specific Payloads for more Effective…
BackTrack Final 4 released
BackTrack 4 (Final) is officially released. If you didn't already know, "BackTrack is a Linux-based penetration testing arsenal that aids…
Second GSM Cipher Fail - A5/3
The GSM encryption algorithm A5/1 has been known to be broken for some time now... about 10 years to be…
Attack on PHP sessions and random numbers
PHP random numbers and session IDs weaker than thought.  Proof of concept code and further information at http://samy.pl/phpwn/…
Friend or foe? Automated Malware Analysis and Identification
I am doing a PhD on the subject so it's only right I post something up related to it.  Whether…
Give us a flash! Introducing SWFScan, the Flash Security Scanner
The nice people at the Web Security Research Group over at HP have created a bit of goodness that will…