1
00:00:06,480 --> 00:00:08,343
- In this lesson 4.6,

2
00:00:09,424 --> 00:00:11,070
we're gonna be talking
about Steganography.

3
00:00:11,070 --> 00:00:14,880
Now, steganography isn't
really a cryptographic solution

4
00:00:14,880 --> 00:00:19,080
but because it hides data,
that's its goal, right?

5
00:00:19,080 --> 00:00:20,940
It makes data unreadable,

6
00:00:20,940 --> 00:00:22,980
this seemed like the
logical place to add it.

7
00:00:22,980 --> 00:00:24,933
So it's in this lesson with us.

8
00:00:25,860 --> 00:00:29,400
So steganography is the
science of hiding information.

9
00:00:29,400 --> 00:00:33,180
Now it consists of a
message and a cover image.

10
00:00:33,180 --> 00:00:35,190
The message is the secret data,

11
00:00:35,190 --> 00:00:38,643
the cover image is the carrier
that hides the message.

12
00:00:39,885 --> 00:00:40,718
You may have seen examples of this

13
00:00:40,718 --> 00:00:44,280
in maybe some murder mysteries
that you've read or watched.

14
00:00:44,280 --> 00:00:47,040
Steganalysis is the study of detecting

15
00:00:47,040 --> 00:00:50,433
those hidden messages using steganography.

16
00:00:51,485 --> 00:00:54,840
So what might be some of
those digital cover images?

17
00:00:54,840 --> 00:00:57,600
Well, we might embed the message in text

18
00:00:57,600 --> 00:01:00,000
hiding information in a text file.

19
00:01:00,000 --> 00:01:04,113
Maybe every nth letter,
or on every nth page.

20
00:01:05,370 --> 00:01:06,693
Could be in an image.

21
00:01:08,146 --> 00:01:08,979
Hiding information in an image file

22
00:01:08,979 --> 00:01:13,920
like a BMP or a JPEG
or a GIF or a PNG file.

23
00:01:13,920 --> 00:01:16,920
In audio, hiding
information in an audio file

24
00:01:16,920 --> 00:01:19,920
like a WAV or an AU or an MP3.

25
00:01:19,920 --> 00:01:22,500
Or hiding information in a video file

26
00:01:22,500 --> 00:01:25,920
like an AVI or an MP4 or an MPEG.

27
00:01:25,920 --> 00:01:27,780
Those are all of the covers,

28
00:01:27,780 --> 00:01:30,360
we put the message inside those covers

29
00:01:30,360 --> 00:01:32,520
to hide the message.

30
00:01:32,520 --> 00:01:35,340
The objective of
steganography is concealment

31
00:01:35,340 --> 00:01:38,160
and there's a variety of use cases.

32
00:01:38,160 --> 00:01:41,460
For example, a digital watermark
is really a hidden message

33
00:01:41,460 --> 00:01:43,860
that's used to prove or claim ownership,

34
00:01:43,860 --> 00:01:45,390
generally of intellectual property

35
00:01:45,390 --> 00:01:46,950
or an artistic work.

36
00:01:46,950 --> 00:01:49,860
So that's really an example
of using it for good.

37
00:01:49,860 --> 00:01:51,600
But steganography could also be used

38
00:01:51,600 --> 00:01:53,610
for covert communication,

39
00:01:53,610 --> 00:01:57,090
it can be also be used to
conceal malicious code,

40
00:01:57,090 --> 00:02:01,093
like malvertising, or
phishing, or exploit kits.

41
00:02:01,093 --> 00:02:04,170
So let me give you a really simple

42
00:02:04,170 --> 00:02:06,153
steganography illustration.

43
00:02:07,290 --> 00:02:10,221
Taking this image, image1.jpeg,

44
00:02:10,221 --> 00:02:13,470
I'm going to add a text
file to that image.

45
00:02:13,470 --> 00:02:16,882
So the image is the cover,
the text file is the message.

46
00:02:16,882 --> 00:02:20,730
And then I'm gonna end
up with final1.jpeg.

47
00:02:20,730 --> 00:02:23,490
Now, does it look exactly
the same as image one?

48
00:02:23,490 --> 00:02:24,690
Well, absolutely it should

49
00:02:24,690 --> 00:02:27,870
because I haven't changed
anything in the cover image.

50
00:02:27,870 --> 00:02:29,880
The picture's exactly the same.

51
00:02:29,880 --> 00:02:33,930
But now I've embedded the
text file in that picture

52
00:02:33,930 --> 00:02:36,630
and I wanna show you
absolutely how simple that was.

53
00:02:36,630 --> 00:02:38,250
Dropping into a command prompt,

54
00:02:38,250 --> 00:02:43,250
copy/bimage1jpeg=text1.text final1.jpeg,

55
00:02:46,320 --> 00:02:50,010
which says combined text
one text and image1.jpeg

56
00:02:50,010 --> 00:02:53,400
to give the output of final1.jpeg.

57
00:02:53,400 --> 00:02:58,050
And if I opened up final1.jpeg in notepad,

58
00:02:58,050 --> 00:02:59,853
well, what you would see,

59
00:03:01,108 --> 00:03:02,130
and the only message I've
actually put in there is my name

60
00:03:02,130 --> 00:03:03,930
that when they got combined,

61
00:03:03,930 --> 00:03:05,310
there's my name, right?

62
00:03:05,310 --> 00:03:08,700
There's the message
embedded in that picture,

63
00:03:08,700 --> 00:03:11,640
now, if you didn't know to
open that up in notepad, right?

64
00:03:11,640 --> 00:03:13,950
You'd never have any idea whatsoever

65
00:03:13,950 --> 00:03:16,683
that there was a message
embedded in that picture.

66
00:03:19,070 --> 00:03:22,500
So the difference between
steganography and cryptography,

67
00:03:22,500 --> 00:03:24,060
well one is the purpose, right?

68
00:03:24,060 --> 00:03:26,640
Steganography the purpose is to conceal.

69
00:03:26,640 --> 00:03:28,620
We often think of it as covered writing.

70
00:03:28,620 --> 00:03:31,350
Cryptography our purposes
are confidentiality,

71
00:03:31,350 --> 00:03:34,687
integrity and non-repudiation.

72
00:03:34,687 --> 00:03:36,960
There's a difference in
communication channel

73
00:03:36,960 --> 00:03:39,300
in steganography, the
existence of that secret

74
00:03:39,300 --> 00:03:42,107
communication channel is not known,

75
00:03:42,107 --> 00:03:45,120
in cryptography the existence
of the communication channel

76
00:03:45,120 --> 00:03:46,320
is known.

77
00:03:46,320 --> 00:03:49,020
And then we have these
mathematical transforms

78
00:03:49,020 --> 00:03:50,370
or transformations.

79
00:03:50,370 --> 00:03:52,590
Mathematical transforms or transformations

80
00:03:52,590 --> 00:03:54,990
are not used steganography

81
00:03:54,990 --> 00:03:57,303
but they are used in cryptography.

82
00:04:00,000 --> 00:04:01,200
That was a short little lesson,

83
00:04:01,200 --> 00:04:03,483
brings us to a three second challenge.

84
00:04:04,500 --> 00:04:06,000
Oh, everybody's gonna get this one, right?

85
00:04:06,000 --> 00:04:07,800
This is the practice of concealing data,

86
00:04:07,800 --> 00:04:09,540
it's what our whole lesson was about.

87
00:04:09,540 --> 00:04:14,070
1, 2, 3, steganography.

88
00:04:14,070 --> 00:04:18,090
Number two, hidden data
used to prove ownership.

89
00:04:18,090 --> 00:04:21,003
I said sometimes there
was good uses, valid uses.

90
00:04:22,314 --> 00:04:26,673
1, 2, 3, this was a digital watermark.

91
00:04:27,840 --> 00:04:32,220
Number three, malicious code
embedded in advertising.

92
00:04:32,220 --> 00:04:33,870
We didn't really talk about this,

93
00:04:35,438 --> 00:04:36,921
I used this term really, really quickly.

94
00:04:36,921 --> 00:04:39,990
When malicious code,
malicious code is embedded

95
00:04:39,990 --> 00:04:42,960
in advertising, what are we gonna call it?

96
00:04:42,960 --> 00:04:47,313
1, 2, 3, and that's gonna be malvertising.

97
00:04:49,470 --> 00:04:53,908
Number four, a carrier that
hides a secret message,

98
00:04:53,908 --> 00:04:58,908
1, 2, 3, that's gonna be the cover image.

99
00:04:59,820 --> 00:05:01,520
Remember we said it could be text,

100
00:05:03,070 --> 00:05:05,460
it could be audio, it could be
a picture, it could be video.

101
00:05:05,460 --> 00:05:07,233
And lastly, number five,

102
00:05:08,100 --> 00:05:12,003
the study of detecting
messages using steganography.

103
00:05:13,560 --> 00:05:18,560
1, 2, 3, and that's
gonna steganalysis, okay?

104
00:05:19,800 --> 00:05:21,990
That brings us to our security and action

105
00:05:21,990 --> 00:05:23,373
about malvertising.

106
00:05:24,450 --> 00:05:26,640
Your marketing term,
heard about malvertising

107
00:05:26,640 --> 00:05:29,550
at a seminar, and now wants to learn more.

108
00:05:29,550 --> 00:05:31,500
And they've asked you to explain

109
00:05:31,500 --> 00:05:34,650
what it is and how it works.

110
00:05:34,650 --> 00:05:37,614
Now, bearing in mind that
they're not very technical

111
00:05:37,614 --> 00:05:39,540
what would you tell them?

112
00:05:39,540 --> 00:05:42,095
Now, also, bearing in mind, we didn't talk

113
00:05:42,095 --> 00:05:43,980
about it very much, and
what would you tell them?

114
00:05:43,980 --> 00:05:45,210
So go ahead, put me on pause.

115
00:05:45,210 --> 00:05:46,170
Think about this for a minute

116
00:05:46,170 --> 00:05:48,603
then come on back and
we'll do our explanation.

117
00:05:51,690 --> 00:05:54,330
Malvertising is a practice
of placing malicious

118
00:05:54,330 --> 00:05:56,760
or malware lighting advertisements

119
00:05:56,760 --> 00:06:01,323
onto a legitimate online
advertising network or a webpage.

120
00:06:02,460 --> 00:06:04,870
Now, a common technique,
and why we're talking

121
00:06:05,710 --> 00:06:06,543
about it here in this lesson,

122
00:06:06,543 --> 00:06:09,930
is the malicious code is
hidden in a cover image,

123
00:06:09,930 --> 00:06:12,390
a graphic file, or in white space,

124
00:06:12,390 --> 00:06:14,490
or in an audio file, right?

125
00:06:14,490 --> 00:06:18,363
And that hiding technique
is known as steganography.

126
00:06:19,500 --> 00:06:22,080
Now, little to no user
interaction is required

127
00:06:22,080 --> 00:06:24,809
to become infected, right?

128
00:06:24,809 --> 00:06:27,090
It can be as simple as
visiting the webpage.

129
00:06:27,090 --> 00:06:28,950
Now, maybe they downloaded the graphic

130
00:06:28,950 --> 00:06:32,550
or you know, downloaded a file.

131
00:06:32,550 --> 00:06:34,960
But a lot of times just by being

132
00:06:35,982 --> 00:06:36,815
on the page where that graphic is,

133
00:06:36,815 --> 00:06:41,700
or that text that file is, the
system can become infected.

134
00:06:41,700 --> 00:06:44,160
And that, my friends, is the relationship

135
00:06:44,160 --> 00:06:47,160
between malvertizing and steganography

136
00:06:47,160 --> 00:06:50,553
being able to explain that,
absolutely, security and action.

137
00:06:51,444 --> 00:06:53,880
It's a pretty small word cloud

138
00:06:53,880 --> 00:06:56,730
but make sure that you
know all of these terms.

139
00:06:56,730 --> 00:06:57,990
When you're ready

140
00:06:57,990 --> 00:07:00,930
we're gonna do a 10
question quiz together.

141
00:07:00,930 --> 00:07:01,880
I'll see you there.
