Project

General

Profile

Support #739

Install binwalk on Arch

Added by Daniel Curtis almost 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
01/31/2016
Due date:
% Done:

100%

Estimated time:
0.50 h
Spent time:

Description

This is a simple guide on setting up binwalk on Arch Linux. I've also included additional tools that were required while trying out the Damn Vulnerable Router Firmware project.

Prepare the Environment

  • Make sure the system is up to date:
    sudo pacman -Syu
    

Install binwalk

  • Install binwalk:
    sudo pacman -S binwalk
    
    • And also install a few extra dependencies:
      sudo pacman -S  python-opengl python-capstone arj cabextract cpio gzip mtd-utils p7zip squashfs-tools tar bzip2 unrar xz lhasa sleuthkit
      
    • Add the optional firmware-mod-kit package from the AUR:
      yaourt firmware-mod-kit
      
    • Install sasquatch to extract non-standard squashfs images:
      git clone https://github.com/devttys0/sasquatch
      cd sasquatch
      ./build.sh
      

(Optional) Qemu-user-static

  • Install the qemu-user-static package from the AUR:
    yaourt qemu-user-static
    
    • And add the binfmt-support package:
      yaourt binfmt-support
      

(Optional) Install Buildroot

  • Install a few dependencies:
    sudo pacman -S base-devel rsync wget
    
  • Clone the buildroot source:
    git clone git://git.buildroot.net/buildroot
    

Resources

Also available in: Atom PDF