DNS Flashcards

1
Q

Difference Authoritative and Cache/Recursive Resolver

A

Slide 07-27

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

DNS Hierarchy

A

Root: .
TLD: com, de, net
SLD: google, ethz

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

DNS Protocol

A

client server protocol operating on TCP/UDP port 53, no encryption, auth, or integritiy
–> DNSSec

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Name Server

A

Server that maps names to objects

  • authoritative: server is authoritative for specific zone (ethz)
  • caching/resolver: server resolves domains recursively, caches results
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

DNS resolution process

A
  1. client stub asks its resolver (typically ns of ISP)
  2. resolver asks root server –> gives ns for top level domain (.ch)
  3. resolver asks ns for TLD –> authoritative ns
  4. resolver asks auth. ns –> ip, or error
  5. resolver caches result.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Domain name registrar

A

organization that manages reservation of second level domain names SLD, below a given TLD

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Distributed reflection

A

–>DDos on victim
DNS over UDP (fire and forget) generate DNS query with spoofed IP of the victim.
ANY request generates much larger answer than request
Mitigation: Source IP verification, response rate limiting, close open resolvers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

DNS Spoofing

A
  • DNS request only auth. with TXID that is not encrypted and can be predictable
  • attacker sniffs or predicts TXID and replies before leg. DNS resolves request
  • A is first: no resolution necessary, can slow down leg. DNS
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Cache poisoning

A

Bad auth. name server adds resolution entries for other domain not originally asked for in additional section. resolver caches entries

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Domain Hijacking

A

compromise domain registrar and change registration entries

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Network attack

A
  • Local host: compromise local host file of machine -> eg. disable anti virus systems
  • WAN: attack poorly protected client router
  • Attack DHCP exchange in local network: after client broadcasts DHCP discover, answer before the leg. DHCP server with compromised DNS
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Botnet control

A
  • IP Flux: The FQDN of the CnC host has multiple IP addresses assigned
  • Domain Flux: frequent change of multiple FQDN, domains registered with domain generation algorithm
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

DNS tunneling

A

use DNS as a communication channel to bypass firewalls

-> data exfiltration and hidden communication

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Phantom domain attack

A

phantom domains are setup as part of attack, these deomains do not resolve or replies are very slow
-> degradation of server performance due to number of outstanding queries

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

DNSSec

A

RRSig: signature for record set. Resolvers verify signature with public key stored in DNSKEY record.
DS: glues the chain to parent server
ISSUES:
- Amplification attacks easier
- je nachdem wo geprüft wird, ist die Verbindung bis da trotzdem nicht sicher.
- technical and political worries of how to manage master keys

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Mitigation of distributed reflection attack

A

host service on different location in the internet. hard for attacker to target all possible locations

17
Q

countermeasures against malicious local NS resolver

A
  • use own hardcoded DNS server
  • DoH
  • DNSSec
  • VPN tunneling traffic to secure endpoint
18
Q

DoH

A

Send DNS over HTTPS to prevent eavesdropping and manipulation of requests