Network Measurements Flashcards
Why do we want to measure the network?
Network provider: •Model reality •Predict future •Plan network •Avoid bottlenecks in advance •Reduce cost Service provider: •Get information about clients •Adjust service to demands •Reduce load on servers
Client: check service & compare
Researcher: performance evaluation & understanding
Why do we need to measure?
•Distributed multi-domain network →information only partially available
•Growth, usage, structure changes
•Highly interactive system•
Heterogeneity in all directions
•The total is more than the sum of its pieces
•Built, driven, and used by humans →errors, misconfigurations, flaws, failures, misuse, …
What types of active measurement are conducted?
Perfomance: latency, throughput, loss
Topology: Mapping (L2, IP, AS), alias resolution
Security: TLS certs & certificate transparency
ssh server keys
IoT protocols
How does certificate transparency measurement work?
Public log of issued certificates (to prevent incorrectly issued certificates).
-> can be scanned
What can active security measurements do for the internet?
Improve security by:
- finding insecure devices & configs (-> notify)
- find weaknesses in protocols
- find protocols vulnerable to amplification attacks
How can you reduce the ethics and intrusiveness of active measurements?
- Reduce intrusiveness of scanning technique (no login, low scanning rate)
- Provide information on scanning machines website
- respond to ever inquiry and abuse mail
- offer possibility of blacklisting ip addresses and subnets
What is passive measurement?
Passive measurement is observing exisiting traffic in the network using probes.
- traffic volume
- traffic composition
- packet interarrival times
What can you use passive measurements for?
Traffic analysis (engineering, anomaly detection) Accounting (resource utilization & charging) Security (intrusion detection & prohibited data transfers)
What types of export timeouts exist in flow-based traffic measurements?
Inactive timeout -> export at end of flow
Active timeout -> periodic export for long-lived flows
What is an IP Traffic Flow in IPFIX?
A set of IP Packets passing an observation point during a certain time interval.
All packets have a set of common properties
What is an observation point in IPFIX?
A location where IP packets can be observed. Can be superset of obs. points
Explain the IPFIX metering process
Packet hdr capture -> Timestamp -> Classify -> Timestamp || Maintaining flow records
What is a flow record in IPFIX?
Information about specific flow. Contains measured properties (tot bytes of all packets) and characteristics.
How does anomaly detection with passive measurement work?
Collect flow data at observation points in network and create time series representation.
Label flows as good or malicious & Train model
name some indicators for amplification attacks that can be found using passive measurement?
- Amplification factor: small requests generate larger responses
- attacker sends few variations of packets (similar lengths)
- payload similarity
- unsolicited ICMP messages (watch for returning ICMP from victim)
- TTL measurements (different length attacker -> am & amp -> victim)