Internet-Wide Measurements Flashcards
Why do we do internet wide measurements?
to evaluate Properties of a service deployed on the public internet.
Which ethical problems do arise from measurement?
- Creates additional traffic
- Creates load on routers and hosts
- Might uncover personal information
- Might be intrusive
What ethical considerations have to be made in order to do ethical scanning?
- Scan with a moderate rate
- Distribute the load as good as possible
- Do not publish data without anonymization or limited access
- Inform about the scanning behavior and react to complaints
Which operation modes does NMap provide?
- Host discovery
- Service detection
- OS detection
- Execution of custom scripts
What scans does NMAP provide?
- TCP raw socket scans
- TCP connect scans
- ICMP Ping scans
- UDP Payload scans
How can NMAP scan via TCP Raw sockets?
Syn: find open ports
NULL/Fin/Xmas (Fin/Psh/Urg): Rst if closed, nothing if open
ACK: Determine if port is filtered or unfiltered
Window: Filtered/unfiltered - if Window > 0 in Rst -> open
Maimon: Fin+Ack -> Rst on open/closed
What is the problem with using nmap for internet wide scanning?
It performs stateful scanning and therefore takes a very long time
How does ZMap perform on internet-wide scans?
It uses stateless scanning (therefore no timeout detection).
AES encrypted IDs as sequence numbers.
Validation seq -1
What are Hitlists?
A list of addresses, most likely responsive, of feasible size.
Why cant we use classical hitlist mehtods for IPv6?
How can we create them?
Address space is too large
- List of Addresses (raw packet traces, traceroute, flow data from measurement point)
- List of Domains (Unranked, Ranked), (DNS zones, certificate transparency)
- Active Scans (rDNS walking)
- Machine Learning
How are Alexa, Majestic Million and Umbrella hitlists created?
Alexa: volunteers via toolbar
Majestic: Web crawler searches for incoming/outgoing links
Umbrella: Based on DNS requests
How does rDNS walking work?
- Start at root ip6.arpa.
- Query nibble values
- Descend into subtree
- Check next nibble
Why should we treat top lists carefully?
Frequent changes over time [12] • Weekend effect [12, 13] • Different user behavior changes lists on the weekend • Focus towards entertainment and streaming on the weekend • Clustering Effect [13] • Large clusters with same rank • Ordered alphabetically • Size is not always 1 Million
How does the IPv6 hitlist work on the chair?
Filters aliased prefixes and applies blacklists
- Not globally routed
- Blacklisting requests
- Not responsive for 30 consecutive days.
Tests reachability daily • ICMPv6 • TCP/80 (HTTP) • TCP/443 (HTTPS) • UDP/53 (DNS) • UDP/443 (QUIC) • Uses ZMapv6