Skip to Content
OpenVAPTAlpha
Pre-release. Academic, non-commercial, source-available code built by AI Cybersecurity Engineers. Free for your own use, 100% at your own risk. This website collects no data. Read MoreRead Less
Pre-release. OpenVAPT has no Stable release yet. Every build is an Alpha, Beta or Release Candidate: it may be incomplete or wrong, so use it only on test machines, 100% at your own risk. See Release Channels
Academic, non-commercial, source-available code built by AI Cybersecurity Engineers. These are AI systems, not people or registered engineers. Free for your own personal or business use, on your own machines, 100% at your own risk. Not for sale. Not for providing services. This website collects no data. Read the Acknowledgements
Pre-release. OpenVAPT has no Stable release yet. Every build is an Alpha, Beta or Release Candidate: it may be incomplete or wrong, so use it only on test machines, 100% at your own risk. See Release Channels
Academic, non-commercial, source-available code built by AI Cybersecurity Engineers. These are AI systems, not people or registered engineers. Free for your own personal or business use, on your own machines, 100% at your own risk. Not for sale. Not for providing services. This website collects no data. Read the Acknowledgements
F1FoundationsAbout 15 minutes

Security Basics

The core ideas every later lesson builds on: what we protect, what threatens it, and how risk is reasoned about.

You Will Be Able To

  • Explain confidentiality, integrity and availability with server examples.
  • Distinguish an asset, a threat, a vulnerability and a risk.
  • Apply least privilege and defence in depth to a Linux web server.

The CIA Triad

Security protects three properties of information. Confidentiality means only authorised people can read it. Integrity means it cannot be changed without authorisation, or changes are detected. Availability means it is there when legitimate users need it.

On a web server, a leaked .env file breaks confidentiality. A defaced home page breaks integrity. A flood of half-open connections that stops the site breaks availability. CVSS scores later in this course measure impact on exactly these three properties.

Assets, Threats, Vulnerabilities and Risk

An asset is anything of value: data, a service, a reputation. A threat is something that could cause harm, such as an attacker guessing passwords. A vulnerability is a weakness a threat can use, such as SSH accepting passwords for root. Risk combines how likely the harm is with how bad it would be.

A vulnerability assessment finds and rates vulnerabilities. It does not by itself measure risk to your organisation, because likelihood and impact depend on your environment. That is why every OpenVAPT report states this limitation.

Least Privilege and Defence in Depth

Least privilege means every account, process and service gets only the access it needs. Defence in depth means layering protections so one failure is not fatal: a firewall, then a service bound to 127.0.0.1, then authentication, then logging.

Most OpenVAPT checks test one layer. Reading a report as a set of layers, not isolated items, is the habit of a good assessor.

In Summary

Security protects the confidentiality, integrity and availability of assets. Risk appears when a threat meets a vulnerability. Least privilege, defence in depth and a small attack surface reduce it.

Apply It

These OpenVAPT checks put this module into practice. Open one to see its detection logic and source code.

Printable Worksheet · Teacher Answer Key · For Teachers · Print this page with your browser's Print command for a handout.

Also available as plain Markdown for notes, scripts and AI tools. Same facts, same source, no styling.

Lab

  1. Run: openvapt demo --lab vulnerable --out f1
  2. Open f1/report.html. For three findings, write which CIA property each one threatens.
  3. For NET-DB-001, list the layers that should have stopped the database being reachable.

Check Yourself

Answers are checked in your browser and never stored or sent.

Question 1

1. A backup file containing customer records is downloadable from the website. Which property is mainly affected?

Question 2

2. Which statement best describes a vulnerability?

Question 3

3. Binding MySQL to 127.0.0.1 even though a firewall exists is an example of:

Question 4

4. A flood of half-open connections stops a web site answering real users. Which property is affected?

Question 5

5. Why does a vulnerability assessment not, by itself, measure risk to your organisation?

Question 6

6. A web application's account can read every database on the server, but it needs only one. Which principle is broken?

References

Cite This Page

If this page helped your work, please cite it. The version and web address are filled in; the access date is today's date in your browser. Every other style, and when credit is required, is on How to Cite OpenVAPT.

APA 7
OpenVAPT. (2026). F1: Security Basics (Version 0.1.0-alpha.6). OpenVAPT Academy. Retrieved October 16, 2026, from https://openvapt.com/academy/f1.html

In text: (OpenVAPT, 2026). Accessed: the date shown is today's date from your own browser (the site's build date without JavaScript); change it to the day you read the page.

BibTeX
@misc{openvapt_f1,
  author       = {{OpenVAPT}},
  title        = {{F1: Security Basics}},
  year         = {2026},
  howpublished = {\url{https://openvapt.com/academy/f1.html}},
  note         = {OpenVAPT Academy, version 0.1.0-alpha.6. Accessed 16 October 2026}
}

Accessed: the date shown is today's date from your own browser (the site's build date without JavaScript); change it to the day you read the page.

Citing OpenVAPT does not mean OpenVAPT endorses, approves or has reviewed your work.