FIT1047 Sample Test Tutorial
FIT1047 Sample Test Tutorial
Get Apollo's IP and MAC address through Statistics > Endpoints > IPv4.11 and see whose
IP address is similar to Zeus and Hera's but not used yet.
a) Identify the first frame that initiates the connection. Enter the frame number:
● Find a TCP frame that has the source of Apollo (130.166.120.72) and destination of
Intranet (130.166.120.11)
● Frame is 277
The 32-bit raw sequence number in hex including leading zeros (e.g. 00aabbcc):
b) Identify the frame of the GET request for the default HTML page. Enter the full
request URI:
● Find the first GET request after frame 277
● Click the frame, open the HTP layer
● Full request URI: http://intranet.juno.io/
c) Identify the frame of the server response containing the HTML page.
The HTML page content has a 16-digit hex value as a flag. Enter the flag:
Sending an email
Identify the frames of the email sent from Apollo using the Mail server.
Find the frame that contains the email address of the recipient and enter it here
(without < and >):
● Find a SMTP frame that has something to do with apollo OR just find a SMTP frame
with recipient
● Right-click > Follow > TCP Stream
● Look through the TCP stream and find the recipient email address
● Email address is [email protected]
Q2 - Security Mechanisms
https://www.boxentriq.com/code-breaking/modular-exponentiation
Task 1: RSA
1. Alice has chosen two prime numbers: 10429 and 13901. She generates her RSA private
key (n, d) as (144973529, 103535143) and her public key (n, e) as (144973529, 7).
Bob has chosen two prime numbers, 15971 and 10589. He generates his RSA private key
(n, d) as (169116919, 112726907) and his public key (n, e) as (169116919, 3).
Alice wants to send c1, the encryption of the plaintext message m1 = 106481967, to Bob
using RSA public key encryption. What is this ciphertext c1?
c1:
2. Using the above key pairs, Bob sends another ciphertext c2 = 92608410 to Alice using
RSA public key encryption. What is the corresponding plaintext m2 (the decryption of
ciphertext c2)?
c2:
● Decryption c2 = 92608410 sent by Bob to Alice
● Alice's private key: (n, d) = (144973529, 103535143)
● m2 = 92608410^103535143 mod 144973529
● Result = 86567260
3. Using the above key pairs again, Bob wants to sign a message using the RSA signature
scheme. The hash of the message is 74157331. What is the resulting signature s?
s:
Task 2: Diffie-Hellman
4. Carol and David want to conduct the Diffie-Hellman Key Exchange to establish a common
key. They first share the same discrete logarithm (DL) key parameters, namely p = 49033
and g = 10. Carol chooses her DL private key as 25748. What is her public key YC?
YC:
5. David’s public key is 115. Carol and David want to establish a common key K using
Diffie-Hellman Key Exchange. What is this common key K?
K:
● K= 115^25748 mod 49033
● Result = 46008
Use KC to encrypt the plaintext SKY (no spaces and no other characters or punctuation).
What is the resulting ciphertext CC?
A is encrypted to be C.
B is encrypted to be D.
………
X is encrypted to be Z.
Y is encrypted to be A.
Z is encrypted to be B.
CC:
● K = 46008
● KC = (46008 mod 20) + 5
● KC = 13
● https://www.cryptool.org/en/cto/caesar/
● Key = 13,
● SKY -> FXL