How Police Can Track Your Phone
Transcript
Machine-transcribed by YouTube. Expect errors in names, commands and version numbers.
So, stingrays are a fake cell tower that
police or bad guys can put up >> Yeah. >> to trick your phone into connecting to it. They can then use this to find your location or read your downgrade your connection to read your text messages, listen to your phone calls, send phishing messages in the case of criminals, um and a lot of other things. Our concern was that these were potentially being used without a warrant >> Yeah. >> and also to surveil First Amendment protected activities. So, things like protests. And the law enforcement has been very secretive as to when they're using them, how they work, exactly what vulnerabilities they are taking advantage of in our phones. And so, we wrote this software called Ray Hunter to try to detect [music] when these were being used and get a better understanding of how they work.
>> Everyone, David Bumble back with a very special guest. Cooper, welcome to the show. >> Hey David, happy to be here. >> You with the EFF, tell us a bit about what you do there. And what do you do there? >> a senior staff technologist at the EFF. I [snorts] work on a variety of things including state-sponsored malware research, our street-level surveillance program where we look at law enforcement surveillance technologies, um and uh just kind of generally protecting at-risk communities. >> That's fantastic and I I believe you also work on this product that I think a lot of people will be interested in which is like stingray or what Can you explain what that is and what you what you do?
>> Yeah, so I work on a project an open-source project at the EFF called Ray Hunter. And Ray Hunter is software open-source software to detect stingrays. So, stingrays are a fake cell
tower that police or bad guys can put up >> Yeah. >> to trick your phone into connecting to it. And then it will follow your phone around and it will it will keep your phone on there. They can then use this to find your location or read your
downgrade your connection to read your text messages, listen to your phone calls, send phishing messages in the case of criminals, um and a lot of other things. >> So, basically, if I understand it right, a law enforcement or someone could have a van with like a fake cell tower in it, right? And because the signal is stronger, your phone automatically connects. Is that right? >> More or less, that's correct. It does some other tricks, too, but the first thing it does is has a very strong signal. And yeah, usually they're in like the back of a truck or a van. Um and then it'll cause all the phones in the area to connect to it. Looking Usually, looking for a specific phone.
Uh by what's called the IMSI or the IMSI, [clears throat] which is the unique ID for your SIM card. >> Yeah. >> Once it finds the specific phone it's looking for, it'll keep that phone locked onto it. But meanwhile, while it's making all these other phones connect, it's gathering all that information, too, about every phone that's in the area. >> I don't want to get into politics too much, but I know it's been a big issue in the US recently. Um it's it seems to be used a lot by a lot of law enforcements uh sorry, law enforcement groups in the US, right? >> Yeah. So, I I mean, it's a big issue all over the world. Um it's a big issue in the US, for sure. And since that's where I live, uh that's my main concern.
ICE has recently bought a couple of new ones of these. Uh we know that DHS in general, ICE's parent agency, um has had, you know, dozens of these over the course of uh the last of the course of their life uh 20 20 years or so that they've been around. Um and yeah, FBI, a lot of other law enforcement agencies. And our concern was that these were potentially being used without a warrant. >> Yeah. >> And also to surveil First Amendment protected activities. So, things like protests or uh you know, other other you
know, journalists, thing people like that, right? And so, we wrote this software called Ray Hunter to try to
detect when these were being used and get a better understanding of how they work. Cuz the other issue with these is that it's very opaque as to how they work. And law enforcement has been very secretive as to when they're using them, how they work, exactly what vulnerability is they're taking advantage of in our phones. And so we don't even know how to patch phones to protect against these and and how to make our phones more secure. And you might say, "Okay, well, I don't you know, if law enforcement needs these to find murderers or criminals or whatever, that you know, that's fine. I don't I don't care about that." Yeah, but that's not A, they should still be getting a warrant for that because that is what we've decided as a society.
But B, law enforcement is not the only ones using these. You have spies using these. You have to install malware in some cases. You have people using these for spam, for for SMS phishing attacks. Right? There's a lot of uses for these besides just the ones that you like, right? And and if they're being used to surveil groups of people, you should care about that because you could be the next group. So that's why we wrote this software to get a better understanding of how they're being used, where they're being used, and how they work. >> What do I need? Is it does it run on a laptop or is it some special device?
What do I need? >> Uh so it runs on this little device I have here. Uh it's just called a it is a mobile hotspot. It's a $20 device that you can
buy on eBay or Amazon and it's a it's
just a mobile hotspot. It's a thing that you put a SIM card in and it gives you a Wi-Fi access point from your mobile connection. This particular model is called an Orbic. This one works in the US. We have another one from TP-Link that works across Europe, a different one that works in Asia. We support like five or six different models of mobile hotspots. But they're all very cheap and they're just little Linux boxes. So we've written some open-source software that you can easily flash onto this little box, um and then it just runs. There's a little green light at the top. Uh if that turns yellow or orange or red, that means it's detected something. And then you can go log into that you connect to it, log into the web interface, and download the uh files which contain the network traffic and the and the the signatures for us to look at.
>> Okay, so I've I think I've been connected to a stingray. It It gets like Wireshark captures or something that I can send to you, right? >> Exactly. So, it gets Wireshark captures and it'll it'll give you a notification. It can actually give you a push notification on your phone that says "Rayhunter detected a high severity alert, right?" And then you can log in download the pcap files and send them to us for further analysis. That's amazing. >> And um what is the what is actually happening in the background? Is it looking for like the uh the the the cell phone tower trying to degrade you to 2G or 3G, that kind of stuff?
>> Yeah, so we have a few different attack signatures. Uh what it's doing is basically looking at the connection between the modem there and the towers it's connecting to. And we look for things like downgrade to 2G like you said. We also look for your IMSI, which as I said is the unique ID for your SIM card being requested in a suspicious manner. Um and this this is something that has been particularly hard to get right because >> Yeah. >> the phone network is weird and it actually requests your IMSI all the time when it shouldn't. But we've gotten pretty good at being able to tell when it's doing that in a normal weird way
and when it's doing when it's malicious, right? And so that's that's one of the other attacks we have. The other signature we have is a uh null cipher signature, which is where the tower has requested to not have any encryption between your connection and the tower. This happens normally when you're calling 911. If you're connected to a tower that's not yours, there's no key material in that network to encrypt your call, right? But, and so they need to deliver your 911 call, so you'd use a null cipher for that. But, if you're not making a 911 call, and you have a null cipher, which is basically just, you know, a a cipher of nothing, like X and all zeros, right?
Um >> then it's really easy to intercept your text messages or your calls or any other traffic going on there. A null cipher exists in 2G, 3G, 4G, and 5G. >> Oh, wow. >> So, it's a s- yeah. >> So, I mean, in other words, once I connect to the stingray, they can listen in on my calls, they can see all my text messages, everything, cuz that cipher set to like no encryption. >> That if they if they do that, then yeah. Yes. Um or what they can do is, because the null cipher message is not authenticated, you can connect to a legit tower, the stingray can inject a request for a null cipher, and then you'll connect to that tower with a null cipher.
>> Wow. >> And then, you can do a man-in-the-middle attack from there. >> Wow. Wow. I want to thank ThreatLocker for sponsoring my trip to Black Hat and DEF CON, as well as sponsoring this video. I love the concept of ThreatLocker. Don't allow normal users to run any code on their computer, allowing them to do anything that they want to. One of the problems with deployments today is the applications on your computer have access to everything and can do anything that they want to, which could include copying files onto a cloud storage. That may be a legitimate use of applications on the computer, but could be used by an attacker to exfiltrate confidential information onto a cloud storage that they own. What ThreatLocker's a zero trust allows you to do is get granular control over every app, script, and process in your environment. So, you don't have to worry about the latest new type of attack somehow bypassing your new signature recognition or AI recognition system.
You just deny applications by default. So, they can't do something that they're not supposed to do. You don't have to take my word for it. Have a look at some of these customer examples from ThreatLocker's website, if you're interested. If you want to learn more, use my link below. Go and learn about ThreatLocker and how they are making zero trust a lot easier to deploy in 2026. >> So, can you give us some details of the kind of things that you found? >> Yeah. So, we've been we've been running this project for almost 2 years now. Yeah. Um we've got about 200 submissions. Uh from people who have sent in P-caps.
Yeah. So, people have sent about 200 uh not individual P-caps, but like 200 people have sent between 1 and whatever >> Whatever. Yeah. >> Right? Um and we've gotten some really interesting results. We've actually gotten some results from known like commercially available IMSI-catchers in a lab in a in a like in a lab setting. So, we we've been able to learn a lot from that. Um we've gotten and then we've gotten uh a lot of interesting stuff. A lot of false positives, uh which has helped us refine our signatures. We've gotten a lot of recordings from protests. And so far, what we're seeing is that these are not being used at protests.
>> They're not being used at protests. >> not seen any evidence of IMSI-catchers being used at protests, which is good. >> Yeah. >> Um and like people have part of the reason why I started this project is because um a lot of activists have this feeling that there were IMSI-catchers at every protest, right? And like in every cop car. >> Yeah. >> And I I I didn't think that was the case, but I wanted to know, right? >> Yeah. >> Yeah. Verify. >> Yeah, exactly. So, I I I, you know, got this out to a lot of protesters. Yeah, what we're finding is that this is not getting used at protests. And people are saying like, well, like why? Why Why aren't cops using this protest? Well, this is because law enforcement has a lot of other tools to identify who's at a protest. They can do tower dumps. They can use ALPRs. They can do facial recognition.
>> etc. >> Exactly. There are flight cameras. There's celebrating for when you arrest people and you can get a copy of everything on their phone, right? So like this and what what we're seeing that we is that we think that at least nowadays IMSI catchers are mostly being used by like SWAT teams to determine if someone is home before they raid their house. Which I might sit here and argue whether SWAT teams should even have no-knock raids should exist. But like IMSI catchers are the smallest problem with that, right? But I want people to keep doing this cuz the concern is that Look at Look, we've seen them ICE acting pretty lawlessly using
using administrative warrants for things that they should be getting judicial approval for. Which is basically the judicial equivalent of ICE, you know, signing their own late note, right? Like ICE can >> Wow. >> use this surveillance equipment signed to me. >> Wow. >> Right? So the concern is that this situation could change, right? As >> And it could be used in other countries as well, right? Sorry to interrupt. >> Absolutely. Absolutely. So actually what we've seen is we've seen more results from other countries than we necessarily have in the US. We got some really interesting other confirmed hits from an IMSI catcher from the Philippines where there was an SMS phishing attack where basically like somebody had an IMSI catcher running and somebody had Rey Hunter running and at the same time as they got a fake text message on their phone from the National Health Care, they also got a hit on Rey Hunter. So it was it was able to detect a smishing message in real time. And so now we have like accurate logs of how that all works, too. So we can take this back to Google and Apple and whoever else and try to get better protections built in to devices themselves.
>> I mean, ideally more and more people will download this and use it so you get more and more data, right? >> yeah, absolutely. I mean, the the hard part is that you have to have a separate device and we're never going to make an app for the phone. I'm not going to get into that now, but there's a lot of reasons for that. The main reason is you would have to root your phone and I don't want anybody rooting their phone. >> exactly. >> Right, um but yeah, we're hoping more and more people will use this. We want people to, you know, take it to protests, take it wherever, anywhere where you, you know, take it to church, take it wherever you think, you know, uh uh you would not want law enforcement spying without a warrant, right? And let's get an early warning sign if they are.
>> What do you say to people saying that I've got nothing to hide? And why do I care about this? >> Yeah, that's a that's a super common form of security denialism. Um I think everybody has something to hide, right? You we've seen that laws can change fast, right? Uh uh what's legal for you today might not be tomorrow, right? And so, you know, you have to And also, like, if your guys are in charge now and you're not the one being oppressed in now, >> Could be >> that could change. >> Exactly right. >> Right? So, like, you can't you can't trust that a government or a law enforcement or the laws or society will always be on your side, right? Everybody has something to hide. And I mean, everybody has something to hide.
Every one of us You don't put all your secrets on the internet, right? Every one of us has things we would rather people didn't know. >> Yeah, we want some kind of privacy. >> Look, private browsing mode exists for a reason, okay? Like, and yeah, so it's it's I I think every If you think you don't have anything to hide, you haven't thought hard enough about the problem. >> Yeah, I mean, if you've got nothing to hide, give me access to your email right now. >> Right, right. Exactly. >> Yeah, and give me access to your bank account, send >> at your browser history. >> Yeah, exactly. Let me put a camera in your bedroom.
>> Yeah, exactly. >> So, what do you see in the future? What's going to What What else are you working on? >> So, the next big thing I'm concerned about since I kind of stay focusing on law enforcement and surveillance technologies is mobile forensic extraction tools. So, this is things like Cellebrite and GrayKey would be the terms you've heard. These are tools that law enforcement uses to if somebody's phone is unlocked, make a copy of all the data on that phone. All your signal messages, your all your photos, your browser history, your your emails, your contacts, everything, right? And then they can keep that data in a database for as long as a judge will let them or you know, if they get a warrant for this. And so, my concern again is that are warrants always being used for this?
How long is this data being kept for, right? Is this data being linked with other data, you know, via via
tools like Palantir, right? And then what what is being done with this data? So, I think that this is a really extremely invasive >> Cuz our phones are like a extension of our brains, right? >> And so, I think this is an extremely invasive tool that people are largely not aware of and don't really think about how and it's being used. I mean, last year Customs and Border Patrol >> going to say, I'm I'm visiting from the UK, man. I'm worried they're going to take my phone and dump all the data. >> Yeah, and so, they had a new record of of I think it was something around like 40,000 phones searched in just one quarter.
>> In one what? >> One quarter, like three months. >> Wow. >> so I'm I am starting to think that this is a much more prevalent problem than Stingrays maybe, at least here in the US. >> I'm glad you're working on that cuz it is a concern, right? Do you you get to border control, they don't need a warrant. They can literally ask you for your phone, otherwise they send you back home. >> Yeah, that's right. And you don't have a choice. If you are a US citizen, you do have a choice, but the choice is unlock your phone or give up your phone and we keep it.
>> Wow. Would you use biometrics on your phone or do you think PIN code's better? >> So, a lot in the US, uh the courts are divided about this, but some courts have said that police can compel you to unlock your phone using biometrics. Whereas, it's a universally agreed principle that only a judge can compel you to unlock your phone with a password. That said, in many cases, you're not going to be in imminent danger of interacting with law enforcement. Biometrics are better in all ways. You don't have to sit there and type in a password. You don't have to worry about somebody shoulder surfing or a camera, right? Or something like that. But, if I were in a situation where I thought I might be interacting with law enforcement soon, I would recommend generally turning off biometrics.
Um and for people going to protests, I generally just recommend turning off your phone while you're at the protest. >> Cooper, unfortunately, we're out of time. Any closing thoughts or any recommendations? I'm assuming people can go to the EFF website, download this stuff. Can you give us some details? >> Yeah, yeah. So, uh if if you're interested in what I'm talking about, folks can go to eff.org. We are a nonprofit. We are member-funded. Um and if you want to donate, that's great. That helps pay all our salaries. We are We are majority funded by our members. Um and then, uh if you want to read more about how to protect yourself from all this scary stuff, go to ssd.eff.org.
That's our surveillance self-defense guides. It's the longest-running continuously updated security guides on the internet, and they're really fantastic. >> I really appreciate what you guys are doing. And it's becoming so important with what's happening in today's world because it feels like this surveillance network is just growing and growing. >> Yeah, I I it it's a lot of people have decided that 1984 was a instruction manual instead of a warning, and it's uh it's getting scary out there. So, I'm uh hoping to just help people protect themselves in any little way I can. >> Appreciate it, man. >> Thank you.





