Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1Wi-Fi name: Free_Airport_WiFi (rogue access point) | Ahttp://login.example.com | |
| 2Cookie: sessionId=9f3a7c (captured in transit) | BWarning: certificate does not match site | |
| 3Data sent over plain HTTP can be read or changed by an attacker sitting between the user and the server. | CAn attacker sets up a fake access point so devices connect through it and the attacker can read or change their traffic. | |
| 4A fake or invalid certificate warning can mean an attacker is impersonating the server to intercept traffic. | DA stolen session token lets the attacker pose as the logged-in user without needing the password. | |
| 5if cert_error: ignore_warning() # keep going | EIgnoring certificate errors lets an attacker with a fake certificate sit in the middle unnoticed. The code should stop the connection when validation fails. | |
| 6download_update('http://updates.example.com/app.zip') | FDownloading code over unencrypted HTTP means an attacker in the middle could swap in a malicious file. It should use HTTPS and verify the signature. |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
man-in-the-middle attack — An attack where someone secretly sits between two parties and can read or change the data passing between them, such as logins, session tokens or code sent over an unsecured network.url = "https://mybank.com.au/login"response = requests.get(url, verify=True)Set-Cookie: session=abc123; Secure; HttpOnlyIF certValid = FALSE THEN BLOCK connectiondata ← encrypt(message, key)
SEND data TO server