FIT1047 Network Traffic Analysis Test
FIT1047 Network Traffic Analysis Test
Identifying specific frames in Wireshark when analyzing email communications is important for extracting vital information such as headers and recipient addresses, diagnosing issues, and ensuring correct protocol operations. For example, finding a frame in a session starting with SMTP can reveal the recipient's email address, like 'nestor_everett@juno.io,' and confirm the proper exchange of communication details .
The key for the Caesar Cipher is derived from the common key K obtained from the Diffie-Hellman key exchange. By calculating KC as (K mod 20) + 5, with K = 46008, we get KC = 13. Using this key, each letter of the plaintext is shifted 13 positions in the alphabet to produce the ciphertext. For example, the plaintext 'SKY' is encrypted to 'FXL' with a key of 13 .
To identify MAC addresses of specific nodes such as 'Hera' and 'Intranet server' using a PCAP file in Wireshark, you must locate the nodes in the info column of Wireshark. For instance, the MAC address of 'Hera' is identified as 10:98:36:af:ef:9a, while the MAC address of the 'Intranet server' is identified as 00:19:bb:9b:05:9b .
The Diffie-Hellman key exchange involves two parties, such as Carol and David, who agree on a common base (g) and a prime modulus (p). Each party selects a private key and calculates a public key by raising the base to the power of their private key and taking modulo p. David’s public key is 115 and Carol’s public key is calculated as 22092. They each compute the common key by raising the other party's public key to the power of their own private key and taking modulo p, resulting in a common key K of 46008 .
Network frame sizes at different layers can be determined by examining the length of the TCP payload in Wireshark. The size of the application layer message for an HTTP GET request can be found by opening the TCP layer of the request frame and noting the payload size, such as 143 bytes for the GET request. Similarly, the server's response payload size can be determined from the response frame, such as 495 bytes for the HTTP response. This is crucial for analyzing network performance and diagnosing issues such as latency or excessive traffic .
To identify the first frame that initiates a connection to an intranet server using Wireshark, locate a TCP frame with the source IP of the initiating device (such as Apollo with IP 130.166.120.72) and a destination IP of the intranet server (130.166.120.11). The frame number that initiates the connection is 277 .
Decrypting an RSA-encrypted message involves using the recipient's private key, which consists of its modulus (n) and private exponent (d). The decryption is performed by computing the ciphertext's value raised to the power of d and taking modulo n. For example, with Alice's private key (n, d) = (144973529, 103535143), the plaintext m2 for Bob's ciphertext c2 = 92608410 is obtained as 92608410^103535143 mod 144973529, resulting in 86567260 .
Using a shared modulus between RSA key pairs can introduce vulnerabilities such as the risk of factors being derived, potentially leading to key compromise. If two distinct key pairs use the same modulus n but different exponents, the Chinese Remainder Theorem and related mathematical properties could be exploited to recover cryptographic keys or plaintext messages, thereby undermining encryption security .
Signing a message in RSA involves using a private key to encrypt the message hash. Given Bob's private key (n, d) = (169116919, 112726907), the signature for the message hash 74157331 is computed as 74157331^112726907 mod 169116919, resulting in a signature of 5964153. This process ensures that the signer alone could have generated the signature using the private key, which can be verified with the corresponding public key .
To derive a ciphertext using RSA public key encryption, you use the public key's modulus (n) and exponent (e) to compute the ciphertext from a given plaintext message (m) by raising m to the power of e and taking the modulo n. Using Bob's public key (n, e) = (169116919, 3), the ciphertext c1 for Alice's plaintext message m1 = 106481967 is calculated as 106481967^3 mod 169116919, resulting in 106458797 .