IEEE Spectrum December, 2007 - 36
3XbcaXQdcX^]
3XbcaXQdcX^]3XbcaXQdcX^]
3XbcaXQdcX^]3XbcaXQdcX^]
3XbcaXQdcX^]
3XbcaXQdcX^]3XbcaXQdcX^]
3XbcaXQdcX^]3XbcaXQdcX^]
% %
%
( (
% %
%
( (
the probability of the system-in this
case, the air in the room-is spread
" "
" "
out over different possible states. To
"
"
% %
% %
take a much simpler example, if you
roll a pair of dice, there are 11 differB^daRT8?PSSaTbb
3TbcX]PcX^]8?PSSaTbb
B^daRT8?PSSaTbb
3TbcX]PcX^]8?PSSaTbb
B^daRT8?PSSaTbb
ent outcomes, some more likely than
3TbcX]PcX^]8?PSSaTbb
"
" "
"
others. The complete array of possibilities and probabilities-only one
B^daRT8?PSSaTbb
way
to get a 2, for example, but five
3TbcX]PcX^]8?PSSaTbb
B^daRT8?PSSaTbb
3TbcX]PcX^]8?PSSaTbb
chances of a 6 and six for a 7-is a
probability distribution. Similarly,
( (
( (
(
(
D each gas molecule in that room has
c
a number of different possible loca% %
tions and speeds, just as the two dice
% %
%
%
( (
each have six possible values.
( (
For the entropy of the distribution
" "
" "
"
of possible outcomes of a single die,
"
%
%
% %
each possible outcome has the same
probability (1/6), so the distribution
3TbcX]PcX^]_^ac
5[^fbXiT
3TbcX]PcX^]_^ac
5[^fbXiT
3TbcX]PcX^]_^ac
5[^fbXiT
is flat. In this case there is nothing
"
" "
"
we can predict about the outcomes
=^a\P[
D]STaPccPRZ
=^a\P[
D]STaPccPRZ
=^a\P[
D]STaPccPRZ
in the distribution. They are com3TbcX]PcX^]_^ac
5[^fbXiT
3TbcX]PcX^]_^ac
pletely random, and the entropy of
5[^fbXiT
FINGERING THE CULPRIT: Examples of network fingerprints during well-behaved traffic (distinct traffic-feature
the distribution is very high-at its
distributions in yellow) and during a worm attack
(distinct traffic-feature
distributions
in orange). Note the changes
=^a\P[
D]STaPccPRZ
=^a\P[
D]STaPccPRZ
maximum, in fact. In the case of two
0]^\P[hSTcTRcTSeXP
inshape of the distributions during malicious activity. The0]^\P[hSTcTRcTSeXP
spikes
in graphs a, C, and d show a change in network
0]^\P[hSTcTRcTSeXP
dice, on the other hand, there are
entropy, as does the flattening of the expected high curveX]U^a\PcX^]T]ca^_h
in b.X]U^a\PcX^]T]ca^_h
X]U^a\PcX^]T]ca^_h
several
possible combinations or out( (
(
comes that have a higher probability
0]^\P[hSTcTRcTSeXP
0]^\P[hSTcTRcTSeXP
attack.
Such fluctuations are common; think
of0]^\P[hSTcTRcTSeXP
the
flood of than others. The probability of a 7 is much higher than that
0]^\P[hSTcTRcTSeXP
0]^\P[hSTcTRcTSeXP
bXV]P[_a^RTbbX]V
' '
bXV]P[_a^RTbbX]V
'
X]U^a\PcX^]T]ca^_h
traffic that ensues when a Web page on a site
withbXV]P[_a^RTbbX]V
modest traf- of an 11, for example. So if you roll two dice 25 times, the
X]U^a\PcX^]T]ca^_h
( cited on a popular bulletin-board site such as Slashdot or
fic
results will be less random than if you rolled one die 25 times.
( is
& &
&
Digg.
The problemB^daRT8?
is that such false positives prevent operators
Another way of putting this is that the two-dice system has
0]^\P[hSTcTRcTSeXP
0]^\P[hSTcTRcTSeXP
B^daRT8?
B^daRT8?
from
case-by- less entropy than the one-die system. We can guess more
bXV]P[_a^RTbbX]V
' ' trusting the system, forcing slow and expensive
bXV]P[_a^RTbbX]V
%
%
case
human intervention.
reliably about specific outcomes.
%
To
avoid
false
positives,
security
software
needs
to
moniThat is the principle behind our entropy algorithms. Malicious
&
&
$ $
B^daRT8?
tor
Internet traffic
across the entire network, as opposed to a network anomalies are created by humans, so they must affect
B^daRT8?
$
single
link at a single time, and then correlate all the events the natural "randomness" or entropy that normal traffic has
% %
3TbcX]PcX^]8?
3TbcX]PcX^]8?
#
it
Only
then can a model of the traffic behavior on when left to its own devices. Detecting these shifts in entropy
#detects.
3TbcX]PcX^]8?
#
the$
entire network be created, allowing security algorithms to in turn detects anomalous traffic.
$
focus
Getting back to the gas example, the array of all possible
" " on the structure and composition of the traffic and not
"
just its volume.
locations and speeds creates a probability distribution for the
3TbcX]PcX^]8?
3TbcX]PcX^]8?
# #
3TbcX]PcX^]_^ac
words,
a security system must monitor the actual gas. Because entropy theory is really designed to describe the
! other 3TbcX]PcX^]_^ac
! In
3TbcX]PcX^]_^ac
!
entropy of the network itself.
configuration of a system based on a series of outcome probabili" "
ties,
we can relate high or low entropy to the high or low prob
! outcome.
' ( status
( ability of
in thermodynamics,
entropy
! ! " "
$ $ %to %changes
! an
" " # #So there's a rough equivalence between
# # refers
& & 'in the
! 3TbcX]PcX^]_^ac
$
%
!
"
"
#
&
'
(
#
3TbcX]PcX^]_^ac
3Phb
! !
quo
of a physical
system-a cup of ice water,
the
gas
in
a
balloon,
thermodynamic
entropy, understood as the probability that the
3Phb
3Phb
a solar system. It is a measure of "molecular disorder." In 1877, molecules in a gas are in a predicted state, and the amount of
Ludwig
Boltzmann visualized a probabilistic way to measure information we have about a system.
! " " # # $ $ % % & & ' ' ( (
! ! " " # #
the entropy of !an ensemble
of gas molecules. Boltzmann showed
Information
entropy was originally conceived by Claude
3Phb
3Phb
that the ensemble's entropy was proportional to the number Shannon in 1948 to study the amount of information in a transof microscopic states such a gas could occupy. More precisely, mitted message. If the two states of a digital signal, 0 and 1,
entropy is a function of k log p, where k is a constant and p is have exactly the same probability of appearing in the signal,
the probability of a given configuration of molecules.
then our uncertainty about which bit we will receive next is
What exactly is a configuration of molecules? Consider maximized-like throwing a single die that has only two sides.
the temperature of air, which is determined by the average On the other hand, if the 1 has a higher probability of appearing,
speed at which its molecules are moving. The temperature of a then there is slightly less uncertainty about what the next bit
room might be 20 °C, but some molecules will be moving very will be. That is, if the next bit has a greater chance of being a 1,
quickly, for example in the sudden draft when a door opens entropy is reduced. When the information entropy is low, we are
or in the vicinity of a hot burner on a stove. Entropy reflects less ignorant of the details of the digital communication signal
the amount of uncertainty about which exact molecules are being transmitted.
moving at what speed.
Much the same can be said about traffic patterns on the
For a given set of macroscopic quantities, such as tem- Internet. More specifically, an enormous amount of informaperature and volume, entropy measures the degree to which tion can be gleaned by observing traffic flows on a data network.
3XbcaXQdcX^]
3XbcaXQdcX^]3XbcaXQdcX^]
3XbcaXQdcX^]3XbcaXQdcX^]
b
46
IEEE Spectrum | December 2007 | NA
www.spectrum.ieee.org
bryAN chrIStIE DESIGN
4]ca^_h
4]ca^_h
4]ca^_h
4]ca^_h
4]ca^_h
3XbcaXQdcX^]
3XbcaXQdcX^]3XbcaXQdcX^]
3XbcaXQdcX^]3XbcaXQdcX^]
A
http://www.spectrum.ieee.org
Table of Contents for the Digital Edition of IEEE Spectrum December, 2007
IEEE Spectrum December, 2007 - Cover1
IEEE Spectrum December, 2007 - Cover2
IEEE Spectrum December, 2007 - 1
IEEE Spectrum December, 2007 - 2
IEEE Spectrum December, 2007 - 3
IEEE Spectrum December, 2007 - 4
IEEE Spectrum December, 2007 - 5
IEEE Spectrum December, 2007 - 6
IEEE Spectrum December, 2007 - 7
IEEE Spectrum December, 2007 - 8
IEEE Spectrum December, 2007 - 9
IEEE Spectrum December, 2007 - 10
IEEE Spectrum December, 2007 - 11
IEEE Spectrum December, 2007 - 12
IEEE Spectrum December, 2007 - 13
IEEE Spectrum December, 2007 - 14
IEEE Spectrum December, 2007 - 15
IEEE Spectrum December, 2007 - 16
IEEE Spectrum December, 2007 - 17
IEEE Spectrum December, 2007 - 18
IEEE Spectrum December, 2007 - 19
IEEE Spectrum December, 2007 - 20
IEEE Spectrum December, 2007 - 21
IEEE Spectrum December, 2007 - 22
IEEE Spectrum December, 2007 - 23
IEEE Spectrum December, 2007 - 24
IEEE Spectrum December, 2007 - 25
IEEE Spectrum December, 2007 - 26
IEEE Spectrum December, 2007 - 27
IEEE Spectrum December, 2007 - 28
IEEE Spectrum December, 2007 - 29
IEEE Spectrum December, 2007 - 30
IEEE Spectrum December, 2007 - 31
IEEE Spectrum December, 2007 - 32
IEEE Spectrum December, 2007 - 33
IEEE Spectrum December, 2007 - 34
IEEE Spectrum December, 2007 - 35
IEEE Spectrum December, 2007 - 36
IEEE Spectrum December, 2007 - 37
IEEE Spectrum December, 2007 - 38
IEEE Spectrum December, 2007 - 39
IEEE Spectrum December, 2007 - 40
IEEE Spectrum December, 2007 - 41
IEEE Spectrum December, 2007 - 42
IEEE Spectrum December, 2007 - 43
IEEE Spectrum December, 2007 - 44
IEEE Spectrum December, 2007 - 45
IEEE Spectrum December, 2007 - 46
IEEE Spectrum December, 2007 - 47
IEEE Spectrum December, 2007 - 48
IEEE Spectrum December, 2007 - 49
IEEE Spectrum December, 2007 - 50
IEEE Spectrum December, 2007 - 51
IEEE Spectrum December, 2007 - 52
IEEE Spectrum December, 2007 - Cover3
IEEE Spectrum December, 2007 - Cover4
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1217
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1117
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1017
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0917
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0817
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0717
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0617
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0517
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0417
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0317
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0217
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0117
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1216
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1116
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1016
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0916
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0816
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0716
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0616
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0516
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0416
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0316
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0216
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0116
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1215
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1115
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1015
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0915
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0815
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0715
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0615
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0515
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0415
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0315
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0215
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0115
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1214
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1114
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1014
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0914
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0814
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0714
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0614
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0514
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0414
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0314
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0214
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0114
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1213
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1113
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1013
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0913
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0813
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0713
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0613
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0513
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0413
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0313
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0213
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0113
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1212
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1112
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1012
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0912
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0812
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0712
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0612
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0512
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0412
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0312
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0212
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0112
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1211
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1111
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1011
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0911
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0811
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0711
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0611
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0511
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0411
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0311
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0211
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0111
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1210
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1110
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1010
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0910
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0810
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0710
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0610
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0510
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0410
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0310
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0210
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0110
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1209
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1109
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1009
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0909
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0809
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0709
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0609
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0509
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0409
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0309
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0209
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0109
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1208
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1108
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1008
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0908
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0808
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0708
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0608
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0508
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0408
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0308
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0208
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0108
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1207
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1107
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1007
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0907
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0807
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0707
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0607
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0507
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0407
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0307
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0207
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0107
https://www.nxtbookmedia.com