Learn about Chevy's new hybrid from AutoblogGreen!

Steganography with Flickr

steganographyI've recently purchased a Pro account over on Flickr. Since I'm moving to a new place in a few weeks, paranoia has set in over possibly losing all of my digital photos due to a dropped computer, lost backup DVDs and CDs, or simply stolen equipment. What's great about Flickr is the sorting capabilities and, most importantly, unlimited storage. Surely they must have something in place to avoid taking too much advantage of that unlimitedness? Actually, it seems they don't.

Steganography is a way of embedding just about any kind of file or data within another "cover" file, though not noticably altering the cover file's content. Usually this embedded content is encrypted with a passphrase of some sort, only extractable via special programs. So should you embed a file within a JPEG image, for example, the casual observer would only see the image and perhaps only notice something odd due to the image's file size.

I decided to give steganography a try on Flickr's system, wondering if they somehow sensed altered images and stripped the extra data or raised a red flag of some sort. Since I'm primarily a Linux user, I opted for the Steghide utility, though there are several freeware Windows applications available that do the same. Steghide allows you to embed any data within JPEG, BMP, WAV and AU files, encrypting, passwording and compressing the content if you wish.

After installing the program on my Fedora Core 4 system, the procedure was rather simple. I decided to use a nice B&W photo of my dog, Guinness, as the cover file (image links to Flickr location):

guinness the
dog

Next I picked a basic PDF file as the embedded document. I just picked a PDF job application form from my old school.

$ steghide embed -ef JobApp.pdf -cf guinness.jpg -p testing123 -sf guinness-steg.jpg
embedding "JobApp.pdf" in "guinness.jpg"... done%
writing stego file "guinness-steg.jpg"... done
$ ls -g
total 3416
-rw-r--r--  1 admin 1709600 Jul 29 13:39 guinness.jpg
-rw-r--r--  1 admin 1696487 Jul 29 14:25 guinness-steg.jpg
-rw-r--r--  1 admin   73255 Jun 30 14:09 JobApp.pdf

As you can see, the compression did a pretty good job -- the image containing the PDF is actually smaller than the original! Do they look any different? Nope.

Now let's get some info on the file:

$ steghide info guinness-steg.jpg
"guinness-steg.jpg":
  format: jpeg
  capacity: 104.6 KB
Try to get information about embedded data ? (y/n) y
Enter passphrase:
  embedded file "JobApp.pdf":
    size: 71.5 KB
    encrypted: rijndael-128, cbc
    compressed: yes

And to extract the embeded file:

$ steghide extract -sf guinness-steg.jpg -p testing123 -xf JobApp2.pdf
wrote extracted data to "JobApp2.pdf".
[keith@daedalus]$ ls -g
total 3492
-rw-r--r--  1 admin 1709600 Jul 29 13:39 guinness.jpg
-rw-r--r--  1 admin 1696487 Jul 29 14:25 guinness-steg.jpg
-rw-r-r%uFFFD -- 1 admin   73255 Jul 29 14:30 JobApp2.pdf
-rw-r--r--  1 admin   73255 Jun 30 14:09 JobApp.pdf

I've tested uploading the "guinness-steg.jpg" to Flickr and then downloading it again, and the embedded PDF file stays intact. Check it for yourself.

So basically Flickr can be used as a personal off-site backup system for all of your documents, not just images. Steganographied images can be shared with Flickr friends to pass on documents or other files. Honestly, though, I feel Flickr is an amazing service that I'd rather not see abused and lead to limit Pro account sizes. I'd rather see them figure out a way to stop such a thing from being possible or else let it be known such a practice is OK or not in their eyes.

Reader Comments

(Page 2)
Previous 20 Comments

Add your comments

Please keep your comments relevant to this blog entry. Email addresses are never displayed, but they are required to confirm your comments.

When you enter your name and email address, you'll be sent a link to confirm your comment, and a password. To leave another comment, just use that password.

To create a live link, simply type the URL (including http://) or email address and we will make it a live link for you. You can put up to 3 URLs in your comments. Line breaks and paragraphs are automatically converted — no need to use <p> or <br> tags.

New Users

Current Users

Cameras
Canon (5)
Casio (1)
Casio (0)
Digicams (1)
Fuji (1)
Hasselblad (0)
Hewlett-Packard (1)
Kodak (2)
Mamiya (1)
Nikon (8)
Olympus (0)
Panasonic (2)
Pentax (4)
Reviews (6)
Ricoh (1)
Sony (1)
DPGuru
Site News (1)
Events and Contests
Contests (5)
Events (6)
How-to's
How-to's (7)
Inspiration (32)
Tips and Tricks (14)
Lenses
Canon (1)
Lenses (2)
Nikkor (2)
Sigma (2)
Tamron (1)
Web Tools
Flickr (12)
Photo Sharing/Storage (6)
Web Tools (11)
Websites (18)
News
Books and Magazines (2)
Business, Markets, and Research (1)
News (65)
Rumors (2)
 (0)
Digital Photo of the Day
Digital Photo of the Day (61)
Equipment
Equipment (12)
Gadgets (9)
Software
Photo Sharing/Storage (9)
Photoshop (4)
Software (15)
Editorials
Editorials (6)
Quick Links (12)
Readers Photo Blogs (4)

RESOURCES

RSS NEWSFEEDS

Powered by Blogsmith

Other Weblogs Inc. Network blogs you might be interested in: