A Secret Message in an Image: Steganography

preview_player
Показать описание
I show an apparently solid green image that actually contains two paragraphs of text, with one bit from each character of the text encoded into the low-order bit of the red component of the pixels. This is called steganography. I walk through a Python program that does this encoding and decoding. There are several moderately advanced concepts here, such as bit “twiddling” and numpy arrays, and I don’t cover them thoroughly. I consider this a first draft of what could be a really nice set of lessons building up to completely understanding this code.
One correction: Where you see an |= operator, I later changed that to a simple assignment, =.
Note: I’ve changed the code considerably since making this video. Please see the commit comments in Github for details.
Рекомендации по теме
Комментарии
Автор

Hi Dave, this is well done. I learned a LOT in your video...as a student in digital forensics class. Thanks for putting online.

TerriMarieReh
Автор

i didn’t expect to find one of your videos while researching steganography

jackmarron
Автор

excellent video! I was about to move onto another one because of how impatient I am but I luckily stuck around.

prakh
Автор

Fantastic tutorial Dave, and well explained. I have now moved on to your updated version from Git and I'm still trying to get my head around the new code! I was in fact hoping to utilise and adapt it as part of a crypto/stego hybrid solution to security for my final year project(I'll be sure to cite your work if i do!). I'm still fairly new to python, so I'll crack on and keep reading. Kudos, and keep up the good work.

elliottoreilly
Автор

Dave would you be open to taking a look at what looks like a hand written drawing but has layers upon layers of hidden letters, numbers, symbols etc.... I have spent two or three weeks trying to figure out how this was done and how to bring out the hidden aspects in a way that is clear enough to understand. I have tried to search out steganography experts and have posted on reddit but its really been hard to find someone to talk with. What I know 100% is although it looks hand drawn there has to be coding involved because I have found areas that with one type of filter one hidden image or whatever will pop but with another filter a different a completely different hidden feature will be in the same spot. Kind of hard to explain but I think you would understand. Its almost like its layered. Its crazy. Thanks for any guidance on the subject.

legacyXplore
Автор

Awesome video and code! Thank you so much for taking the time to make this.
I have a question for processing existing png files.
It seems if the red channel of pixels within the range of 0 to "bits_in_msg" has any value other than 0 it causes problems with the encoding of the character data onto the red channel for that pixel. I suspect its an issue with line 37 but my brains not doing me any favors figuring it out right now. I may try to overwrite each red channel in that range with 0 as a test but not tonight. I was getting output of long strings of ÿ when i tried decoding messages from existing images with "early" red channel data

FailedSquare
Автор

Great one there, just a quick question.

What will happen to the data hidden inside an image if the image is converted to bytes to be stored somewhere for future use?
Is there any chances the images and the hidden data will still be intact?

Thanks

afolabisunday
Автор

Hi Sir, can you please make a video explaining your new and changed code ?

nupurchavan
Автор

hi sir please i have a uestion, how can i hide sound like data (.wav) for example in an image using lsb method?

imanebousshine
Автор

Dave may you please help me try to figure out this image and what's the code or meaning in that picture if you could may I please email you if so reply to me if you would help me out.

DB-bkfx
Автор

hi what does the "~1" in the clear_low_order_bit represent?

savasnehri
Автор

Revealing hidden content. Hi. If there is anyone who can help me find hidden content within photos, can you please reply. There are lots of videos about hiding content but very few about finding it. And to be fair, my lack of knowledge about computers and technology I probably wouldn’t know what to do anyway! I need help because someone has been harassing my family. Some of their photos are quite obvious that they have been manipulated - I would like to know what they have done. Others are not (they might therefore have nothing hidden). Please if there is anyone who can help me. I would greatly appreciate it. 💟

hayleyconnor
Автор

wasn't this created to hide malware in images

namishkesavan
Автор

sir, i need how can encrypted text hide in text steganography

oriabnu
Автор

Sir, can you provide your email? I want to discuss something important.

fathimafarwa