Skip to content
Unit 1 Syllabus Note· Introduction to Cyber Security

Introduction to Cyber Security

Comprehensive exam revision notes for BCA-431E Unit 1 (Introduction to Cyber Security, Cyberspace & Threats). Includes Section A (2M), Section B (5M), and Section C (15M) questions, answers, and diagrams.

Introduction to Cyber Security

Introduction to Cyber Security, Cyberspace & Threats

Core Definitions & Key Concepts

Cyber Security and Cyberspace

Cyberspace is the complex, interdependent global environment of computer networks, information systems, software, and digital communications. Cyber Security is the practice of protecting cyberspace, systems, networks, devices, and data from unauthorized digital attacks, damage, or unauthorized access.

What are the three pillars of the CIA Triad

  1. Confidentiality: Preventing unauthorized disclosure of sensitive data (encryption, access control).
  2. Integrity: Ensuring information is authentic, accurate, and protected against unauthorized modification (checksums, hashing).
  3. Availability: Ensuring authorized users have timely, reliable access to critical assets and services (redundancy, DDoS defense).

A Threat, a Vulnerability, and a Risk

  • Vulnerability: A weakness or flaw in a system's design, configuration, or implementation (e.g., unpatched software).
  • Threat: Any potential circumstance or event with the capacity to exploit a vulnerability and cause harm (e.g., hacker, malware).
  • Risk: The expected likelihood and magnitude of impact resulting from a threat exploiting a vulnerability (Risk = Threat × Vulnerability × Impact).

What is Social Engineering in cyber security

The psychological manipulation of individuals into divulging confidential information or performing actions that compromise security (e.g., pretexting, baiting, tailgating).

Phishing and Spear Phishing

  • Phishing: Mass broadcast fraudulent communications masquerading as trustworthy entities to trick users into revealing credentials.
  • Spear Phishing: Highly customized, targeted phishing directed at specific high-profile individuals using customized intelligence.

What is Ransomware and how does it propagate

A malicious software that encrypts victim data using military-grade asymmetric/symmetric ciphers, demanding extortion payment (typically in cryptocurrency) for the decryption key. Propagates via phishing emails, exploit kits, or unpatched RDP ports.

A Virus, a Worm, and a Trojan Horse

Malware TypeHost File Required?Self-Replicating?Primary Mechanism
VirusYes (attaches to host executable)Yes (replicates when host runs)Corrupts host files
WormNo (standalone process)Yes (propagates autonomously via network)Consumes bandwidth & system resources
TrojanYes/No (masquerades as useful app)NoProvides stealth backdoor for attackers

What is an Attack Surface

The total sum of all possible points (vectors) where an unauthorized user can attempt to enter data into or extract data from a software environment or network (open ports, web forms, API endpoints, employee credentials).

Non-Repudiation in security architecture

The assurance that a sender or transacting party cannot deny the authenticity of their signature or having sent a message (guaranteed through asymmetric digital signatures and audit logging).

What is Zero Trust Architecture (ZTA)

A security paradigm based on the principle 'Never Trust, Always Verify'. It eliminates implicit trust based on network perimeter location and requires strict continuous authentication and least-privilege verification for every user and device.

Conceptual & Architectural Analysis

The CIA Triad with Real-World Security Breach Scenarios

CODE
1 [ CONFIDENTIALITY ]
2 / \
3 / \
4 / \
5 / \
6 [ INTEGRITY ] ------------- [ AVAILABILITY ]
  1. Confidentiality Violation: A hospital database breach exposing unencrypted medical patient records and financial credit card data on the dark web.
  2. Integrity Violation: A financial attacker intercepting a wire transfer transaction and tampering with the bank recipient account number and transaction amount.
  3. Availability Violation: A distributed denial-of-service (DDoS) attack flooding a university examination portal with 50 Gbps of bogus traffic on the morning of final exams, causing server crash.

Compare Black Hat, White Hat, and Grey Hat Hackers

Hacker TypeIntent & MotivationAuthorizationLegality
White Hat (Ethical Hacker)Discovers security holes to patch themExplicit written authorizationCompletely legal
Black Hat (Cyber Criminal)Personal gain, extortion, political maliceZero authorizationIllegal / Criminal offense
Grey HatCuriosity or public disclosure without permissionUnauthorized, but reports flaw without extortionLegally ambiguous / Unauthorized

The Cyber Kill Chain Framework (Lockheed Martin)

7 Stages of the Cyber Kill Chain

  1. Reconnaissance: Harvesting email addresses, DNS data, employee LinkedIn profiles.
  2. Weaponization: Coupling an exploit with a malicious payload (e.g., infected PDF).
  3. Delivery: Transmitting weaponized payload via phishing email or malicious URL.
  4. Exploitation: Triggering vulnerability in victim software (e.g., buffer overflow).
  5. Installation: Installing malware / remote access trojan (RAT) on victim asset.
  6. Command & Control (C2): Establishing encrypted beaconing back to attacker server.
  7. Actions on Objectives: Data exfiltration, file encryption, or destruction.

Common Social Engineering Tactics and Defenses

  • Pretexting: Creating an elaborate fabricated scenario (impersonating IT support) to manipulate victim into resetting passwords.
  • Baiting: Leaving malware-infected USB drives in company parking lots labeled 'Executive Salaries 2025'.
  • Tailgating (Piggybacking): Unauthorized person physically following an authorized employee through a secure RFID access door.
  • Defenses: Mandatory security awareness training, multi-factor authentication (MFA), strict visitor verification policies.

Advanced Persistent Threats (APTs) and their Characteristics

An APT is a prolonged, stealthy cyber attack campaign orchestrated by well-funded state actors or organized syndicates:

  • Characteristics: Highly targeted, customized zero-day exploits, deep persistence inside network for months/years, quiet low-bandwidth data exfiltration to evade IDS alerts.

In-Depth Analysis & Implementation

Provide an In-Depth Examination of Modern Ransomware Architectures, Hybrid Cryptography Mechanisms, and Mitigation Strategies

Anatomy of Modern Dual-Extortion Ransomware

System Architecture / Concept DiagramHorizontal Scroll Enabled
[ INFILTRATION ]
Phishing / Exploit ---> Dropper Execution ---> Disables Shadow Copies (vssadmin delete shadows)
                               |
                               v
[ HYBRID ENCRYPTION ENGINE ]
1. Generates local symmetric session key: AES-256 (High-speed encryption)
2. Encrypts all user documents (*.docx, *.xlsx, *.db, *.pdf) in-place
3. Encrypts AES key with Attacker's embedded Public Key (RSA-4096)
4. Destroys plaintext AES key from RAM
                               |
                               v
[ EXFILTRATION & EXTORTION ]
Exfiltrates sensitive files to C2 ---> Drops 'RESTORE_README.txt' ---> Demands Bitcoin / Monero

1. Why Symmetric + Asymmetric Hybrid Encryption is Used:

  • Pure RSA-4096: Computationally slow; cannot encrypt gigabytes of enterprise file storage in reasonable time.
  • Pure AES-256: Extremely fast, but if the symmetric key remains on the infected machine, forensic analysts can recover it from memory dump.
  • Hybrid Solution: Fast AES-256 encrypts the files, and the attacker's public RSA key encrypts the AES key. Only the attacker's private key (safely stored on their command server) can decrypt the AES key.

2. The 3-2-1 Backup Strategy (The Gold Standard Defense):

  • Maintain 3 total copies of critical business data.
  • Store backups on 2 different physical media types (e.g., Local NVMe NAS and Tape/Cloud).
  • Keep 1 copy completely offsite and air-gapped / immutable (WORM - Write Once, Read Many).

Detail the Attack Surface Analysis and Threat Modeling using STRIDE

Microsoft STRIDE Threat Modeling Methodology

System Architecture / Concept DiagramHorizontal Scroll Enabled
+-----------------------------------------------------------------------------------+
| S - Spoofing          | Pretending to be someone or something else                |
| T - Tampering         | Modifying data or code unauthorizedly                     |
| R - Repudiation       | Denying having performed an action                        |
| I - Information Disc. | Exposing private data to unauthorized individuals         |
| D - Denial of Service | Degrade or halt system availability                       |
| E - Elevation of Priv.| Gaining higher permissions than authorized                |
+-----------------------------------------------------------------------------------+

Application to Banking API:

  1. Spoofing: Attacker sends fake HTTP requests claiming to be account owner \to Mitigation: Mutual TLS (mTLS) and OAuth 2.0 Bearer tokens.
  2. Tampering: Modifying transfer amount in transit \to Mitigation: HMAC-SHA256 digital signatures.
  3. Repudiation: Customer denies transferring money \to Mitigation: Cryptographic audit trail with non-repudiation timestamps.
  4. Information Disclosure: Unencrypted credit card numbers in logs \to Mitigation: Tokenization and AES-GCM data-at-rest encryption.
  5. Denial of Service: Flooding API endpoints \to Mitigation: Rate limiting with token bucket algorithms and cloud WAFs.
  6. Elevation of Privilege: Standard user accessing /admin/dashboard \to Mitigation: Role-Based Access Control (RBAC) enforced on server side.

Implement a Python Network Socket Scanner for Port Vulnerability Assessment

Python
1import socket
2import sys
3from datetime import datetime
4
5def scan_ports(target_host, start_port, end_port):
6 """Scans TCP ports on target host to assess attack surface."""
7 try:
8 target_ip = socket.gethostbyname(target_host)
9 except socket.gaierror:
10 print(f"[ERROR] Hostname {target_host} could not be resolved.")
11 return
12
13 print("=" * 60)
14 print(f"Scanning Target: {target_host} ({target_ip})")
15 print(f"Port Range: {start_port} to {end_port}")
16 print(f"Time started: {str(datetime.now())}")
17 print("=" * 60)
18
19 open_ports = []
20 for port in range(start_port, end_port + 1):
21 # Create TCP socket
22 sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
23 sock.settimeout(0.5) # Fast 500ms timeout
24
25 result = sock.connect_ex((target_ip, port))
26 if result == 0:
27 try:
28 service = socket.getservbyport(port, 'tcp')
29 except:
30 service = "Unknown Service"
31 print(f"[OPEN] Port {port:5d}/tcp - Service: {service}")
32 open_ports.append(port)
33 sock.close()
34
35 print("-" * 60)
36 print(f"Scan complete. Found {len(open_ports)} open ports: {open_ports}")
37
38# Scan localhost common administrative ports
39if __name__ == '__main__':
40 scan_ports('127.0.0.1', 20, 85)

Important Exam Points & Quick Revision

Examiner high-yield focus: CIA Triad definitions with examples (guaranteed 5-10 marks), STRIDE threat modeling, and Ransomware hybrid encryption mechanics.

Your reading progress
0%

100% left on this page — finishing it closes the gap for Introduction to Cyber Security, Cyberspace & Threats.

Weak topic hint

Introduction to Cyber Security, Cyberspace & Threats still counts as a weak topic until you finish this note and answer its questions.

Practise this unit
What Should You Do Next?

Test Your Understanding

Now that you've read through these notes, practice unit MCQs to identify weak points and solidify your learning before exams.