Steganography is the art and science of hiding messages in such a way that no one, apart from the sender and receiver, suspects the existence of the hidden data- security through obscurity. In this tutorial, you’ll learn a neat trick using which you can hide whatever data you want behind an image of your choice.

How to hide data inside images?

  1. Create a folder. Name it anything you wish, say hide.

  2. Now put anything and everything you want to hide in this folder. Text files, other images, executables - anything. Also, put the image behind which you want to hide the files in the same directory, say “image.jpg”.

  3. Now we need to archive this folder. You can use your choice of compression tools for this (I recommend the free and open source 7-zip). So now we have hide.zip containing all of the data we want to hide behind an image.

  4. You should have your image, say image.jpg (inside of which we’ll hide our data) in the same directory as hide.zip (next to it).

  5. Now simply open up the command prompt and move to the folder where image.jpg and hide.zip are located using the cd command:

    cd PATH
    

    For example:

    cd C:\Folder
    cd desktop
    
  6. Now we type in the following command:

    copy /b image.jpg + hide.zip output.jpg
    

After running this command, you should see an output.jpg in the folder and if you look closely, you’ll notice that it’s size has increased by approximately the size of the archive. Our data is now hidden behind the image.

The newly created output.jpg behaves like a normal image file, but you can also view the hidden data by opening the file with your compression tool, say 7-zip (Right click -> Open with -> 7-zip).

Of course, this is just a little trick and not a substitute for proper encryption (it could be if you added a password to your archive file). Still, it isn’t exactly subtle if you hide tens or hundreds of megabytes of data behind an innocent image file. which is why you should use encryption tools such as veracrypt if you have some important or confidential data you wish to properly encrypt.

That’s It! Now you can send this image to anyone, what others will see is just a regular image but if the recipient knows, s/he will be able to access any secret information privately.This tutorial can be used for any type of files like mp3,wmv,txt etc. since anything can be put into a Rar file.


Got any questions? Come, let's talk on twitter :)

Tell me that I made the right decision by making this website completely free and without any ads or paywalls by supporting me on Patreon.




go to top