Cybersecurity
CYBERSECURITY FUNDAMENTALS – STUDY NOTEBOOK
1. INTRODUCTION TO CYBERSECURITY
What is Cybersecurity?
Cybersecurity is the practice of protecting computers, networks, servers, applications and data from unauthorized access, cyberattacks, damage or theft.
Why is Cybersecurity important?
Protects personal and business information.
Prevents financial losses.
Protects customer privacy.
Prevents unauthorized access.
Maintains business operations.
Builds trust between organizations and customers.
What does a cybersecurity professional do?
Monitors systems for suspicious activities.
Identifies security vulnerabilities.
Protects sensitive information.
Investigates security incidents.
Helps prevent cyberattacks.
Applies security policies.
Reports and documents security risks.
2. THE CIA TRIAD
The CIA Triad is one of the most important concepts in cybersecurity.
C – Confidentiality
Ensures information is only accessible to authorized people.
Example: Only authorized bank employees should access customers’ financial records.
I – Integrity
Ensures information remains accurate and is not modified without authorization.
Example: Someone must not secretly change a customer’s bank balance.
A – Availability
Ensures systems and information are accessible when needed.
Example: A bank’s online banking system should be available to customers.
Remember:
Confidentiality = Keep information private.
Integrity = Keep information accurate.
Availability = Keep information accessible.
3. COMMON CYBERSECURITY THREATS
1. Malware
Malicious software designed to damage, disrupt or gain unauthorized access to systems.
Types:
Virus: Attaches itself to files and spreads when executed.
Worm: Spreads between systems, often without user interaction.
Trojan: Disguises itself as legitimate software.
Ransomware: Locks or encrypts data and demands payment.
Spyware: Secretly collects information.
Keylogger: Records keyboard input.
2. Phishing
A technique attackers use to trick people into revealing sensitive information or clicking malicious links.
Example: A fake bank email asking you to verify your password.
Types:
Email phishing.
Spear phishing: Targets a specific person.
Whaling: Targets senior executives.
Smishing: Phishing through SMS.
Vishing: Phishing through phone calls.
3. Social Engineering
Manipulating people into revealing confidential information or performing actions that compromise security.
Example: Someone pretends to be IT support and asks an employee for their password.
4. DDoS Attack
Distributed Denial of Service.
An attacker uses multiple devices or systems to overwhelm a service with traffic, making it unavailable to legitimate users.
5. Man-in-the-Middle (MITM)
An attacker secretly intercepts or potentially alters communication between two parties.
Example: Intercepting information sent over an insecure network.
6. Brute Force Attack
Repeatedly trying different password combinations until the correct one is found.
7. SQL Injection
An attack that attempts to manipulate database queries through unsafe application input.
4. NETWORKING FUNDAMENTALS
You cannot properly understand cybersecurity without understanding networking.
What is a Network?
A network is a group of connected devices that communicate and share information.
Important Networking Terms
IP Address: A numerical address identifying a device on a network.
MAC Address: A hardware address associated with a network interface.
Router: Directs traffic between networks.
Switch: Connects devices within a local network.
DNS: Converts domain names into IP addresses.
DHCP: Automatically assigns IP addresses to devices.
LAN: Local Area Network.
WAN: Wide Area Network.
VPN: Creates an encrypted connection over another network.
Firewall: Filters network traffic according to security rules.
Common Network Ports
Port | Protocol | Purpose |
20/21 | FTP | File transfer |
22 | SSH | Secure remote access |
23 | Telnet | Unencrypted remote access |
25 | SMTP | Sending email |
53 | DNS | Domain name resolution |
80 | HTTP | Web traffic |
443 | HTTPS | Encrypted web traffic |
3389 | RDP | Remote desktop |
TCP vs UDP
TCP:
Connection-oriented.
Reliable delivery.
Checks for lost data.
Commonly used for web browsing and file transfers.
UDP:
Connectionless.
Lower overhead.
Does not guarantee delivery.
Commonly used for streaming, gaming and DNS queries.
5. OPERATING SYSTEMS
A cybersecurity professional should understand how operating systems work.
Windows
You should understand:
User accounts.
Administrator privileges.
File permissions.
Windows Defender.
Windows Firewall.
Task Manager.
Event Viewer.
Windows updates.
Linux
Linux is widely used in servers and cybersecurity.
Basic Linux commands:
Command | Function |
pwd | Shows current directory |
ls | Lists files |
cd | Changes directory |
mkdir | Creates a directory |
touch | Creates a file |
cat | Displays file contents |
cp | Copies files |
mv | Moves or renames files |
rm | Removes files |
whoami | Shows current user |
ip addr | Displays network interfaces |
ping | Tests network connectivity |
sudo | Runs commands with elevated privileges |
Important: Understand what commands do before executing them.
6. PASSWORDS AND AUTHENTICATION
Strong Passwords
A strong password should:
Be long and difficult to guess.
Be unique for every account.
Avoid personal information.
Use a password manager where possible.
MFA (Multi-Factor Authentication)
Adds another verification step when logging in.
Examples:
Password + authenticator app.
Password + security key.
Password + biometric verification.
Authentication vs Authorization
Authentication: Verifies who you are.
Authorization: Determines what you are allowed to access.
Example:
A worker logs into a company system (authentication), but can only access their department’s files (authorization).
7. ENCRYPTION AND HASHING
Encryption
Converts readable information (plaintext) into unreadable information (ciphertext) using a cryptographic key.
It can be decrypted by someone with the appropriate key.
Types:
Symmetric encryption: Uses the same key for encryption and decryption.
Asymmetric encryption: Uses a public and private key pair.
Hashing
Converts information into a fixed-length output called a hash.
Common algorithms:
SHA-256.
SHA-512.
Hashing is generally one-way and is used to verify data integrity and store passwords securely when implemented with appropriate password-hashing algorithms.
Remember:
Encryption = Reversible with the correct key.
Hashing = Designed to be one-way.
8. FIREWALLS AND ANTIVIRUS
Firewall
A security system that monitors and controls incoming and outgoing network traffic based on defined rules.
Types:
Network firewall.
Host-based firewall.
Next-generation firewall.
Antivirus
Software designed to detect, prevent and remove malicious software.
Examples:
Microsoft Defender.
Bitdefender.
Malwarebytes.
A firewall and antivirus have different purposes. Neither guarantees complete protection.
9. VULNERABILITIES, THREATS AND RISKS
Vulnerability
A weakness in a system that could be exploited.
Example: Outdated software with a known security flaw.
Threat
Anything capable of exploiting a vulnerability and causing harm.
Example: A cybercriminal attempting to exploit outdated software.
Risk
The possibility and potential impact of a threat exploiting a vulnerability.
Risk Management
Identify risks.
Assess their likelihood and impact.
Prioritize risks.
Apply security controls.
Monitor and review risks.
10. INCIDENT RESPONSE
Incident response is the process of identifying, managing and recovering from security incidents.
Common stages:
Preparation – Establish plans, tools and procedures.
Identification – Detect and confirm suspicious activity.
Containment – Limit the damage.
Eradication – Remove the threat.
Recovery – Restore normal operations.
Lessons learned – Review the incident and improve security.
Example:
If an employee clicks a malicious link:
Report the incident.
Notify the security team.
Isolate affected systems when instructed.
Investigate what happened.
Reset compromised credentials.
Document the incident.
11. SECURITY FRAMEWORKS
What is a Security Framework?
A structured set of guidelines and practices that helps organizations manage cybersecurity risks.
Important frameworks:
NIST Cybersecurity Framework: Helps organizations manage cybersecurity risks.
ISO/IEC 27001: Standard for establishing and maintaining an Information Security Management System (ISMS).
CIS Controls: A prioritized set of cybersecurity safeguards.
NIST Cybersecurity Framework 2.0
Six core functions:
Govern – Establish cybersecurity strategy and responsibilities.
Identify – Understand assets and risks.
Protect – Apply safeguards.
Detect – Identify suspicious activities.
Respond – Manage security incidents.
Recover – Restore affected services.
12. GRC – GOVERNANCE, RISK AND COMPLIANCE
GRC is an important area of cybersecurity.
Governance
Establishes policies, responsibilities and direction for managing security.
Risk
Identifies and manages potential threats to an organization.
Compliance
Ensures an organization follows applicable laws, regulations, standards and policies.
Examples of GRC activities:
Reviewing security policies.
Conducting risk assessments.
Checking compliance requirements.
Documenting security controls.
Preparing audit evidence.
Reporting security weaknesses.
13. BASIC SECURITY TOOLS
You should become familiar with these tools:
Wireshark – Analyzes network traffic.
Nmap – Discovers hosts and services and scans networks.
Kali Linux – A Linux distribution containing security testing tools.
Microsoft Defender – Helps protect Windows systems.
Windows Event Viewer – Helps investigate system events.
Burp Suite – Helps test web application security.
Nessus – Vulnerability assessment tool.
Cisco Packet Tracer – Simulates networking environments.
Only test systems and networks you own or have explicit permission to assess.
14. PROFESSIONAL RESPONSIBILITIES AND ETHICS
A cybersecurity professional must:
Respect privacy.
Protect confidential information.
Never access systems without permission.
Never steal or disclose sensitive data.
Report vulnerabilities responsibly.
Follow organizational security policies.
Maintain accurate documentation.
Keep learning about new threats.
Technical knowledge without professional ethics is dangerous.
15. WHAT AN ENTRY-LEVEL CYBERSECURITY PROFESSIONAL SHOULD BE ABLE TO DO
You should be able to:
Explain the CIA Triad.
Identify common cyberattacks.
Recognize phishing emails.
Explain how networks work.
Understand IP addresses and DNS.
Identify common network ports.
Use basic Linux commands.
Understand Windows security settings.
Explain encryption and hashing.
Configure basic security settings.
Explain firewalls and antivirus.
Understand vulnerabilities and risks.
Explain incident response.
Understand security frameworks.
Document and report security incidents.
Follow ethical and legal security practices.
16. IMPORTANT CYBERSECURITY ACRONYMS
CIA – Confidentiality, Integrity, Availability.
MFA – Multi-Factor Authentication.
VPN – Virtual Private Network.
IDS – Intrusion Detection System.
IPS – Intrusion Prevention System.
SIEM – Security Information and Event Management.
SOC – Security Operations Center.
GRC – Governance, Risk and Compliance.
DDoS – Distributed Denial of Service.
MITM – Man-in-the-Middle.
DNS – Domain Name System.
DHCP – Dynamic Host Configuration Protocol.
TCP – Transmission Control Protocol.
UDP – User Datagram Protocol.
CVE – Common Vulnerabilities and Exposures.
CVSS – Common Vulnerability Scoring System.
IAM – Identity and Access Management.
ISMS – Information Security Management System.
EDR – Endpoint Detection and Response.
OSINT – Open-Source Intelligence.
FINAL ADVICE
Cybersecurity is not just about hacking. It involves networking, systems administration, risk management, communication, problem-solving, investigation and ethics.
Build strong foundations before jumping into advanced penetration testing.
Your goal should be to understand the concepts, explain them clearly and demonstrate them through practical exercises.