Introduction: Secure Your Data Hiding Them in Images. Steganography

Picture of Secure Your Data Hiding Them in Images. Steganography

This isn't the result image with the hidden files, because when i upload it it has been converted to jpg.

You can download the original file from:

The password is "a".

To make this instructable you will need:

  • A unix based os with a compresion tool like rar and the cat command, or windows with a compresion tool.
  • Some secret files.
  • An inocent image in png or jpg format.

If you do it, don't forget push the botton i made it.

If you like it, don't forget push the botton Favorite.

And don't forget vote this instructable for the Protected Contest.


Step 1: Gets Started!

Picture of Gets Started!

You need to put yours secret files in a folder. And in the parent directory you can put the image.

Open a bash terminal. And change the directory to the secret folder parent.

Like in the image.

Step 2: Compress the Secret Directory.

Picture of Compress the Secret Directory.

Use the rar command to compress the information. You must use a password to increase the security.

rar a out.rar mega-secret-files -hp

You can also use other compressed formats.

Like in the image.

Step 3: Use Cat to Concatenate Both Files. or Type in Windows

Picture of Use Cat to Concatenate Both Files. or Type in Windows

The next step is concatenate both files with the command:

cat image.png out.rar > newimage.png
If you are using windows:
type image.png out.rar > newimage.png

BOOM! the picture with the hidden files is ready.

Step 4: Let's Recover the Information.

Picture of Let's Recover the Information.

To acces to the information you only need rename the extension of the image to rar. And then you can open with the archive manager.

Put the password.

Extract the information.

Like in the images.


sgwd (author)2016-07-11

I want to decrypt a stegnographic text message that is hidden within a text message only...then what should I do

jwingo (author)2015-04-09

What OS is this?

matthew98405 (author)2015-02-06

I see WireShark

kal walid (author)2015-01-07

not gonna happens when you try to hide a file or an image which exceeding the image size.

darkskaman (author)kal walid2015-01-07

Why not?, the rar file is larger than the image.

The output file have the size of both files.

This may reveal that there is something odd. if you hide a very large file into a small, low-quality image. No sense an image of a size 50x50px 2Gb for example.
Thanks for the comment.
FivosC (author)2015-01-06

I like your work

FredericM made it! (author)2015-01-06

I Made it!

You can also do this on windows, but with the command type.

type img.png secret.7z > img+secret.png

(the file extensions can be different)

darkskaman (author)FredericM2015-01-06

Yes, the command type is the equivalent to the unix cat in windows. So it also works. Good point.

Thanks for the comment.

FredericM (author)darkskaman2015-01-06

Thanks for the instructable ;) I didn't know how to do that, and also not that it was even this simple. After some googling I found the windows equivalent and it worked

Malkaris (author)2015-01-05

very slick. I'm curious what a file query would return. have to try it out later

darkskaman (author)Malkaris2015-01-06

The file commands only look in the headers of the first file, when finish the first headers it stop searching. But when you use an archive manager it look for the headers of a compressed file, ignoring the png headers.

Thanks for the coment.

I hope you like the instructable. When you try it, push i made it.

NRG4UandMe (author)2015-01-05

i did not take computer science as my major and so i can appreciat all that went into this ..

About This Instructable




More by darkskaman:Secure your data hiding them in images. SteganographyTransforming an old PC box into a mini-indoor grow system. Transformar la caja de un viejo PC un sistema mini-indoor de cultivo.Champiñones caramelizados en salsa de soja.
Add instructable to: