How to Hide Your p0rn Stash in Linux


Written by Pavs on November 28th, 2007

While talking to my friend stan I was quite surprised to see his non-tech ways of hiding p0rn from his girlfriend in his windows box. Which he thinks is a genius method. What he basically does is make a bunch of folders with different, confusing, not-so-interesting names and hide his stash deep deep inside the subfolders. Something like this (not his actual computer):

hidingdirtystuffs

While I have to give him props for his noble ways, I think we can do a better job in hiding his “important” files in linux. We are going to use a tool called steghide, which uses Steganography, to hide some “important” pictures. While some might argue that there are better ways to hide things in linux and other might argue that it’s not really a practical way to hide 100s (even 1000s?) of pictures. Though I used “p0rn” as a medium, this is more of tutorial about hiding files in general using Steganography. And perhaps more important to my friend stan and other windows users, is that Steghide is also available for windows.

Basically we will have to jpg file and hide/embed one file into another. It is important to note that the file size of file that you will embed to has to be bigger than the embedding file. The file type itself is not important.

In the screen shot below you can see that the file size increased after the embedding/compression. We used this command: steghide embed -cf notporn.jpg -ef thisisporn.jpg

2007-11-28-150839_1280x800_scrot

Next we will get some information about the embedded data by using this command
steghide –info notporn.jpg

2007-11-28-151015_1280x800_scrot

The next step is of course to extract the embedded/encrypted/compressed data out to open for viewing pleasure. This can achieved by using this command steghide –extract -sf notporn.jpg

2007-11-28-151148_1280x800_scrot

For more information about steghide check out: http://steghide.sourceforge.net/
For information about Steganography: http://en.wikipedia.org/wiki/Steganography



6 Responses to “How to Hide Your p0rn Stash in Linux

  • 1
    Revealing Steganographic Content in Images | LinuxHaxor.net
    February 20th, 2008 22:30

    [...] a while ago I showed how to hide your files with steghide, a tool used to embed information into a jpeg image file. Today I will show you how to detect a [...]

  • 2
    A good girl
    March 7th, 2008 12:55

    I am a young and hot cheerleader from Utah State University and I am getting divorced to ALLEN JOHN HACKING from Vernal Utah because he is addicted to porn. I have a great body with a wild sex drive but his porn addiction would never allow him to be satisfied with a real person because he was living in a fantasy world. I encourage all of you to stop being involved with porn. Please get help!! Porn can lead to far worse things like alcohol, drugs, rape, molestation etc… It’s not worth it. Please stop.

  • 3
    shirteesdotnet
    May 26th, 2008 17:41

    Dear “a good girl”… can you please post some of your photos since you are a young hot cheerleader? Thanks :)

  • 4
    Sean Tilley
    June 6th, 2008 18:37

    Sorry, but this is just stupid. The internet is plain full of porn. Just look there, you don’t have to do all that “hiding”, just delete your browser cookies.

  • 5
    J. S. Edwards
    June 19th, 2008 07:35

    First, thanks for the info on steghide, I was looking for something like that to hide some keys for a project I’m working on.

    Second, and please excuse the shameless self-promotion, but the project I’m working on can also be used to hide files. It is currently only in Alpha on SourceForge: http://sourceforge.net/projects/nwos but one thing that is mostly working is storing files encrypted in it. You can encrypt into another archive file or into a disk partition, or onto a USB drive for example. Say you have an external USB drive, you could set Objectify up to access the partition on it at /dev/sdb3 and assuming you have all the files you want to hide in a directory called xyzzy. Then you could just do the following:

    export OBJECTIFY_PRIVATE_PATH=/dev/sdb3
    prep_disk

    (I won’t enter all of the stuff here, just read the agreements and warnings, answer the questions, and enter the pass phrase.)

    import_file -r xyzzy

    (should read all of the files under the xyzzy directory.)

    verify_file –shred -r xyzzy

    (removes the files from your filesystem, note: I haven’t incorporated the gnu shred into my system yet so the shred is pretty lame.)

    Then the next time you want to use your files:

    export_file xyzzy/*

    (I haven’t gotten the recursive option added to the export_file yet. The recursive stuff is a recent addition.)

    When you are finished with the files you can do the verify_file –shred thing again to remove them. Note: it will only remove the files that are stored in the system, if any new files have been added or any files were changed it will leave them on the system. If you have new files you should be able to just do the import_file -r xyzzy again and it will add them.

    P.S. The reason I was looking for something like steghide is I am thinking of adding a feature to Objectify so that a key is stored on a USB thumb drive and it won’t decrypt unless you have the USB drive plugged in. But I needed a way to hide the key in the system so if you ever loose the USB key, you can still access your data.

  • 6
    Edna Crabaple
    July 6th, 2008 08:53

    Sometimes “young and hot cheerleader”s are lousy in bed too. Hugh Grant was dating a supermodel, but he had to go to a prostitute for the kind of sex he enjoyed. A man is divorcing supermodel Christie Brinkley right now (probably) for the same reasons. She’s in court claiming he’s a porn addict. Here’s a suggestion: Quit being a cold fish and please your man. I can tell by your use of his full name in this forum that you are a vindictive bitch. I give the man credit for finding a harmless sexual outlet. Get over yourself. You aren’t that beautiful on the inside! You’re a turd in a pretty wrapper.



Leave a Reply

Note: Any comments are permitted only because the site owner is letting you post, and any comments will be removed for any reason at the absolute discretion of the site owner.

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word