Where Notes Work
Steganography
Steganography(stego) is the art of hiding the message inside, something else, for example, A message inside a jpg file, or a binary inside a png.
Steganography has been used since ancient times to deliver messages that they don’t want others to see.
Steghide
Steghide is one of the most famous steganography tools, and for good reason, it’s a classic method of hiding a message inside an image, and steghide does it effectively and efficiently. A downside of steghide is that it only works on jpgs.
One of the greatest benefits of stegohide is that it can encrypt data with a passphrase, meaning that if they don’t have the passphrase, then they can’t extract.
To see the documentation of steghide.
root@prokunal:~# man steghide
Embedding text file into image,
First, create a text file name “hello.txt”, with some context,
root@prokunal:~# echo "ProCoder" > hello.txt
root@prokunal:~# steghide embed -cf image.jpg -ef hello.txt
then, enter the passphrase(Password)
![](https://procoder.in/wp-content/uploads/2020/09/image.png)
Extracting text file from image,
root@prokunal:~# steghide extract -sf image.jpg
![](https://procoder.in/wp-content/uploads/2020/09/stego_extract-1.png)
![](https://procoder.in/wp-content/uploads/2020/09/cat_hellotxt-1.png)
Zsteg
Zsteg is for png’s, It supports various techniques to extract data from png files, zsteg also supports BMP files, but it is primarily used for png’s.
Installation of zsteg,
root@prokunal:~# gem install zsteg
Pending…..