Home/Tracks/Cyber Security

Cyber Security

Protect, detect and recover. Core concepts, how encryption and authentication work, the threats you'll face, how a SIEM helps and a practical hardening checklist.

 lessons  infographics

Security fundamentals

ConfidentialityOnly authorised people can read the data. Encryption, access control.
IntegrityData isn't changed without detection. Hashes, signatures, FIM.
AvailabilitySystems are up when needed. Redundancy, backups, DDoS protection.
Least privilegeGive every account only the access it needs, nothing more.
Defence in depthLayer controls: firewall, segmentation, endpoint, MFA, monitoring.
AAAAuthentication (who), Authorisation (what), Accounting (logging what they did).

No environment is 100% secure. The goal is to reduce risk, detect suspicious activity and recover safely.

Encryption & hashing

TypeHow it worksExamples & use
SymmetricOne shared key encrypts and decrypts. Fast.AES — disk encryption, VPN data, TLS session data
AsymmetricPublic key encrypts / verifies, private key decrypts / signs.RSA, ECC — TLS certificates, SSH keys, signatures
HashingOne-way, fixed-length fingerprint. Can't be reversed.SHA-256 — integrity checks, password storage (with salt)
End-to-endOnly sender and receiver hold the keys.Signal, WhatsApp
HomomorphicCompute on data while it stays encrypted.Privacy-preserving analytics
Quantum (QKD)Key exchange based on quantum physics.BB84 — high-security government links

In practice TLS uses both: asymmetric crypto to verify the server and agree a key, then fast symmetric AES for the data. MD5 and SHA-1 are broken for security use.

sha256sum ubuntu.iso                         # verify a download
openssl s_client -connect example.com:443    # inspect a TLS certificate
ssh-keygen -t ed25519 -C "admin@laptop"      # create an SSH key pair
Visual:

Authentication mechanisms

CredentialsUsername + password sent over HTTPS; the server compares a salted hash in its database.
SSL/TLS certificatesThe client checks expiry, the issuing CA and that the domain name matches.
OAuth tokensClient ID + secret get an access token; APIs accept it as a Bearer token.
SSH keysThe server holds your public key; you prove you own the private key. Host keys prove the server's identity.
KerberosTicket-based auth used by Active Directory and FreeIPA. Needs accurate time sync.
MFASomething you know + have + are. Enable it for admin and remote access.
Visual:

Malware types

TypeBehaviourCountermeasure
VirusAttaches to files, spreads when runAntivirus, updates, awareness
WormSelf-replicates across networksPatching, segmentation
TrojanPretends to be legitimate softwareApplication control, cautious downloads
RansomwareEncrypts files, demands paymentOffline/immutable backups, EDR
SpywareCollects keystrokes and dataEndpoint protection
RootkitHides deep in the OS for persistenceSecure boot, integrity scans
BotnetInfected machines under remote controlEgress filtering, monitoring
FilelessRuns in memory, abuses PowerShell/WMIBehavioural detection, logging
Visual:

SIEM & monitoring

A SIEM collects logs from servers, endpoints and network devices, correlates them and raises alerts. Wazuh is a popular open-source option with agents, a manager, an indexer and a dashboard.

What to alert on

  • Repeated failed logins and account lockouts
  • Unexpected privileged logins or new admin accounts
  • Changes to critical files (File Integrity Monitoring)
  • Malware and vulnerability alerts
  • Security services stopping unexpectedly

Investigating an alert

  1. Identify the endpoint, account, source IP and time.
  2. Review related logs before and after the event.
  3. Decide whether the activity is expected (change window? known user?).
  4. Contain or escalate following your incident-response process.
  5. Document findings and tune the rule if it was a false positive.
Visual:

Hardening checklist

FirewallRestrict admin access to trusted networks · no WAN admin · review unused rules · MFA for VPN · keep firmware current · enable logging.
Active DirectorySeparate admin accounts · limit Domain Admins · disable inactive accounts · GPO security baselines · Windows LAPS.
LinuxKey-based SSH · no direct root login · apply updates · disable unused services · least-privilege permissions.
NetworkSeparate user, server, guest & management VLANs · shut unused ports · control inter-VLAN traffic · SSH not Telnet.
MonitoringCentral log collection · NTP time sync · investigate alerts · watch privileged activity.
Recovery3-2-1 backups · separate backup credentials · immutable copies · test restores regularly.
# /etc/ssh/sshd_config — then: sudo sshd -t && sudo systemctl reload sshd
PermitRootLogin no
PasswordAuthentication no
PubkeyAuthentication yes
AllowGroups ssh-admins
Full audit plan: 7-day security audit

Tools & frameworks

Only scan or test systems you own or have written permission to test. Practise in your own lab (VMs, Kali, deliberately vulnerable apps).

CategoryTools
Discovery & reconNmap, Shodan, theHarvester, Amass
Vulnerability scanningOpenVAS, Nessus, Lynis (Linux audit)
Traffic analysisWireshark, tcpdump
Web app testingOWASP ZAP, Burp Suite, Nikto
ForensicsAutopsy, Sleuth Kit, Volatility
DetectionWazuh, Snort, Suricata, ELK
nmap -sV 192.168.0.0/24          # discover hosts & service versions (your own network)
sudo lynis audit system          # Linux hardening audit
sudo tcpdump -i eth0 port 53     # watch DNS traffic

Frameworks worth knowing

Visual:
Library

Related documents

Security-relevant material from the other tracks.