4 ms·
Freaky Leaky SMS: Extracting user locations by analyzing SMS timings
- apienx 3y agoThis is a well known technique. Law enforcement and mobile operators routinely use silent SMS to triangulate phone location. Smartphones now make it easier to capture a lot more than just location. We know of several groups that sell turnkey exploits/malware (to governments as well as other parties). There is unfortunately no way to block silent SMSes without disabling the entire messaging service (this is by design).
- belter 3y ago"...The core idea is that receiving an SMS inevitably generates Delivery Reports whose reception bestows a timing attack vector at the sender. We conducted experiments across various countries, operators, and devices to show that an attacker can deduce the location of an SMS recipient by analyzing timing measurements from typical receiver locations. Our results show that, after training an ML model, the SMS sender can accurately determine multiple locations of the recipient. For example, our model achieves up to 96% accuracy for locations across different countries, and 86% for two locations within Belgium. Due to the way cellular networks are designed, it is difficult to prevent Delivery Reports from being returned to the originator making it challenging to thwart this covert attack without making fundamental changes to the network architecture..."
- paddw 3y ago> Due to the way cellular networks are designed, it is difficult to prevent Delivery Reports from being returned to the originator making it challenging to thwart this covert attack without making fundamental changes to the network architecture Couldn't you just add a delay from the device?
- Gh0stRAT 3y agoThat would make it harder by increasing the noise, but the signal is still there. Unless the receiving (target) phone knows the location of each of the senders, it won't be able to vary the delays in a way that perfectly cancels out the signal. The only hope is to raise the noise floor enough that it would take an impractical number of texts to find the phone's location, which should definitely be possible with random delays.
- jtriangle 3y agoOr just turn off read receipts, problem solved.
- mdasen 3y agoThese aren't read receipts, they're delivery reports from the network (not your device) that you can't control. From the paper: It works by leveraging SMS Delivery Reports, which are transmitted back to the sender when the network delivers the SMS to the recipient. The sender can request these reports, and there is no way for the recipient to prevent them.
- _27d2 3y agoSurely you could set a base value (say 1s) and wait to meet that? Then introduce a few hundred ms of variance either way.
- wongarsu 3y agoWhat the attack is measuring is basically the transmission delay to the device and back. The device (or the mobile network operator) doesn't know that delay, so they can't cancel it out. If you add a constant wait time you only accomplish something if the attacker doesn't know about that, otherwise they simply subtract that. And random variance just makes the measurement noisier, send enough SMS and the noise averages out.
- KirillPanov 3y ago> Couldn't you just add a delay from the device? Cellular baseband software is ultra-closed-source. So no, you can't.
- dheera 3y agoJust don't give your cell number to people. I use a virtual number for almost everything. "I don't have a mobile phone and the law doesn't require me to have one" Or have 1 cell phone line that you give out as your number, set it up with an app to auto-forward SMS to an e-mail address and calls your actual cell phone, and put that phone in a locked garage in the middle of Iowa.
- pempem 3y agoA lot of sites have started requiring a non VOIP phone number. Have you noticed this uptick? I used to use my google voice number for everything but it gets rejected as "not a real number" about 2-3x a week
- dheera 3y agoTry using a non-US number. Many of them aren't good at differentiating VOIP/non-VOIP numbers in places other than the US.
- KirillPanov 3y agoI don't use any services that validate phone numbers in any way. Why would I? Whenever a website asks me for a phone number I just make up random digits. Have never run into problems. Credit card companies definitely don't care what phone number I give to merchants.
- pempem 3y agoThe SaaS I've been encountering requires reporting a text received by the number to confirm the account.
- 3y ago
- toast0 3y ago> "Due to the way cellular networks are designed, it is difficult to prevent Delivery Reports from being returned to the originator making it challenging to thwart this covert attack without making fundamental changes to the network architecture..." As a high volume SMS sender in a previous job, I can say this is pretty untrue. Plenty of carriers or intermediaries would block or spoof delivery reports. I found that requesting delivery reports tended to increase actual delivery, but receiving a delivery report didn't provide any meaningful indication of receipt and lack of receiving a delivery report similarly didn't provide meaningful information.
- bryancoxwell 3y agoWere you sending SMS’s from mobile devices or from something like Twilio?
- toast0 3y agoTwilio and similar.
- drunkenmagician 3y agoYes, exactly, I also have worked directly with network SMSC's (the service managing the SMS integration with the cellular network), and this is absolutely the case. Networks can and do both spoof, delay or refuse to send delivery reports, or will charge extra for them.
- im3w1l 3y agoSo from that it seems their model can answer questions like "city a or city b?" and often it will be right. But you can't just ask "where is he".
- tuckerpo 3y agoIs there an updated upstream git link? The one linked in the paper 404s.
- jh00ker 3y agoTIL about SMS Delivery Reports and I Googled to learn how to enable them in the native SMS messaging app on my mobile device! I didn't have time to read the whole doc. Did it say how many SMS Delivery Reports were needed to create the model? I saw this "We repeated the classification for every combination of locations in our dataset, with sample sizes varying from 100 to 500" I think getting 100 messages from a (series of) unknown number(s) would be alarming, but after reading this, I now know that it's a sign that I need to ... get a new burner phone and increase the size of my security detail? :^)
- jethro_tell 3y agoI believe they were silent messages though so I'm not sure you'd notice.
- bornfreddy 3y agoIf something can send silent messages, it can probably send my gps location just as easily.
- toast0 3y agoIf your phone receives a message with certain data fields properly set, the message will be discarded without becoming visible to the user, or the user visible indication may not be obvious (sending a SMS to indicate there are / are not voicemails). If the sender had requested a delivery report and the carrier (and all intermediaries) forwards the message with the delivery report request intact, and the device sends a delivery report in response, and the carrier forwards the delivery report back to the original sender, the sender may be able to infer something from when they receive the delivery report.
- guube 3y agoThis is a feature the Netherlands police actually uses to track phone locations. It’s possible to send a “silent sms” to a handset and by doing so you can discover where the receiving handset is located. This is undetectable by the user of the handset unless they use a rooted device and monitor all incoming sms payloads.
- belter 3y ago"A step by step guide to Silent SMS Attacks and Security" (2021) - https://www.firstpoint-mg.com/blog/step-by-step-silent-sms-attacks/ https://www.firstpoint-mg.com/blog/step-by-step-silent-sms-a... https://firstpoint911.wpenginepowered.com/wp-content/uploads/2021/01/location-triangulation--e1611058936479.jpg https://firstpoint911.wpenginepowered.com/wp-content/uploads...
- knodi 3y agohmmm what about traffic congestion on SMSC and inter-carrier connection congestion latency?
- zbuf 3y agoI can call the phone and tell which country you're in
- kornhole 3y agoThis is another reason to only use SIM cards for data. VOIP seems to eliminate this possibility since the message is going to a server that a device must retrieve.
- russdill 3y agoPretty sure the problem would be far worse with VoIP. You're now getting several packets per second to measure.
- kornhole 3y agoFirst the message goes to the server. Then it must wait for my client to pick it up which is not instantly. I cannot see how my location could be measured by picking up a message from a server.
- fasteo 3y agoAdditionally, we assume the attacker can collect measurements from locations of interest directly from the victim when located at specific locations/areas of interest (without revealing the attack) or deploy similar devices and connections as the victim at these locations for data collection In the Preparation phase, the adversary repeatedly sends multiple (silent) SMS, with Delivery Reports enabled, to the victim while observing their respective locations. This is a cool paper, but hard to actually implement it
- anonu 3y agoHere's some more info on SMS DLRs which this exploit relies on: https://confluence.modicagroup.com/display/SC/Mobile+Delivery+Receipts+%28DLRs%29+Explained https://confluence.modicagroup.com/display/SC/Mobile+Deliver...
- Bluecobra 3y agoI assume that if I use Google Voice I be immune from this attack since the stuff doing SMS would be in their data center.
- WaitWaitWha 3y agoI cannot find any explicit statement that says something what the percentage of accuracy refers to. 96% accuracy to what? Can someone tell me what page, or the blurb around this?