News for hackers. Stuff that matters.
Re:How to Build Your Own Rogue GSM BTS for Fun and Profit by blantonl on Saturday April 02, 2016 @03:47PM (#11413041)
I wouldn't even think about doing this unless you are in a faraday cage environment or other locked down RF environment where you can be absolutely sure you have complete control over all RF emitted by the device and you know exactly which devices are able to connect.

Otherwise, in the US expect the FCC and network operators to become intimately familiar with who you are rather quickly.

Having random public phones roam onto your rouge cellular network is a public safety risk (potentially no 911 access) as well as any number of laws being directly broken (unlicensed spectrum use, denial of service to legitimate licensed networks etc).

Re:How to Build Your Own Rogue GSM BTS for Fun and Profit by k0ngo on Saturday April 02, 2016 @04:42PM (#11413329)
This. It is also important to note that you may interrupt the service of other people's handsets even if your BTS doesn't allow them to connect, just by operating your SDR with an insufficient clock reference [1]. The handset will re-calibrate it's VCXO to match your SDR, and then won't be able to see the legitimate cell networks.

[1] http://openbts.org/w/index.php?title=Clocks

Re:How to Build Your Own Rogue GSM BTS for Fun and Profit by blantonl on Saturday April 02, 2016 @06:47PM (#11413924)
Excellent point. All cell phone sites have a GPS reference clock source for each provider. The clock source is critical for everything from RF tuning to handoff timing between sites.

You'll see this type of antenna mounted typically right on top of the equipment housing structure. Each one you see will tell you how many providers are there.

http://www.antenna.com/media/GPSL1-TMG-SPI-40NCB-thumb.png

(Note that it is small, about 6 inches in height. And different variations abound, but they are typically painted white and mounted right on the structure for LOS view to the sky)

Re:How to Build Your Own Rogue GSM BTS for Fun and Profit by gnu8 on Saturday April 02, 2016 @03:57PM (#11413090)
All very good reasons why we should be throwing more police officers as well as the executives and owners of Harris in jail for using these things. It's impossible to manufacture or operate a stingray without breaking the law.
Re:How to Build Your Own Rogue GSM BTS for Fun and Profit by fabulist on Sunday April 03, 2016 @02:18AM (#11415151)
I would counter that we need to make it more difficult for police to use Stingrays, but law enforcement should absolutely engage in all sorts of man-in-the-middle attacks when it is in the public interest. The problem is not that the have a particular capability, but that they have such an overabundance of them and that they deploy them far too readily.
Re:How to Build Your Own Rogue GSM BTS for Fun and Profit by evilsocket on Saturday April 02, 2016 @03:58PM (#11413102)
never heard about faraday cages?
Re:How to Build Your Own Rogue GSM BTS for Fun and Profit by woodman on Saturday April 02, 2016 @04:11PM (#11413163)
... now we just need to figure out how to lure the surveillance target into our EM-shielded cage.
Re:How to Build Your Own Rogue GSM BTS for Fun and Profit by evilsocket on Saturday April 02, 2016 @04:16PM (#11413190)
my point is that it's quite easy to "play" with such things without actually breaking the law
Re:How to Build Your Own Rogue GSM BTS for Fun and Profit by walrus on Saturday April 02, 2016 @05:18PM (#11413505)
I think you may have misunderstood the comment. In the US, Ireland, and probably elsewhere, police are using rogue cell sites ("Stingrays") for surveillance. The person you replied to is claiming that this is illegal, and the police forces that are doing it should be punished. They weren't talking about people experimenting with setting up Faraday-caged toy cell sites in their basement — there's absolutely nothing wrong with that and it should be encouraged!
Re:How to Build Your Own Rogue GSM BTS for Fun and Profit by maxerickson on Saturday April 02, 2016 @06:40PM (#11413888)
the executives and owners of Harris in jail

They were also talking about the people that built the devices.

Re:How to Build Your Own Rogue GSM BTS for Fun and Profit by Semiapies on Saturday April 02, 2016 @04:56PM (#11413406)
They aren't "playing".
Re:How to Build Your Own Rogue GSM BTS for Fun and Profit by industriousthou on Sunday April 03, 2016 @04:27PM (#11417496)
Did you intend to reply to the grandparent comment?
Re:How to Build Your Own Rogue GSM BTS for Fun and Profit by peterwwillis on Saturday April 02, 2016 @06:49PM (#11413930)
Talk about over-reacting. Not only is there a legal power maximum for private use of regulated spectrum, but there are plenty of areas of the US where you won't interrupt anyone else's service. If you're really concerned, get a Ham license.

There are plenty of areas where you can play with this on low power without pissing off the feds or ILECs. The creators of OpenBTS did this to provide service where it doesn't exist - in the middle of a desert, providing service to 30,000 people over a 7 square kilometer area, for example.

It should go without saying that broadcasting a pirate signal in a populated area is a bad idea.

Re:How to Build Your Own Rogue GSM BTS for Fun and Profit by iheartmemcache on Saturday April 02, 2016 @07:21PM (#11414069)
For those who want to mess around with BTS -- 900mhz (Eurospec GSM freq; US' complement is 850) is unlicensed ISM band even without a Ham license, and legally compatible with all the Siemens production gear you can get fairly cheap (everyones phasing out the BS20s and what not).

There's a 1 watt/4 watt limit, but I'm really curious how easy it'd be to get full voice 2G (Euro spec standard) coverage for Manhattan. This is all on consumer-compatible Euro/Asia and/or quad-band units out of the box too. Capacity for each BTS was around 12 concurrent voice channels (IIRC) and when I ran numbers you'd get ~1.2 radial KM coverage[edit: indoors, not LOS (which is drastically further)] at the setup I spec'd out (it was a while ago, apologies, but I think it was Yagi style capable of +70dbm).

[0]http://www.afar.net/tutorials/fcc-rules/

Re:How to Build Your Own Rogue GSM BTS for Fun and Profit by mindslight on Saturday April 02, 2016 @09:36PM (#11414505)
Below 928MHz doesn't exactly jive with https://en.wikipedia.org/wiki/GSM_frequency_bands. It looks like you'd be restricted to "Trunking GSM" and only part of the rest? Can the protocol/gear actually be restricted to only part of the band?

Also, similar topic - why is there such a dearth of information on hacking / forcibly opening up mobile basebands? Is it that there isn't much tinkering to be done once inside (just a lot of opaque DSP code), or are they really locked down that well, or is it simply that the people who develop such knowhow earn a living through phone unlocking etc and thus don't publicize?

I'd really like to see some device hacked open enough such that all the surveillance identifiers (IMEI etc) could be freely scrubbed. After that, psuedonymously obtain network access via a remote SIM card proxied over IP - bootstrap with an existing wifi, and then I'd hope any renegotiation could take place over the device's own connection.

Re:How to Build Your Own Rogue GSM BTS for Fun and Profit by seba_dos1 on Saturday April 02, 2016 @11:00PM (#11414715)
Check out OsmocomBB - https://bb.osmocom.org/

While it doesn't even intend to be "consumer friendly" firmware replacement, the project provides a lot of interesting info on hacking TI Calypso basebands used for instance in some old Motorola devices and Openmoko phones.

Proxied SIM probably won't work due to timing constraints and I don't think it could be possible on device's own connection, but I'm not really an expert in this area, so don't believe me and my educated guesses too much.

However, counter-intuitively, playing with stuff like IMEI number will probably make you even easier target. Some hardware characteristics of your device could be used to "fingerprint" it, and having a lot of IMEIs being advertised by some old Calypso device in similar area could easily bring some attention to it.

Re:How to Build Your Own Rogue GSM BTS for Fun and Profit by mindslight on Saturday April 02, 2016 @11:50PM (#11414844)
Ah crap the timing could indeed be a fundamental problem. Proxying a SIM card is just a recent idea I've been kicking around. Alternatively a privacy-friendly VMVNO could just send a new SIM every (week,month,etc). Once the concept was proven (with non-fixed IMEI etc), I'm imagining a commercial demand would spring up in short order. There's no reason a SIM card must be treacherous hardware.

Obviously a small or singular mix group can be worse than no psuedonymity at all, but the idea would be to go for wider adoption. If I actually wanted to privately engage in illegal activity, I'd just buy burner phones and use the appropriate opsec. Really I just want to enable privacy for all of us who don't have something to hide.

Re:How to Build Your Own Rogue GSM BTS for Fun and Profit by acgh213 on Sunday April 03, 2016 @02:31AM (#11415175)
I remember being in Ireland last summer and seeing right off the plane a vending machine of burnable sim cards.

The market doesn't exist in the US yet, but Europe seems to be somewhat accustomed to it.

Re:How to Build Your Own Rogue GSM BTS for Fun and Profit by bogomipz on Monday April 04, 2016 @05:48AM (#11420523)
Even though it sounds like its not feasible could you explain the concept of "sim proxying"? I am curious. Thanks!
Re:How to Build Your Own Rogue GSM BTS for Fun and Profit by iheartmemcache on Saturday April 02, 2016 @10:49PM (#11414676)
So, when you refer to 'restricted to nothing >928', I presume you mean side-band harmonic tone spill. To answer your question: I have no idea, but here's my educated guess based on the '08 auction[1] -- absolutely. I'm presuming that Verizon wouldn't pay billions of dollars for 2 6 mhz bands if they couldn't use it without violating FCC's "don't jump into my band, bro" stuff. Block A has 698–704 and 728–734 MHz. So, they're presumably using 6mhz here, another 6 mhz there (channel trunking) but they're definitely keeping within a 6mhz range. Granted you get a bit more of spectral content within a 700mhz band compared to the 900 to 928 range[edit: uh, per hertz obviously haha], that's still a massive band [edit: again, referring to the content you can fit per hertz; without actually running numbers, I'd gut-feeling-estimate that you're losing maybe ehh 30% capacity, so 900 to 928 is more than enough to operate a full 2G antenna].

RE: The dearth of information: Forcibly opening up? As in like, violating FCC rules? I mean, the knowledge is out there and readily available on the public internet if you know where to look. You can still find o-chem forums with PhD students talking about the manufacturing of research chemicals, but its masked in their own lexicon (an idiot can't just Google "how do i make {insert designer drug of choice}", but you'll find a lot re: "wacker oxidation of foo in bar" or "reductive amination in a Vigreux column").

Just like we've got specs and RFCs for all of our protocols, the mobile industry meets up and agrees on everything from MIPI standards (ever wondered how there are so many Chinese Android devices with so many different seemingly interchangable components like video cameras, GPS modules, etc? There's a spec everything). You could easily take over some of the 850mhz spectra for a day or two but a) what would you have to gain? I guess you could sell baseband equipment to private investigators for a huge premium, thats about it, b) even if you could monetize it, the FCC would storm in on you within a couple days, a week at most.

RE: devices hacked open - Shenzhen has everything.

[1] https://en.wikipedia.org/wiki/United_States_2008_wireless_sp...

Re:How to Build Your Own Rogue GSM BTS for Fun and Profit by mindslight on Saturday April 02, 2016 @11:43PM (#11414829)
I had forgotten how much the bands would be sliced up commercially, so yeah it makes sense that equipment can narrowly segregate. The two separate Verizon ranges are probably UL/DL, no? If you're messing with your own base station, then it seems like the phone would be the violator on the uplink frequencies, heh heh.

For opening up, fundamentally any device should be open to inspection and modification by its owner. But my specific desire would be to eliminate the fixed identifiers from the protocol, to restore some privacy of these tracking devices we expect to carry everywhere.

Homebrew hardware and a Free stack would be a massive undertaking and capital-intensive to distribute. So a better starting point would be some already-distributed piece of consumer hardware. I'd think there would be at least one device that got reverse engineered enough to create some community flash-it-yourself distribution. Perhaps I'm just not doing the right searches, but I just run across vague allusions from either people who are in the know and NDA, independents who dug in a bit but only published summaries of results, or commercial-oriented unlockers only interested in achieving their narrow result.

I guess I'm left wondering whether Qualcomm's hardware security really is that good to destroy the enthusiasm for such tinkering, or whether it's just their legal goons have so far successfully contained the knowledge to the secretive unlocking market.

Re:How to Build Your Own Rogue GSM BTS for Fun and Profit by bogomipz on Monday April 04, 2016 @05:47AM (#11420517)
Can you explain to my why baseband hacking would be important in this regard? Does all the protocol/handshake negotiation happen at the baseband layer before its modulated up? Is that correct?
Re:How to Build Your Own Rogue GSM BTS for Fun and Profit by mindslight on Wednesday April 06, 2016 @03:53PM (#11441453)
In the context of mobile, "baseband" colloquially refers to everything "below" the application processor (I guess technically stopping at the RF mixer). The physical layer protocol is carried out in the digital domain by the "baseband processor", which is also running code that takes care of the higher level session protocols.

So yes, this generally includes all bits of protocol below the simplistic IP and AT-command based session interface that's exported.

(My idea for "SIM proxying": The link between a SIM and the baseband processor is a simple serial link. So as long as latency requirements could be met, this serial link could be tunneled over IP, allowing one to rent a SIM card that wasn't actually in their possession).

Re:How to Build Your Own Rogue GSM BTS for Fun and Profit by blantonl on Saturday April 02, 2016 @07:06PM (#11414004)
This is not an over-reaction in even the slightest way.

The barrier to entry for this implementation is a little over $600 USD. If someone brought this solution online in their apartment in midtown Manhattan NYC, they would potentially affect hundreds, if not thousands of devices.

Someone who is deploying an OpenBTS in the middle of the desert probably already has a good understanding of their existing RF environment.

I'm willing to bet that just about everyone participating here lives in an RF rich environment where if they brought solution online, it would impact someone.

Re:How to Build Your Own Rogue GSM BTS for Fun and Profit by peterwwillis on Saturday April 02, 2016 @07:41PM (#11414136)
People who buy football equipment are aware that you can injure people playing football and generally don't play football in a midtown Manhattan office, for example.

People who buy BTS equipment are aware that they are creating a cell tower and it will affect people around them and the police and cell network providers will not be happy with them if that happens.

Re:How to Build Your Own Rogue GSM BTS for Fun and Profit by CraigJPerry on Saturday April 02, 2016 @07:44PM (#11414148)
> they would potentially affect hundreds

Unlikely since the range of this device is about a single small / medium apartment building.

Re:How to Build Your Own Rogue GSM BTS for Fun and Profit by archimedespi on Saturday April 02, 2016 @10:29PM (#11414637)
Exactly; without an RF amp you're not going to do any serious damage.
Re:How to Build Your Own Rogue GSM BTS for Fun and Profit by danellis on Saturday April 02, 2016 @11:33PM (#11414797)
You'd think people would have gathered that from the fact that the entire RF device is USB bus powered.
Re:How to Build Your Own Rogue GSM BTS for Fun and Profit by xkcd-sucks on Saturday April 02, 2016 @11:45PM (#11414832)
"hacker" news
Re:How to Build Your Own Rogue GSM BTS for Fun and Profit by danellis on Saturday April 02, 2016 @11:24PM (#11414772)
> Having random public phones roam onto your rouge cellular network is a public safety risk

So don't let other people on it.

Fun story: I worked for a company in the UK making GSM picocells with IP backhaul. One day, due to a misconfiguration, we had a lot of confused people from other offices in the building wondering why their phones were roaming onto a Canadian cell network thousands of miles across the Atlantic. Oops.

Re:How to Build Your Own Rogue GSM BTS for Fun and Profit by pjc50 on Saturday April 02, 2016 @06:09PM (#11413746)
I suspect the chances of getting caught if you run it intermittently a few times are almost nil. After all, the Stingray devices are illegal and seem to have been used for years.
Re:How to Build Your Own Rogue GSM BTS for Fun and Profit by MOARDONGZPLZ on Saturday April 02, 2016 @06:19PM (#11413789)
Perhaps, but he was addressing the legality, not the practicality of getting caught. And the points about your project potentially stopping people from calling 911 are also salient. This is just something that isn't worth the risk to most tinkerers like myself to even try.
Re:How to Build Your Own Rogue GSM BTS for Fun and Profit by baby on Saturday April 02, 2016 @08:16PM (#11414235)
What are the odds of someone calling 911 around you the moment you try it? I'd say negligible if you're not in the center of a city.
Re:How to Build Your Own Rogue GSM BTS for Fun and Profit by lawpoop on Sunday April 03, 2016 @12:22AM (#11414913)
Probably nil if they're connecting to your rogue device.
Re:How to Build Your Own Rogue GSM BTS for Fun and Profit by evilsocket on Saturday April 02, 2016 @03:51PM (#11413063)
absolutely agree, while writing the post I gave for granted that ppl realized how illegal this is and take appropriate measures.
Re:How to Build Your Own Rogue GSM BTS for Fun and Profit by avip on Saturday April 02, 2016 @04:42PM (#11413324)
Sitting in a Faraday cage will not do you much good...

Totally agree with the sentiment though. Apply for an experimental FCC license!

Re:How to Build Your Own Rogue GSM BTS for Fun and Profit by snowpanda on Saturday April 02, 2016 @07:24PM (#11414082)
Do those licenses really exist? Sounds interesting.
Re:How to Build Your Own Rogue GSM BTS for Fun and Profit by seba_dos1 on Saturday April 02, 2016 @11:04PM (#11414728)
That's how Harald Welte and Osmocomm team was always providing on-site GSM networks on events like Chaos Communication Congress/Camp.

However, recently Germany sold out part of spectrum that was used for those licenses, so it became much harder now there. The network on last CCC almost didn't happen, but the provider who bought it (T-Mobile IIRC?) allowed to use it this time anyway. The future is a one big question mark though :(

Re:How to Build Your Own Rogue GSM BTS for Fun and Profit by brian-armstrong on Saturday April 02, 2016 @03:55PM (#11413084)
It's a great post but I think it's one of those experiences best enjoyed vicariously
Re:How to Build Your Own Rogue GSM BTS for Fun and Profit by brian-armstrong on Saturday April 02, 2016 @04:04PM (#11413132)
Oh! And also, if this sort of thing interests you, get your ham radio technician's license. There is no morse code requirement and the test questions and answers come from a publically-available pool. It is straightforward to study for (but do read the theory, don't just memorize test answers).

Once you have that, you can start operating digital modes on local bands at low power. You'll be amazed how far you can stretch 5W of transmitter.

Re:How to Build Your Own Rogue GSM BTS for Fun and Profit by baobrien on Saturday April 02, 2016 @04:19PM (#11413206)
I'm pretty sure a technician license grants you the same amount of power and access to the same bands as a general and extra license above 6m.
Re:How to Build Your Own Rogue GSM BTS for Fun and Profit by brian-armstrong on Saturday April 02, 2016 @04:35PM (#11413292)
Yeah, I think you're right.

Just for reference, here's all the allocations. They've got fairly verbose rules http://www.arrl.org/frequency-allocations

Re:How to Build Your Own Rogue GSM BTS for Fun and Profit by vvanders on Saturday April 02, 2016 @11:09PM (#11414746)
FWIW MURS is open without a license for digital, although with pretty lower power ceilings.