Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 1.14 KB

README.md

File metadata and controls

25 lines (16 loc) · 1.14 KB

About

A collection of scripts intended to aid in reverse engineering of HP OfficeJet printers, possibly other models too. The scripts have only been tested on Python 3.9.9.

unpack-ful.py

Note: Requires hexdump python module

Script that unpacks/extracts .ful firmware updates, ideally giving you a flash image + bootloader.srec to analyze.

Usage: python unpack-ful.py [pathToFul]

SiriusFlashLoader.py

Note: Requires lzss python module

IDA loader that loads an unpacked flash image. It sets the processor type to ARM big endian, creates and setups segments, handles memcpy list and decompresses necessary segments.

Copy to the loaders directory in your IDA installation.

SiriusModuleTool.py + Types.idc

Note: Requires ida-minsc

IDA script that defines modules in the firmware. Requires some structures to be defined so you have to load the Types.idc script first.

I recommend you reanalyze the firmware afterwards by going to Options->General->Analysis and clicking the Reanalyze program button.