|
|
SECURITY LAB SEMINAR
May 13, 1999
1-2pm
1131 EU II
Steven Cheung ² Protecting Domain Name Systems (DNS)
Slides (Postscript/PDF)
-
What is DNS?
-
Two Security Problems of DNS
- Cache poisoning
- Lack of data authentication.
- Question:
- DOB: Valid and invalid really means "real" and "bogus"?
- SC: That's right.
-
Our Approach: Detection ² Response
- Declare threats
- Declare Goals
- Develop DNS model
- Design wrapper
- Use formal specification.
-
Wrapper Specification (in VDM)
- Formally specify everything including the message format.
- Translation table ² function of wrapper is to do query ID system
² BIND 4.9.5 uses a deterministic approach in generating query
ID.
- DNS wrapper also wants to make sure info in DNS response is
authoritative.
- Questions:
- DOB: Are you limited anything that comes back in the packet?
- SC: We assume there is a very weak model for name server.
- DOB: Does your model limit the answer?
- SC: No it doesnşt do that. It is up to the protected name
server to discard what it doesnşt need.
- DOB: Would that change your model?
- SC: I was thinking about DOS; response can be overwhelming
enough to cause a Denial of Service. I havenşt pursued that
direction.
-
Experiments
- Prototype of DNS wrapper ² works for BIND release 4.9.5
- Goal ² measure response time, false positive rate, false negative
rate, and computational overhead.
- Questions:
- SM: What is a false positive?
- SC: Something is reported, but is not actually an attack.
- SM: What is an example? Name server will not give info that
is not authoritative?
- SC: Not consistent with authoritative sources.
- Experimental procedure:
- Recorded CPU time used by rapid name server. 0.08 with wrapper
up to 0.12 seconds.
- Increase in CPU time is 20%.
- Average number of false positives 5.85/1340.
- Among these false positives, most donşt correspond to real
false positives ² they are caused by misconfiguration of external
name servers.
- The wrapper makes sure that information is absolutely correct
wrt authoritative sources, but false positives may cause problems
to users.
-
False Negatives
- 4 kinds of attacks ² try to send incorrect information ².
- Questions:
- NP: For the second and third attacks, how is the name server
involved in the transaction?
- SC: A DNS client queries the victim name server and causes
the victim server to query our bad name server. The bad server
answers the query and add bogus data for which the victim is
authoritative.
|