e-m-b-a/emba

Drone firmware testing support

m-1-k-3 opened this issue · 1 comments

Is your feature request related to a problem? Please describe.
We should do some testing on drone firmware. According to this paper it is sometimes Android and our performance was not that good:

Since this framework is a modularization of
existing tools, it cannot be applied to drone firmware for which
there is no publicly available tool

Describe the solution you'd like
Check if we can improve our testing results

Describe alternatives you've considered
Currently the shown paper was the first time we thought about testing drones.

looks like the main issue is the extraction of the dji firmware. Some firmware images are not encrypted at all:

V03.00.0026_tp703_dji_system.bin

image

Some other images are xv4 images and can be decrypted the following way:

└─$ ~/github-repos/dji-firmware-tools/dji_xv4_fwcon.py -vvv -x -p V01.07.0060_P3x_dji_system.bin                     

Docker image with the updated dji-firmware-tools is currently building and should be ready soon. (see https://github.com/o-gs/dji-firmware-tools)

btw firmware can be found here: https://www.dankdronedownloader.com/DDD2/app/