UPI Study › Courses › Introduction to Operating Systems › Free lessons › Lesson 9.1 Free with a free account
Types of Malware
Introduction to Operating Systems · Chapter 9: Computer Security and Threat PreventionSection 9.1 · lesson 69 of 838 min · free with a free account
Free preview
Create a free account to keep watching
It takes a minute and costs nothing. Your free account unlocks all of Chapter 1 and 3 more lessons of Introduction to Operating Systems.
Lesson complete
Earn the 3 college credits for Introduction to Operating Systems
Enrolling adds a quiz after each lesson, the graded work and the official transcript. Recommended for credit by NCCRS.
Next lesson: Security Risks →← Computer Security FundamentalsNext lesson: Security Risks →
A free account plays all of Chapter 1 and 3 more lessons of Introduction to Operating Systems. Create a free account →
In this lesson
Sorting malware by how it spreads and what it does.
- Distinguish viruses, worms, and trojans by how they travel
- Describe common payloads such as ransomware, spyware, rootkits, and botnets
- Classify a real attack by both its delivery and its payload
- List everyday habits that defend against most malware
Free study notes
Get this lesson's notes by email
The key points and 4 practice questions with answers, in your inbox. One email, free.
One email. Unsubscribe in one click.
Transcript
Everything said in the video, section by section (1,045 words). Read along, or search it.
Opening Story
Three Symptoms on an Old Laptop
Sam, who runs a small online bakery, notices the old laptop acting strangely. The fan roars, even with nothing open. A toolbar nobody installed sits in the browser. And a message on the screen says the files are locked. Three different problems, and quite possibly, three different kinds of bad software. Doctors name diseases so they can treat each one. Security people name harmful programs for the same reason.
Two Questions
Delivery and Payload
Malware, short for malicious software, is any program built to harm a computer, steal from its owner, or spy on them. People call all of it a virus. But a virus is only one kind, the way a sedan is only one kind of car. To tell the kinds apart, ask two questions. First, how does it get in and spread? That's its delivery. Second, what does it do once it's there? That's its payload: the part that does the real job, like the data a packet carries in lesson 8.3. Viruses, worms, and trojans are named for how they travel. The other six are named for what they do.
How It Spreads
Viruses, Worms, and Trojans
Start with the three travelers. A virus attaches itself to a file or a program, like a germ riding on a host. By itself, it does nothing. It spreads when someone runs the infected program, or shares the file. A worm needs no host, and no click. It copies itself from computer to computer, across a network. It usually gets in through a weakness in a running service that was never updated. Each new victim attacks others, so worms spread very fast. A trojan, named for the Trojan horse, pretends to be something useful: a free game, a required update, or an invoice. It doesn't copy itself. It waits for you to invite it in.
Quick Check
Forty Library Computers Overnight
Quick check. Overnight, forty computers in a library fall ill, one after another. The staff were home asleep, and nobody opened a file. Every machine had skipped the same update. Which kind of malware is this most likely to be? Pause, and decide. A worm. The machines fell one after another with no one clicking anything, so it traveled across the network by itself. The skipped update was its way in: a known weakness in a service. A virus needs someone to run or share an infected file, and a trojan needs someone to install it. Nobody did either.
What It Does
Ransomware, Spyware, Keyloggers, and Adware
Once inside, malware does something. Ransomware locks the owner's files with encryption, and demands payment for the key. That attacks availability, from lesson 8.7: the files are still there, but no use to anyone. Spyware quietly gathers information, such as the sites you visit and your saved logins, and sends it away. That attacks confidentiality. A keylogger is spyware that records what you type, passwords included. Adware floods you with ads, or changes the browser's search page. It's the mildest, but it often arrives bundled with worse things.
Hiding and Recruiting
Rootkits, Botnets, and Mirai
A rootkit is built to hide. It buries itself deep in the operating system, even in the kernel. It hides its own files and processes, so ordinary tools can't see it. That makes it very hard to remove. A botnet is a network of infected computers, called bots, quietly taking orders from one controller. The controller can make them all flood one website with requests at once, so real visitors can't get in. Or send spam. In 2016, the Mirai botnet took over home routers, cameras, and video recorders, using a list of sixty-two common default passwords. Their owners usually noticed nothing.
Combined Attacks
WannaCry Was a Worm and Ransomware
Real attacks often combine the two questions: one type for delivery, another for the payload. A trojan might be the way in, carrying a keylogger as its payload. In May 2017, WannaCry was both a worm and ransomware. It spread on its own through a Windows file-sharing flaw, then locked each machine's files. Microsoft had released the fix for that flaw about two months earlier. Lesson 9.5 comes back to why that matters.
Quick Check
A Flashlight App That Steals Contacts
Quick check. A free flashlight app works fine. But every night, it quietly sends its owner's contacts to a stranger. It never copies itself anywhere. The owner installed it from a link in a message. Use both questions. How did it travel, and what does it do? Pause, and decide. A trojan carrying spyware. It looked useful, and the owner installed it, so its delivery is a trojan. Sending contacts away in secret is spyware's job. It isn't a worm, because it never copied itself. And adware shows ads. It doesn't steal your contacts.
Warning Signs
Symptoms and Everyday Defenses
Most malware isn't subtle forever. Warning signs include crashes, slowdowns, a busy fan, strange pop-ups, new toolbars, and logins you didn't make. But the best malware shows no sign at all. And infections don't only come from downloads: attachments, links, USB sticks, and network weaknesses all work. So judge a computer by habits and checks, not by the absence of warnings. The same few defenses come up again and again. Keep software updated. Install only from sources you trust. Run with the least access you need. Keep backups that malware can't reach. And be careful with email and links.
Real Example
Limited Access and Offline Backups Pay Off
Ivy, who looks after the computers at a school, saw these habits pay off. A staff member opened an invoice attached to an email. It was a trojan, and within minutes it tried to lock the shared files. But each person could change only their own folders, as in lesson 8.6. So only one person's files were hit. And Ivy's team kept offline backups. Those files were restored the same afternoon.
Story Ending
Naming the Laptop's Three Problems
Back to Sam's laptop, and its three problems. The new toolbar points to adware: mild, but a warning. The roaring fan, with nothing open, may be a bot doing someone else's work. And the locked files are ransomware. What gets them back is a recent backup, kept where the malware can't reach. Lesson 9.9 shows how antivirus tools find and remove the rest.
Key Takeaways
Delivery and Payloads Reviewed
To recap. Ask two questions of any malware: how does it travel, and what does it do? Viruses ride on files, worms spread by themselves, and trojans trick you into installing them. Payloads lock files, spy, show ads, hide, or recruit your computer into a botnet. And a few habits, updates, trusted sources, least access, and backups, defend against most of them.
About Introduction to Operating Systems at UPI Study
Introduction to Operating Systems (Computer Science 354) is a self-paced online course of 83 video lessons in 10 chapters, from what an operating system does and process scheduling to concurrency, memory, devices, file systems, networks, the internet, security and virtual machines. It carries a NCCRS credit recommendation for 3 semester credits.
Every lesson transcript is free on pages like this one, and the videos are free with a free UPI Study account. Enrolling adds a practice quiz after each lesson, the graded work and final exam that earn the credit, lifetime access, and an official transcript on completion. UPI Study has helped over 130,000 students with college credits. ACE and NCCRS have over 2,100 cooperating colleges that will consider accepting credits; the final decision is with the universities.
Enroll now → Course details Download the syllabus All Computer Science courses Every course with PRO →
Compare: Linux vs Operating Systems
Why take it here
Why students take Introduction to Operating Systems with UPI Study
Where the credit goes
Universities that work with NCCRS
Introduction to Operating Systems carries a NCCRS credit recommendation. These universities work with NCCRS; some are UPI Study's signed partners. ACE and NCCRS have over 2,100 cooperating colleges that will consider accepting credits; the final decision is with the universities.
Thomas Edison State UniversitySigned partner
University of the PeopleSigned partner
Charter Oak State CollegeSigned partner
Strayer UniversitySigned partner
Columbia Southern UniversitySigned partner
Indiana TechSigned partner
Penn StateWorks with NCCRS
Southern New Hampshire UniversityWorks with NCCRS
SUNYWorks with NCCRS
+many more cooperating universitiesFind my college →Find my college → Not listed? Ask Athena in the corner of this page, or book a 15-minute call.
FAQ
Questions students ask us
About Types of Malware
What is the difference between a virus, a worm, and a trojan?
What does ransomware do to a computer?
What is a botnet?
How can you tell if a computer has malware?
About the Introduction to Operating Systems course
How many college credits is Introduction to Operating Systems?
How much does Introduction to Operating Systems cost and what is included?
Which universities accept UPI Study credits?
How long does Introduction to Operating Systems take?
How are the exams done?
How do my credits reach my college?
Ready for the full course? Earn 3 credits in Introduction to Operating Systems.
83 video lessons, a quiz after each one, and the graded work that earns the credit. Recommended for credit by NCCRS.
Updated
3 credits · NCCRSEnroll →