Final answer:
A worm is the type of malware that replicates itself to spread quickly through computer networks, unlike adware, spyware, and ransomware which have different methods of operation.
Step-by-step explanation:
The type of malware that typically targets a computer network by replicating itself to spread rapidly is known as a worm. Worms are a form of malware that are particularly dangerous because they can spread without any human action, such as clicking on a link or downloading a file. Unlike viruses, which require an executable host file to spread, worms can self-replicate and traverse networks on their own.
Comparing with the other types of malware listed: 1) Adware displays unwanted ads and is more annoying than harmful, 2) Spyware stealthily gathers information without consent, typically for data theft, 3) Ransomware locks access to the infected system's data and demands payment. Hence, 4) the correct answer is Worm.