News for hackers. Stuff that matters.
Re:How to Block Stingray Devices by arkadiyt on Thursday December 27, 2018 @04:02AM (#18768396)
I can't speak for Google devices but per Apple's iOS security whitepaper (page 41) [1]:

"To protect the device from vulnerabilities in network processor firmware, network interfaces including Wi-Fi and baseband have limited access to application processor memory. When USB or SDIO is used to interface with the network processor, the network processor can’t initiate Direct Memory Access (DMA) transactions to the application processor. When PCIe is used, each network processor is on its own isolated PCIe bus. An IOMMU on each PCIe bus limits the network processor’s DMA access to pages of memory containing its network packets or control structures."

[1]: https://www.apple.com/business/site/docs/iOS_Security_Guide....

Re:How to Block Stingray Devices by monocasa on Thursday December 27, 2018 @09:38AM (#18769644)
PS4 PCI-E accesses were protected with an IO MMU too, but they managed to screw it up. So that doesn't necessarily mean that it's safe.
Re:How to Block Stingray Devices by arkadiyt on Thursday December 27, 2018 @02:52PM (#18772055)
Indeed even Apple's MMU was bypassed by Google Project Zero [1], but it still significantly increases the cost of exploitation.

[1]: https://googleprojectzero.blogspot.com/2017/10/

Re:How to Block Stingray Devices by monocasa on Thursday December 27, 2018 @03:13PM (#18772233)
Oh, totally. It's an important part of modern defense in depth. 'Just because they said they turned on the IOMMU doesn't make it bulletproof' is all I'm saying.
Re:How to Block Stingray Devices by rhn_mk1 on Thursday December 27, 2018 @10:43AM (#18770091)
It does mean that SDIO or USB-only access is safe.

Of course, it's not 100% safe, but the lack of DMA moves the control over safety from the modem firmware to the application processor.

Re:How to Block Stingray Devices by monocasa on Thursday December 27, 2018 @11:02AM (#18770232)
You'd be surprised how unsafe those are too, even though they aren't RDMA protocols. USB and SDIO stacks aren't really designed with malicious input in mind; it's like the 90s all over again if you think of those as the network protocols they are.
Re:How to Block Stingray Devices by rhn_mk1 on Monday December 31, 2018 @10:03AM (#18794741)
That's right, any kind of communication opens up some form of attack surface. Eliminating DMA is still worthwhile by reducing its total size, and shifting more of the implementation to the softare stack gives the device owner (hopefully the user) more control over the attack surface.