Proactive Threat Prevention, Explained

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

← 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 →

Earn 3 college credits for Introduction to Operating SystemsRecommended for credit by NCCRS · Computer Science 354 · self-paced · one payment, lifetime access

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.

Compare: Linux vs Operating Systems

Why take it here

Why students take Introduction to Operating Systems with UPI Study

What happens under every app you runIntroduction to Operating Systems explains the software that runs a computer: processes and scheduling, threads and synchronization, deadlock, memory and paging, devices and storage, file systems, networking, security and virtualization. It suits computer science and information technology degrees.
Credit at a fraction of the priceThe same 3 credits can cost $750 or more at a US college. Here it is one payment, self-paced, with lifetime access.
Finish your degree soonerTransfer credits reduce the courses you still owe, so you can graduate earlier or lighten a heavy semester.
Strengthen an applicationA completed college-level course on an official transcript shows admissions and scholarship committees you can do the work.
Study on your own scheduleNo start dates, no deadlines. Watch the lessons, practice, and take the final when you are ready.
130,000+students helped with college creditsACE and NCCRS have over 2,100 cooperating colleges that will consider accepting credits; the final decision is with the universities.

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.

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?
The window of exposure is the time between a security fix being released and that fix actually being installed. During that gap, the flaw has a known fix but the system is still open to it. For WannaCry, Microsoft released the fix on March 14, 2017, and the worm struck on May 12, a window of fifty-nine days. Automatic updates keep the window short.
What is the principle of least privilege?
Least privilege means every person and every program gets only the permissions needed for its job, and no more. Jerome Saltzer and Michael Schroeder set it down as a design principle in 1975. It limits the damage when an account is stolen or someone makes a mistake. On a personal computer, it means using a standard account every day and an administrator account only to install software.
What is the 3-2-1 backup rule?
The 3-2-1 rule means keeping three copies of your data, on two different kinds of storage, with one copy off site. The original counts as one of the three. Two kinds of storage mean one dead drive cannot take every copy, and an off-site copy in another building or cloud storage survives a fire or theft. Test a restore too, since an untested backup is only a guess.
Why is security monitoring useful if it cannot stop an attack?
Monitoring makes a problem short even though it does not prevent the first one. The operating system keeps logs of events such as logins and failed logins, and people or software read them and raise an alert when a pattern looks strange, like two hundred failed logins at three in the morning. Spotting trouble early limits how long an attacker or fault can cause damage.

About the Introduction to Operating Systems course

How many college credits is Introduction to Operating Systems?
Introduction to Operating Systems (Computer Science 354) carries a NCCRS credit recommendation for 3 semester credits. ACE and NCCRS have over 2,100 cooperating colleges that will consider accepting credits; the final decision is with the universities.
How much does Introduction to Operating Systems cost and what is included?
$250, paid once, with lifetime access: all 83 video lessons, a practice quiz after each, the graded work and final exam, and an official transcript when you finish. Students who want several courses choose UPI Study PRO instead.
Which universities accept UPI Study credits?
UPI Study has signed partner agreements with universities such as Thomas Edison State University, University of the People and Charter Oak State College, and works with universities such as Penn State, SNHU and SUNY. ACE and NCCRS have over 2,100 cooperating colleges that will consider accepting credits; the final decision is with the universities. Use "Find my college" on this page to check yours.
How long does Introduction to Operating Systems take?
It is self-paced with no deadlines. The 83 lessons total about 10 hours of video; most students add reading and practice time and finish in a few weeks to a few months, on their own schedule.
How are the exams done?
Quizzes and assignments are online in the course. The final exam is taken online with proctoring; a person on the UPI Study team checks assignments, usually within two days.
How do my credits reach my college?
When the course shows 100% complete, request the official transcript from your dashboard. It is sent to the college you name, and you can send it to more than one. Check your college first with "Find my college" on this page, or ask Athena.

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

Introduction to Operating Systems
3 credits · NCCRS
Enroll →