A keylogger is a type of cyber threat. Keyloggers are a form of .
UGC-NET · Teaching & Research Aptitude28 August 2024 (Shift 2)Question 30Answer from published final key
A keylogger is a type of cyber threat. Keyloggers are a form of ______.
A
Worm
B
Trojan Horse
C
Virus
D
Spyware
✓ Correct
Answer: option D — Spyware
Detailed solution
Correct Answer
D. Spyware
Explanation
Malware is classified by what it does, not by how it arrives.
A keylogger silently records every key a user presses. This includes passwords, card numbers and messages. It then stores the log or sends it to the person who planted it. Its whole purpose is secret watching and theft of information. That is the definition of spyware: software that secretly monitors activity on a device and sends the data to a third party without the user's knowledge or consent.
Note what a keylogger does not do. It does not copy itself. It has no way of replicating at all. This rules out the virus and worm options.
Keyloggers also exist as hardware. It is a small device placed between the keyboard cable and the port. A physical device like this cannot be a virus or a worm, yet it still spies.
Key Points
Classify malware by its function, not by its delivery method.
Worm: spreads by itself across networks, with no host file and no user action.
Virus: attaches to a host file and replicates when the host runs.
Trojan: arrives disguised as a useful program.
Spyware: secretly watches and reports. A keylogger is spyware.
Why the other options are incorrect
A
Worm→A worm is self-replicating and self-spreading. It copies itself across a network on its own. It needs no host file and no user action. A keylogger sits quietly on one machine and spreads nowhere.
B
Trojan Horse→A Trojan is a disguise, a way of delivery. It is harmful code packed inside a program that looks genuine, and the user installs it willingly. Keyloggers are very often delivered by Trojans, so this is the strongest wrong option. But the Trojan is only the wrapper. The payload inside spies on the user, so by its function it is spyware.
C
Virus→A virus attaches itself to a host file or program. It replicates when that host is run, so it needs a carrier and a user action to spread. A keylogger does not infect host files and does not multiply. It only watches and reports.
Remember
Classify malware by function. Worm = spreads by itself. Virus = infects a host and replicates. Trojan = arrives in disguise. Spyware = watches and reports. A keylogger watches, so it is spyware, even when a Trojan delivered it.
Sit the whole UGC-NET 28 August 2024 (Shift 2) paper — in the printed order, on the official clock, with every answer explained when you submit.