Feb 7, 2025 04:43 AM
(This post was last modified: Jun 30, 2025 03:53 PM by JoseMar.)
What is and how to use Binwalk?
Earn 500Bytes if you complete the job!
Earn 500Bytes if you complete the job!
![[Image: g2mSEhL.png]](https://i.imgur.com/g2mSEhL.png)
Binwalk is a forensic analysis tool used to analyze, scan, and extract hidden files from binary data, such as images (What we do today), firmware, and executable files. It can be used by ethical hackers and cybersecurity professionals to:
- Detect hidden data (like embedded all files, compressed archives, or steganography).
- Extract hidden files automatically from all images, firmware, or any binary file.
- Reverse engineer firmware to analyze vulnerabilities.
Example how to use Binwalk:
Today, I am going to decrypt the hidden content of an image found in the Windows Server lab at the following address:
PHP Code
<?php
http://192.168.1.139:8585/wordpress/wp-content/uploads/2016/09/graciosillo.png
![[Image: XeobR1S.png]](https://i.imgur.com/XeobR1S.png)
We right-click and save the image to the Desktop.
Next, we open the terminal and use Binwalk to analyze the image to check if there is any hidden data inside.
![[Image: ddLJfnX.png]](https://i.imgur.com/ddLJfnX.png)
As observed, there is a hidden .txt file named detuamigojohn.txt
To extract the hidden content, we use the following command:
Code
binwalk -e graciosillo.png![[Image: IqmfvTN.png]](https://i.imgur.com/IqmfvTN.png)
Now, a new folder has been created on the Desktop with the extracted content:
_graciosillo.png.extracted
![[Image: iihEqW8.png]](https://i.imgur.com/iihEqW8.png)
Inside, we find the file detuamigojohn.txt, which contains the following message:
![[Image: jfv8iob.png]](https://i.imgur.com/jfv8iob.png)
![[Image: XGHEwge.png]](https://i.imgur.com/XGHEwge.png)
Additionally, there is a 4DE94.zip file inside, which contains another file with the same content:
![[Image: GaV4EEz.png]](https://i.imgur.com/GaV4EEz.png)
emEgb2RxcWUgY2dxIHF4IG1weXV6dWVmZG1wYWQgcWVmbSBhbmVxdWV1YXptcGEgb2F6IHhhZSB5Z2RvdXF4bXNhZT8K
Let's make this more fun!
I solved this Windows Server lab three years ago for an exercise. The text decoding from the image is a message I had to send to the professor to get a passing note. I find it interesting to do something similar, but offering Bytes.
I'm tagging Bastille to confirm if I can do this. If not, please let me know, and I'll delete it immediately.
Now, if you've read this, I’m sure you're up for the challenge! 🕵️
- The first person who complete this will receive 500 Bytes from me!
- Your task: Decode the hidden text from the image and tell us how you decode it
CodeemEgb2RxcWUgY2dxIHF4IG1weXV6dWVmZG1wYWQgcWVmbSBhbmVxdWV1YXptcGEgb2F6IHhhZSB5Z2RvdXF4bXNhZT8K - The text is in Spanish, just copy and paste it here to claim your reward!
Good luck!
![[Image: brotherhood-2026.gif]](https://hackforums.net/images/groupimages/custom/brotherhood-2026.gif)




![[Image: j90qyxk.gif]](https://i.imgur.com/j90qyxk.gif)

