Cyber Attacks and Defense in Practice

At a cloud email service that uses multi-factor authentication, an employee was lured to a login screen that looked exactly like the real one and entered a password and a one-time password. The attacker used that screen as a relay to the real service, stole the session cookie issued after login and impersonated the employee. Which of the following most appropriately describes this attack and the countermeasures?

  1. AAs long as multi-factor authentication is used, an attacker cannot use the service even if the session cookie is stolen after login
  2. BMaking the password longer means that no session cookie will be issued for a relayed login
  3. CA stolen cookie represents a state in which multi-factor authentication has been completed, so revoke the session at once and combine passkey-style authentication, shorter sessions and detection of unusual use
Show answer and explanation

Answer: C. A stolen cookie represents a state in which multi-factor authentication has been completed, so revoke the session at once and combine passkey-style authentication, shorter sessions and detection of unusual use

When authentication succeeds, the service issues a token such as a session cookie, and subsequent requests are treated as coming from the user on the strength of the token alone. If the token is stolen through relay-type phishing (AiTM) or by information-stealing malware on the endpoint, the attacker can therefore impersonate the user in a state where multi-factor authentication has already been completed. On noticing the damage, not only must the password be changed, but the sessions already issued must be revoked. Prevention combines phishing-resistant authentication bound to the domain being connected to, such as passkeys, shorter session lifetimes and re-authentication or usage restrictions in response to changes in location or device.

  • A. Multi-factor authentication works at login; a token stolen afterwards is used in the state where authentication has already been completed.
  • B. In a relay attack the real user enters the correct password, so its length is irrelevant.
  • C. Correct. After revoking the sessions, combine phishing-resistant authentication with session management.
Practice this topic Back to topic

Books on Cyber Attacks and Defense in Practice Ad

As an Amazon Associate I earn from qualifying purchases.

More Cyber Attacks and Defense in Practice questions

  1. Which of the following is the most appropriate idea of privileged access management (PAM) for protecting server administrator accounts?
  2. A developer accidentally committed a configuration file containing an API key for a cloud service to a public Git repository. On noticing, the developer immediately committed a change deleting the file. Which of the following is the most appropriate response after this?
  3. For four incidents at an organization, the time from occurrence to detection and the time from detection to containment were 10 hours and 4 hours for incident 1, 30 hours and 2 hours for incident 2, 2 hours and 6 hours for incident 3, and 6 hours and 4 hours for incident 4. Which of the following is the correct combination of the mean time from occurrence to detection (MTTD) and the mean time from detection to containment (MTTC)?
  4. For ransomware damage, the loss per incident (SLE) is estimated at 40 million yen and the annual number of occurrences (ARO) at 0.5. Control A costs 6 million yen a year and reduces occurrences to 0.2 per year. Control B costs 3 million yen a year and does not change the number of occurrences but speeds up recovery, reducing the loss per incident to 24 million yen. With the annualized loss expectancy ALE = SLE × ARO and ROSI = (reduction in ALE − annual cost of the control) ÷ annual cost of the control, which of the following correctly gives the control with the larger ROSI and its value?
  5. An IDS examines 1 million connections a day, of which 100 are actual attacks. The IDS detects 99% of attacks and wrongly judges 0.1% of non-attack connections to be attacks. Which of the following is closest to the proportion of the alerts raised by the IDS that are actual attacks?

Comparisons in this topic