Huh, this is an old trick but always a good one. Back in the days when iPhones were AT&T exclusive people managed to bypass the carrier lock by fuzzing all possible permutations of AT commands to the baseband. Once a crash was found it could potebtially be used as an exploit to modify its internal state. It took Apple four years to harden their baseband firmware to resist all kinds of fuzzing efforts and bear in mind…
ATtention Spanned: Comprehensive Android Vulnerability Analysis of AT Commands
61–70 of 79 posts
Re: ATtention Spanned: Comprehensive Android Vulnerability Analysis of AT Commands
#62Umm, Hayes commands are still used? That's a blast from the past. I thought those went out in the 80s or 90s?
The Hayes/AT commands are still used either for debug purposes, or for non-smartphone use cases like IoT.
Re: ATtention Spanned: Comprehensive Android Vulnerability Analysis of AT Commands
#63The real issue here is proprietary baseband modems. These modems contain fully functional microprocessors along with low level access to the main processor. Even if you replace your ROM with an open source one, it is usually impossible to change the firmware on the modem.
Re: ATtention Spanned: Comprehensive Android Vulnerability Analysis of AT Commands
#64Earlier quoted context omitted.
Related: Anyone remember how Geohot's iPhone 2G hardware unlock worked back in the day? (~2007)
I remember there was one that could be triggered just by loading a web page with a specially crafted image file.
Geohot's first iPhone hack, IIRC, used an unsecured JTAG pinout he managed to find on the PCB that allowed direct write access to the firmware. Later it was discovered that the system bootloader had enough exploits that the process could be done entirely in software.
Later iPhone models would gradually ramp up security to the point that nothing of this sort could be done very easily even with physical access.
Re: ATtention Spanned: Comprehensive Android Vulnerability Analysis of AT Commands
#65I'm surprised that the full command strings appear verbatim in the firmware --- and even more surprised that they appear with their "AT" prefix; this suggests they're being parsed by an algorithm that isn't particularly efficient, like a linear search. If something more optimised like a switch or trie were used, it wouldn't be possible to extract them this way, and some more intense reverse-engineering would be requi…
Re: ATtention Spanned: Comprehensive Android Vulnerability Analysis of AT Commands
#66https://youtu.be/ITbqTl8pTMs?t=200 Err... were these commands meant to be obfuscated the whole time?
Re: ATtention Spanned: Comprehensive Android Vulnerability Analysis of AT Commands
#67The real issue here is proprietary baseband modems. These modems contain fully functional microprocessors along with low level access to the main processor. Even if you replace your ROM with an open source one, it is usually impossible to change the firmware on the modem.
It'd be nice if someone designed a phone that architecturally resembled a computer attached to a mobile hotspot. You could have an SoC of your choice for a user-facing operating system and a separate SoC with separate memory for the baseband and whatever the hell the carrier wants to push to the device. The operating system running on the user SoC could have a driver that allows it to get internet access from the bas…
I don't know if it's true, but it makes sense given the, allegedly, crappy code base in Broadcoms firmwares.
Re: ATtention Spanned: Comprehensive Android Vulnerability Analysis of AT Commands
#68As mentioned in the article/paper, this attack vector has been used before.
The AT+USBDEBUG command was used to unlock the Samsung S6 Dec 10, 2015.
Blog about this exploit back then: https://www.bloglovin.com/blogs/xda-developers-5233323/2015-...
Video of the unlock back then: https://twitter.com/rpaleari/status/674983960162787328/video...
The code published by FICS here: https://github.com/FICS/atcmd/blob/master/usbswitch/usbswitc...
is based off the same code from Dec 2015 here: https://github.com/ud2/advisories/blob/master/android/samsun...
Re: ATtention Spanned: Comprehensive Android Vulnerability Analysis of AT Commands
#69Earlier quoted context omitted.
It'd be nice if someone designed a phone that architecturally resembled a computer attached to a mobile hotspot. You could have an SoC of your choice for a user-facing operating system and a separate SoC with separate memory for the baseband and whatever the hell the carrier wants to push to the device. The operating system running on the user SoC could have a driver that allows it to get internet access from the bas…
I recall reading an article years ago describing iPhone being architectured like this. Even if the baseband system is compromised, it don't have access to the rest of the system. And traffic from the rest of the system passing thru the baseband is mostly encrypted. I don't know if it's true, but it makes sense given the, allegedly, crappy code base in Broadcoms firmwares.
Re: ATtention Spanned: Comprehensive Android Vulnerability Analysis of AT Commands
#70Earlier quoted context omitted.
It'd be nice if someone designed a phone that architecturally resembled a computer attached to a mobile hotspot. You could have an SoC of your choice for a user-facing operating system and a separate SoC with separate memory for the baseband and whatever the hell the carrier wants to push to the device. The operating system running on the user SoC could have a driver that allows it to get internet access from the bas…
I recall reading an article years ago describing iPhone being architectured like this. Even if the baseband system is compromised, it don't have access to the rest of the system. And traffic from the rest of the system passing thru the baseband is mostly encrypted. I don't know if it's true, but it makes sense given the, allegedly, crappy code base in Broadcoms firmwares.
>> "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 cannot 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."