Biological viruses stay in the population essentially indefinitely. We have immune systems, but this somehow doesn't cause virus strains to completely disappear after some time, as everyone's immune system gets rid of them. Rather they decrease in prevalence in the population, and then later possibly mutate and increase again.
Are some computer viruses/malware analogous in this respect, that they stay active in computers on the internet essentially indefinitely?
I understand that computer malware does not mutate like biological viruses/bacteria, I didn't intend it to be a strong analogy. I also understand that "the internet" is not a place where malware is stored but rather in personal computers or datacenters or other storage devices. I am just asking a question whether it is the case that computer malware stays active indefinitely or not, not assuming a particular reason for why this would be the case.