Reverse Trendnet TS-S402 firmware

Start reversing Trendnet TS-S402 firmware device.

Downloading the firmware from the vendor webpage

First, we need to download the firmware from the vendor webpage. I downloaded the 2015 version:

wget http://downloads.trendnet.com/TS-S402/firmware/FW_TS-S402(2.00.13).zip

Next, unzip the firmware file:

Inspecting the binary files

Using file command we can get some information from the firmware binary files:

Or not 🤬

Let's using binwalk - our best friend 😎

We can observe a lot of LZMA data, however, we got an interesting gzip compressed file as well. From this point, we can use the -x option to ignore LZMA compression and extract only the gzip file. Something like this:

Accessing the _TS-S402-FW... folder, we can observe two files:

Ok, 20 file is another compressed file. Let's renaming it and unarchiving it.

Yeah dude, it was a strong journey! 😎

Mount the filesystem

If you got an error, don't worry about that!

If we look at the hexadecimal, we can see the file format:

Install: https://github.com/devttys0/sasquatch

and

References

Last updated

Was this helpful?