I managed to get the firmware for my IoT device but the firmware is in HEX. What is the best way to convert it to a binary so I can use binwalk?
So far I've tried converting it with
srec_cat hex.file -Intel -Output binary.file -Binary. I have tried to analyze the converted file with binwalk but the only results I get are:
SHA256 hash constants, little endian Certificate in DER format (x509 v3), header length: 4, sequence length: 678
Am I doing something wrong?
Edit: after using
binwalk -Ive binary.file I managed to extract some files. The files are not detected correctly but when I look at the files I see bits of text used on my device.
Edit 2: I don't think the firmware is compressed. But I'm not sure if it's encrypted. What's the best way to check this?
$ file binary.file binary.file: data
strings -n 10 binary.file I get a seemingly valid list of strings.