A keylogger, short for keystroke logger, is a type of software that monitors and records what you type on your computer or mobile phone.…
UGC-NET · Teaching & Research Aptitude30 August 2024 (Shift 1)Question 31Answer from published final key
A keylogger, short for keystroke logger, is a type of software that monitors and records what you type on your computer or mobile phone. Which of the following is a keylogger type?
A
Worm
B
Spyware
✓ Correct
C
Virus
D
Trojan Horse
Answer: option B — Spyware
Detailed solution
Correct Answer
B. Spyware
Explanation
Malware is grouped by what it does, not only by how it spreads. A keylogger sits quietly on a machine. It collects what the user types, such as passwords, card numbers and messages, and sends it to someone else.
Spyware is software that secretly gathers information about a user and sends it out without consent. So a keylogger is a sub-type of spyware.
→
The question itself gives the test: "monitors and records what you type". Monitoring and recording is surveillance. Malware that does surveillance is spyware.
A keylogger need not copy itself. It need not damage files. It need not pretend to be useful software. None of these is essential to it. Secret data capture is.
Key Points
Classify malware by its function: spyware spies, a worm spreads, a virus infects files.
A keylogger records keystrokes and is a kind of spyware.
Spread method (worm, virus, Trojan) is different from purpose (spyware).
Why the other options are incorrect
A
Worm→A worm copies itself across a network without a host file or user action. Its signature behaviour is spreading and eating bandwidth. It does not record keystrokes. A worm could carry a keylogger as its payload. But then the worm is only the delivery method. It is not the keylogger's category.
C
Virus→A virus attaches itself to a host file or program. It copies itself when that file is run. Its defining feature is infection and copying, not capturing information.
D
Trojan Horse→A Trojan is malware disguised as genuine software, so the user installs it willingly. This describes the trick used to get in, not the spying work itself. Many keyloggers do arrive as Trojans. But the question asks what type of malware a keylogger is. That is a question about what it does once inside, and the answer is spyware.
Remember
Worm = spreads by itself; Virus = needs a host file; Trojan = disguise used to enter; Spyware = secretly collects and reports your data. A keylogger is spyware by function.
Sit the whole UGC-NET 30 August 2024 (Shift 1) paper — in the printed order, on the official clock, with every answer explained when you submit.