How To Insert LZMA Files

I hope someone can help me on this. This is for the Freescale IMX6Q tablet (Zenithink C-94). This really is a good tablet that never a chance. Originally came out with ICS 4.0 on it. Freescale...

Reverse enginering a Linux based USB camera

I bought an IP camera on which is installed proprietary software (no HTTP server). This prevents me to integrate it into my home network. I want to replace the software (ELF closed source) by the...

Still possible to restore boot partition? (QQZM N5063 Ipcam)

I know now that I should not touch the boot partition. I understand now that it was just that I rebuild a rootfs but it's a little late. I wonder if I still can restore the boot partition with the...

How can I hide my AWS S3 access key and secret in C++?

I'm using AWS S3 in my C++ app to upload and download files. I've included the access key and secret in my code but I'm worried someone could read them from the binary. Is there any standard...

Reverse engineer firmware image and rebuild Linux kernel for TI-AR7

I am trying to build my own Linux derivative to run on an TI-AR7 board. I took the board from an old Telekom Speedport W 501V router. To understand how firmware is flashed onto the device I have...

Use binwalk to extract all files

I have a file music.mp3. After using binwalk, I get the result: [email protected]:~/Downloads$ binwalk music.mp3 DECIMAL HEXADECIMAL ...

Binwalk - Compressed data is corrupt

[email protected]:~/ROUTER# binwalk new-firmware.bin DECIMAL HEXADECIMAL DESCRIPTION -------------------------------------------------------------------------------- 84 0x54 ...

Binwalk not extracting files from binary

I am using binwalk, its finding files but nothing is extracted afterwards I have done this before and have not had issues. Are these not files? [email protected] ~/Desktop $ binwalk -Me...

Binwalk and ext filesystem

i'm using binwalk with a binary file and i've found this string Linux EXT filesystem, rev 0.0, ext4 filesystem data,... With this command binwalk -e binary.bin I obtain a file called...

Is it possible to run/debug a bios rom file in an emulator, And if so how?

What I am trying todo is find a way to observe the execution flow of the BIOS rom file without having to flash it to the motherboard because I don't know of a way to debug or step through it...

Using Binwalk's python api to extract files from binary

I am attempting to create program in python that performs a extraction (matryoshka) on a firmware file. Basically, I'd like to implement "binwalk -Me binary_file" in python using ap functionality,...

Segmentation fault when trying to execute recovered filesystem in a digital video tuner

Let me introduce where this thing comes from. A few years ago I got a digital video tuner, which had a closed source version of Linux. The manufacturers of this device didn't want to share the...

Decompressing Linux zImage

I'm trying to decompress a zImage. I have a firmware binary I dumped from a flash chip. Analyzing it with binwalk gives the following: $ binwalk flash_dump.bin DECIMAL HEXADECIMAL ...

Extracting from bin file

So I tried this: [email protected]:~/Desktop/fmk# binwalk upgrade-2.4.0.bin DECIMAL HEXADECIMAL DESCRIPTION -------------------------------------------------------------------------------- 512...

Btrfs data recovery

I have formated an encrypted disk, containing a LVM with a btrfs system. All superblocks appear to be destroyed; the btrfs-progs tools can't find the root tree anymore and scalpel, binwalk,...

binwalk in reversing switch

everyone. I am a green apple in reversing. Recently i wanna reverse a switch but get some problems. i reaaaaaaaaly need your guys help. first i extract the .bin file from the switch and use...

qemu-system-arm chroot illegal instruction

I install qemu-system-arm in Ubuntu 16.04 to run firmware of dlink DIR868L. But when I use the command chroot ./squashfs-root/ /bin/sh, it just shows Illegal instruction. I get squashfs-root/from...

ARM car Head Unit - extract rootfs from cpio

Got an ARM powered head unit and im trying to get the rootfs (ramdisk) out of the kernel image. I found uImage header and was able to extract the zImage. Using binwalk i found gzip data in the...

ARM reverse engineering ROM dump

I ve old embedded system, with ARM cpu core, I dumped ROM, extracted with binwalk, and loaded on IDA pro. I found in some routine routine, BX not with LR but with general purpose register(R2, R3...

QEMU fpu mode error when attempting to run MIPS binary

I have unpacked a firmware binary using binwalk and have identified the architecture as MIPS by running file bin/busybox . When I try to run the binary with the proper static version of qemu, i...

Use 'dd' to split the binary apart and extract the parts

I have firmware file in .bin format, but need to obtain the romimage.img and Kernel uImage files required to reflash a bricked device. I used Binwalk to identify different parts of a firmware...

how to open a gz file if i receive a message data stream error?

im trying to solve a task probably from a ctf from an image(png) who found on the web but i stuck very early in this challenge. i found that the image contain a gz file that i extracted but when i...

How can I check integrity of a extracted zImage?

$ binwalk -e linux_image.img DECIMAL HEXADECIMAL DESCRIPTION -------------------------------------------------------------------------------- 0 0x0 Android bootimg, kernel size: 6897653 bytes,...

Extract vmlinux from Android (Samsung) zImage

I'm trying to extract the ELF kernel image from Samsung S9 zImage. All the information I could find is outdated and didn't work for me. Here's what I tried: $ binwalk ./zImage DECIMAL ...

How to extract HEX-encoded IP addresses from a binary?

I'd like to know how to extract HEX-encoded IP addresses from a binary (any format - Win32/Win64/ELF/ARM) and convert to a human-readable ASCII. For obvious reasons, it's not something that Linux...

Reverse engineering Hikvision camera firmware and LiteOS bootloader

I have a Hikvision IP camera that I'm doing security research on. (Model DFI6257E, looks like a Taiwan exclusive model. ) After dumping firmware from its flash and analyze it with binwalk, I found...

ubiattach failed with too many bad blocks

I was trying to read firmware from a NAND chip, and extract its program and data for analyse. From online I learned, you must create an UBI device with your image file write to it, then you can...

Binwalk isnt extracting the squashfs from a firmware (router KPN)

so im trying to extract the squashfs content of a KPN router (internet service provider) using the binwalk -e [file] command. Im referring to this firmware from the KPN website:...

Extract only one file type with binwalk

I have a very heavy file and with binwalk I have to extract only one file type (png) and obviously given the size of the file I can not extract all. I tried to do binwalk -D 'png image:png'...

I extracted a file using binwalk. I discovered it has a TROC file, how do I read or extract the contents of the TROC file?

DECIMAL HEXADECIMAL DESCRIPTION 33211 0x81BB TROC filesystem, 1263425345 file entries 948694 0xE79D6 StuffIt Deluxe Segment (data): f:IK