start	end	text
1550	7070	Hi, my name is Cooper Quinton and I'm here to talk to you today about detecting 4G base stations
7070	13770	in real time. First, a little bit about me. I am a senior security researcher with the Electronic
13770	19750	Frontier Foundation. I have a toddler and a new baby who is less than one week old, which should
19750	24590	explain the bags under my eyes because I'm very tired. And it should also explain the dad jokes
24590	29910	in this presentation. I'm also a former teenage phone freak. I spent a number of years building
29910	35070	strangely colored boxes to do nefarious things to the phone system, which might explain why I got
35070	41030	into the work that I'm going to present here today. I work for EFF or the Electronic Frontier
41030	45910	Foundation. If you're not familiar with us, our work can be found at EFF.org. We're a member
45910	51650	supported non-profit and we defend civil liberties as they intersect with technology. We think things
51650	57770	like freedom of speech, the right to assembly, and the right to privacy exist online as well as
57770	62990	offline, and when you interact with technology as well as when you don't. And we've
62990	71450	been defending these rights worldwide for more than 30 years. I work for the EFF Threat Lab
71450	75650	specifically, and I'm going to talk about that in a second. But before I do, I want to take a moment
75650	81030	to thank my colleague Yamina. She's no longer at EFF and has joined a new company, but this work
81030	86290	is as much hers as it is mine. She's a really amazing and smart person, and if you like this
86290	90870	work, you should check her out at Rival Elf on Twitter. None of this would have been possible
90870	99270	without her. So what is Threat Lab? Threat Lab looks at technology that targets at-risk people,
99270	106510	specifically activists, human rights defenders, journalists, domestic abuse victims, immigrants,
106510	113970	sex workers, minority populations, and political dissidents. Anybody who is at risk of violence
113970	118330	for doing the work they do or simply being who they are.
119590	124070	And the technology that we look at usually shares a few similar goals.
124270	130810	To gather intelligence on political opposition, to spy on people illegally or when they've left
130810	137050	the country, to locate, capture, extort, and harass people whose views you disagree with,
137050	141490	and generally to stifle their freedom of expression and prevent them from speaking out
141490	145030	and doing the work they do or even just living their lives.
145850	150250	We look at a couple of different types of technology in this work. One of the main
150250	155170	types of technology that we look at is state-sponsored malware and spyware. This is
155170	159110	malware used to spy on people through their phones or their computers, and that's a big
159110	164530	part of what we do. But another part of what we do is look at the technologies that law enforcement
164530	171290	use to spy on people on the streets when they're going about their daily lives. And one of those
171290	176990	technologies is known as a cell-site simulator. So what is a cell-site simulator? A cell-site
176990	183050	simulator is a transmitter or receiver that intercepts metadata and location information
183050	190510	from cellular phones, often by masquerading as a legitimate cell tower. The terms MCCatcher,
190510	196990	Stingray, Hailstorm, fake base station, and cell-site simulator are all pretty much
196990	201610	interchangeable, and for the purposes of this presentation, we will use them interchangeably.
202490	209390	So they all mean the same thing. So how did we get interested in cell-site simulators?
209850	217890	Well, it all started back around Thanksgiving of 2015, when I started getting messages from people
217890	224590	at the Standing Rock Indian Reservation in North Dakota. At that time, there was a large series of
224590	231610	protests going on at Standing Rock to protest a pipeline which was being built through the reservation to deliver oil.
232230	237650	And people at those protests had started seeing strange things which they thought might be
237650	242970	indicative of the presence of a cell-site simulator. Some of them had installed applications
242970	247850	on their Android phones which reported to detect cell-site simulators, and they sent me the
247850	253570	screenshots of the detections. I thought that these screenshots were suspicious enough that I thought
253570	259770	it was worth going out to Standing Rock to see if I could detect these for myself. So I loaded up a
259770	267210	few different apps on my phones, and I grabbed a couple of $20 software-defined radios, and off I
267210	274910	went. When I got to Standing Rock, I started running the apps, I started scanning the 2G GSM cellular
274910	280530	spectrum for any anomalies with the software-defined radios, and set about to see what I could learn.
280530	286730	And what I learned is that I have no idea what I was doing.
288150	295370	The apps were showing me some results, but I couldn't really figure out what those results
295370	300450	meant. Did they mean there was actually an MC catcher around, or did they just mean that they
300450	306950	that the cellular network was having a hard time and failing in the normal ways that cellular
306950	314890	networks fail all the time? Furthermore, I looked at what the 2G spectrum was producing
314890	321810	from my software-defined radios, and realized quickly that there were no 2G GSM towers anywhere
321810	328230	in the area, real or fake. There was nothing going on on that spectrum at all. All of the
328230	336730	connections in the area were over 3G or 4G. So this was very confusing. I didn't know what to
336730	342830	make of this. I certainly hadn't found any hard evidence of MC catchers, and it seemed like the
342830	350750	methods that I was using wouldn't quite work. Up until that point, all of the knowledge that we
350750	356510	had about MC catchers was based on an older model called the Stingray, as shown here.
357010	363570	The Stingray is made by a company called Harris Corporation, and it is perhaps the most famous MC
363570	371330	catcher. It works natively on 2G, and it takes advantage of vulnerabilities in the 2G specification,
371330	377130	two trick phones into connecting to it and giving up their location and metadata for their calls.
377930	384990	Now, since there was no 2G anywhere in the area of Standing Rock, we figured that any MC catchers
384990	392550	that were out there must be operating natively on 4G or LTE. What's more, we had just discovered
392550	399830	that the city of Oakland, which is a major city in California, had upgraded their Stingray to a
399830	406190	new model of MC catcher called the Hailstorm. The Hailstorm purported to operate natively on 4G
406190	413350	and have all the same characteristics, all the same capabilities that the Stingray has.
413350	420990	This was interesting to us, because up until now we had assumed that 4G LTE had fixed all of the
420990	425430	vulnerabilities that the Stingray could take advantage of, and therefore might be impervious
425430	432750	to MC catchers. But clearly, this was not the case. So we figured that the best thing to do
432750	438750	was figure out how 4G LTE native cell site simulators, such as the Hailstorm,
438750	444550	could possibly work. And more importantly, could we be able to detect them?
447490	451850	Yamna and I set about reading all of the academic papers we could for the next year
451850	458670	about vulnerabilities in the 4G LTE protocol. And what we found are that there are several
458670	465570	different vulnerabilities that next generation CSS could be taking advantage of. Yamna wrote
465570	471550	all these up in a really excellent white paper called Gotta Catch Em All, which is a nice high
471550	476270	level summary of all of the vulnerabilities and how they work. I'm not going to get into this here,
476270	480370	because Yamna's paper is really excellent, and you should really just go read that.
480850	485610	But suffice to say, we found several ways, and we feel like we have a pretty good understanding
485610	492350	of how a Hailstorm or a similar cell site simulator might work. So now that we've found
492350	500690	out how they work, how often are they being used? Well, in the US, we can use Freedom of Information
500690	508130	Act requests to figure that out, at least from government usage. So the Immigration and Customs
508130	515870	Enforcement wing of the US government used their cell site simulator 466 times between 2017 and
515870	523850	2019, according to documents obtained by the American Civil Liberties Union. In local law
523850	531590	enforcement, the city of Santa Barbara used their cell site simulator 231 times in 2017,
531590	536430	roughly equaling the number of times that the cell site simulator was used by ICE,
536650	543730	a federal agency, but for one small city in California. On the other hand, Oakland, California,
543730	551010	which I talked about earlier, only used their cell site simulator 3 times in 2017, 4 times in 2018,
551010	556850	and once in 2019. And we think that the reason for this difference is that Oakland has strong
556850	561870	privacy laws about when the police can use the cell site simulator, why they can use the cell
561870	566130	site simulator, and what sort of reporting they have to do after they use it. And we
566130	572630	think this is evidence that those privacy laws actually work very well. But of course, not
572630	580470	everybody can be... we can't request freedom of information documents from everybody.
582830	588610	For example, we think that foreign spies are using MC catchers around Washington,
588610	592990	D.C. and the U.S. Capitol. And we think this because the Department of Homeland Security
592990	597070	put out a report saying that they had found several MC catchers in the area,
597070	602090	which they assumed were operated by foreign spies. We also think that cyber mercenaries,
602090	607130	such as the NSO Group, are using MC catchers. There was a report from Amnesty International
607690	613090	about how NSO Group had used MC catchers to spy on a Moroccan journalist,
613090	618730	presumably on behalf of the Moroccan government. Also, we think that criminals are using MC
618730	624290	catchers. There's some body of evidence that Mexican drug cartels are using MC catchers
624290	630590	to keep tabs on the Mexican federal forces that are going after them. And this makes sense. It
630590	635570	only costs a couple of thousand dollars to build a really nice MC catcher. And this is certainly
635570	643590	within the budget of a well-funded crime group such as a cartel, or even a smaller crime group
643590	651550	such as a robbery ring. So, since we can't FOIA everybody, we also want to figure out how we can
651550	657510	detect 4G MC catchers. There are a couple of previous attempts at this, and two schools of
657510	662290	thought, which I'll call app-based and radio-based. The app-based school of thought, such as Android
662290	668710	MC catcher detector and Snoop Snitch, usually is a free Android application that can be downloaded
668710	675130	from the Android Play Store. They're easy to use, but they can only get data about the
675850	680990	transmitters or base stations that your phone is connecting to. They also get a lot of false
680990	686710	positives and false negatives, because a lot of the things that might look like MC catcher activity
687210	691790	are also things that happen often in the cellular network, and you have no way to tell
691790	696390	whether this is a normal glitch or something that's actually suspicious.
698390	703070	On the other hand, there is a school of thought called radio-based MC catchers, and these are
703070	708610	things such as the Seaglass project out of University of Washington, or the Sitch project
708610	715030	by Ash Wilson. The advantages of these are that you can get better data. You can get data about
715030	719610	all of the transmitters or base stations in an area, not just the ones that your phone is
719610	725170	connecting to, and you can get lower level information. The cons are the downsides are
725170	729590	that they're harder to set up and use. You have to know Linux, you have to know some programming,
729590	733170	and you have to buy some hardware, so it's not as cheap.
735790	742730	So after looking at these, we thought can we detect 4G cell site simulators? How can we
742730	750350	improve on these previous attempts? Well, one thing we can do is to collect lower level data.
750350	755070	We like the radio-based approach to be able to see all the towers in the area, not just the ones
755070	759630	that our phone chooses to connect to. And we can also compare that data over time to look for
759630	765950	changes and suspicious new events. But the most important improvement that we can make is to not
765950	772610	look at 2G or GSM towers, which all the previous technologies do, but to look at the 4G spectrum
772610	778610	and to look at the anomalies we expect to see in 4G MC catchers. And the other really important
778610	784970	thing we can do is verify the results, meaning to actually track down suspicious towers and
784970	793950	see them with our own two eyes. If the suspicious base station is on top of a normal cell tower,
793950	799790	that's probably fine. If it's on top of an embassy belonging to a foreign government,
799790	804430	that is more suspicious. And if it's in the back of an unmarked van,
804430	808930	that is extremely suspicious and most likely to be an MC catcher.
809930	815890	So me and Yamana set out building our detector, which we call Crocodile Hunter.
817910	825710	Crocodile Hunter is an open source software stack which is based on SRS LTE. SRS LTE is an
825710	833490	open source LTE implementation which implements not only the base station and back end of LTE,
833490	839960	but also the mobile phone equipment itself. It can be an LTE client as well as an LTE server.
840610	847410	We also use Python for the database and front end and heuristics and number crunching
847410	851990	about whether something is a suspicious base station or not.
853410	863130	The hardware stack is a laptop or Raspberry Pi running Linux, a USB GPS dongle, a software
863130	870590	defined radio, and two LTE antennas. This is very small and can easily fit into a backpack
870590	876150	or into your car for concealability.
879440	886220	So this is an example of the Crocodile Hunter user interface. Each of the orange dots and black
886220	892100	skulls are a base station. This was collected in downtown San Francisco in 2019. The black
892100	896080	skulls are base stations that we think are suspicious, but of course not every one of them.
896080	902180	In fact, in this case, probably none of them are cell site simulators, but they are all
902180	906800	base stations that Crocodile Hunter found suspicious and we should probably follow up on.
908000	915480	The way that Crocodile Hunter works is we use SRS-LTE to scan a list of the 4G frequencies
915480	920960	for information blocks. These are packets which are sent out by the base stations
921920	929500	fairly frequently, which contain information like a cellular ID, a unique ID for the base station,
929500	936040	and a few other pieces of interesting information. SRS-LTE decodes the system information blocks
936040	940180	and sends them back to the Python server over a local socket.
940600	948020	The Python server then does a few things. The first thing we do is try to map out the antennas
948020	954080	in real time. We use a method called trilateration, which is similar to triangulation,
954080	958620	and some radio physics to estimate where all the base stations are located.
959040	965060	We then can compare this to a public open source database, such as Wiggle or OpenCellID,
965060	971240	to see if this transmitter has a history. Is this transmitter regularly seen in that area?
971300	977840	Is this transmitter one that's been in that area for a while? And this is predicated on the idea
977840	983240	that cell-site simulators will tend to be mobile and only show up for a little bit and then leave,
983240	986840	and not stationary sitting in one place for months or years.
989660	994100	Then we can look for anomalies, now that we have the base stations and we've mapped them out.
994100	1000640	We look for things like base stations that move, base stations that are in two places at once,
1000640	1004500	base stations that are new and haven't been seen before, or base stations
1004500	1009240	that are only seen once and then never seen again. Things that are changing parameters
1009240	1014400	or missing parameters, all of these things are suspicious. And when we find a suspicious base
1014400	1018820	station, we don't immediately assume it's a cell-site simulator or an MC catcher.
1018820	1023360	That's why we have to go physically verify it and take a look at it with our own two eyes,
1023360	1027980	to see if this is a false positive or to see if this is the real thing.
1030540	1035710	So what have we found so far? One of our earliest tests was in Washington, D.C.,
1036680	1042340	where we found a really interesting base station. Normally, it would
1043800	1051300	give the mobile country code and mobile network code of 310 and 410, which correspond to the
1051300	1057880	United States and AT&T, respectively. There was another base station, similarly,
1057880	1065260	giving the country code and network code of 310 and 410. But in one instance, those base stations,
1065260	1072400	one of them, suddenly started broadcasting a country code and network code of 350 and 490.
1072400	1079460	350 is the country code for Bermuda, and 490 is a network code which is not used by any network
1079460	1086980	provider in Bermuda, but which is used by Sprint or T-Mobile in the United States. But notably,
1086980	1093180	not AT&T, which is who this base station belongs to. It even had the same base station ID.
1094440	1099200	In the other case, the base station suddenly started broadcasting the country code and
1099200	1105560	network code of 308 and 451, which belong, respectively, 308 to Saint-Pierre-en-Miquelon,
1105560	1111620	which is a small island off the coast of Nova Scotia, and 451, which is not used by any network
1111620	1119000	anywhere in the world. So this is really interesting, and why the heck is this happening?
1119000	1124000	We have no idea. This is certainly not a result we expected to see,
1124000	1129500	and although it is suspicious, we're not really sure what's going on here.
1131060	1134920	So we kind of wrote that off as an anomaly and meant to investigate it later.
1135560	1138520	Later that summer in Oakland, California...
1142050	1149170	Later that summer in Oakland, California, there were a series of Black Lives Matter protests,
1149790	1161310	during which we ran Crocodile Hunter between June 3rd and July 15th. And for most of that time,
1161310	1170330	saw what we would expect to see. Base stations from T-Mobile, AT&T, Sprint, and so on. But in
1170330	1178670	two instances, what we found were really strange base stations suddenly broadcasting. Sorry,
1178670	1182710	in one instance, what we found were three different base stations suddenly broadcasting
1183310	1190010	different country codes and network codes. And these were all seen on June 19th, which was the
1190010	1194530	of a large protest in downtown Oakland, which marched from the port of Oakland,
1194530	1200730	one of the biggest shipping ports in the world, to Oakland City Hall. In one case,
1200730	1207810	the base station was broadcasting a country code of 213, which is used by the country code of Andorra,
1207810	1214630	and 688, which is not used by any network in Andorra. In another case, the country code was 710,
1214630	1222170	which is used by the country of Nicaragua, and 738, which is not used by any mobile network
1222170	1227650	provider in Nicaragua. And in the third case, it was broadcasting the country code of 319,
1227650	1233750	and a network code of 59, which isn't used by any country or network anywhere in the world.
1233790	1239910	So these are, again, very suspicious. And we only saw them that one time, despite doing scans for
1239910	1245970	for three different scans over the course of a month and a half in the same area. This is pretty
1245970	1250150	similar to what we saw in DC, and we still don't know what to make of it, but we think it's very
1250150	1260510	suspicious, and we're hoping to collect more data. Finally, what's with the name? Well, there is a
1260510	1266630	man, Steve Irwin, who used to run a show called The Crocodile Hunter. And unfortunately, he was
1266630	1276570	killed by the animal, the stingray, while he was swimming in Australia. You may remember,
1276570	1281310	the stingray was the name of one of the original MC catchers. So we named this Crocodile Hunter
1281310	1285930	to pay our respects to Steve Irwin. Thanks, Steve. Much love.
1289720	1296220	So what is our future work here? Well, we have ongoing tests in Latin America with the FADE
1296220	1302240	project, in Washington DC, in New York City, and hopefully in your hometown and in countries around
1302240	1308960	the world. The project is open source, and we would love for you to download it, take a look,
1308960	1313960	and run it yourself. We would like to get more data. We think that this can only be improved
1313960	1318700	with more data. We want to see if those strange networks with strange country codes pop up again
1318700	1323680	in other places and try to figure out what that means. And we also want to improve our heuristics
1323680	1327340	as we see what MC catchers look like in the wild.
1328440	1334120	Finally, how can we stop cell site simulators? Unfortunately, there's not much that we as
1334120	1341460	individuals can do. And unfortunately, 5G doesn't solve the problem. In fact, it leaves many of the
1341460	1349620	same security problems that 4G has still open. One thing we can do is end 2G support on iOS and
1349620	1355140	Android. 2G allows some of the worst abuses of MC catchers, such as listening to the content of
1355140	1360660	phone calls. And if we stop 2G, that would at least make the problem a little bit better.
1360820	1364960	We can also eliminate some of the vulnerabilities in 4G, and there are some amazing
1365620	1370320	proposals for how to do that, which I can't get into now, but will be linked to in the slides.
1371620	1376120	We can get more data about the threat that cell site simulators pose and how to detect them,
1376120	1381880	which will help us pressure our governments to pass stronger privacy regulations and to pressure
1381880	1388240	standards orgs, carriers, manufacturers to care more about user privacy and take this threat
1388240	1394380	seriously. None of these are foolproof solutions, but we're not even doing the bare minimum yet,
1394380	1401780	and I think that we could do better. The final takeaway is here. We have a pretty good understanding
1401780	1407100	of the vulnerabilities in 4G which commercial cell site simulators might exploit.
1408160	1413700	None of the previous MC catcher detector applications really do the job anymore,
1413700	1419720	but we've proven that the same principles which worked for previous cell site simulator
1419720	1424120	detection apps should work for the next generation of cell site simulators.
1424440	1430360	Finally, the problems of CSS abuse can be solved, but it's going to take a lot of work,
1430360	1433780	not only engineering work, but political work as well.
1436120	1441160	Thank you for your time. Again, I'm Cooper Quinton. I'm with the EFF Threat Lab,
1441160	1446000	and I'm a senior security researcher there, and you can find me on Twitter at CooperQ or email
1446000	1452440	cooperq at EFF.org, and Crocodile Hunter can be found on our GitHub page here as well.
1452980	1456980	Thanks, and I hope you enjoy the rest of the conference. Bye-bye.
