An IP machine has a path to another via three and .
acts as an , and connects to via and downloads a file. Session layer encryption is used, with as the shared key encryption protocol. Consider the following four pieces of information:
The of the file downloaded by
The port numbers at and
The addresses of and
The link layer addresses of and
Which of , , , and can an intruder learn through sniffing at alone?
View worked solution
Answer: C
To determine which information can be learned by sniffing packets at router , we analyze the network layers and where the encryption is applied.
1. Impact of Session Layer Encryption
Encryption is applied at the Session layer. This means all data from the Session layer and layers above it (such as the Application layer) is encrypted, while headers of the layers below it (Transport, Network, and Data Link layers) are transmitted in plaintext.
- [I1] URL of the file: The URL is part of the HTTP request, which belongs to the Application layer. Since the Application layer is above the Session layer, this information is encrypted. The intruder cannot learn .
- [I2] TCP port numbers: TCP ports belong to the Transport layer, which lies below the Session layer. Therefore, the TCP header is transmitted in plaintext. The intruder can learn .
- [I3] IP addresses of and : IP addresses belong to the Network layer, which lies below the Session layer. These addresses remain unchanged end-to-end in the IP header. The intruder can learn .
2. Link Layer Addresses
- [I4] Link layer addresses of and : Link layer (MAC) addresses are hop-by-hop and change at every router. When sniffing at , the intruder will only see the link-layer addresses of the adjacent hops (i.e., between and , or and ). The original link-layer addresses of and are stripped off at the first router and are not present in the frames passing through . The intruder cannot learn .
Thus, the intruder can only learn and .
Correct Option: C
Free practice · Your answers on this page are not saved.
