Analyze QMI packets of iPhone basebands in Wireshark.
- Clone libqmi repository
git clone https://gitlab.freedesktop.org/mobile-broadband/libqmi.git
- Generate the dissector with
# If you're using Python < 3.4, please install pathlib using `pip3 install pathlib`
python3 generate_lua.py
- Copy the generated dissector
build/qmi_dissector_gen.lua
to the Wireshark plugin directory
- Unix-like systems:
cp build/qmi_dissector_gen.lua ~/.local/lib/wireshark/plugins/
- Windows systems:
cp build\qmi_dissector_gen.lua %APPDATA%\Wireshark\plugins
- Configure the
DLT_USER
protocol: Open the Wireshark preferences -> Protocols -> DLT_USER -> Edit encapsulation table
You can discover new QMI message identifiers using the tools in the research directory.
To get familiar with the development of Lua Wireshark dissectors, I recommend the following resources:
- Mika's Wireshark Guide
- Wireshark Documentation
Optimized for analyzing QMI packets captured from iPhones.
Copyright (c) 2022 Lukas Arnold [email protected]
Hosted on https://github.com/dnlplm/WiresharkQMIDissector
Copyright (c) 2017 Daniele Palmas [email protected]
-
Wireshark Dissector for Qualcomm MSM Interface (QMI) Protocol v0.1 Copyright (c) 2012 Ilya Voronin [email protected] https://gist.github.com/ivoronin/2641557
-
Code Aurora Forum's BSD/GPL licensed code: http://www.codeaurora.org/contribute/projects/gobi/
-
freedesktop.org libqmi https://www.freedesktop.org/wiki/Software/libqmi/