Sinisterly
Tutorial Use Steganography to hide data in images - Kali Linux - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Hacking (https://sinister.li/Forum-Hacking)
+--- Forum: Tutorials (https://sinister.li/Forum-Tutorials)
+--- Thread: Tutorial Use Steganography to hide data in images - Kali Linux (/Thread-Tutorial-Use-Steganography-to-hide-data-in-images-Kali-Linux)



Use Steganography to hide data in images - Kali Linux - D@rk TruTH - 01-30-2017

Many of you already know about Steganography. Those of you who don't know about steganography it's an art of hiding secret data in any data file like images, audio, video files etc. Let's have a look at what Wikipedia say about Steganography.

According to Wikipedia

Quote:Steganography is the practice of concealing a file, message, image, or video within another file, message, image, or video. The word steganography combines the Greek words steganos (στεγανός), meaning "covered, concealed, or protected", and graphein (γράφειν) meaning "writing".
In today article I am going to use hide a text file inside an image file. For this purpose, I am going to use a tool called "StegHide". Steghide support various image types.We can also use StegHide to hide data in audio files.

Let's start with the tutorial.

1. Downloading tool
  • This tool can be downloaded from SourceForge if you are using windows.
  • If you are using Linux use the following command to install.

Quote:sudo apt-get install steghide

2. Hiding a text file inside an image file
  • Create a folder and move image and text files to the folder.
  • Open Terminal and paste the following command and press enter.
Quote:steghide embed -cf r.jpg -ef s.txt
  • Replace r.jpg and s.txt with names of image and text file you are using.
    [Image: p2.png]
  • After you run this command you will need to enter a passphrase which will lock your like so no other can open it without your permission.
  • You have to enter the same passphrase two times, now you have encrypted a text file inside an image.

3. Extracting hidden data from image file
  • Open the terminal and change the directory to the folder where you have saved your image file.
  • Now type the following commands to extract the text file.
Quote:steghide extract -sf r.jpg
  • Replace r.jpg with your image file name.
    [Image: p3.png]
  • After entering the command you need to enter the passphrase to extract the text file.

So this was the tutorial on hiding data inside an image file.You can also use audio file also. Hope you guys like the tutorial.

Note : I wrote this article for my blog, i have full authority to share this content with this forum.


RE: Use Steganography to hide data in images - Kali Linux - DarkMuse - 01-30-2017

Cool stuff. Personally I prefer picture frames but hey that's just me


RE: Use Steganography to hide data in images - Kali Linux - silur - 02-01-2017

what algorithm does steghide use? F4 or F5?


RE: Use Steganography to hide data in images - Kali Linux - Desolate - 02-01-2017

Nothing new but super interesting concept! Thank for the share mayne Cool


RE: Use Steganography to hide data in images - Kali Linux - black3izard - 02-16-2017

can i add executable files in image ?


RE: Use Steganography to hide data in images - Kali Linux - D@rk TruTH - 02-16-2017

(02-16-2017, 02:43 PM)black3izard Wrote: can i add executable files in image ?

I never tried.... but if it does you will not be able to execute the file if you are thinking of spreading your RAT....


RE: Use Steganography to hide data in images - Kali Linux - black3izard - 02-16-2017

i have seen many rat which embeded in images !


RE: Use Steganography to hide data in images - Kali Linux - Mlrkey - 02-23-2017

I remember seeing something like this in a movie, thanks for this mate itll be fun to use


RE: Use Steganography to hide data in images - Kali Linux - m0dem - 02-23-2017

(02-23-2017, 12:10 AM)Mlrkey Wrote: I remember seeing something like this in a movie,  thanks for this mate itll be fun to use

That's always a bad sign! Wink2


RE: Use Steganography to hide data in images - Kali Linux - Blink - 02-23-2017

(02-16-2017, 06:18 PM)black3izard Wrote: i have seen many rat which embeded in images !

They are all fake, it doesn't work like that.