UPI Study › Courses › Introduction to Operating Systems › Free lessons › Lesson 9.5 Free with a free account
Proactive Threat Prevention
Introduction to Operating Systems · Chapter 9: Computer Security and Threat PreventionSection 9.5 · lesson 73 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: System Hardening →← Security PoliciesNext lesson: System Hardening →
A free account plays all of Chapter 1 and 3 more lessons of Introduction to Operating Systems. Create a free account →
In this lesson
Five habits that stop security problems before they start.
- Explain the window of exposure and how patching shortens it
- Apply least privilege to people and programs
- Design a backup plan using the three, two, one rule
- Describe how training and monitoring catch tricks and attacks
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,064 words). Read along, or search it.
Opening Story
A Dead Drive and a Lost Month
You lock your front door before the burglar arrives, not after. You buckle your seat belt before the crash. Computer security works the same way. The cheapest day to stop a problem is the day before it happens. Sam, who runs a small online bakery, learned this one Monday. The old laptop's drive died, and a month of customer orders went with it. Nothing malicious happened at all. So which habit would have saved that month?
Overview
Five Preventive Habits
Five habits do most of the work. Patching. Least privilege. Backups. Training. And monitoring. Each one stops a different kind of trouble before it starts. Take them one at a time.
Patching
The Window of Exposure
Software is written by people, and people make mistakes. Some mistakes are vulnerabilities: flaws that let someone do what they shouldn't. When the maker finds one, it releases a fix, called a patch, or an update. Installing it is called patching. Picture a lock that a locksmith finds can be opened with a bent paperclip. The maker sends out a better lock. The danger is every day between the better lock existing, and you actually fitting it. That gap is called the window of exposure. Remember WannaCry, from lesson 9.1? Microsoft's fix came out on March 14, 2017. The worm struck on May 12. That's a window of fifty-nine days. Computers that had installed the fix were safe from that way in.
Update Habits
Automatic Updates Close the Gap
Now picture two places that get the same patch on the same day. Sam ignores the update prompts for months. Ivy, who looks after the computers at a school, has automatic updates turned on. Same flaw, same fix. What differs is how long each one stays exposed. Good habits are simple. Turn on automatic updates. Restart when asked, since some patches only work after a restart. Retire software that the maker no longer fixes. And larger places test a patch on a few machines first, so one bad patch can't take down every computer at once. The common mistake is clicking remind me tomorrow for weeks. Every click adds a day to the window.
Quick Check
Monday Fix, Friday Install
Quick check. On Monday, a browser maker releases a security fix. Lee, one of Sam's helpers, has automatic updates on, so it installs that night. Rosa clicks remind me tomorrow every day, and installs it on Friday. How long was Rosa's window of exposure? Pause, and decide. About four days, from Monday's release to Friday's install. The window opens when the fix exists, not when Rosa notices the prompt. One night was Lee's window. And none at all is impossible: even Lee was exposed for a night.
Least Privilege
Only the Keys a Job Needs
A school janitor has a key to the building, but not to the principal's filing cabinet. The art teacher can open the art room, but not the server closet. That's least privilege. Every person, and every program, gets the smallest set of permissions that lets them do their job, and no more. Computer scientists Saltzer and Schroeder set it down as a design principle in 1975. Why does it help? Because accounts get stolen, and people make mistakes. Dana, Sam's part-time baker, only needs to read the price list. If Dana's login is stolen, the thief can only read prices. If Dana had full administrator power, the thief would own the shop. So on your own computer, use a standard account every day, and an administrator account only to install things.
Backups
The Three, Two, One Rule
No prevention is perfect. A laptop gets dropped, ransomware locks the files, or someone deletes the wrong folder. The last defense is a backup: a separate copy of your data, that you can restore from. It turns we lost everything, into we lost an afternoon. A simple rule of thumb is three, two, one. Keep three copies of your data: the original, plus two backups. Keep them on two different kinds of storage, so one dead drive can't take every copy. And keep one copy off site, in another building or in cloud storage, so a fire or a theft can't take them all either.
Real Example
Test a Restore Before You Need It
Back to Sam's Monday. Backups are the habit that would have saved that month. So Ivy set up a three, two, one plan: a nightly copy to an external drive, and a weekly copy to cloud storage. Then she made Sam restore one file, as a test. A backup that has never been restored is a guess. You only learn it's broken on the day you need it.
Quick Check
Every Copy in One Room
Quick check. A teacher keeps the grade files on the office computer. There's a copy on a USB stick in the desk drawer, and another copy in a second folder on the same computer. Which part of three, two, one does this plan miss? Pause, and decide. One copy off site. Every copy sits in the same room, so one fire, flood, or burglary takes them all. There are three copies, counting the original. And the USB stick is a second kind of storage. The second folder adds a copy, but no new protection.
Training
Teaching People to Pause and Check
Many attacks don't break a lock. They just ask nicely. An email says your account is locked: click here. A caller claims to be from the help desk, and asks for your password. That's social engineering, from lesson 9.2. No software fully stops it, so user training helps: short, regular lessons that teach people to pause, check who's really asking, and report anything odd. And a place where reporting a mistake is welcome beats one where people hide it.
Monitoring
Logs and Alerts Keep Problems Short
The fifth habit is monitoring. The operating system keeps logs: written records of events, such as logins and failed logins. Someone, or some software, reads them, and raises an alert when the pattern is strange, like two hundred failed logins at three in the morning. Monitoring doesn't stop the first problem. But it makes it short.
Summary
One Question for Each Habit
So each habit answers one question. Patching: is the known hole closed? Least privilege: if this account is stolen, how bad is it? Backups: can we recover, if all else fails? Training: will people spot the trick? And monitoring: would we even notice a problem?
Key Takeaways
Five Prevention Habits Reviewed
To recap. Patch quickly: the window of exposure runs from a fix's release until you install it. Give every person and program only the access its job needs. Keep three copies, on two kinds of storage, with one off site. And test a restore. Train people to spot tricks, while logs and alerts watch for trouble.
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 Proactive Threat Prevention
What is the window of exposure in cybersecurity?
What is the principle of least privilege?
What is the 3-2-1 backup rule?
Why is security monitoring useful if it cannot stop an attack?
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 →