A crash course on the topic of steganography
Steganography(Stego) is the art of concealing something inside something else, for example: A message inside a jpg file, or a binary inside a png. Stego has been used since ancient times to deliver messages that they don’t want others seeing. In the modern day it’s used for the same purpose, only now we have much more advanced tools. This room is designed to go over those tools and how to use them.
All needed files can be found inside the included zip file
Note: Basic linux knowledge required.
Steghide is one of the most famous steganography tools, and for good reason. It’s a classic method, hiding a message inside an image, and steghide does it effectively and efficiently. A downside of steghide is that it only works on jpgs; however, that means that if you believe there is a hidden message inside a jpg, then steghide is a probable option.
One of the greatest benefits of stegohide, is that it can encrypt data with a passphrase. Meaning that if they don’t have the password then they can’t extract any data.
steghide can be installed with the command
sudo apt install steghide
1.What argument allows you to embed data(such as files) into other files?
2.What flag let’s you set the file to embed?
3.What flag allows you to set the “cover file”?(i.e the jpg)
4.How do you set the password to use for the cover file?
5.What argument allows you to extract data from files?
6.How do you select the file that you want to extract data from?
7.Given the passphrase “password123”, what is the hidden message in the included “jpeg1” file.
zsteg is to png’s what steghide is to jpg’s. It supports various techniques to extract any and all data from png files.
Note: zsteg also supports BMP files, but it is primarily used for png’s.
zsteg can be installed by using ruby with the command
gem install zsteg
1.How do you specify that the least significant bit comes first
A: — lsb
2.What about the most significant bit?
A: — msb
3.How do you specify verbose mode?
4.How do you extract the data from a specific payload?
5.In the included file “png1” what is the hidden message?
6.What about the payload used to encrypt it.
Exiftool is a tool that allows you to view and edit image metadata. While this in itself is not a stego tool, I would be remiss not to include at least a footnote on it as one of the most popular forms of image stego is to hide messages in the metadata.
Exiftool can be installed with
sudo apt install exiftool
- In the included jpeg3 file, what is the document name?
Personally this is one of my favorite image stego tools. It supports just about every image file, and is able to extract all types of data from it. It is an incredibly useful tool if you don’t know exactly what you’re looking for, as it has a myriad of built in tests to extract any and all data.
Note: Stegoveritas has other features as well such as color correcting images
Stegoveritas can be installed by running these two commands:
pip3 install stegoveritas
1.How do you check the file for metadata?
2.How do you check for steghide hidden information
3.What flag allows you to extract LSB data from the image?
4.In the included image jpeg2 what is the hidden message?
Spectrogram stegonography is the art of hiding hidden an image inside in an audio file’s spectogram. Therefore when ever dealing with audio stego it is always worth analyzing the spectrogram of the audio. To do this task we will be using Sonic Visualizer.
Note: This introduction will be done using the included wav1 file.
When you open Sonic Visualizer you should see this screen:
From there click File->Open and then select the included wav1 file and you should see a screen similar to this:
From there click Layer->Add Spectrogram and you should see this:
And that’s it!
1.What is the hidden text in the included wav2 file?
Good luck and have fun!
The Final Exam:
What is key 1?
2.What is key 2?
It shows a link, I will go to that link and download the image file.
As the image we downloaded is in a .png format, So, we use zsteg tool to find our second key.
3.What is key 3?
please everyone join my telegram channel :https://t.me/hackerwheel
please everyone join my youtube channel :https://www.youtube.com/channel/UCl10XUIb7Ka6fsq1Pl7m0Hg
Change the world