Hexagon fuzz: Full-system emulated fuzzing of Qualcomm basebands

srlabs.de

81 points by mschuster91 a year ago


mschuster91 - a year ago

> It powers the baseband processors found in most leading smartphones, including every iPhone since generation 12 except iPhone 16e and all Snapdragon-based devices.

Utterly unbelievable that no Western government has tackled that situation. The market for basebands is completely and utterly rotten:

- Qualcomm dominates the industry and can get away with pretty much all sorts of behavior

- Samsung has their own basebands but only uses them on their premium phones

- Huawei has basebands but IIRC they're only used in data sticks and the likes, and on top of that Huawei is subject to sanctions so it's even more unlikely to see them in a major phone sold in Western markets.

- Mediatek covers the rest of the market, especially the low end.

That this lack of competition disincentivizes all actors from making investments into code quality and security is obvious to anyone who has ever looked even a bit into the phone BSP side - it's hard to imagine the baseband binary blob is any different.

Another problem is that it's a highly difficult market to enter. Pure 2G and 5G implementations exist in Osmocom, but they're practically useless in a consumer environment and anything in between is locked hard behind extremely complex standards on one side, regulatory enforcement in the middle and finally patents. Even Apple hasn't managed to kick Qualcomm and Broadcom to the curb where they belong.

le-mark - a year ago

This is a nice bit of work. Does this mean we can expect there to be a lot of Qualcomm zero days incoming? Is it likely that state actors have been in this already and security researchers can now catch up?

jasonjayr - a year ago

As I learn more about Radio -- is there similar fuzz testing from the RF-side of these baseband processors?

SDR has opened my eyes up to a lot of open-to-the-world remotely accessible interfaces, where the only protection is "you must accept harmful interference, and you should not cause harmful interference"

xvilka - a year ago

Rizin[1] (from `dev` git) has good support of Hexagon ISA and MDT images as well as RzIL uplifting, see the implementation [2]. Would definitely help for the static analysis in addition to these tools.

[1] https://github.com/rizinorg/rizin

[2] https://github.com/rizinorg/rizin/tree/dev/librz/arch/isa/he...

egberts1 - a year ago

Some .bin images to try under Hexagon-based QEMU/Ghidra:

https://www.temblast.com/ref/loaders.htm

spr-alex - a year ago

Very good

susjskakai - a year ago

[dead]

susjskakai - a year ago

[dead]

meerasmatkhan - a year ago

Tiktok