Cyber Attacks and Defense in Practice
The logs of two servers are being compared in an intrusion investigation. The web server logs in Coordinated Universal Time (UTC), and its clock was set correctly by NTP. The file server logs in Japan time (UTC+9 hours), and its clock was 4 minutes ahead of the correct time. The web server log records a suspicious login at 01:52 (UTC), and the file server log records a mass read of files at 10:58 (Japan time). How many minutes after the suspicious login did the file reads actually happen?
- A2 minutes later
- B6 minutes later
- C10 minutes later
Show answer and explanation
Answer: A. 2 minutes later
The file server's clock was 4 minutes ahead, so subtracting 4 minutes from the logged 10:58 gives the correct Japan time of 10:54. Japan time is 9 hours ahead of UTC, so in UTC this is 01:54, 2 minutes after the suspicious login at 01:52. Without correcting the clock error, 10:58 − 9 h = 01:58 gives 6 minutes, and correcting in the wrong direction gives 11:02 − 9 h = 02:02, or 10 minutes, misjudging the interval between the events. To prevent such errors, the clocks of all devices are synchronized with NTP, times are logged in a form that makes the time zone clear (such as UTC), and the logs are collected and stored in a separate, tamper-resistant place.
- A. Correct. Correcting the clock error gives 10:54 (Japan time), which is 01:54 in UTC, so 2 minutes later.
- B. This value corrects only the time-zone difference, without correcting for the clock being 4 minutes ahead.
- C. This value adds the clock error where it should have been subtracted.
Continue: 9 more Cyber Attacks and Defense in Practice questions