Question: what are the different types of threats in os?
Answer: Worms. This malicious program category largely exploits operating system vulnerabilities to spread itself. ... 
Viruses. Programs that infected other programs, adding their own code to them to gain control of the infected files when they are opened. ... 
Trojans. ... 
Spyware. ... 
Riskware. ... 
Rootkits.