CompTIA Security+ (SY0-501) — Question 605

A systems administrator found a suspicious file in the root of the file system. The file contains URLs, usernames, passwords, and text from other documents being edited on the system. Which of the following types of malware would generate such a file?

Answer options

Correct answer: A

Explanation

The correct answer is A, Keylogger, since this type of malware is designed to capture keystrokes, which can include sensitive information like usernames and passwords. Options B (Rootkit) and C (Bot) do not specifically focus on capturing such personal data, while D (RAT) primarily allows remote access but does not specifically create a file containing the mentioned information.