5 minutes
Share the link to this page
You need to purchase the class to view this lesson.
One-time Purchase
List Price:  $139.99
You save:  $40
List Price:  د.إ514.18
You save:  د.إ146.92
List Price:  A$182.11
You save:  A$52.03
List Price:  ৳11,901.15
You save:  ৳3,400.57
List Price:  CA$177.84
You save:  CA$50.81
CHF 89.14
List Price:  CHF 124.80
You save:  CHF 35.66
List Price:  kr862.01
You save:  kr246.30
List Price:  €115.89
You save:  €33.11
List Price:  £103.02
You save:  £29.43
List Price:  HK$1,085.42
You save:  HK$310.14
List Price:  ₹10,242.01
You save:  ₹2,926.50
List Price:  RM565.06
You save:  RM161.46
List Price:  ₦55,462.88
You save:  ₦15,847.67
List Price:  kr1,199.74
You save:  kr342.80
List Price:  NZ$195.88
You save:  NZ$55.97
List Price:  ₱6,726.63
You save:  ₱1,922.03
List Price:  ₨22,557.45
You save:  ₨6,445.44
List Price:  S$186.18
You save:  S$53.20
List Price:  ฿4,211.81
You save:  ฿1,203.46
List Price:  ₺1,046.46
You save:  ₺299.01
List Price:  B$741.01
You save:  B$211.73
List Price:  R2,131.70
You save:  R609.10
List Price:  Лв226.90
You save:  Лв64.83
List Price:  ₩154,585.35
You save:  ₩44,170.40
List Price:  ₪460.36
You save:  ₪131.54
Already have an account? Log In


Steganography is the process the science of taking data and hiding it in other data. Now, be careful with this because cryptography is the process of taking data and encoding it in some way so that other people can see that there is data there, but they can't read it was steganography. The data itself may or may not be encoded, a lot of times it's not encoded, but it's hidden and other data so that people don't even know to look there, that that might be the data they're looking for. So when we talk about steganography, the number one way we talk about it is that we take data, usually text, and then we hide it within graphic images. So to help you see how this all works. I've got this great picture of me right here.

Okay. Thanks, camera guy for making such a great picture of me anyway. So what we're going to do is we're going to take this PNG file, and we're going to embed a little bit of text, a little bit of secret text into the piece. itself. So to do that, well, there's a lot of ways to do that. But to start off, we're going to go a little bit old school.

And by talking about old school, what I mean is I'm going to open this up. In this case, I'm going to use a word processing program WordPad. So let's take a look at what we see here. Now, this is interesting, because what we're looking at is, instead of looking at a PNG file through a graphics editor, or through an image viewer or something like that, we're just bringing out the raw text that's within that image. So there's a couple of things that are kind of handy here. For example, you see the PNG up at the top, almost every graphical format on earth starts off with a three letter combination for letter combination, identifying exactly what it is.

Now PNGs, use a lot of headers, and as we scroll through here, we can see there's all kinds of header information, but there is a certain point where the actual data that is the image begins to show up. So what we could do, let's give this a try. I can pick some arbitrary spot. And now watch what I'm going to do. So you can see I've typed in this is secret text. Now there's a couple of downsides to this.

First of all, we're gambling that the image will just see this little bit of text I've written in in and try to interpret a pixel or two to be something different. But things are kind of persnickety in graphics formats, for example, you have a bunch of images, and then you have the end of that line as it begins to draw the next line to the image. If I were to mess that up, well, we could run into trouble. So there's a lot of issues involved with this that can make simply going in in a raw way like this work or not work. So I'm just I'm not going to save that. But let me show you one example.

Here's an example where I actually went in and I just tried to type in this is secret text. And I got a result like this. This is actually a good result. It's still thinks it's a PNG file. It's just Having trouble interpreting it, I've seen a lot of times where you mess up and it's like, I don't even know what this is, and it just blows up. So keep in mind, the whole idea of steganography is that to the normal person will just look like a PNG file.

So to get around this problem, what we do is there's lots of little tools out there that allow us to do steganography. So this one particular program is called image steganography. I like this one, because it's not complicated. What he can do is embed some data into bmps JPEGs PNGs, because the program knows these file formats, and it's not going to let you accidentally put it in a place where it's gonna mess stuff up. So it's actually trivially easy to use. So I'm just going to drag an image over here.

So I can type in this is secret text. And now it's gonna say Where do you want me to put this and I'm just going to say call it Mike pick three and just Dump it to the desktop. So you'll see here, we are actually encoding it. We're not encrypting it, we're just going to leave the actual text there. And these are different ways that it can embed the information. But what is important is we're going to go ahead, and we make this.

And here's the cool part. So we've made this new file, let's take a look at it. So just opening it up. There's nothing really to see here. And that's the whole idea of steganography. You want to hide the data, whether it's encrypted or not unimportant.

The only downside to this is that because I use this tool to perform the steganography, I need to give the other person this exact same tool because he has a proprietary way of hiding that data. So to actually get the data back out. What we're going to do is we take the encoded image, I can output it to a file, I'm just going to say output to text. And if I've done it right, it's able to read the information that was put into that So steganography is actually pretty cool. I've done a lot of work with like the FBI and the DEA. They watch out for stuff like this because it is a great way to hide stuff.

It's an unsophisticated way to do it. But when you're not looking for it, it can be a real challenge. Watch out for steganography

Sign Up


Share with friends, get 20% off
Invite your friends to TabletWise learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.