Cyber security β mechanisms, prevention & management
Cyber security is the practice of protecting systems, networks and data from digital attacks. It works on three levels: the mechanisms (technical controls) that enforce protection, the practices that prevent attacks, and the management (a governed program) that keeps it all running as risk evolves. This guide covers all three.
Goals The CIA triad
Every control ultimately serves one of three goals β the CIA triad:
π Confidentiality
Only authorized people see the data. Enforced by encryption, access control and authentication.
β Integrity
Data isn't tampered with. Enforced by hashing, digital signatures, checksums and access control.
π’ Availability
Systems are up when needed. Enforced by redundancy, backups, DDoS protection and capacity.
Controls Security mechanisms
Controls are classified two ways β by when they act and by what kind they are:
| By function | Purpose | Examples |
|---|---|---|
| Preventive | Stop an attack happening | Firewall, MFA, encryption, least privilege, patching |
| Detective | Spot an attack in progress | IDS/IPS, SIEM, logging, anomaly detection |
| Corrective | Recover after an attack | Backups, incident response, failover, re-imaging |
And by category: technical (tech that enforces it), administrative (policies, training, procedures) and physical (locks, guards, access cards). A strong program uses all three.
The core mechanisms
π Identity & access (IAM)
Authentication (MFA), authorization (RBAC), least privilege, and Zero Trust β the front door.
π Encryption
TLS in transit, encryption at rest, and good key management β so stolen data is useless.
π§± Network security
Firewalls, segmentation, VPN, IDS/IPS β contain and inspect traffic.
π» Endpoint (EDR)
Anti-malware / endpoint detection & response on every device.
π Logging & monitoring
Centralized logs + a SIEM so you can detect and investigate.
πΎ Backups & DR
Tested, offline backups (3-2-1) β your last line against ransomware.
Know the enemy The threat landscape
| Threat | What it is |
|---|---|
| Malware / Ransomware | Malicious software β viruses, trojans, spyware; ransomware encrypts your data for extortion. |
| Phishing / Social engineering | Tricking people into revealing credentials or running malware β the most common entry point. |
| Credential attacks | Brute force, password spraying, credential stuffing (reusing leaked passwords). |
| DDoS | Flooding a service to knock it offline (attacks availability). |
| Man-in-the-middle | Intercepting traffic to eavesdrop or alter it (defeated by TLS). |
| Web app attacks | SQL injection, XSS, broken access control (see OWASP). |
| Insider threats | Malicious or careless employees/contractors with legitimate access. |
| Supply chain | Compromising a vendor, library or update to reach you. |
| Zero-day / APT | Unknown vulnerabilities; Advanced Persistent Threats β patient, well-resourced attackers. |
Anatomy How an attack unfolds
Most intrusions follow a chain of stages (the Cyber Kill Chain). Your job is to break it as early as possible β the earlier you detect and disrupt, the less damage:
Defend Preventing attacks
No silver bullet β layer these so a failure of one is caught by another:
π§ Defense in depth
Multiple independent layers, so one failure isn't a breach.
π¦ Zero Trust & least privilege
"Never trust, always verify." Grant the minimum access; verify every request.
π©Ή Patch management
Update fast β most breaches exploit known, unpatched flaws.
π MFA everywhere
The single biggest defense against stolen passwords.
π Awareness training
Teach people to spot phishing; run simulations. Humans are the front line.
π§± Segmentation
Split the network so a breach in one zone can't spread everywhere.
π Vulnerability management
Continuously scan, prioritize by risk, and remediate.
πΎ Backups (3-2-1)
3 copies, 2 media, 1 offline β tested by restore. Beats ransomware.
Run the program Managing cyber security
Security is a continuous program, not a project. The NIST Cybersecurity Framework organizes it into functions that cycle β all resting on Govern:
π Frameworks
NIST CSF, ISO/IEC 27001 (a certifiable ISMS), and the CIS Controls (18 prioritized safeguards) give you a proven structure.
βοΈ Risk management
Identify assets β assess threats & impact β treat (mitigate / transfer / accept / avoid) β monitor. Spend where risk is highest.
π Incident response
A plan (NIST 800-61): Prepare β Detect & analyze β Contain, eradicate, recover β Post-incident review.
ποΈ Governance
Owned leadership (a CISO), policies, compliance (GDPR, PCI-DSS, HIPAAβ¦), metrics and reporting.
ποΈ Operations (SOC)
A security operations centre: continuous monitoring, threat intel, and 24/7 response.
π Continuous improvement
Audits, pen-tests, tabletop exercises and metrics feed back into the cycle. Threats evolve; so must you.
Cheat sheet
| Question | Short answer |
|---|---|
| The three security goals? | Confidentiality, Integrity, Availability (the CIA triad). |
| Three control functions? | Preventive, Detective, Corrective. |
| Most common attack entry point? | People β phishing & stolen/reused credentials. |
| Biggest single defense against stolen passwords? | Multi-factor authentication (MFA). |
| Last line against ransomware? | Tested, offline backups (3-2-1). |
| How to manage it? | A governed program β NIST CSF: Govern, Identify, Protect, Detect, Respond, Recover. |
Knowledge check
Six questions on cyber security. Pick an answer for each, then check your score.
Next steps
π‘οΈ Web Β· API Β· AI Security
The application layer β concrete controls for web, API and AI/agents.
π OWASP
The Top 10 & toolbox β the shared vocabulary of application-security risks.
βΈοΈ Cloud Native
Infrastructure β securing containers, orchestration and the cloud.
π All tutorials
The hub β LLMs, agents, APIs, cloud & more.