1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How To Hide A Data File Inside An Image

Discussion in 'BlackHat Lounge' started by The Scarlet Pimp, Oct 7, 2008.

  1. The Scarlet Pimp

    The Scarlet Pimp Senior Member

    Joined:
    Apr 2, 2008
    Messages:
    843
    Likes Received:
    3,222
    Occupation:
    Chair moistener.
    Location:
    Cyberspace
  2. 3kings

    3kings Newbie

    Joined:
    Sep 14, 2008
    Messages:
    38
    Likes Received:
    165
    This still works but the guy on the other side of the internet has to rename the file manually so it's not really handy.
     
  3. bpaw

    bpaw Junior Member

    Joined:
    Aug 9, 2008
    Messages:
    175
    Likes Received:
    48
    Home Page:
    It's called steganography. Pretty popular communication tool for terrorists -- probably not that specific method in the link but the same idea.
     
  4. aaappp3

    aaappp3 Newbie

    Joined:
    Dec 14, 2007
    Messages:
    34
    Likes Received:
    11
    Lots of things are popular amongst terrorists - cars, backpacks, boats...
     
  5. The Scarlet Pimp

    The Scarlet Pimp Senior Member

    Joined:
    Apr 2, 2008
    Messages:
    843
    Likes Received:
    3,222
    Occupation:
    Chair moistener.
    Location:
    Cyberspace
    hiding data inside of an image is not new. i first heard about doing it many years ago,
    although the method described to me was different from this one.

    you can also hide messages in spam, like this: www.spammimic.com/encode.shtml

    tsp
     
  6. wealthy199

    wealthy199 BANNED BANNED

    Joined:
    Sep 24, 2007
    Messages:
    585
    Likes Received:
    1,089
    Yeah hiding things inside images has been around for a long long time. For example, right click and save my avatar (should be called vava.gif) to your computer. Then rename it to vava.rar and uncompress it with winrar or similar.
     
  7. aaappp3

    aaappp3 Newbie

    Joined:
    Dec 14, 2007
    Messages:
    34
    Likes Received:
    11
    You can hide data inside any file that can be modified without causing an error (images, wavs etc). As far as I know, you simply take a bitstream of the source and place one bit at a time into the least significant bit of each byte in the target, thereby changing the target very slightly (but not so much as to be noticable).
     
  8. jammie

    jammie Power Member

    Joined:
    Feb 24, 2008
    Messages:
    773
    Likes Received:
    454
    use dos to attatch data after anything with a header/footer. loadsa ppl use RAR's as files only read them starting from the header, so if you have an image/w.e. the image works too. RAR's inside JPG's is common, but as i said, anything with a header works too.

    dos commands ftw!