←back to thread

256 points transpute | 2 comments | | HN request time: 0.415s | source
Show context
wkat4242 ◴[] No.41910794[source]
Too bad the hardware for this is eyewateringly expensive :'(
replies(6): >>41910955 #>>41911076 #>>41911108 #>>41911306 #>>41911470 #>>41911593 #
HeatrayEnjoyer ◴[] No.41911593[source]
True? How are phone modems inexpensive?
replies(4): >>41912014 #>>41912121 #>>41914230 #>>41914861 #
paweladamczuk ◴[] No.41912014[source]
I'm wondering the same thing.

Can someone outline the architectural limitations of using a smartphone modem for such network debugging/sniffing tasks?

replies(1): >>41913046 #
wkat4242 ◴[] No.41913046[source]
Smartphone modems (baseband) are super optimised for battery life. They don't send any traffic that isn't meant for the device itself on to the CPU. That would only cause unnecessary load.

They could perhaps be modified to do that but the baseband firmware is usually very closed source.

There is only one example I know, there was one particular dumbphone from the 2G era for which the baseband sourcecode was available due to a hack. You could use several (one for uplink and one for downlink) of these with modified firmware to sniff 2G traffic. I forget which model it was exactly but obviously the price ballooned on eBay :)

Haven't heard of this happening with later models. Baseband sourcecode firmware is really rare.

replies(3): >>41913546 #>>41914178 #>>41914398 #
motrm ◴[] No.41913546[source]
Certainly Qualcomm modems can have their diagnostic mode enabled when you have access to /dev/diag - usually on rooted devices but occasionally on stock.

You can ask the processor to send higher layer information via diag, including the messages the base stations send. There’s also commands to lock on to a specific base station so you’re not constantly moving from cell to cell.

There’s plenty of commercial devices that use this functionality to provide network monitoring and management capabilities for mobile network operators checking out base station functionality in the field. TEMS comes to mind for that but they’re certainly not the only ones.

It’s a deep rabbit hole :-)

replies(2): >>41913996 #>>41915475 #
1. wkat4242 ◴[] No.41915475[source]
The diagnostic mode just lists the cells and their parameters afaik. It doesn't capture IMSIs or traffic to/from other devices like this does. It's like the network diagnostics menu built into Samsung and Apple phones.
replies(1): >>41916123 #
2. seba_dos1 ◴[] No.41916123[source]
It isn't even able to list some crucial parameters needed to identify neighboring cells. It's simply dumping data that's already used by the modem for its regular operation.

It does, however, more than just "listing cells" though. You can sniff all the comms, but only between your device and the base station. It won't listen to anything else, you need SDRs for that.