Torrents hidden in PNG images
hid.im
hid.im
Simple example: you're coding a match against a previous block and can choose one of two previous blocks to match against. If the bit of the torrent file to be encoded is "0", you use the closer of the two blocks, if it's "1" you use the farther.
All you have to do decoder-side to emulate this is to decode the whole PNG, then go "encode" it again and see what decisions were made in the original PNG file and one by one decode the bits to an output torrent file.
You'd probably need a pretty big PNG file (at least a few hundred kilobytes, if not a meg).
Photos (especially of poorly lit environments) should be perfect. They're very grainy by nature, so it will be especially difficult to trace where the data resides. Because you can hide so much data in the image, you can get very creative with where and how you do the encoding.
I would just round each pixel's R, G, and B values off to either even or odd. Even stands for 0, odd for 1. That gives you three bits per pixel and hopefully would be very hard to detect visually with, for example, a nature photograph.
Then you just encode another image in 8-tone grayscale at the same size. That's what I was after, I haven't done the calculation for how large an image you'd need to encode real files.
This is not steganography, it's merely an obscure variant of the .torrent file format.
The claim that this will frustrate search engines is true, in the sense that no one is looking for this format at the moment; obfuscating with an awkward format is a short term dodge.
Not to mention you can also insert these PNGs into other images, too - like sig images, as the page suggests.
People can pick away at it all they want, but the fact remains that it's a huge innovation in distributing torrents without running the risk of coming up in search when Interested Parties google the torrent name. And it works great now for this purpose.
Nothing on this earth is guaranteed to work forever, so that's hardly a damning flaw.
*yes, I know this is the improper vulgar usage of the phrase, sue me.
There's no need to jam it into the image channel itself and produce this thing that's obviously a hidden message.
Wow, way to completely blow the opportunity for any kind of subterfuge -- they even use a magic number!
The torrents aren't hidden at all, and could be crawled, reversed, and identified with no more effort than if they were just plain torrent files.
You can fit a lot of data into image, whether plain text or binary, depends solely how you encode the data. If you use a complex picture its basically impossible to detect visually, even if you enhance the lsb's.
What works pretty well for detection is doing chi square analysis, but even then, if you fill the rest of the bits with random data, that method fall short.
I don't really see how this is an effective means of transferring and/or sending torrents. The .torrent isn't illegal or something to worry about, its downloading the files it points to that "sometimes" is.
Cool project, but serves no real purpose.