Security by Design ยท Beginner Level ยท 2026
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! ]
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.
By the end of this module, you will be able to:
You will learn to think about threats, plan for problems, test designs, and keep systems safe after they are built.
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:
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! ]
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.
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.
A threat model is a simple plan that lists what could go wrong in a project and how to stop it.
Without a threat model, you are blind to problems. With one, you plan for safety before you build.
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.
A bank creates a threat model before opening a new branch.
A school creates a threat model before launching a portal.
Your family creates a simple threat model for a trip.
Nigerian banks create threat models before launching new apps.
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 ]
A threat model is a simple plan that lists what could go wrong and how to stop it.
Asking "what could go wrong?" means thinking of all the problems before they happen.
If you think about problems first, you can plan for them. If you ignore them, they will surprise you.
Think of a picnic. "What could go wrong?" โ rain, ants, no food. You plan for each.
A bank asks, "What if someone steals a customer's card?" and plans for it.
A school asks, "What if a student shares their password?" and plans to reset it.
Your family asks, "What if a stranger uses our Wi-Fi?" and sets a password.
A Nigerian bank asks, "What if a fraudster pretends to be a customer?" and uses 2FA.
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 ]
Asking "what could go wrong?" helps you plan for safety before problems happen.
Identifying threats means listing all the dangers that could affect your project.
You cannot protect against a threat you have not noticed.
Think of a hospital. The threats are illness, injury, infection. They list them all.
A bank identifies threats: robbers, hackers, fraudsters, and staff mistakes.
A school identifies threats: cheating students, hackers, and system failures.
Your family identifies threats: thieves, strangers, and accidents.
A Nigerian bank identifies threats: phishing, insider fraud, and system failures.
IDENTIFYING THREATS
===================
[ Attackers ]
[ Mistakes ]
[ Accidents ]
[ Failures ]
[ Insiders ]
|
V
[ Plan for each type ]
Identifying threats means listing all the dangers that could affect your project.
Planning for mistakes means thinking about how users might do something wrong and planning for it.
Mistakes are common. If you plan for them, they do not cause big problems.
Think of a cashier. They might type the wrong amount. You plan for this by asking for confirmation.
A bank asks, "Are you sure you want to send โฆ50,000?" before sending money.
A school portal asks, "Are you sure you want to submit?" before final submission.
Your family has a backup key in case someone forgets theirs.
Nigerian banks ask for confirmation before every large transaction.
PLANNING FOR MISTAKES
=====================
[ User makes mistake ]
|
V
[ System asks for confirmation ]
|
V
[ User corrects the mistake ]
|
V
[ No damage done ]
Planning for mistakes means thinking about what users might do wrong and planning for it.
Planning for attacks means thinking about how bad people might attack your system and how to stop them.
Attacks do happen. If you have planned, you can defend your system.
Think of a castle. It has walls, a moat, and guards. Each protects against a different kind of attack.
A bank uses many layers of defence to stop attacks.
A school trains students about fake exam-result messages.
Your family does not click strange links.
Nigerian banks train staff and customers about phishing attacks.
PLANNING FOR ATTACKS
====================
[ Attack comes ]
|
V
[ Many layers of defence ]
|
V
[ Attack blocked ]
|
V
[ System stays safe ]
Planning for attacks means thinking about how bad people might attack and how to stop them.
Building the threat model means putting your threats and plans into a simple document.
A written threat model keeps you organised. You can review and update it.
Think of writing a shopping list. Once it is on paper, you do not forget items.
A bank writes a threat model before launching any new product.
A school writes a threat model before launching a portal.
Your family writes a simple plan for trips and events.
Nigerian banks document their threat models formally.
BUILDING A THREAT MODEL
=======================
[ Describe project ]
|
V
[ List users ]
|
V
[ List problems ]
|
V
[ Plan prevention ]
|
V
[ Plan response ]
|
V
[ Review and update ]
Building a threat model means putting your threats and plans into a simple document.
Testing your design means checking if your plan works before you build.
Testing finds problems before they become real. It saves time, money, and stress.
Think of rehearsing a play. You practice before the real show. Testing is the rehearsal for a design.
A bank tests its new app with a small group before launching to everyone.
A school tests a portal with a few students before opening it to all.
Your family tests the new Wi-Fi password on one device before changing all.
Nigerian banks test new features in a safe environment first.
TESTING YOUR DESIGN
===================
[ Walk through ]
|
V
[ Ask a friend ]
|
V
[ Try to break it ]
|
V
[ Fix problems ]
|
V
[ Ready to build ]
Testing your design means checking if your plan works before you build.
Planning for failures means having a backup plan in case something breaks.
Systems fail. If you have a backup, you can recover quickly.
Think of having a spare tyre in a car. You hope you never need it. But if you do, you are ready.
A bank has backup servers in another city in case of disaster.
A school keeps paper backups of important records.
Your family keeps a spare key outside the house (safely hidden).
Nigerian banks have backup systems and power generators.
PLANNING FOR FAILURES
=====================
[ Main system ]
|
V
[ Something fails ]
|
V
[ Backup ready ]
|
V
[ System recovers ]
Planning for failures means having a backup plan in case something breaks.
Keeping systems safe after building means continuing to protect them after they are launched.
Threats change over time. New attacks appear. You must keep up.
Think of a garden. You do not just plant it. You water it, weed it, and protect it. Systems are the same.
A bank updates its apps every month to fix new threats.
A school reviews its portal every term.
Your family changes the Wi-Fi password every year.
Nigerian banks update their systems constantly to stop new attacks.
KEEPING SYSTEMS SAFE
====================
[ Launch ]
|
V
[ Update regularly ]
|
V
[ Train users ]
|
V
[ Review threat model ]
|
V
[ Stay safe over time ]
Keeping systems safe after building means continuing to protect them after they are launched.
Learning from problems means studying what went wrong and improving your design.
Mistakes teach us. Learning from them makes us stronger.
Think of falling off a bicycle. You learn what caused it. Then you ride better.
When a bank has a breach, it studies what happened and improves security.
When a portal fails, the school finds the cause and fixes it.
When your family's Wi-Fi is hacked, you learn to change the password more often.
Nigerian banks learn from every incident to stay safer.
LEARNING FROM PROBLEMS
======================
[ Problem happens ]
|
V
[ What caused it? ]
|
V
[ How to prevent it? ]
|
V
[ Update the design ]
|
V
[ Better system ]
Learning from problems means studying what went wrong and improving your design.
Teaching others means sharing what you know so everyone stays safe.
When everyone knows the threats, the whole community becomes stronger.
Think of a class. If everyone knows the rules, no one breaks them.
A bank trains all staff about security threats.
A teacher explains phishing to the class.
A parent teaches their child about safe browsing.
Nigerian banks and schools run regular security awareness training.
TEACHING OTHERS
===============
[ You learn ]
|
V
[ You teach family ]
|
V
[ They teach friends ]
|
V
[ Community stays safe ]
Teaching others about threats makes the whole community stronger.
A safe builder is someone who plans, tests, and maintains systems with security in mind.
Safe builders protect their projects and their users. They also teach others.
Think of a careful craftsman. They plan, build, and check their work. A safe builder does the same with systems.
A cybersecurity professional plans, builds, tests, and reviews systems.
A student designs a school project using all the skills.
Your family uses safe habits and reviews them regularly.
Nigerian cybersecurity professionals follow these steps daily.
BECOMING A SAFE BUILDER
=======================
[ Plan ]
|
V
[ Think threats ]
|
V
[ Apply principles ]
|
V
[ Test ]
|
V
[ Keep safe ]
|
V
[ Learn ]
|
V
[ Teach others ]
A safe builder plans, tests, and maintains systems with security in mind. Anyone can become one.
| 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. |
These words are the foundation of threat modelling and safe building. Use them often so they become easy.
Think about what could go wrong before you build. It saves time, money, and stress.
Attackers, mistakes, accidents, failures, and insiders are all threats.
Testing finds problems early. Fixing them is much cheaper than later.
Every system can fail. Plan for recovery.
Systems change. Threats change. Keep learning and teach others.
These five concepts are the heart of Module 3. Read them again before finishing the course.
CREATING A THREAT MODEL
=======================
[ Describe ]
|
V
[ List users ]
|
V
[ List threats ]
|
V
[ Plan prevention ]
|
V
[ Plan response ]
|
V
[ Review ]
TESTING A DESIGN
================
[ Walk through ]
|
V
[ Ask a friend ]
|
V
[ Try to break ]
|
V
[ Fix problems ]
|
V
[ Test again ]
KEEPING SYSTEMS SAFE
====================
[ Launch ]
|
V
[ Update ]
|
V
[ Train users ]
|
V
[ Review ]
|
V
[ Stay safe ]
Creating threat models, testing designs, and keeping systems safe all follow simple steps. Follow them, and your systems stay strong.
A bank creates a threat model before opening a new branch or launching an app.
A hospital plans for power cuts, record losses, and equipment failures.
A school plans for cheating, hacking, and system failures.
An online shop plans for scams, attacks, and payment failures.
A government office plans for hacking, insider threats, and disasters.
Threat modelling and safe building are used in banks, hospitals, schools, shops, and government offices.
Nigerian banks create detailed threat models before launching new products.
Paystack and Flutterwave plan for fraud, outages, and attacks.
Nigerian universities plan for cheating, hacking, and system failures.
NITDA and NCC plan for cyber attacks and national emergencies.
Families plan for theft, fraud, and device loss.
Nigeria uses threat modelling and safe building in banks, fintechs, schools, government, and families.
"What if the cake is late? What if guests do not come?" Plan for each.
"What if it rains? What if someone gets lost?" Plan for each.
"What if a player is injured? What if it rains?" Plan substitutes and indoor options.
"What if the tide comes in?" Build further up the beach.
"What if the player runs out of lives?" Give them a continue option.
Threat modelling appears in parties, trips, matches, sandcastles, and video games.
| 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? |
Even simple daily activities use threat modelling. Now you can see it everywhere.
Parents can teach threat modelling and safe building at home through daily planning and simple examples.
Threat modelling is powerful and used everywhere.
Threat modelling is full of surprises. The more you learn, the safer you become.
These ten points are the heart of Module 3. Read them again before finishing the course.
Avoiding these mistakes will make your systems safer than most.
These ten practices will help you build strong, safe systems.
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 ]
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 ]
IDENTIFYING THREATS
===================
[ Attackers ]
[ Mistakes ]
[ Accidents ]
[ Failures ]
[ Insiders ]
|
V
[ Plan for each type ]
TESTING YOUR DESIGN
===================
[ Walk through ]
|
V
[ Ask a friend ]
|
V
[ Try to break it ]
|
V
[ Fix problems ]
|
V
[ Ready to build ]
KEEPING SYSTEMS SAFE
====================
[ Launch ]
|
V
[ Update regularly ]
|
V
[ Train users ]
|
V
[ Review threat model ]
|
V
[ Stay safe ]
BECOMING A SAFE BUILDER
=======================
[ Plan ]
|
V
[ Think threats ]
|
V
[ Apply principles ]
|
V
[ Test ]
|
V
[ Keep safe ]
|
V
[ Learn ]
|
V
[ Teach others ]
These diagrams help you see threat modelling clearly. Draw them yourself to remember them better.
| Threat | Vulnerability | Risk |
|---|---|---|
| Something that could harm | A weakness | The chance of harm |
| Example: hacker | Example: weak password | Example: account may be hacked |
| 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 |
| Plan First | Fix Later |
|---|---|
| Cheaper | More expensive |
| Faster | Slower |
| Safer | Riskier |
| Keeps trust | Loses trust |
Comparing ideas side by side helps you remember the differences clearly.
| 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. |
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.
A threat model is a simple plan that lists what could go wrong in a project and how to stop it.
Because thinking about problems first saves time, money, and stress.
"What could go wrong?"
Attackers, mistakes, accidents, failures, and insiders.
Ask for confirmation before important actions. Show clear warnings. Allow undo.
Use many layers of defence: strong passwords, 2FA, antivirus, and training.
Walk through it step by step. Ask a friend to review it. Try to break it yourself.
Having a backup plan in case something breaks.
Continuing to update, train, and review your system after it is launched.
How to think about threats, plan for problems, test designs, and keep systems safe.
| 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
| 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
Matching helps you connect words to meanings quickly.
A school is launching a new portal next week. The developers have not created a threat model.
Questions:
Your family just set up Wi-Fi but did not plan for problems.
Questions:
A trader is opening an online shop. She has not thought about attacks or failures.
Questions:
These scenarios help you apply what you have learned to real situations.
Group size: 3โ5 students
Time: 40 minutes
Materials: Paper, pencil
Instructions:
Goal: To practise creating a threat model as a team.
Time: 20 minutes
Materials: Notebook, pencil
Instructions:
Goal: To apply threat modelling to your own life.
Time: 1โ2 hours
Materials: Paper, pencil, colour pencils
Instructions:
Goal: To practise creating a full threat model.
Time: 1 week
Materials: Notebook, pencil
Instructions:
Goal: To see threat modelling in real systems.
You have completed the entire Security by Design course. Well done! Here is what to do next.
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