Retrieving TMSI in GSM mode Windows Phone - General Topics

I thought this would be simple, but it's turning out not to be.
I have a Windows Mobile phone and I would like to programatically retrieve the current TMSI. I know it's located on the SIM card but I would like to see if there is a simple way to retrieve this value from either the registry or the AT command log.
If I have to read this data from the SIM, can someone recommend a good API or example code?
Thanks in advance.

Related

Star EnForcer - counters the mobile theft

This little utility will automatically detect if the SIM card of a smartphone or pocket pc was replaced. Star EnForcer will automatically send a SMS message to a previously specified phone number containing the new SIM IMSI and current location in hexa LAC-CID combination. The message will repeat every 30 minutes.
http://www.fightersoft.ro/sef/index.htm
How does it work:
- install the CAB in the phone/ppc memory (not the storage card). Make sure that you have installed it in \Program Files\SEF
- launch SEF - initially there is no password so press OK. Press Get IMSI. If a long number will appear then it means that the application is compatible with your smartdevice. Mostly C600 - based models should work, C500, Wizard PPCs etc
- input the phone number that you want to use in case your smartdevice is stolen (use a parent's mobile phone, a friend's etc)
- input a password
- press save
- press activate
Now... in case someone steals your phone the first thing they will do is to (obviously) replace the SIM. SEF will automatically detect that the SIM has been replaced by comparing IMSI information. After 30 minutes SEF will automatically send a SMS to the predefined phone number that will include the current SIM's IMSI and the current GSM location (LAC-CID combination in hexa). With the first information and the fact that you will clearly see the thief's phone number you can go to the network operator or the police. If the thief is using a SIM with a subscription he is nailed. If he is using a prepay SIM then at least you will draw comfort from the fact that the credit from that SIM will be drained in a few days because the fact that SEF will automatically repeat the message every 30 minutes (you will also be able to track the thief). With the second information you can either go to the network operator or take your chances that MTS - http://www.fightersoft.ro/mts/index.htm will have this location in the database.
Remember, SEF doesn't require a GPRS connection. It will send SMSes to you from everywhere in the world.
Now let's suppose that you really want to replace the SIM card. Follow these steps:
- make a copy of starenforcer.exe in the same folder (very important). Run the copy. Insert the password and press deactivate.
- restart your smartdevice.
- launch SEF from the start menu, input your password and get the new IMSI, press save and that's it.
This is far from a perfect sollution with obvious flaws. However, please don't advertise them and if you have any ideeas on how to improuve security, please tell me in private. In my opinion, this software is more than a match for the clueless bus thief.
User feedback is always welcome and appreciated.
Thanks for this nice app. How would you suggest to install it in a way to survive to an hard reset? Extended ROM way?
I am sure that the product will work on the cellphone. But any person who is putting his sim will always hard reset the phone. In that case all the information will get deleted. How can we overcome that issue.
The only way is to cook it into the rom

Engineering Mode

Just found this in the registry on my V1415: HKLM\Software\HTC\EngineerMode which contains the code string *#*#364#*#*. If you dial this string you get into a simple engineering menu that displays GSM, AMR and GPRS parameters. There is a simple Done softkey option to exit.
dear,
Can u tell me what is the use of entering in to the Engg. Mode.. i mean can we use this information to do something usefull...
Please tell me...
Lokesh
For a normal user, it's useless, for a developer is a good thing to know wich cell you're connected to, if there's a data transfer between the bts and the cellphone at a determined time...

Finding lost phone.

Hello, my sister lost her phone. Is there a way to recover it ?
The gps was off when the phone was lost.
In India there Is a way to to find a lost phone which is switched on and has a Sim card inserted then we can contact Sim provider to get the location of phone
Try this if possible as quickly as possible as if the phone gets discharged there is no other way
Sent from my GT-I5800 using xda app-developers app
I did try, the carrier is Vodafone and i was told that they can only block the sim card from being used. So no luck there.
Thanks.
Wished you had Where's my droid app. It switches the gps manually when we send the command through SMS. Or did you turned mobile tracker?
Since our phone has a gps, there should be some app in that phone which can track, possible a anti virus like Lookout?
Unfortunately she didn't have any apps like that. What is mobile tracker ?
25. What is Mobile Tracker and how to set it up? (Highly recommended // Enabled it in case you lose your phone) (for Kyrillos rom v9.4+)
- The Samsung Galaxy 3 comes with a mobile tracker software by default which is not activated, as you need to register your phone and account with the Samsung online website. Only then the option works and your phone goes more safer, as the Mobile tracker is one of the best options to use when your phone is stolen or lost.
The Samsung Dive mobile tracker is something that helps you remotely work on your phone when it is stolen. The online website of its helps you in remotely swiping the phone and delete delete your private data. Though this service is not available in India, a few features of its work, like prompt SMS sending when the phone is used with any new SIM than that which was used to register with the mobile tracker. The app also helps in getting the location information of the phone.
- How to set it up (source):
α. Go to Applications => Settings section in the phone. Select Location and Security tab in it.
β. Scroll down in the menu in Location and Security, and you will see a section for Mobile tracker. Here you need to hit the “Set Mobile Tracker” option which will set the mobile tracker recipient and control the remote phone that is activated. It will take you through the process of registration and set-up of the mobile tracker.
γ. The first thing you need to set is the mobile tracker password which would be asked to you or anyone who changes the SIM in the phone. It has to be of 8 digits and all numeric characters in it. You need to remember this password for always, as it can get your phone locked if you forget it and type the wrong password multiple times.
δ. After you set the password, you need to add recipients to whom the phone sends an SMS from the new SIM to notify/alert them about the changes made in the phone.
ε. Set the information of the sender, i.e. the Sender name and the message to be sent to the recipient. And then agree to the terms.
στ. Login through your Samsung account, and if you have not registered to it, you can do that for free online by registering the product. And then you would be directed to the mobile tracker settings where you can change any recipient or make changes in the samsung account.
ζ. After everything is setup, go back to the Settings section, and into the Location and Security section. There you have to check the “Mobile Tracker” option, so that it is activated.
Note: If at all you have reset your phone through the factory reset option, all the information in the Mobile tracker is lost. You need to set it all over again.
- Now if you lose your phone or somebody stole it, you can track it and/or lock it and/or wipe all your private data in SamsungDive.
Original link - http://forum.xda-developers.com/showthread.php?t=1058071
If it has a internet conection you can try this: https://play.google.com/store/apps/details?id=com.lookout.labs.planb

Changing the android mobile data connection string.

Hello All,
For older phones you use to be able to access the mobile data connection strings that tells the phone how to connect to the network and initiate a mobile data connection for ie. allowing you phone to brows the internet over a mobile data carrier and not Wi-Fi.
I hope I've explained that well.
What I want to know is if there is a section in an android phone, maybe the developers section, that I can change so that the mobile data portion of the phone will not be able to connect. I'm not looking for the normal data on/off in the settings as that can be changed at will, this would be something that not just anyone would be able to access to change. I do have a programming background so I should understand what your responses are but just need some direction.
I'm not quite sure where to put this so I thought this place would be good but let me know if it is not.
Thank you in advance.

APN Name Enumeration

Dear all,
I have been asked to develop a tool or technique to enumerate existing APN names given a mobile connection.
I started working with the standard APN setting feature provided by Android, changing APN settings (name, username and password) and analysing the output from logcat -i radio; I found no way to inference the existence (or non existence) of an APN name form the log. It seems like the phone is using the default APN name (named "du", with no authentication) even if I provide a non valid APN name and I set it as default - honestly, I was expecting the data connection stopping working. Instead it was still properly working.. [I read about APN redirection, but in my case even with a "blablabla" APN name, everything is working smoothly... also, could it be any lock concerning the SIM card - I'm working with a regular SIM card from the du operator (UAE]
I tried switching to AT commands in order to set new context and then try to activate them but.. again, no meaningful error message (both from /dev/sdm11 and logcat).
As far as I know, the only tool available for APN name guessing/bruteforcing is abnbf (c0decafe.de/tools/apnbf-0.1.tar.gz) but it requires "talking" GTP-C (and I have NO idea if I can code a tool - or port the existing one - to Android).. but I'd like having, if possible, a very simple APK (or scripting ADB) to perform the enumeration with a pre-defined dictionary.
I hope somebody has an answer to my question
Thank you!
Sandro.

Categories

Resources