Lec20 Net Security
Lec20 Net Security
Network
Security
• ApplicaDon
layer
– E-‐mail:
PGP,
using
a
web-‐of-‐trust
– Web:
HTTP-‐S,
using
a
cerDficate
hierarchy
• Transport
layer
Network
Security
Protocols
– Transport
Layer
Security/
Secure
Socket
Layer
3! 4!
• Integrity:
• Integrity:
Trustworthiness
of
data
or
resources
in
terms
of
prevenDng
improper
and
unauthorized
changes
• Access
control:
• Access
control:
FaciliDes
to
determine
and
enforce
who
is
allowed
access
to
what
resources
(host,
soWware,
network,
…)
1
5! 6!
7! 8!
• Security
non-‐goals
– Timely
or
successful
message
delivery
– Avoiding
duplicate
(replayed)
message
– (Since
e-‐mail
doesn’t
provide
this
anyway!)
2
9! 10!
11! 12!
• Key-‐signing
parDes!
– Collect
and
provide
public
keys
in
person
– Sign
other’s
keys,
and
get
your
key
signed
by
others
3
13! 14!
15! 16!
4
17! 18!
19! 20!
5
21! 22!
23! 24!
IP
Security
IPSec
• There
are
range
of
app-‐specific
security
mechanisms
• General
IP
Security
framework
– eg.
TLS/HTTPS,
S/MIME,
PGP,
Kerberos,
…
• But
security
concerns
that
cut
across
protocol
layers
• Allows
one
to
provide
• Implement
by
the
network
for
all
applicaDons?
– Access
control,
integrity,
authenDcaDon,
originality,
and
confidenDality
6
25! 26!
27! 28!
7
29! 30!
foo my usr 34
my.east.bar.edu usr.cam.ac.uk B USC-ISI Marina del Rey, CA
L ICANN Los Angeles, CA
56
12.34.56.0/24 31
32
8
33! 34!
source: wikipedia!
35 36!
×40
amplificaDon
ip spoofed packets!
open
aKacker
amplifier
DNS
Query
SrcIP:
DoS
Target
DNS
Response
!
ies
pl
9
37! 38!
DNS
Integrity
and
the
TLD
Operators
DNS
Integrity:
Cache
Poisoning
• If
domain
name
doesn’t
exist,
DNS
should
• Was
answer
from
an
authoritaDve
server?
return
NXDOMAIN
(non-‐existant
domain)
msg
– Or
from
somebody
else?
• Verisign
instead
creates
wildcard
records
for
• DNS
cache
poisoning
all
.com
and
.net
names
not
yet
registered
– Client
asks
for
www.evil.com
– September
15
–
October
4,
2003
– Nameserver
authoritaDve
for
www.evil.com
returns
addiDonal
secDon
for
(www.cnn.com,
1.2.3.4,
A)
• RedirecDon
for
these
domain
names
to
Verisign
– Thanks!
I
won’t
bother
check
what
I
asked
for
web
portal:
“to
help
you
search”
– And
serve
you
ads…and
get
“sponsored”
search
– Verisign
and
online
adverDsing
companies
make
$$
39! 40!
10
41! 42
cnn.com
43!
Conclusions
• Security
at
many
layers
– ApplicaDon,
transport,
and
network
layers
– Customized
to
the
properDes
and
requirements
• Exchanging
keys
– Public
key
cerDficates
– CerDficate
authoriDes
vs.
Web
of
trust
• Next
Dme
– Interdomain
rouDng
security
• Learn
more:
take
COS
432
in
the
fall!
11