Lab - Steganography
Lab - Steganography
Steganography Lab
Show simple examples of steganography
Materials needed
Kali Linux Machine
Setup Environment
Embedded text (zip command)
Embedded text (steghide app)
Setup Environment
Notice that a
TopSecret.txt file was
extracted from this image
Embedded Text (zip Command)
What does the TopSecret.txt file say?
List all the files in the folder
ls
Notice there is a TopSecret folder
Navigate into this folder and list all the files
cd TopSecret Notice the hidden
ls message that was
embedded in the image
Read the TopSecret.txt file
cat TopSecret.txt
Embedded Text (zip Command)
Your turn to hide a message in an image just like this one.
Create the message here:
Navigate back to steganography-lab folder
cd ..
Create and edit the text document
nano SekretMessage.txt
Enter your secret message to be hidden
Press CTRL+X, then Y, and ENTER to save
Embedded Text (zip Command)
Now, put the message in a zipped folder:
Create a directory:
mkdir SekretMessage
Move the message into the directory
mv SekretMessage.txt SekretMessage
Zip the directory
zip -r SekretMessage.zip SekretMessage
Remove the old directory
rm SekretMessage -rf
Embedded Text (zip Command)
Concatenate the zipped file with image1:
Combine the files
cat image1.jpg SekretMessage.zip > berry.jpg
Delete the old message
rm SekretMessage.zip