Advance

How to Install and Use Binwalk on Windows

How to Install and Use Binwalk on Windows

Binwalk is a firmware reverse engineering tool. In fact, scanning the target, allows you to examine and dissect the firmware. Binwalk can be installed and run on Linux, OSX, FreeBSD, Windows operating systems. If you want to use all the features of Binwalk, it is recommended that you install it on Linux. In this article, we are going to teach How to Install and Use Binwalk on Windows. You can visit the packages available in Eldernode to purchase a Windows VPS server.

Tutorial Install and Use Binwalk on Windows step by step

Binwalk is a redirect program for passing arguments along with the Binwalk execution command. For example, if you enter “binwalk file.bin” as a command via cmd, this program will run it as “python Binwalk file.bin“. So it makes it easy to implement. In the next section, we will teach you how to install Binwalk on Windows. Stay with us.

Recommended Article: Tutorial Connect NinjaRMM Remote Desktop On Windows 10

Install Binwalk on Windows

To install Binwalk on Windows, you need to download and install Python in the first step. The next step is to install the python-lzma module. After successfully completing the above steps, you should now download the Binwalk zip from the Binwalk repo on GitHub.

Then you need to extract the downloaded file and open it. Now open CMD.

Enter the following command in the CMD environment. By executing this command, Binwalk will be installed.

python setup.py install

In the next step, you need to download binwalk.py script. Note that this file will be placed in a separate folder on the desktop.

It should note that you must open CMD in the above folder. Then enter the following command. By entering the following command in CMD, pyinstaller is installed.

pip install pyinstaller

To create an executable (.exe) from binwalk.py you must enter the following command:

pyinstaller --onefile binwalk.py

You can find the executable file by going to the current folder. Then you need to copy it to “C:\Windows\System32“.

After you have successfully completed the previous steps, you can now remove the folder you created on the desktop.

How to Use Binwalk on Windows

In this section, we are going to show you an example of how to use the Binwalk tool. If you follow the steps below, you will be fully acquainted with how to use Binwalk. As you can see in the image below, we have an image file called brain.jpg.

 

how to install and use binwalk

 

To analyze this image with Binwalk, you must use the following command:

binwalk brain.jpg

By executing the above command, you will see the following output:

 

how to use binwalk

 

As you can see, this is not an ordinary image. This image contains a ZIP archive that has a file called flag.txt. You can extract the following files from the image using the following command:

binwalk -e brain.jpg

It should be noted that Binwalk extracts the content of the image and puts it in a folder called _brain.jpg.extracted.

Recommended Article: How to Find Out Which Process Listening On A Particular Port

Conclusion

Binwalk is fast analytics and reverses engineering tool for extracting firmware images. In this article, we tried to introduce you to How to Install and Use Binwalk on Windows. It should be noted that if you want to install Binwalk in Ubuntu and Kali Linux distributions, you can refer to our articles.

We Are Waiting for your valuable comments and you can be sure that it will be answered in the shortest possible time.

Leave Your Comment

Your email address will not be published.

We are by your side every step of the way

Think about developing your online business; We will protect it compassionately

We are by your side every step of the way

+18054214518

7 days a week, 24 hours a day