Security fundamentals
The CIA Triad: Confidentiality, Integrity and Availability
The CIA triad explained: confidentiality, integrity and availability, with everyday examples, hash and signature checks, and ten incidents to classify.
What cybersecurity covers, the CIA triad, common ways systems fail, and a safe first exercise with hashes on your own machine.
Cybersecurity is the work of protecting computers, networks, software and the data they hold from unauthorized access, damage and misuse, and of getting them working again when something goes wrong. NIST's glossary defines it as preventing damage to systems, protecting them and restoring them, so that information stays available, intact, authentic, confidential and non-repudiable.
That definition is broad on purpose. It covers a password policy, a firewall rule, a backup, a code review and a phone call to confirm a payment request.
Most security work is described with three properties. NIST's glossary defines each one.
Real incidents often hit more than one. Ransomware that also copies your data breaks availability and confidentiality together. The triad is a checklist for asking "what exactly went wrong?", and it works for both attackers and defenders. A tester asks which property a weakness lets them break. A defender asks which one a control protects.
A vulnerability is a weakness, such as an unpatched program or a reused password. A threat is something that can exploit it, such as a criminal group or a careless insider. Risk is the likelihood and impact of that happening. You rarely remove risk; you decide which risks to reduce, transfer or accept.
None of these needs advanced skill to cause damage, and that is why the basics matter.
No single control stops everything, so defenders layer them. A stolen password should not be enough to reach the data, and a compromised laptop should not be enough to reach every server.
The NIST Cybersecurity Framework organizes the same ideas into functions: Govern, Identify, Protect, Detect, Respond and Recover. Read the framework itself on the NIST site rather than a summary of it.
Cybersecurity has two sides that need each other. Defenders build and monitor systems. Offensive practitioners, such as penetration testers and red teams, attack systems to find weaknesses before criminals do. The offensive side is only legitimate with authorization: your own machines, a lab you built, or a target whose owner gave you written permission and a defined scope. Reaching a system from the internet does not mean you may test it.
You can see the integrity property in action with a hash function. A cryptographic hash such as SHA-256 turns any input into a fixed-length fingerprint. Change one character of the input and the fingerprint changes completely. This is how you check that a downloaded file matches the one the publisher released.
These commands ran in Git Bash on Windows 11. They also work in a Linux or macOS terminal that has sha256sum (on macOS, use shasum -a 256). They touch only text you type, nothing on the network.
printf 'notholy' | sha256sum | cut -d' ' -f1
printf 'notholy2' | sha256sum | cut -d' ' -f122d877c3c676415aa2de4720884d52a36b60beff37f0c5468dc45ac9366e3c22
500b373e094e8eaa968be463e24fb8c944bb04d325a1da543ad91972a0a700aeThe two inputs differ by one character, and the digests share nothing visible. A hash is one-way: you cannot compute notholy back from the digest, you can only hash a guess and compare. A hash alone does not prove who published a file, only that the content matches a value you obtained from a trustworthy place.
Next, try it on a real file. Download any installer from a vendor's official site, find the checksum the vendor publishes, and compare it with the output of sha256sum on your copy. If the two values differ, do not run the file.
Start with the small habits: updates on, a password manager, multi-factor authentication on your important accounts. Then learn how networks and the web work, because most attacks and defenses sit on top of them. The next article covers cryptography, including hashing, in more depth. When you want hands-on practice, run a deliberately vulnerable training application such as OWASP Juice Shop in a lab you own, or use NotHoly to help you plan and review your own lab work. Keep every test inside systems you have permission to touch.
Security fundamentals
The CIA triad explained: confidentiality, integrity and availability, with everyday examples, hash and signature checks, and ten incidents to classify.
Security fundamentals
Separate vulnerability, threat, risk and exploit, see how CWE and CVE name flaws, and learn why unreachable flaws can still matter.
Security fundamentals
Learn data flow diagrams, trust boundaries and the six STRIDE categories, then model a local OWASP Juice Shop in Threat Dragon.