Hiring Partners
Segilola Resources Operating LimitedTaviatech TechnologiesFCMBMTN NigeriaAdvans La Fayette Microfinance BankAboki AfricaFirst Bank of NigeriaOPay
โ† Security by Design ยท Lesson 4 of 4

Thinking About Threats and Building Safely

๐Ÿ“– Every lesson in this course is free to read right here, no account needed. Create a free account to track your progress, take the exam, and earn your certificate.
4
Module 3 ยท Thinking About Threats and Building Safely

โฌ… Back to Course Outline

๐ŸŽฏ Module 3 โ€” Thinking About Threats and Building Safely

Security by Design ยท Beginner Level ยท 2026


1. Module Introduction

Welcome to Module 3 โ€” the final module of Security by Design. You have come a long way. In Module 1, you learned what Security by Design means. In Module 2, you learned the six principles of secure design.

Now we come to the last piece of the puzzle. You will learn how to think about threats before you build. You will learn how to plan for problems. You will learn how to test your design. And you will learn how to keep systems safe after they are built.

Think of a goalkeeper. Before a match, they study the other team. They think about how the other team will attack. They plan how to stop them. A security designer does the same for systems.

In this module, you will learn what a threat model is. You will learn to ask "what could go wrong?". You will learn to plan for mistakes and attacks. You will also learn how to keep systems safe after they are built.

This module is written for complete beginners. You do not need to know any coding. Every new word is explained in very simple language. Every idea comes with examples from real life, school, home, and Nigeria. So relax, read slowly, and let us begin.

YOUR LEARNING JOURNEY IN MODULE 3
=================================

[ Start ]
    |
    V
What is a Threat Model?
    |
    V
Asking "What Could Go Wrong?"
    |
    V
Planning for Mistakes and Attacks
    |
    V
Testing Your Design
    |
    V
Keeping Systems Safe After Building
    |
    V
[ You are ready to build safely! ]

Summary of the Introduction

This module teaches you how to think about threats and build safe systems. You will learn about threat models, planning for problems, testing, and keeping systems safe.


2. Learning Objectives

By the end of this module, you will be able to:

  1. Explain what a threat model is in your own words.
  2. Describe how to ask "what could go wrong?" in any project.
  3. Explain how to plan for mistakes and attacks.
  4. Describe how to test a design before building.
  5. Explain how to keep systems safe after building.
  6. Create a simple threat model for a small project.
  7. Identify common threats in daily systems.
  8. Describe how to fix problems before they happen.
  9. Use all the principles from Module 2 together.
  10. Feel confident to build safely and think like a secure designer.

Summary of Learning Objectives

You will learn to think about threats, plan for problems, test designs, and keep systems safe after they are built.


3. Warm-up Story โ€” Ngozi Plans the School Play

Ngozi is a 13-year-old girl who lives in Enugu. She loves drama. One day, her teacher asked her to plan the school play.

Ngozi was very excited. She started writing the script immediately.

Her friend Amina came to visit. "Ngozi, have you thought about what could go wrong?" Amina asked.

"What could go wrong?" Ngozi said. "We just act the play!"

Amina smiled. "Let me show you."

She took a piece of paper and wrote:

  1. What if an actor gets sick?
  2. What if the microphone stops working?
  3. What if the lights fail?
  4. What if the audience does not come?
  5. What if the stage is too small?
  6. What if it rains on the outdoor stage?

Ngozi looked at the list. She had not thought about any of these things.

"You are right," Ngozi said. "I need to plan for these problems."

So Ngozi and Amina planned together. They chose a backup actor. They tested the microphone twice. They borrowed a small generator for the lights. They printed more invitations. They measured the stage. They chose an indoor hall in case of rain.

The day of the play arrived. The play was a big success. Nothing went wrong โ€” because they had planned for problems before they happened.

Ngozi learned a big lesson. Thinking about problems first is the secret to success. That is what a threat model is all about.

NGOZI'S PLAN
============

[ Plan the play ]
        |
        V
[ Ask "what could go wrong?" ]
        |
        V
[ Plan for each problem ]
        |
        V
[ The play is a success! ]

Summary of the Warm-up Story

Ngozi planned the school play. Her friend Amina taught her to think about problems first. Because they planned, the play was a success. This story introduces the whole module.


4. Main Lessons

In this section, you will go through 12 short lessons. Each lesson teaches one big idea. Each lesson ends with a mini summary. Read slowly. Think about the examples. Ask questions. That is how you learn.

Lesson 1 โ€” What is a Threat Model?

Definition

A threat model is a simple plan that lists what could go wrong in a project and how to stop it.

Why it is important

Without a threat model, you are blind to problems. With one, you plan for safety before you build.

Simple explanation

Think of planning a trip. You make a list of what could go wrong: rain, traffic, lost luggage. You plan for each one. A threat model is the same.

Parts of a Threat Model

  • What you are building
  • Who will use it
  • What could go wrong
  • How you will prevent it
  • What you will do if it happens

Real-life example

A bank creates a threat model before opening a new branch.

School example

A school creates a threat model before launching a portal.

Home example

Your family creates a simple threat model for a trip.

Nigerian example

Nigerian banks create threat models before launching new apps.

Illustration

THREAT MODEL
============

[ What we're building ]
        |
        V
[ Who will use it ]
        |
        V
[ What could go wrong ]
        |
        V
[ How to prevent it ]
        |
        V
[ What to do if it happens ]

Mini summary

A threat model is a simple plan that lists what could go wrong and how to stop it.


Lesson 2 โ€” Asking "What Could Go Wrong?"

Definition

Asking "what could go wrong?" means thinking of all the problems before they happen.

Why it is important

If you think about problems first, you can plan for them. If you ignore them, they will surprise you.

Simple explanation

Think of a picnic. "What could go wrong?" โ€” rain, ants, no food. You plan for each.

Common Questions

  • What if someone steals this?
  • What if someone breaks this?
  • What if someone shares this?
  • What if this fails?
  • What if the wrong person sees this?
  • What if the power goes off?
  • What if the internet stops working?

Real-life example

A bank asks, "What if someone steals a customer's card?" and plans for it.

School example

A school asks, "What if a student shares their password?" and plans to reset it.

Home example

Your family asks, "What if a stranger uses our Wi-Fi?" and sets a password.

Nigerian example

A Nigerian bank asks, "What if a fraudster pretends to be a customer?" and uses 2FA.

Illustration

ASK "WHAT COULD GO WRONG?"
==========================

[ What if someone steals? ]
[ What if someone breaks? ]
[ What if the wrong person sees? ]
[ What if power goes off? ]
        |
        V
[ Plan for each problem ]

Mini summary

Asking "what could go wrong?" helps you plan for safety before problems happen.


Lesson 3 โ€” Identifying Threats

Definition

Identifying threats means listing all the dangers that could affect your project.

Why it is important

You cannot protect against a threat you have not noticed.

Simple explanation

Think of a hospital. The threats are illness, injury, infection. They list them all.

Common Threats

  • Attackers โ€” hackers, thieves, scammers
  • Mistakes โ€” user error, typing mistakes
  • Accidents โ€” power cut, flood, fire
  • Failures โ€” broken servers, no internet
  • Insiders โ€” staff or family who misuse access

Real-life example

A bank identifies threats: robbers, hackers, fraudsters, and staff mistakes.

School example

A school identifies threats: cheating students, hackers, and system failures.

Home example

Your family identifies threats: thieves, strangers, and accidents.

Nigerian example

A Nigerian bank identifies threats: phishing, insider fraud, and system failures.

Illustration

IDENTIFYING THREATS
===================

[ Attackers ]
[ Mistakes ]
[ Accidents ]
[ Failures ]
[ Insiders ]
        |
        V
[ Plan for each type ]

Mini summary

Identifying threats means listing all the dangers that could affect your project.


Lesson 4 โ€” Planning for Mistakes

Definition

Planning for mistakes means thinking about how users might do something wrong and planning for it.

Why it is important

Mistakes are common. If you plan for them, they do not cause big problems.

Simple explanation

Think of a cashier. They might type the wrong amount. You plan for this by asking for confirmation.

Common Mistakes

  • Typing the wrong password
  • Clicking the wrong button
  • Sharing private information
  • Forgetting to log out
  • Sending money to the wrong person

How to Plan for Mistakes

  • Ask for confirmation before important actions
  • Show clear warnings
  • Allow undo for small mistakes
  • Train users
  • Keep backups

Real-life example

A bank asks, "Are you sure you want to send โ‚ฆ50,000?" before sending money.

School example

A school portal asks, "Are you sure you want to submit?" before final submission.

Home example

Your family has a backup key in case someone forgets theirs.

Nigerian example

Nigerian banks ask for confirmation before every large transaction.

Illustration

PLANNING FOR MISTAKES
=====================

[ User makes mistake ]
        |
        V
[ System asks for confirmation ]
        |
        V
[ User corrects the mistake ]
        |
        V
[ No damage done ]

Mini summary

Planning for mistakes means thinking about what users might do wrong and planning for it.


Lesson 5 โ€” Planning for Attacks

Definition

Planning for attacks means thinking about how bad people might attack your system and how to stop them.

Why it is important

Attacks do happen. If you have planned, you can defend your system.

Simple explanation

Think of a castle. It has walls, a moat, and guards. Each protects against a different kind of attack.

Common Attacks

  • Phishing messages
  • Password guessing
  • Malware and ransomware
  • Fake websites
  • Stolen OTPs
  • Insider fraud

How to Plan for Attacks

  • Use strong passwords and 2FA
  • Train users about phishing
  • Use antivirus and firewalls
  • Check everything
  • Keep backups
  • Review and update regularly

Real-life example

A bank uses many layers of defence to stop attacks.

School example

A school trains students about fake exam-result messages.

Home example

Your family does not click strange links.

Nigerian example

Nigerian banks train staff and customers about phishing attacks.

Illustration

PLANNING FOR ATTACKS
====================

[ Attack comes ]
        |
        V
[ Many layers of defence ]
        |
        V
[ Attack blocked ]
        |
        V
[ System stays safe ]

Mini summary

Planning for attacks means thinking about how bad people might attack and how to stop them.


Lesson 6 โ€” Building the Threat Model

Definition

Building the threat model means putting your threats and plans into a simple document.

Why it is important

A written threat model keeps you organised. You can review and update it.

Simple explanation

Think of writing a shopping list. Once it is on paper, you do not forget items.

Steps to Build a Threat Model

  1. Describe what you are building.
  2. List who will use it.
  3. Write down what could go wrong.
  4. Write how you will prevent each problem.
  5. Write what to do if it happens.
  6. Review and update the model.

Real-life example

A bank writes a threat model before launching any new product.

School example

A school writes a threat model before launching a portal.

Home example

Your family writes a simple plan for trips and events.

Nigerian example

Nigerian banks document their threat models formally.

Illustration

BUILDING A THREAT MODEL
=======================

[ Describe project ]
        |
        V
[ List users ]
        |
        V
[ List problems ]
        |
        V
[ Plan prevention ]
        |
        V
[ Plan response ]
        |
        V
[ Review and update ]

Mini summary

Building a threat model means putting your threats and plans into a simple document.


Lesson 7 โ€” Testing Your Design

Definition

Testing your design means checking if your plan works before you build.

Why it is important

Testing finds problems before they become real. It saves time, money, and stress.

Simple explanation

Think of rehearsing a play. You practice before the real show. Testing is the rehearsal for a design.

How to Test a Design

  • Walk through the design step by step.
  • Ask a friend to review it.
  • Try to break your own design.
  • Look for missing principles.
  • Fix problems before building.

Real-life example

A bank tests its new app with a small group before launching to everyone.

School example

A school tests a portal with a few students before opening it to all.

Home example

Your family tests the new Wi-Fi password on one device before changing all.

Nigerian example

Nigerian banks test new features in a safe environment first.

Illustration

TESTING YOUR DESIGN
===================

[ Walk through ]
        |
        V
[ Ask a friend ]
        |
        V
[ Try to break it ]
        |
        V
[ Fix problems ]
        |
        V
[ Ready to build ]

Mini summary

Testing your design means checking if your plan works before you build.


Lesson 8 โ€” Planning for Failures

Definition

Planning for failures means having a backup plan in case something breaks.

Why it is important

Systems fail. If you have a backup, you can recover quickly.

Simple explanation

Think of having a spare tyre in a car. You hope you never need it. But if you do, you are ready.

Common Failures

  • Power cut
  • No internet
  • Broken phone or computer
  • Lost password
  • Data loss

How to Plan for Failures

  • Keep backups
  • Use a spare device if possible
  • Save emergency contacts
  • Keep backup codes for 2FA
  • Write down recovery steps

Real-life example

A bank has backup servers in another city in case of disaster.

School example

A school keeps paper backups of important records.

Home example

Your family keeps a spare key outside the house (safely hidden).

Nigerian example

Nigerian banks have backup systems and power generators.

Illustration

PLANNING FOR FAILURES
=====================

[ Main system ]
        |
        V
[ Something fails ]
        |
        V
[ Backup ready ]
        |
        V
[ System recovers ]

Mini summary

Planning for failures means having a backup plan in case something breaks.


Lesson 9 โ€” Keeping Systems Safe After Building

Definition

Keeping systems safe after building means continuing to protect them after they are launched.

Why it is important

Threats change over time. New attacks appear. You must keep up.

Simple explanation

Think of a garden. You do not just plant it. You water it, weed it, and protect it. Systems are the same.

How to Keep Systems Safe

  • Update apps and systems.
  • Change passwords regularly.
  • Review logs and alerts.
  • Train users often.
  • Test backups.
  • Review your threat model every few months.

Real-life example

A bank updates its apps every month to fix new threats.

School example

A school reviews its portal every term.

Home example

Your family changes the Wi-Fi password every year.

Nigerian example

Nigerian banks update their systems constantly to stop new attacks.

Illustration

KEEPING SYSTEMS SAFE
====================

[ Launch ]
        |
        V
[ Update regularly ]
        |
        V
[ Train users ]
        |
        V
[ Review threat model ]
        |
        V
[ Stay safe over time ]

Mini summary

Keeping systems safe after building means continuing to protect them after they are launched.


Lesson 10 โ€” Learning from Problems

Definition

Learning from problems means studying what went wrong and improving your design.

Why it is important

Mistakes teach us. Learning from them makes us stronger.

Simple explanation

Think of falling off a bicycle. You learn what caused it. Then you ride better.

How to Learn from Problems

  • Write down what went wrong.
  • Find the cause.
  • Plan how to prevent it.
  • Update your design.
  • Tell others.

Real-life example

When a bank has a breach, it studies what happened and improves security.

School example

When a portal fails, the school finds the cause and fixes it.

Home example

When your family's Wi-Fi is hacked, you learn to change the password more often.

Nigerian example

Nigerian banks learn from every incident to stay safer.

Illustration

LEARNING FROM PROBLEMS
======================

[ Problem happens ]
        |
        V
[ What caused it? ]
        |
        V
[ How to prevent it? ]
        |
        V
[ Update the design ]
        |
        V
[ Better system ]

Mini summary

Learning from problems means studying what went wrong and improving your design.


Lesson 11 โ€” Teaching Others About Threats

Definition

Teaching others means sharing what you know so everyone stays safe.

Why it is important

When everyone knows the threats, the whole community becomes stronger.

Simple explanation

Think of a class. If everyone knows the rules, no one breaks them.

What to Teach

  • What could go wrong
  • How to spot threats
  • Safe habits
  • What to do if something happens
  • How to report problems

Real-life example

A bank trains all staff about security threats.

School example

A teacher explains phishing to the class.

Home example

A parent teaches their child about safe browsing.

Nigerian example

Nigerian banks and schools run regular security awareness training.

Illustration

TEACHING OTHERS
===============

[ You learn ]
        |
        V
[ You teach family ]
        |
        V
[ They teach friends ]
        |
        V
[ Community stays safe ]

Mini summary

Teaching others about threats makes the whole community stronger.


Lesson 12 โ€” Becoming a Safe Builder

Definition

A safe builder is someone who plans, tests, and maintains systems with security in mind.

Why it is important

Safe builders protect their projects and their users. They also teach others.

Simple explanation

Think of a careful craftsman. They plan, build, and check their work. A safe builder does the same with systems.

How to Become One

  1. Plan before you build.
  2. Think about threats.
  3. Apply the six principles.
  4. Test your design.
  5. Keep systems safe after building.
  6. Learn from problems.
  7. Teach others.

Real-life example

A cybersecurity professional plans, builds, tests, and reviews systems.

School example

A student designs a school project using all the skills.

Home example

Your family uses safe habits and reviews them regularly.

Nigerian example

Nigerian cybersecurity professionals follow these steps daily.

Illustration

BECOMING A SAFE BUILDER
=======================

[ Plan ]
        |
        V
[ Think threats ]
        |
        V
[ Apply principles ]
        |
        V
[ Test ]
        |
        V
[ Keep safe ]
        |
        V
[ Learn ]
        |
        V
[ Teach others ]

Mini summary

A safe builder plans, tests, and maintains systems with security in mind. Anyone can become one.


5. Key Vocabulary

Word Simple Definition
Threat Anything that could harm your project.
Threat model A plan listing threats and how to stop them.
Attacker Someone who tries to break your system.
Mistake An error made by a user.
Accident Something that happens by chance.
Failure When something stops working.
Insider Someone inside the system with special access.
Backup An extra copy of data in case the original is lost.
Test Checking if something works.
Recovery Getting back to normal after a failure.
Review Looking at something again to find problems.
Safe Builder Someone who builds systems with security in mind.

Summary of Key Vocabulary

These words are the foundation of threat modelling and safe building. Use them often so they become easy.


6. Important Concepts

Concept 1 โ€” Plan for Problems First

Think about what could go wrong before you build. It saves time, money, and stress.

Concept 2 โ€” Threats Come in Many Forms

Attackers, mistakes, accidents, failures, and insiders are all threats.

Concept 3 โ€” Test Before You Build

Testing finds problems early. Fixing them is much cheaper than later.

Concept 4 โ€” Have a Backup Plan

Every system can fail. Plan for recovery.

Concept 5 โ€” Keep Learning and Teaching

Systems change. Threats change. Keep learning and teach others.

Summary of Important Concepts

These five concepts are the heart of Module 3. Read them again before finishing the course.


7. Step-by-step Explanations

Step-by-step: How to Create a Threat Model

  1. Describe what you are building.
  2. List who will use it.
  3. List what could go wrong.
  4. Write how you will prevent each problem.
  5. Write what to do if it happens.
  6. Review and update the model.
CREATING A THREAT MODEL
=======================

[ Describe ]
        |
        V
[ List users ]
        |
        V
[ List threats ]
        |
        V
[ Plan prevention ]
        |
        V
[ Plan response ]
        |
        V
[ Review ]

Step-by-step: How to Test a Design

  1. Walk through the design step by step.
  2. Ask a friend to review it.
  3. Try to break your own design.
  4. Look for missing principles.
  5. Fix problems before building.
  6. Test again after fixing.
TESTING A DESIGN
================

[ Walk through ]
        |
        V
[ Ask a friend ]
        |
        V
[ Try to break ]
        |
        V
[ Fix problems ]
        |
        V
[ Test again ]

Step-by-step: How to Keep Systems Safe After Building

  1. Update apps and systems.
  2. Change passwords regularly.
  3. Review logs and alerts.
  4. Train users often.
  5. Test backups.
  6. Review your threat model every few months.
KEEPING SYSTEMS SAFE
====================

[ Launch ]
        |
        V
[ Update ]
        |
        V
[ Train users ]
        |
        V
[ Review ]
        |
        V
[ Stay safe ]

Summary of Step-by-step Explanations

Creating threat models, testing designs, and keeping systems safe all follow simple steps. Follow them, and your systems stay strong.


8. Real-life Examples

Example 1 โ€” A Bank

A bank creates a threat model before opening a new branch or launching an app.

Example 2 โ€” A Hospital

A hospital plans for power cuts, record losses, and equipment failures.

Example 3 โ€” A School

A school plans for cheating, hacking, and system failures.

Example 4 โ€” An Online Shop

An online shop plans for scams, attacks, and payment failures.

Example 5 โ€” A Government Office

A government office plans for hacking, insider threats, and disasters.

Summary of Real-life Examples

Threat modelling and safe building are used in banks, hospitals, schools, shops, and government offices.


9. Nigerian Examples

Example 1 โ€” Nigerian Banks

Nigerian banks create detailed threat models before launching new products.

Example 2 โ€” Nigerian Fintechs

Paystack and Flutterwave plan for fraud, outages, and attacks.

Example 3 โ€” Nigerian Schools

Nigerian universities plan for cheating, hacking, and system failures.

Example 4 โ€” Nigerian Government

NITDA and NCC plan for cyber attacks and national emergencies.

Example 5 โ€” Nigerian Families

Families plan for theft, fraud, and device loss.

Summary of Nigerian Examples

Nigeria uses threat modelling and safe building in banks, fintechs, schools, government, and families.


10. Fun Examples Children Can Relate To

Example 1 โ€” Planning a Birthday Party

"What if the cake is late? What if guests do not come?" Plan for each.

Example 2 โ€” A School Trip

"What if it rains? What if someone gets lost?" Plan for each.

Example 3 โ€” A Football Match

"What if a player is injured? What if it rains?" Plan substitutes and indoor options.

Example 4 โ€” Building a Sandcastle

"What if the tide comes in?" Build further up the beach.

Example 5 โ€” A Video Game

"What if the player runs out of lives?" Give them a continue option.

Summary of Fun Examples

Threat modelling appears in parties, trips, matches, sandcastles, and video games.


11. Everyday Examples

Situation Threat Modelling
Planning a trip What if it rains?
Cooking a meal What if we run out of gas?
Going to school What if the bus breaks down?
Setting up Wi-Fi What if strangers use it?
Using a bank app What if the app fails?

Summary of Everyday Examples

Even simple daily activities use threat modelling. Now you can see it everywhere.


12. Parent Tips

  1. Ask "what could go wrong?". Do this before trips, events, and projects.
  2. Teach the six principles. Use everyday examples.
  3. Plan together. Involve your child in family planning.
  4. Praise good planning. When your child plans ahead, praise them.
  5. Review plans. Look at them again after events.
  6. Learn from problems. Discuss what went wrong and how to fix it.
  7. Be patient. Planning takes practice.
  8. Keep it fun. Use games and stories.

Summary of Parent Tips

Parents can teach threat modelling and safe building at home through daily planning and simple examples.


13. Interesting Facts

  1. Most successful companies use threat models before launching products.
  2. Fixing a problem after launch costs 100 times more than fixing it during design.
  3. Banks and hospitals test their designs with "what if" scenarios.
  4. Nigerian fintechs use threat modelling before launching new features.
  5. Simple threat models save time and money.
  6. Every safe system was planned by someone thinking about threats.
  7. Teaching others makes the whole community safer.
  8. Learning from every incident makes systems stronger.

Summary of Interesting Facts

Threat modelling is powerful and used everywhere.


14. Did You Know?

  • Did you know that threat modelling is used in every big tech company?
  • Did you know that a simple "what if" list can save millions?
  • Did you know that Nigerian banks review threat models regularly?
  • Did you know that hospitals plan for disasters using threat models?
  • Did you know that teaching others about threats protects the whole community?
  • Did you know that anyone can learn to create a threat model?

Summary of Did You Know?

Threat modelling is full of surprises. The more you learn, the safer you become.


15. Remember This

  • A threat model lists what could go wrong.
  • Always ask "what could go wrong?".
  • Threats include attackers, mistakes, and accidents.
  • Plan for both mistakes and attacks.
  • Test your design before building.
  • Have a backup plan.
  • Keep systems safe after building.
  • Learn from problems.
  • Teach others about threats.
  • Anyone can become a safe builder.

Summary of Remember This

These ten points are the heart of Module 3. Read them again before finishing the course.


16. Common Mistakes

  1. Ignoring "what could go wrong?". This question saves projects.
  2. Only thinking about attackers. Also plan for mistakes and accidents.
  3. Skipping the threat model. Write it down.
  4. Not testing. Test your design before building.
  5. Forgetting backups. Always have a backup plan.
  6. Not reviewing after launch. Review regularly.
  7. Not learning from problems. Mistakes teach us.
  8. Not teaching others. Share what you know.

Summary of Common Mistakes

Avoiding these mistakes will make your systems safer than most.


17. Best Practices

  1. Create a threat model for every project.
  2. Ask "what could go wrong?" for each step.
  3. Plan for mistakes, attacks, and accidents.
  4. Test your design before building.
  5. Keep backups and recovery plans.
  6. Review and update your threat model often.
  7. Learn from every problem.
  8. Teach your family and friends.
  9. Use the six principles from Module 2.
  10. Keep learning and growing.

Summary of Best Practices

These ten practices will help you build strong, safe systems.


18. ASCII Illustrations, Diagrams, Flowcharts, and Timelines

Diagram 1 โ€” Threat Model

THREAT MODEL
============

[ What we're building ]
        |
        V
[ Who will use it ]
        |
        V
[ What could go wrong ]
        |
        V
[ How to prevent it ]
        |
        V
[ What to do if it happens ]

Diagram 2 โ€” Asking "What Could Go Wrong?"

ASK "WHAT COULD GO WRONG?"
==========================

[ What if someone steals? ]
[ What if someone breaks? ]
[ What if the wrong person sees? ]
[ What if power goes off? ]
        |
        V
[ Plan for each problem ]

Diagram 3 โ€” Identifying Threats

IDENTIFYING THREATS
===================

[ Attackers ]
[ Mistakes ]
[ Accidents ]
[ Failures ]
[ Insiders ]
        |
        V
[ Plan for each type ]

Diagram 4 โ€” Testing Your Design

TESTING YOUR DESIGN
===================

[ Walk through ]
        |
        V
[ Ask a friend ]
        |
        V
[ Try to break it ]
        |
        V
[ Fix problems ]
        |
        V
[ Ready to build ]

Diagram 5 โ€” Keeping Systems Safe

KEEPING SYSTEMS SAFE
====================

[ Launch ]
        |
        V
[ Update regularly ]
        |
        V
[ Train users ]
        |
        V
[ Review threat model ]
        |
        V
[ Stay safe ]

Diagram 6 โ€” Becoming a Safe Builder

BECOMING A SAFE BUILDER
=======================

[ Plan ]
        |
        V
[ Think threats ]
        |
        V
[ Apply principles ]
        |
        V
[ Test ]
        |
        V
[ Keep safe ]
        |
        V
[ Learn ]
        |
        V
[ Teach others ]

Summary of Illustrations

These diagrams help you see threat modelling clearly. Draw them yourself to remember them better.


19. Comparison Tables

Table 1 โ€” Threat vs Vulnerability vs Risk

Threat Vulnerability Risk
Something that could harm A weakness The chance of harm
Example: hacker Example: weak password Example: account may be hacked

Table 2 โ€” Types of Threats

Threat Example
Attacker Hacker, scammer, thief
Mistake Typing wrong password, clicking wrong button
Accident Power cut, flood
Failure Broken server, no internet
Insider Employee or family member misusing access

Table 3 โ€” Plan First vs Fix Later

Plan First Fix Later
Cheaper More expensive
Faster Slower
Safer Riskier
Keeps trust Loses trust

Summary of Comparison Tables

Comparing ideas side by side helps you remember the differences clearly.


20. Summary After Every Lesson

Lesson Main Idea
Lesson 1 A threat model lists threats and prevention plans.
Lesson 2 Always ask "what could go wrong?".
Lesson 3 Identify all threats: attackers, mistakes, accidents.
Lesson 4 Plan for mistakes by confirming actions.
Lesson 5 Plan for attacks with many layers.
Lesson 6 Write your threat model down.
Lesson 7 Test your design before building.
Lesson 8 Always have a backup plan.
Lesson 9 Keep systems safe after building.
Lesson 10 Learn from problems to improve.
Lesson 11 Teach others about threats.
Lesson 12 Anyone can become a safe builder.

21. End-of-Module Summary

Congratulations! You have completed Module 3. Let us review what you have learned.

You began by learning what a threat model is โ€” a simple plan that lists what could go wrong and how to stop it.

You learned to always ask "what could go wrong?".

You discovered how to identify threats โ€” attackers, mistakes, accidents, failures, and insiders.

You explored planning for mistakes by confirming actions.

You learned how to plan for attacks with many layers of defence.

You discovered how to build a threat model step by step.

You learned how to test your design before building.

You explored planning for failures with backups and recovery plans.

You learned how to keep systems safe after building.

You discovered how to learn from problems.

You learned how to teach others about threats.

Finally, you learned how to become a safe builder.

MODULE 3 SUMMARY MAP
====================

[ Threat Model ]
        |
        V
[ Ask "What Could Go Wrong?" ] -> [ Identify Threats ]
        |
        V
[ Plan for Mistakes ] -> [ Plan for Attacks ]
        |
        V
[ Build the Model ] -> [ Test the Design ]
        |
        V
[ Plan for Failures ] -> [ Keep Safe After Building ]
        |
        V
[ Learn from Problems ] -> [ Teach Others ] -> [ Safe Builder! ]

Well done! You have completed the entire Security by Design course. You now have strong skills to plan, build, and maintain safe systems.


22. Frequently Asked Questions (10 Questions)

Question 1: What is a threat model?

A threat model is a simple plan that lists what could go wrong in a project and how to stop it.

Question 2: Why is it important?

Because thinking about problems first saves time, money, and stress.

Question 3: What should I ask?

"What could go wrong?"

Question 4: What are the main types of threats?

Attackers, mistakes, accidents, failures, and insiders.

Question 5: How do I plan for mistakes?

Ask for confirmation before important actions. Show clear warnings. Allow undo.

Question 6: How do I plan for attacks?

Use many layers of defence: strong passwords, 2FA, antivirus, and training.

Question 7: How do I test a design?

Walk through it step by step. Ask a friend to review it. Try to break it yourself.

Question 8: What is planning for failures?

Having a backup plan in case something breaks.

Question 9: What does "keeping systems safe after building" mean?

Continuing to update, train, and review your system after it is launched.

Question 10: What did I learn in this module?

How to think about threats, plan for problems, test designs, and keep systems safe.


23. Matching Exercises

Exercise 1 โ€” Match the Word to the Meaning

Column A (Word) Column B (Meaning)
1. Threat model A. Something that could harm
2. Threat B. A plan listing threats
3. Backup C. An error made by a user
4. Mistake D. Getting back to normal after a failure
5. Recovery E. An extra copy of data

Answers: 1-B, 2-A, 3-E, 4-C, 5-D

Exercise 2 โ€” Match the Threat to Its Example

Column A (Threat) Column B (Example)
1. Attacker A. Typing wrong password
2. Mistake B. Hacker
3. Accident C. Staff misusing access
4. Failure D. Power cut
5. Insider E. Broken server

Answers: 1-B, 2-A, 3-D, 4-E, 5-C

Summary of Matching Exercises

Matching helps you connect words to meanings quickly.


24. Scenario-based Exercises

Scenario 1 โ€” The New School Portal

A school is launching a new portal next week. The developers have not created a threat model.

Questions:

  1. What is missing?
  2. What could go wrong?
  3. What should the school do before launching?

Scenario 2 โ€” The Family Wi-Fi

Your family just set up Wi-Fi but did not plan for problems.

Questions:

  1. What could go wrong?
  2. How can you plan for these problems?
  3. What backup options exist?

Scenario 3 โ€” The New Online Shop

A trader is opening an online shop. She has not thought about attacks or failures.

Questions:

  1. What threats should she consider?
  2. How can she plan for them?
  3. What should she do after launching?

Summary of Scenario-based Exercises

These scenarios help you apply what you have learned to real situations.


25. Group Activity

Activity: Build a Simple Threat Model

Group size: 3โ€“5 students

Time: 40 minutes

Materials: Paper, pencil

Instructions:

  1. Choose a simple system (class page, family app, small shop).
  2. Write what it does and who uses it.
  3. List at least 5 threats.
  4. Write how you will prevent each one.
  5. Present your threat model to the class.

Goal: To practise creating a threat model as a team.


26. Individual Activity

Activity: My Personal Threat Model

Time: 20 minutes

Materials: Notebook, pencil

Instructions:

  1. Think of your own daily life.
  2. List 5 things that could go wrong (lost phone, stolen PIN, etc.).
  3. Write how you will prevent each one.
  4. Write what to do if it happens.
  5. Share with your family.

Goal: To apply threat modelling to your own life.


27. Mini Project

Project: Threat Model for a Small Project

Time: 1โ€“2 hours

Materials: Paper, pencil, colour pencils

Instructions:

  1. Choose a small project (school event, family trip, class website).
  2. Write a threat model for it.
  3. Include 5 threats and plans for each.
  4. Include a backup plan.
  5. Present to the class.

Goal: To practise creating a full threat model.


28. Practical Assignment

Assignment: Review a Real System's Threats

Time: 1 week

Materials: Notebook, pencil

Instructions:

  1. Choose a real system (bank app, school portal, family Wi-Fi).
  2. List 5 threats it faces.
  3. List 5 protections it uses.
  4. Identify any missing protections.
  5. Suggest improvements.
  6. Write a short report on what you learned.

Goal: To see threat modelling in real systems.


29. Key Takeaways

  1. A threat model lists what could go wrong.
  2. Always ask "what could go wrong?".
  3. Threats include attackers, mistakes, and accidents.
  4. Plan for both mistakes and attacks.
  5. Test your design before building.
  6. Have a backup plan.
  7. Keep systems safe after building.
  8. Learn from problems.
  9. Teach others about threats.
  10. Anyone can become a safe builder.

30. Classroom Discussion Questions

  1. What is a threat model in your own words?
  2. Why is "what could go wrong?" such a powerful question?
  3. What are the main types of threats?
  4. How can you plan for mistakes?
  5. How can you plan for attacks?
  6. Why is it important to test a design before building?
  7. Why do we need backup plans?
  8. How do we keep systems safe after they are built?
  9. Why is it important to teach others about threats?
  10. What did you enjoy most in this module?

31. Course Completion & Next Steps

You have completed the entire Security by Design course. Well done! Here is what to do next.

  1. Review all modules. Go back through Module 1, 2, and 3. Make sure you can explain every key idea in your own words.
  2. Start using threat models. Create one for your next project.
  3. Apply the six principles. Use them in every design.
  4. Test your ideas. Before building anything, test it.
  5. Teach others. Share what you have learned.
  6. Keep learning. Security by Design is a lifelong skill.
YOUR COURSE JOURNEY
===================

[ Module 1: What is Security by Design? ]
              |
              V
[ Module 2: Principles of Secure Design ]
              |
              V
[ Module 3: Thinking About Threats and Building Safely ]
              |
              V
[ You are now a secure designer and safe builder! ] ๐ŸŽ‰

Congratulations on completing the course. Keep thinking like a secure designer and a safe builder. The world needs people like you.


End of Module 3 โ€” Thinking About Threats and Building Safely

End of the Security by Design Course

โฌ… Back to Course Outline | โฌ… Back to Module 2

Security by Design ยท Beginner Level ยท 2026

๐Ÿ† Get Certified

๐Ÿ”’

Earn this certificate

Every lesson is already free to read. Sign up, finish the lessons, pass the exam (โ‚ฆ2,000 or 20,000 coins), and get a verified certificate with your name on it.

๐ŸŽ“ Sign Up to Get Certified
๐Ÿ› ๏ธ Practice Tools
Hands-on simulators & labs - subscription required.
โ†’
๐ŸŽฏ Internship Tasks
Real-world tasks to build your portfolio - unlock them with a subscription.
โ†’