Cyber Security
Networks, threats, and keeping information safe.
Before you start
Syllabus-checked revision — 30 questions with answers
The core set remains Q1–Q26. Additional answers Q27–Q30 below deepen the syllabus topics that needed more explanation. Expand the syllabus checklist at the end to locate each topic.
Based on the BCAC703 syllabus in sem723.pdf. Module marks: M1 20, M2 20, M3 15, M4 20, M5 25. Keep the subnetting and RSA worked examples, networking case studies and attack-prevention applications.
How to use: Expand one question at a time. Smaller overlapping questions have been folded into the relevant answer. For a short answer, use the definition and key points; for a longer answer, add the explanation, diagram or worked example. These are syllabus-based study groups, not predictions of the exam paper.
Module 1: Networking Fundamentals — 20 marks
Q1. Explain networking basics and the OSI model.
Introduction
Communication between computers is a complex process. To simplify it, the International Organization for Standardization (ISO) developed the OSI (Open Systems Interconnection) reference model, which divides network communication into seven layers. Each layer performs a specific function and provides services to the layer above it.
Diagram:
Diagram loads when you reach it.
Diagram text
flowchart LR
subgraph S["Sender"]
direction TB
S7["7 Application"] --- S6["6 Presentation"] --- S5["5 Session"] --- S4["4 Transport"] --- S3["3 Network"] --- S2["2 Data Link"] --- S1["1 Physical"]
end
subgraph R["Receiver"]
direction TB
R7["7 Application"] --- R6["6 Presentation"] --- R5["5 Session"] --- R4["4 Transport"] --- R3["3 Network"] --- R2["2 Data Link"] --- R1["1 Physical"]
end
S7 -. data .- R7
S4 -. segments .- R4
S3 -. packets .- R3
S2 -. frames .- R2
S1 == "bits over the transmission medium" === R1Layers of the OSI Model
- Physical layer: Transmits raw bits over the transmission medium (cables, signals). Devices: hubs, repeaters. Security issue: wiretapping.
- Data Link layer: Provides physical (MAC) addressing, framing and error detection. Devices: switches, bridges. Security issues: MAC spoofing, ARP poisoning.
- Network layer: Provides logical (IP) addressing and routing of packets. Device: router. Protocols: IP, ICMP. Security issue: IP spoofing.
- Transport layer: Provides end-to-end delivery, segmentation, flow control and error control. Protocols: TCP, UDP. Security issue: SYN flood.
- Session layer: Establishes, manages and terminates sessions between applications. Security issue: session hijacking.
- Presentation layer: Handles data translation, encryption and compression. Examples: SSL/TLS encryption, JPEG. Security issue: weak encryption.
- Application layer: Provides the interface for user applications. Protocols: HTTP, FTP, SMTP, DNS. Security issues: phishing, SQL injection.
Summary Table
| Layer | Function | Data unit | Protocols / devices |
|---|---|---|---|
| 7 Application | User interface for applications | Data | HTTP, FTP, SMTP, DNS |
| 6 Presentation | Translation, encryption, compression | Data | SSL/TLS, JPEG |
| 5 Session | Session management | Data | NetBIOS, RPC |
| 4 Transport | End-to-end delivery | Segment | TCP, UDP |
| 3 Network | IP addressing, routing | Packet | IP, ICMP; router |
| 2 Data Link | MAC addressing, framing | Frame | Ethernet; switch |
| 1 Physical | Bit transmission | Bit | Cables, hubs |
Advantages of the OSI model:
- Divides a complex process into simple layers.
- Makes troubleshooting and teaching easier.
- Helps locate where security controls are needed.
Memory aid (top to bottom): "All People Seem To Need Data Processing". (Bottom to top: "Please Do Not Throw Sausage Pizza Away".)
Networking basics: A computer network connects devices to share data and resources using protocols. LANs cover a local area; WANs connect larger geographical areas. Understanding layers, addressing, routing and protocols helps locate risks and choose security controls.
Q2. Explain TCP/IP, compare TCP and UDP, and illustrate the TCP handshake.
Introduction
While the OSI model is a theoretical reference, the TCP/IP model is the practical model used by the Internet. It was developed by the US Department of Defense (DARPA) and has four layers (some books show five, splitting the lowest layer into Data Link and Physical).
Diagram:
| OSI model | TCP/IP model | Main protocols |
|---|---|---|
| 7 Application, 6 Presentation, 5 Session | 4 Application | HTTP, FTP, SMTP, DNS, SSH, Telnet |
| 4 Transport | 3 Transport | TCP, UDP |
| 3 Network | 2 Internet | IP, ICMP, ARP |
| 2 Data Link, 1 Physical | 1 Network Access (Link) | Ethernet, Wi-Fi |
Layers of the TCP/IP Model
- Network Access (Link) layer: Handles physical transmission and MAC addressing (Ethernet, Wi-Fi). Corresponds to the OSI Physical and Data Link layers.
- Internet layer: Handles IP addressing and routing of packets (IP, ICMP, ARP). Corresponds to the OSI Network layer.
- Transport layer: Provides end-to-end communication using TCP (reliable, connection-oriented) and UDP (fast, connectionless).
- Application layer: Provides services to users (HTTP/HTTPS, FTP, SMTP, DNS, SSH). Combines the OSI Application, Presentation and Session layers.
Comparison of OSI and TCP/IP
| Basis | OSI | TCP/IP |
|---|---|---|
| Layers | 7 | 4 |
| Developed by | ISO | US Department of Defense (DARPA) |
| Nature | Theoretical reference model | Practical, used on the Internet |
| Approach | Model first, then protocols | Protocols first, then model |
| Session / Presentation | Separate layers | Merged into Application |
| Transport | Connection-oriented focus | TCP (connection-oriented) and UDP (connectionless) |
Example: When a user opens a website, HTTP works at the Application layer, TCP at the Transport layer, IP at the Internet layer and Ethernet or Wi-Fi at the Network Access layer.
TCP versus UDP: TCP is connection-oriented and provides ordered, reliable delivery with flow and congestion control. UDP sends datagrams without these built-in guarantees and has lower protocol overhead. Application requirements determine the choice.
TCP connection establishment: Client → server: SYN; server → client: SYN-ACK; client → server: ACK. The exchange synchronises initial sequence numbers and establishes connection state. It does not itself encrypt traffic or authenticate identities.
Q3. Explain transmission media with a case study.
Introduction
Data travels between devices through a physical path. Transmission media are the physical paths through which data travels from sender to receiver. The choice of medium affects speed, distance, cost and security.
Diagram:
Diagram loads when you reach it.
Diagram text
flowchart TD
T["Transmission media"] --> G["Guided (wired)"]
T --> U["Unguided (wireless)"]
G --> G1["Twisted pair"]
G --> G2["Coaxial cable"]
G --> G3["Optical fibre"]
U --> U1["Radio waves"]
U --> U2["Microwave<br/>(incl. satellite)"]
U --> U3["Infrared"]1. Guided (Wired) Media
- Twisted pair cable (UTP/STP): Pairs of copper wires twisted together to reduce interference; used in LANs (Cat5e/Cat6). Speed up to 1–10 Gbps over about 100 m. It can be tapped.
- Coaxial cable: A central copper core with metal shielding; used in cable TV and older LANs. Moderately secure.
- Optical fibre: Transmits data as light pulses through thin glass fibres. Very high speed and long distance. It is the most secure medium because it is very hard to tap and is not affected by electromagnetic interference.
2. Unguided (Wireless) Media
- Radio waves: Used in Wi-Fi, Bluetooth and mobile networks. Easily intercepted, so encryption (WPA2/WPA3) is needed.
- Microwave and satellite: Line-of-sight, long-distance communication. Signals can be intercepted.
- Infrared: Very short range, line of sight (TV remote). Hard to intercept from a distance.
Comparison Table
| Medium | Speed / range | Security |
|---|---|---|
| Twisted pair | Up to 10 Gbps, about 100 m | Can be tapped |
| Coaxial cable | Medium | Moderate |
| Optical fibre | Very high, long distance | Most secure |
| Radio waves | Short to long | Easily intercepted |
| Microwave / satellite | Long | Can be intercepted |
| Infrared | Very short | Hard to intercept |
Case Study – Choosing Media for a Bank Branch
A bank connects its branch to the head office using optical fibre because it is fast and very hard to tap. Inside the branch, staff PCs use twisted pair cables. Customer Wi-Fi is kept on a separate network with WPA3 encryption, so attackers using the wireless network cannot reach the bank's internal systems.
Q4. Explain network devices and their role in security, with a case study.
Introduction
Networks are built using hardware devices that connect computers and control the flow of data. Network devices operate at different OSI layers, and some of them also play an important security role by filtering or isolating traffic.
Network Devices
- Hub (Layer 1): Broadcasts incoming data to all ports. It is insecure because every connected device can see all traffic (sniffing).
- Repeater (Layer 1): Regenerates and amplifies weak signals to extend distance. It has no security function.
- Switch (Layer 2): Sends frames only to the port of the destination MAC address. It reduces sniffing and supports VLANs and port security.
- Bridge (Layer 2): Connects two LAN segments and filters traffic using MAC addresses.
- Router (Layer 3): Forwards packets between different networks using IP addresses. It supports access control lists (ACLs) and NAT.
- Modem (Layer 1): Converts digital signals to analog and back for ISP lines.
- Gateway (up to Layer 7): Connects networks that use different protocols and can filter traffic.
- Access point (Layer 2): Connects wireless devices to a wired LAN, with Wi-Fi encryption and authentication.
- Firewall (Layers 3–7): Filters traffic based on rules and is the main perimeter defence.
Hub vs Switch vs Router
| Basis | Hub | Switch | Router |
|---|---|---|---|
| Layer | Physical | Data Link | Network |
| Address used | None | MAC | IP |
| Sends data to | All ports | Only destination port | Best path to another network |
| Security | Low | Medium | Higher |
Case Study – College Lab
A college replaced its old hubs with switches after students used sniffing tools to capture others' login data. Each department was placed in a separate VLAN, and a router with ACLs and a firewall controlled access between the student network, the faculty network and the Internet. As a result, sniffing attacks stopped and unauthorised access to faculty systems was blocked.
Q5. Explain subnetting with the worked /26 example, and describe NAT.
Given: Network = 192.168.1.0/26 (class C, default /24).
To find: subnet mask, number of subnets, hosts per subnet and address ranges.
Formulae: Subnets = 2ⁿ; Hosts per subnet = 2ʰ − 2; Block size = 256 − last octet of mask.
Solution:
Step 1: Subnet mask. /26 = 26 ones → 11111111.11111111.11111111.11000000 = 255.255.255.192
Step 2: Borrowed bits. n = 26 − 24 = 2.
- Number of subnets = 2² = 4
- Host bits h = 32 − 26 = 6, so hosts per subnet = 2⁶ − 2 = 62
- Block size = 256 − 192 = 64
Step 3: Subnet ranges.
| Subnet | Network address | First usable host | Last usable host | Broadcast address |
|---|---|---|---|---|
| 1 | 192.168.1.0 | 192.168.1.1 | 192.168.1.62 | 192.168.1.63 |
| 2 | 192.168.1.64 | 192.168.1.65 | 192.168.1.126 | 192.168.1.127 |
| 3 | 192.168.1.128 | 192.168.1.129 | 192.168.1.190 | 192.168.1.191 |
| 4 | 192.168.1.192 | 192.168.1.193 | 192.168.1.254 | 192.168.1.255 |
Answer: Mask = 255.255.255.192; 4 subnets; 62 hosts per subnet; ranges as shown in the table.
Second example: Find the network and broadcast address of 192.168.10.75/27.
- /27 → mask 255.255.255.224; block size = 256 − 224 = 32.
- Multiples of 32: 0, 32, 64, 96 … 75 lies between 64 and 95.
- Network address = 192.168.10.64; Broadcast = 192.168.10.95; usable hosts = .65 to .94 (30 hosts).
Case study: A company with 4 departments (HR, Accounts, IT, Sales), each with fewer than 60 PCs, uses the four /26 subnets above. A firewall rule blocks Sales from accessing the Accounts subnet, so a virus in Sales cannot spread directly to financial systems.
Addressing and NAT: An IP address identifies a network interface; a subnet mask or prefix divides network and host portions. The numerical below assumes a /24 parent split into /26 subnets. NAT translates addresses: static NAT uses fixed mappings, dynamic NAT uses a pool, and PAT lets many private addresses share a public address using ports. NAT conserves IPv4 addresses; it is not a substitute for a firewall.
Q6. List common protocols with their uses and port numbers.
Definition: A protocol is a set of rules for communication, and a port number identifies the specific service on a device.
| Protocol | Full form | Port | Use | Secure version |
|---|---|---|---|---|
| HTTP | HyperText Transfer Protocol | 80 | Web pages | HTTPS (443) |
| HTTPS | HTTP Secure (HTTP over TLS) | 443 | Secure web | — |
| FTP | File Transfer Protocol | 20, 21 | File transfer | SFTP (22), FTPS |
| SSH | Secure Shell | 22 | Secure remote login | — |
| Telnet | Telecommunication Network | 23 | Remote login (plain text, insecure) | SSH |
| SMTP | Simple Mail Transfer Protocol | 25 (587 for submission) | Sending email | SMTP with TLS |
| POP3 | Post Office Protocol v3 | 110 | Downloading email | POP3S (995) |
| IMAP | Internet Message Access Protocol | 143 | Reading email on server | IMAPS (993) |
| DNS | Domain Name System | 53 | Domain name → IP address | DNSSEC |
| DHCP | Dynamic Host Configuration Protocol | 67, 68 | Automatic IP assignment | — |
| SNMP | Simple Network Management Protocol | 161 | Network device monitoring | SNMPv3 |
| ICMP | Internet Control Message Protocol | — (no port) | Error messages, ping | — |
| ARP | Address Resolution Protocol | — | IP → MAC address | — |
Example: When you open https://example.com, DNS (port 53) finds the IP address and HTTPS (port 443) loads the page securely.
Memory aid: "22 SSH, 23 Telnet, 25 SMTP, 53 DNS, 80 HTTP, 443 HTTPS" – say it aloud a few times.
Module 2: Cyber Security Foundations — 20 marks
Q7. Define cyber security and explain the CIA triad with a case study.
Introduction
Every security measure aims to protect information in some way. The CIA triad is the core model of information security. It consists of three principles – Confidentiality, Integrity and Availability – which together define what it means for information to be secure.
Diagram:
Diagram loads when you reach it.
Diagram text
flowchart TD
C["Confidentiality<br/>only authorised access"] --- I["Integrity<br/>accurate, unaltered"]
I --- A["Availability<br/>accessible when needed"]
A --- C1. Confidentiality
Confidentiality means that information is accessible only to authorised people.
Threats: data theft, sniffing, shoulder surfing.
Controls: encryption, passwords, access control, multi-factor authentication.
2. Integrity
Integrity means that information is accurate, complete and not altered without authorisation.
Threats: tampering, man-in-the-middle attacks, malware.
Controls: hashing, digital signatures, checksums, version control.
3. Availability
Availability means that information and systems are accessible to authorised users when needed.
Threats: DoS / DDoS attacks, hardware failure, ransomware.
Controls: backups, redundancy, DDoS protection, UPS.
Summary Table
| Principle | Meaning | Threat | Controls |
|---|---|---|---|
| Confidentiality | Only authorised access | Data theft, sniffing | Encryption, MFA, access control |
| Integrity | Accurate and unaltered | Tampering, MITM | Hashing, digital signatures |
| Availability | Accessible when needed | DoS, ransomware | Backups, redundancy |
Case Study – Online Banking
- Confidentiality: Customer account details are encrypted with HTTPS (TLS), and login requires a password and an OTP.
- Integrity: Transaction messages are protected with hashes and digital signatures, so an attacker cannot change ₹1,000 to ₹10,000 in transit.
- Availability: The bank uses redundant servers and DDoS protection, so customers can use the service 24×7.
If any one principle fails – leaked data, altered transactions or the website going down – security is broken.
Memory aid: Can I Access? – Confidentiality, Integrity, Availability.
Definition and need: Cyber security protects systems, networks and data against unauthorised access, disruption or misuse. Its goals include confidentiality, integrity and availability, supported by authentication, accountability and appropriate access control.
Q8. Explain ethical hacking, hacker types and the attack lifecycle.
Introduction
Attackers usually follow a planned sequence of steps to break into a system. Understanding these phases of hacking helps security professionals and ethical hackers detect and stop attacks at each stage. The five phases are Reconnaissance, Scanning, Gaining Access, Maintaining Access and Covering Tracks.
Diagram:
Diagram loads when you reach it.
Diagram text
flowchart TD
A["1. Reconnaissance<br/>gather information"] --> B["2. Scanning<br/>find open ports, weaknesses"]
B --> C["3. Gaining Access<br/>exploit a weakness"]
C --> D["4. Maintaining Access<br/>install backdoor"]
D --> E["5. Covering Tracks<br/>delete evidence"]1. Reconnaissance (Footprinting)
The attacker collects information about the target before attacking.
- Passive reconnaissance: no direct contact – Google search, social media, WHOIS lookup, company website.
- Active reconnaissance: direct contact – pinging systems, calling employees.
Defence: limit public information and train staff.
2. Scanning
The attacker uses tools to find live hosts, open ports, running services and vulnerabilities. Types include port scanning, network scanning and vulnerability scanning (tools such as Nmap and Nessus).
Defence: close unused ports, use firewalls and IDS.
3. Gaining Access
The attacker exploits a vulnerability to enter the system, using methods such as password cracking, SQL injection, buffer overflow or phishing.
Defence: regular patching, strong passwords, MFA and input validation.
4. Maintaining Access
The attacker keeps access for future use by installing backdoors, rootkits or Trojans, or by creating hidden accounts.
Defence: antivirus / EDR and monitoring for unknown accounts and processes.
5. Covering Tracks
The attacker hides evidence by deleting or modifying log files, hiding files, or using encryption and tunnelling.
Defence: central log servers and file integrity monitoring.
Example: An attacker finds an employee's email on LinkedIn (reconnaissance), scans the company server (scanning), sends a phishing email to steal a password (gaining access), installs a backdoor (maintaining access) and deletes logs (covering tracks).
Memory aid: "Really Smart Geeks Maintain Cover" – Reconnaissance, Scanning, Gaining access, Maintaining access, Covering tracks.
Authorisation and hacker types: Ethical hacking is testing with explicit permission, a defined scope and reporting obligations. White-hat work is authorised; black-hat activity is malicious; grey-hat activity may lack permission even when harm is not intended. The syllabus's phases describe an attack lifecycle. In an authorised assessment, document findings and preserve evidence; do not treat covering tracks as an instruction to erase audit records.
Q9. Explain the types of cryptography.
Introduction
Cryptography protects information by converting it into an unreadable form. Depending on how keys are used, cryptography is classified into three main types: Symmetric key cryptography, Asymmetric key cryptography and Hash functions.
1. Symmetric Key Cryptography (Secret Key)
In symmetric cryptography, the same key is used for both encryption and decryption.
Diagram loads when you reach it.
Diagram text
flowchart LR
P1["Plaintext"] --> E["Encrypt with Key K"] --> C["Ciphertext"] --> D["Decrypt with the SAME Key K"] --> P2["Plaintext"]Features:
- Fast and suitable for large amounts of data.
- The key must be shared secretly – the key distribution problem.
Algorithms: DES, 3DES, AES, Blowfish.
Example: Encrypting files on a laptop's hard disk using AES.
2. Asymmetric Key Cryptography (Public Key)
In asymmetric cryptography, a pair of keys is used: a public key (shared with everyone) and a private key (kept secret). Data encrypted with the receiver's public key can only be decrypted with the receiver's private key.
Diagram loads when you reach it.
Diagram text
flowchart LR
subgraph Sender
P1["Plaintext"] --> E["Encrypt with receiver's PUBLIC key"]
end
E --> C["Ciphertext"]
subgraph Receiver
D["Decrypt with receiver's PRIVATE key"] --> P2["Plaintext"]
end
C --> DFeatures:
- Solves the key distribution problem.
- Supports digital signatures and non-repudiation.
- Slower than symmetric cryptography.
Algorithms: RSA, ECC, Diffie–Hellman (key exchange).
Example: HTTPS websites use the server's public key during the TLS handshake.
3. Hash Functions
A hash function is a one-way function that produces a fixed-length digest from any input. It uses no key and cannot be reversed.
Uses: checking data integrity, storing passwords securely, digital signatures.
Algorithms: SHA-256; MD5 (now considered weak).
Example: A downloaded file's SHA-256 hash is compared with the website's published hash to confirm it was not altered.
Comparison Table
| Feature | Symmetric | Asymmetric | Hash function |
|---|---|---|---|
| Keys | One shared key | Public + private key | No key |
| Speed | Fast | Slow | Very fast |
| Main use | Bulk data encryption | Key exchange, digital signatures | Integrity, passwords |
| Example | AES | RSA | SHA-256 |
Q10. Explain the RSA algorithm with an example.
Introduction
RSA (named after Rivest, Shamir and Adleman, 1977) is the most widely used asymmetric (public key) encryption algorithm. It uses a public key for encryption and a private key for decryption. Its security depends on the difficulty of factoring a very large number into its two prime factors.
1. Key Generation
- Choose two large prime numbers, p and q.
- Compute n = p × q.
- Compute φ(n) = (p − 1)(q − 1).
- Choose e such that 1 < e < φ(n) and gcd(e, φ(n)) = 1.
- Compute d such that (d × e) mod φ(n) = 1 (d is the modular inverse of e).
- Public key = (e, n); Private key = (d, n).
2. Encryption and Decryption
3. Worked Example 1: p = 3, q = 11, message M = 4.
- n = 3 × 11 = 33
- φ(n) = 2 × 10 = 20
- Choose e = 3 (gcd(3, 20) = 1)
- Find d: 3 × d mod 20 = 1, so d = 7 (because 3 × 7 = 21 = 1 × 20 + 1)
- Public key = (3, 33); Private key = (7, 33)
- Encryption: C = 4³ mod 33 = 64 mod 33 = 31
- Decryption: M = 31⁷ mod 33 = 4 ✓
Shortcut for the decryption step: 31 ≡ −2 (mod 33). (−2)⁷ = −128. −128 mod 33 = −128 + 132 = 4 ✓
4. Worked Example 2: p = 5, q = 11, M = 9.
- n = 55, φ(n) = 4 × 10 = 40, e = 3, d = 27 (3 × 27 = 81 = 2 × 40 + 1)
- C = 9³ mod 55 = 729 mod 55 = 14 (55 × 13 = 715; 729 − 715 = 14)
- Decryption with d = 27 gives back M = 9.
Applications:
- Digital signatures.
- Secure key exchange.
- SSL/TLS certificates for HTTPS.
- Secure email.
Advantages:
- Solves the key distribution problem.
- Provides authentication and non-repudiation through digital signatures.
- Very secure when large primes (hundreds of digits) are used.
Limitations:
- Slow for encrypting large amounts of data.
- Requires long keys (2048 bits or more).
- Could be broken by future large quantum computers.
Q11. What is digital watermarking? Explain its types and uses. Compare it with cryptography.
Introduction
Digital content such as images, music and videos can be copied easily. Digital watermarking is the technique of embedding hidden or visible information (a watermark) into digital content to prove ownership or detect tampering. Unlike encryption, the content remains usable.
1. Types of Digital Watermarking
- Visible watermark: clearly seen, such as a logo on a photo or "SAMPLE" printed across a document.
- Invisible watermark: hidden in the data and detected only by software.
- Robust watermark: survives editing, compression and resizing; used for copyright protection.
- Fragile watermark: breaks when the content is changed; used to detect tampering (integrity).
2. Uses of Digital Watermarking
- Copyright protection: proving who owns the content.
- Proof of ownership in legal disputes.
- Tracking illegal copies (fingerprinting – a unique mark for each buyer).
- Authentication of documents and certificates.
- Broadcast monitoring of advertisements and programmes.
3. Comparison with Cryptography
| Basis | Cryptography | Watermarking |
|---|---|---|
| Goal | Hide the meaning of data (confidentiality) | Prove ownership / detect tampering |
| Content readable? | No – becomes ciphertext | Yes – content remains usable |
| Protection after decryption | Lost once decrypted | Stays embedded in the content |
| Key | Required | Optional (for detection) |
| Example | Encrypted bank message | Logo hidden in a photograph |
Advantages:
- Protects intellectual property.
- Helps trace the source of leaked content.
- Does not affect normal use of the content.
Limitations:
- Visible watermarks can be cropped or edited out.
- Strong editing may remove weak invisible watermarks.
Example: A photographer embeds an invisible watermark in images sold online; if a copy appears on another website, the watermark proves ownership.
Module 3: Information Security Management — 15 marks
Q12. Explain ISM, ISMS and its improvement cycle.
Introduction
Security cannot be achieved by technology alone; it needs a managed, continuous process. An ISMS (Information Security Management System) is a systematic, documented framework of policies, procedures and controls for managing information security risks. The international standard for an ISMS is ISO/IEC 27001, and it works through the PDCA (Plan–Do–Check–Act) cycle.
Diagram – PDCA Cycle:
Diagram loads when you reach it.
Diagram text
flowchart LR
P["1. PLAN<br/>scope, policy, risk assessment,<br/>choose controls"] --> D["2. DO<br/>implement controls,<br/>train staff"]
D --> C["3. CHECK<br/>monitor, measure, internal audit,<br/>management review"]
C --> A["4. ACT<br/>correct problems,<br/>improve the ISMS"]
A -- "continuous improvement" --> PWorking Procedure of an ISMS
1. Plan (Establish the ISMS)
- Define the scope – which departments and systems are covered.
- Write the information security policy.
- Identify assets, threats and vulnerabilities, and perform risk assessment.
- Select suitable controls (from ISO 27001 Annex A) and prepare a Statement of Applicability.
2. Do (Implement and Operate)
- Implement the selected controls – access control, encryption, backups, firewalls.
- Conduct security awareness training for employees.
- Document procedures.
3. Check (Monitor and Review)
- Monitor logs and security incidents and measure how well the controls work.
- Conduct internal audits and management reviews.
4. Act (Maintain and Improve)
- Take corrective and preventive actions for any problems found.
- Update policies and controls; the cycle then repeats.
Benefits of an ISMS:
- Systematic and consistent protection of information.
- Compliance with laws and regulations.
- Increased customer trust and ISO 27001 certification.
- Fewer security incidents through continuous improvement.
Example: An IT company gets ISO 27001 certification by defining its ISMS scope, assessing risks, implementing controls, auditing them every six months and improving weak areas.
ISM and ISMS: Information Security Management coordinates people, processes and technology to manage information risk. An ISMS is the organised system of policies, responsibilities, risk assessment, controls, review and continual improvement. It supports confidentiality, integrity, availability, accountability and business continuity.
Q13. What is a security policy? Explain its types and contents.
Introduction
Employees need clear rules about how to use and protect information. A security policy is a formal written document, approved by top management, that states the organisation's rules, responsibilities and expected behaviour for protecting its information assets. It is the foundation of all security measures.
1. Types of Security Policies
- Acceptable Use Policy (AUP): rules for proper use of computers, the Internet and email by employees.
- Password policy: rules for password length, complexity, change frequency and not sharing passwords.
- Access control policy: who can access what, based on least privilege; management of user accounts.
- Email and Internet policy: rules for attachments, website use and social media.
- Backup policy: what to back up, how often, where to store it and how to test restoration.
- Remote access / BYOD policy: rules for VPN use and personal devices at work.
- Incident response policy: steps to report and handle security incidents.
- Data classification policy: labels such as public, internal, confidential and secret.
2. Contents of a Security Policy
- Purpose and scope of the policy.
- Roles and responsibilities of management, IT staff and employees.
- Policy statements – the actual rules.
- Compliance requirements and penalties for violation.
- Review date and approval signature.
3. Characteristics of a Good Security Policy
- Clear, simple and easy to understand.
- Enforceable and practical.
- Supported by top management.
- Communicated to all employees.
- Reviewed and updated regularly.
Example policy statement: "Passwords must be at least 12 characters long, include letters, numbers and symbols, and must never be shared."
Q14. Explain security risk terminology and the risk management process.
Introduction
No organisation can remove every security risk, and resources are limited. Risk management is the process of identifying, assessing and controlling risks to information assets so that they are reduced to an acceptable level, with the most serious risks handled first.
Diagram:
Diagram loads when you reach it.
Diagram text
flowchart TD
A["1. Identify<br/>assets, threats, vulnerabilities"] --> B["2. Analyse<br/>likelihood × impact"]
B --> C["3. Evaluate<br/>rank and prioritise"]
C --> D["4. Treat<br/>avoid, reduce, transfer, accept"]
D --> E["5. Monitor and review"]
E -. continuous .-> ASteps of Risk Management
- Risk identification: List the assets, the threats they face and their vulnerabilities.
- Risk analysis: Estimate the likelihood and impact of each risk – qualitatively (High / Medium / Low) or quantitatively (expected loss in rupees).
- Risk evaluation: Rank the risks and decide which need action first.
- Risk treatment: Choose one of four options:
- Avoid: stop the risky activity (for example, do not store card numbers).
- Reduce / Mitigate: apply controls such as firewalls, patching and training.
- Transfer / Share: move the risk to another party through cyber insurance or outsourcing.
- Accept: accept low risks when control costs more than the possible loss.
- Monitoring and review: Risks change over time, so they must be reviewed regularly.
Risk Matrix
| Likelihood ↓ / Impact → | Low | Medium | High |
|---|---|---|---|
| High | Medium | High | Critical |
| Medium | Low | Medium | High |
| Low | Low | Low | Medium |
Example: An unpatched web server (vulnerability) facing ransomware (threat) has High likelihood and High impact, so the risk is Critical. It is treated by reducing the risk – patching immediately and keeping offline backups.
Memory aid for treatment: "ART-A" – Avoid, Reduce, Transfer, Accept.
Terms: An asset is something valuable; a threat is a potential cause of harm; a vulnerability is a weakness; risk concerns the likelihood and consequences of harm when a threat exploits a weakness.
Q15. What is an information security audit? Explain its types and process with a case study.
Introduction
Having security policies and controls is not enough; they must be checked regularly. An information security audit is a systematic, independent evaluation of an organisation's security policies, controls and systems to check whether they are effective and compliant with standards (such as ISO 27001) and laws.
1. Objectives of a Security Audit
- Identify weaknesses and vulnerabilities.
- Check compliance with policies, standards and laws.
- Verify that security controls are working properly.
- Recommend improvements.
2. Types of Security Audit
- Internal audit: carried out by the organisation's own audit team.
- External audit: carried out by an independent third party, such as for ISO 27001 certification (in India, CERT-In empanelled auditors).
- Compliance audit: checks adherence to laws and standards.
- Technical audit: includes vulnerability assessment and penetration testing (VAPT) and configuration review.
3. Audit Process
- Planning: define the scope, objectives, criteria and schedule.
- Information gathering: review policies, network diagrams and past incidents.
- Fieldwork / testing: conduct interviews, check configurations, access rights and logs, and run vulnerability scans.
- Analysis: compare findings with standards and rate the risks.
- Reporting: prepare an audit report with findings, risk levels and recommendations.
- Follow-up: check that the reported issues have been fixed.
Case Study – Audit of a College ERP System
- Scope: student records and fee payment module.
- Findings: ex-staff accounts still active; the admin password shared by three people; backups never tested; the server missing security patches.
- Risks: unauthorised changes to marks, data loss and ransomware.
- Recommendations: remove accounts within 24 hours of staff leaving; individual admin accounts with MFA; monthly backup restore tests; a monthly patch schedule.
- Follow-up after 3 months: all issues were closed except patching, which was given a new deadline.
Benefits of Auditing:
- Early detection of security weaknesses.
- Proof of compliance for regulators and customers.
- Improved trust and continuous improvement (the "Check" step of PDCA).
Module 4: Cyber Attacks — 20 marks
Q16. What is a cyber attack? Differentiate between passive and active attacks.
Introduction
As more services move online, computer systems face constant attacks. A cyber attack is any deliberate attempt to gain unauthorised access to, damage, disrupt or steal from computer systems, networks or data. Based on how the attacker behaves, attacks are classified as passive attacks and active attacks.
1. Passive Attack
In a passive attack, the attacker only observes or monitors communication without changing it. The aim is to obtain information. It threatens confidentiality.
Types:
- Eavesdropping / sniffing: capturing network traffic to read data.
- Traffic analysis: studying communication patterns (who talks to whom and how often), even when data is encrypted.
2. Active Attack
In an active attack, the attacker modifies, disrupts or creates data or system activity. It threatens integrity and availability.
Types:
- Masquerade (spoofing): pretending to be another user or system.
- Replay: capturing a valid message and resending it later.
- Modification of messages: altering data in transit (man-in-the-middle).
- Denial of Service: making services unavailable to genuine users.
Diagram:
Diagram loads when you reach it.
Diagram text
flowchart LR
subgraph Passive["Passive attack"]
direction LR
A1["A"] --> B1["B"]
X1["Attacker<br/>only listens"] -. copies traffic .- A1
end
subgraph Active["Active attack"]
direction LR
A2["A"] --> X2["Attacker<br/>changes / blocks / fakes data"] --> B2["B"]
endComparison Table
| Basis | Passive Attack | Active Attack |
|---|---|---|
| Action | Observes / monitors | Modifies / disrupts |
| Data changed? | No | Yes |
| Detection | Very difficult | Easier (system behaves abnormally) |
| Main defence | Prevention – encryption | Detection and recovery – IDS, backups |
| CIA affected | Confidentiality | Integrity, Availability |
| Examples | Sniffing, traffic analysis | Spoofing, replay, MITM, DoS |
Example: Capturing passwords on public Wi-Fi with a sniffing tool is a passive attack; changing the amount in an online payment request is an active attack.
Additional examples: Man-in-the-middle attacks intercept or manipulate communications; spoofing impersonates a trusted identity or address; password attacks attempt to obtain or guess credentials. Controls include authenticated encryption, appropriate access controls, strong unique passwords, MFA and monitoring.
Q17. What is malware? Explain its types.
Introduction
Many cyber attacks are carried out using harmful programs. Malware (malicious software) is any software intentionally designed to harm, exploit or gain unauthorised access to a computer system. Malware spreads through email attachments, infected downloads, USB drives and malicious websites.
Types of Malware
- Virus: Attaches itself to a host file or program and runs when the file is opened. It needs user action to spread. Effect: corrupts or deletes files.
- Worm: A standalone program that replicates itself across networks without user action. Effect: slows networks and spreads rapidly (WannaCry spread as a worm).
- Trojan horse: Appears to be useful software but hides malicious code. Effect: opens a backdoor for attackers.
- Ransomware: Encrypts the victim's files and demands payment (often in cryptocurrency) for the decryption key.
- Spyware: Secretly collects user information such as browsing habits and passwords.
- Keylogger: Records every keystroke to capture passwords and card details.
- Adware: Displays unwanted advertisements and slows the system.
- Rootkit: Hides deep inside the operating system to give hidden administrator control and conceal other malware.
- Botnet: A network of infected "zombie" computers controlled remotely, used for DDoS attacks and spam.
- Logic bomb: Malicious code that activates when a condition is met, such as a specific date.
Virus vs Worm vs Trojan
| Basis | Virus | Worm | Trojan |
|---|---|---|---|
| Needs host file | Yes | No | No (disguised program) |
| Self-replicates | Yes, via host | Yes, independently | No |
| Needs user action | Yes | No | Yes (user installs it) |
Prevention:
- Use updated antivirus / EDR software.
- Apply security patches regularly.
- Avoid pirated software and unknown attachments.
- Keep offline backups (especially against ransomware).
- Use least-privilege (non-admin) accounts.
Example: An employee opens a fake invoice attachment, which installs ransomware and encrypts the company's shared files.
Memory aid: Virus = Visitor that needs a host; Worm = Wanders alone; Trojan = Trick gift.
Q18. Explain phishing, social engineering and insider threats with prevention.
Introduction
Attackers often find it easier to trick people than to break technology. Phishing is a social engineering attack in which attackers send fake messages (email, SMS or calls) that appear to come from a trusted source in order to trick victims into revealing passwords, OTPs or card details, or into installing malware.
1. Types of Phishing
- Email phishing: mass fake emails, such as "Your account will be blocked – verify now".
- Spear phishing: targeted at a specific person or organisation using personal details.
- Whaling: spear phishing aimed at top executives such as the CEO or CFO.
- Smishing: phishing through SMS, such as "KYC pending, click this link".
- Vishing: voice phishing over phone calls, such as a fake bank officer asking for an OTP.
- Clone phishing: a copy of a genuine email in which the link is replaced with a malicious one.
- Pharming: redirecting users to a fake website by poisoning DNS.
2. Signs of Phishing
- Urgent or threatening language.
- Misspelt or mismatched sender addresses and URLs.
- Requests for OTP, PIN or password.
- Unexpected attachments or links.
- Poor grammar and offers that are too good to be true.
3. Prevention
- Never share OTPs, PINs or passwords – banks never ask for them.
- Check the URL and sender carefully, and type website addresses yourself.
- Use MFA, spam filters and email authentication (SPF, DKIM, DMARC).
- Provide security awareness training and phishing simulations.
- Report suspicious messages (in India: cybercrime.gov.in or helpline 1930).
Example: A student receives an SMS saying her electricity will be cut tonight unless she pays through a link; the link leads to a fake payment page that steals card details.
Social engineering and insider threats: Social engineering manipulates people through pretexting, baiting, impersonation, tailgating or phishing. Verify unusual requests through a trusted independent channel, limit access and train users. Insiders may be malicious, negligent or have compromised accounts. Reduce risk with least privilege, separation of duties, access reviews, prompt offboarding and monitored activity.
Q19. Explain Denial of Service (DoS) and Distributed DoS (DDoS) attacks with a diagram.
Introduction
Some attacks aim not to steal data but to stop a service from working. A Denial of Service (DoS) attack tries to make a server, website or network unavailable to genuine users by flooding it with traffic or exploiting a weakness. A Distributed DoS (DDoS) attack uses many compromised computers (a botnet) to attack the target at the same time. Both attack availability.
Diagram:
Diagram loads when you reach it.
Diagram text
flowchart TD
subgraph DoS["DoS – one source"]
A1["Attacker"] ==> S1["Server"]
end
subgraph DDoS["DDoS – many sources"]
A2["Attacker"] -- commands --> B1["Bot 1"] & B2["Bot 2"] & B3["Bot 3"] & B4["Bot 4"] & B5["Bot 5"]
B1 & B2 & B3 & B4 & B5 ==> T["Target server<br/>(overloaded)"]
end1. Common Types of DoS / DDoS Attacks
- SYN flood: many SYN requests are sent without completing the TCP three-way handshake.
- Ping (ICMP) flood / Ping of Death: overwhelming the target with ping packets or oversized packets.
- UDP flood: sending large numbers of UDP packets to random ports.
- HTTP flood: sending huge numbers of web requests (application layer attack).
- Amplification attack (such as DNS amplification): small requests trigger large responses that are directed at the victim.
2. DoS vs DDoS
| Basis | DoS | DDoS |
|---|---|---|
| Sources | One | Many (botnet) |
| Strength | Lower | Very high |
| Blocking | Easy (block one IP) | Difficult |
| Detection | Easier | Harder |
3. Prevention and Mitigation
- Firewalls and IPS rules to block malicious traffic.
- Rate limiting and SYN cookies.
- Load balancers and extra bandwidth.
- DDoS protection services and CDNs.
- Patching IoT devices and changing default passwords so they do not become bots.
Example: During a festival sale, an online shopping site is flooded with fake traffic from thousands of infected devices, making it unavailable to real customers.
Q20. What is SQL injection? Explain with an example and prevention.
Introduction
Most websites store data in databases and use SQL (Structured Query Language) to access it. SQL injection (SQLi) is a web application attack in which an attacker enters malicious SQL code into an input field (login box, search box or URL) so that the database runs unintended commands. It can expose, change or delete data and bypass login.
1. How SQL Injection Works
A vulnerable login page builds its query by joining user input directly:
SELECT * FROM users WHERE username = 'INPUT_USER' AND password = 'INPUT_PASS';If an attacker types ' OR '1'='1 into both the username and password fields, the query becomes:
SELECT * FROM users WHERE username = '' OR '1'='1' AND password = '' OR '1'='1';Because '1'='1' is always true, the condition returns rows and the attacker may log in without a valid password.
2. Effects of SQL Injection
- Authentication bypass (logging in without a password).
- Theft of data such as customer records and passwords.
- Modification or deletion of data.
- Complete compromise of the database.
3. Prevention
- Parameterised queries / prepared statements (most important) – user input is treated only as data, never as code:
cursor.execute("SELECT * FROM users WHERE username = %s AND password = %s",
(user, pwd))- Input validation – allow only expected characters and length.
- Careful use of stored procedures and ORM frameworks.
- Least privilege for the database account (no admin rights for the web application).
- A Web Application Firewall (WAF).
- Hide detailed database error messages from users.
- Store passwords as salted hashes, not plain text.
Example: An attacker enters a crafted string into a college result portal's roll-number box and is able to view the results of all students.
Q21. Discuss case studies of major cyber attacks.
Introduction
Studying real cyber attacks shows how attackers exploit weaknesses and what lessons organisations can learn. The following case studies cover ransomware, DDoS, data breaches and attacks on Indian organisations.
1. WannaCry Ransomware (May 2017)
- Type: ransomware that spread like a worm.
- How it happened: it exploited a vulnerability in Microsoft Windows SMBv1 (the "EternalBlue" exploit) on unpatched systems.
- Impact: hundreds of thousands of computers in about 150 countries were affected; the UK's National Health Service (NHS) had to cancel appointments.
- Lessons: apply security patches promptly, disable outdated protocols, keep offline backups and segment networks.
2. Mirai Botnet DDoS Attack on Dyn (October 2016)
- Type: DDoS attack using a botnet of infected IoT devices (cameras, routers).
- How it happened: Mirai malware logged into IoT devices using default usernames and passwords.
- Impact: the attack on DNS provider Dyn made major websites such as Twitter, Netflix and Amazon hard to reach for users in parts of the US and Europe.
- Lessons: change default passwords, update IoT firmware and use DDoS protection.
3. Equifax Data Breach (2017)
- Type: data breach through a web application vulnerability.
- How it happened: attackers exploited a known flaw in Apache Struts that had not been patched for months.
- Impact: personal data (names, Social Security numbers, birth dates) of about 147 million people was exposed.
- Lessons: timely patch management, vulnerability scanning, network segmentation and encryption of sensitive data.
4. Cosmos Bank Cyber Attack, Pune (August 2018)
- Type: malware attack on the bank's ATM switch system combined with cloned cards.
- Impact: about ₹94 crore was withdrawn through ATMs in many countries and transferred abroad within two days.
- Lessons: real-time monitoring of payment systems, strong network segmentation and incident response planning.
5. AIIMS Delhi Ransomware Attack (November 2022)
- Type: ransomware attack on hospital servers.
- Impact: the hospital's digital services were disrupted for about two weeks, and staff had to work manually.
- Lessons: regular backups, network segmentation, updated systems and stronger cyber security for critical infrastructure such as healthcare.
Summary Table
| Attack | Year | Type | Main lesson |
|---|---|---|---|
| WannaCry | 2017 | Ransomware worm | Patch systems promptly |
| Mirai (Dyn) | 2016 | IoT botnet DDoS | Change default passwords |
| Equifax | 2017 | Data breach | Patch management |
| Cosmos Bank | 2018 | ATM switch malware | Real-time monitoring |
| AIIMS Delhi | 2022 | Ransomware | Backups and segmentation |
Exam tip: For a 10-mark answer, explain any two or three cases using the same headings – type, how it happened, impact and lessons.
Module 5: Technological Aspects — 25 marks
Q22. What is a firewall? Explain its types and the concept of DMZ.
Introduction
Every network connected to the Internet needs a guard at its entrance. A firewall is a hardware device or software program that monitors and controls incoming and outgoing network traffic according to a set of security rules. It acts as a barrier between a trusted internal network and an untrusted external network such as the Internet.
Diagram:
Diagram loads when you reach it.
Diagram text
flowchart LR
I["Internet<br/>(untrusted)"] --> F{"FIREWALL<br/>checks rules:<br/>allow / deny"} --> L["Internal LAN<br/>(trusted)"]1. Types of Firewalls
- Packet filtering firewall: checks each packet's header – source/destination IP address, port and protocol – against rules. It works at the network layer. It is fast but cannot see packet contents.
- Stateful inspection firewall: keeps track of the state of active connections and allows only packets that belong to a valid connection. More secure than simple packet filtering.
- Application-level gateway (proxy firewall): works at the application layer; it acts as an intermediary that inspects the actual content of requests (for example HTTP, FTP).
- Circuit-level gateway: works at the session layer and checks that the TCP handshake is valid, without inspecting the data.
- Next-Generation Firewall (NGFW): combines stateful inspection with deep packet inspection, application awareness and an intrusion prevention system.
2. DMZ (Demilitarised Zone)
A DMZ is a separate network segment placed between the Internet and the internal network. Public-facing servers (web, mail, DNS) are kept in the DMZ, so that if they are attacked, the internal network stays protected.
Diagram loads when you reach it.
Diagram text
flowchart LR
I["Internet"] --> F1["Firewall 1"] --> D["DMZ<br/>Web / Mail / DNS servers"] --> F2["Firewall 2"] --> L["Internal LAN"]Advantages:
- Blocks unauthorised access from outside.
- Allows control and logging of traffic.
- Can hide internal IP addresses (NAT).
Limitations:
- Cannot stop insider attacks or attacks through allowed traffic (such as phishing emails).
- Wrong rules can block genuine users or leave gaps.
- Simple firewalls cannot detect malware inside encrypted traffic.
Comparison Table
| Type | OSI layer | Checks | Security level |
|---|---|---|---|
| Packet filtering | Network | Header (IP, port) | Low |
| Stateful | Network / Transport | Connection state | Medium |
| Circuit-level | Session | TCP handshake | Medium |
| Proxy | Application | Full content | High |
| NGFW | All | Content, apps, threats | Very high |
Example: A college firewall allows students to browse websites (port 443) but blocks incoming connections to the internal exam database.
Q23. Compare IDS and IPS, and explain honeypots.
Introduction
A firewall can block known bad traffic, but some attacks still get through. An Intrusion Detection System (IDS) monitors network or system activity and alerts administrators about suspicious behaviour. An Intrusion Prevention System (IPS) does the same but also automatically blocks the attack.
1. Types of IDS / IPS (based on location)
- Network-based (NIDS / NIPS): monitors traffic across the whole network segment. Example: Snort, Suricata.
- Host-based (HIDS / HIPS): installed on an individual computer or server; monitors files, logs and processes on that host.
2. Types of IDS (based on detection method)
- Signature-based detection: compares activity with a database of known attack patterns (signatures).
- Advantage: accurate for known attacks, few false alarms.
- Limitation: cannot detect new (zero-day) attacks.
- Anomaly-based detection: builds a model of normal behaviour and flags anything unusual.
- Advantage: can detect new attacks.
- Limitation: more false positives.
Diagram:
Diagram loads when you reach it.
Diagram text
flowchart LR
subgraph IDS["IDS – passive, out of line"]
direction LR
I1["Internet"] --> F1["Firewall"] --> L1["LAN"]
F1 -. copy of traffic .-> D["IDS"] --> AL["Alert"]
end
subgraph IPS["IPS – active, in line"]
direction LR
I2["Internet"] --> F2["Firewall"] --> P["IPS<br/>blocks bad packets"] --> L2["LAN"]
endComparison Table
| Basis | IDS | IPS |
|---|---|---|
| Function | Detects and alerts | Detects and blocks |
| Placement | Out of line (monitors a copy) | In line (traffic passes through) |
| Nature | Passive | Active |
| Effect on network | No delay | Small delay |
| Risk | Attack may succeed before response | False positive may block genuine traffic |
Example: An IPS notices thousands of login attempts per minute from one IP address and blocks that address automatically.
Memory aid: IDS = Smoke alarm (warns); IPS = Sprinkler (acts).
Honeypots: A honeypot is an isolated decoy designed to attract suspicious activity for detection and analysis. Low-interaction versions simulate services; high-interaction versions provide more realistic environments. They supplement monitoring and must be isolated so they cannot become an attack platform.
Honeypot deployment and limits: Place a decoy where its activity can be logged and isolated from production assets. Low-interaction honeypots simulate a limited set of services and are easier to contain; high-interaction honeypots allow deeper observation but require stronger containment and monitoring. They can reveal reconnaissance and attack patterns, but only activity reaching the decoy is observed. They do not replace endpoint protection, patching, IDS/IPS or incident response.
Q24. Explain VPNs, MFA and defence in depth.
Introduction
When data travels over public networks such as the Internet or café Wi-Fi, it can be intercepted. A Virtual Private Network (VPN) creates a secure, encrypted "tunnel" over a public network, so that data travels privately as if on a private network.
1. Working of a VPN
- The user's device runs VPN client software and connects to a VPN server.
- Both sides authenticate each other.
- Data is encrypted and wrapped inside another packet (tunnelling).
- The VPN server decrypts the data and forwards it to the destination; the user's real IP address is hidden.
Diagram loads when you reach it.
Diagram text
flowchart LR
U["User"] == "encrypted tunnel over the Internet" ==> V["VPN server"] --> O["Office network / website"]2. Types of VPN
- Remote access VPN: connects an individual user (such as an employee working from home) to the organisation's network.
- Site-to-site VPN: connects two or more office networks over the Internet (for example a head office and a branch).
- SSL/TLS VPN: works through a web browser using HTTPS; no special client is needed.
- IPsec VPN: secures traffic at the network layer, commonly used for site-to-site links.
Advantages:
- Confidentiality of data through encryption.
- Secure remote working.
- Hides the user's IP address and location.
- Cheaper than leased private lines for connecting offices.
Limitations:
- Encryption may reduce speed.
- The VPN provider can see traffic, so a trusted provider is required.
- Does not protect against malware or phishing.
Example: A bank employee working from home connects through the company VPN to securely access internal systems.
Multi-factor authentication: MFA combines different factor categories: something known (password), possessed (security key) or inherent (biometric). Two passwords are not two factors. Require suitable MFA for remote access and privileged accounts. Defence in depth combines access controls, patching, segmentation, detection, backups and response; no single tool is sufficient.
MFA example and limitation: A password plus a hardware security key combines knowledge and possession. A password plus a PIN remains one factor category. MFA reduces the risk from a stolen password, but a stolen session, unsafe recovery process or successful phishing may still bypass some implementations. Protect enrolment and recovery as well as login; use independent access controls and monitoring alongside MFA.
Q25. Explain TLS and compare it with IPsec.
Introduction
When we see https:// and a padlock icon in a browser, the connection is protected by TLS. SSL (Secure Sockets Layer) and its modern successor TLS (Transport Layer Security) are protocols that provide secure communication between a client (browser) and a server over the Internet. SSL is now outdated; current websites use TLS 1.2 or TLS 1.3.
1. Services Provided by TLS
- Confidentiality: data is encrypted (symmetric encryption such as AES).
- Integrity: message authentication codes detect any change in data.
- Authentication: the server proves its identity with a digital certificate issued by a Certificate Authority (CA).
2. TLS Handshake (conceptual, not an exact TLS 1.3 message sequence)
- Client Hello: the browser sends the TLS versions and cipher suites it supports, plus a random number.
- Server Hello: the server chooses the version and cipher suite and sends its random number.
- Certificate: the server sends its digital certificate containing its public key.
- Certificate verification: the browser checks that the certificate is valid and signed by a trusted CA.
- Key exchange: the key-establishment method depends on the TLS version and chosen suite. A modern certificate-based handshake commonly uses ephemeral Diffie–Hellman; RSA key transport is a legacy option and is not used in TLS 1.3. The parties derive symmetric traffic keys.
- Finished: both sides confirm the handshake, and all further data is encrypted with the symmetric session key.
Diagram:
Diagram loads when you reach it.
Diagram text
sequenceDiagram
participant C as Client (Browser)
participant S as Server
C->>S: 1. Client Hello
S->>C: 2. Server Hello
S->>C: 3. Certificate
Note over C: 4. Verify certificate
C->>S: 5. Key exchange
C->>S: 6. Finished
S->>C: 6. Finished
Note over C,S: Encrypted data using the session keyComparison Table
| Basis | SSL | TLS |
|---|---|---|
| Status | Outdated, insecure | Current standard |
| Versions | SSL 2.0, 3.0 | TLS 1.2, 1.3 |
| Security | Weak algorithms | Stronger algorithms, faster handshake (1.3) |
Example: When a student logs in to an online banking site, TLS encrypts the username and password so that no one on the network can read them.
Memory aid: Handshake steps – "Hello, Hello, Certificate, Check, Key, Finish".
SSL, TLS and IPsec: SSL is obsolete; TLS protects application communications such as HTTPS. IPsec protects IP traffic using AH for integrity/authentication and ESP for encryption and/or integrity, depending on configuration. Transport mode protects the payload of an IP packet; tunnel mode encapsulates an entire original IP packet, commonly for VPNs. IKE negotiates security associations and keys. TLS and IPsec operate at different layers.
Q26. Explain Emerging Technologies in Cyber Security: AI, Blockchain and Quantum Cryptography.
Introduction
Emerging technologies are advanced technologies that improve the way computer systems, networks and data are protected from cyber threats. Three important emerging technologies in cyber security are Artificial Intelligence (AI), Blockchain and Quantum Cryptography. These technologies help detect cyberattacks, secure digital transactions, protect sensitive information and strengthen overall network security.
1. Artificial Intelligence (AI) in Cyber Security
Artificial Intelligence refers to the ability of computer systems to perform tasks that normally require human intelligence, such as learning, reasoning and decision-making.
Applications of AI in Cyber Security:
- Threat Detection: AI analyses large amounts of network data to identify suspicious activities and potential cyberattacks.
- Malware Detection: AI identifies malicious software by recognising unusual patterns and behaviour.
- Intrusion Detection: AI monitors network traffic and detects unauthorised access attempts.
- Phishing Detection: AI identifies suspicious emails, fake websites and fraudulent messages.
- Automated Response: AI-powered security systems can automatically block malicious IP addresses, isolate infected devices and alert security teams.
- User Behaviour Analysis: AI detects unusual login locations, abnormal access patterns and suspicious user activities.
Advantages:
- Detects threats quickly and efficiently.
- Can analyse large volumes of data in real time.
- Automates repetitive security tasks.
- Helps identify previously unknown attack patterns.
Limitations:
- Requires high-quality training data and computing resources.
- Attackers can also use AI to create sophisticated cyberattacks.
- Incorrect predictions may produce false alarms or miss threats.
Example: An AI-powered security system detects an unusual login attempt from a foreign location and flags it as suspicious.
2. Blockchain in Cyber Security
Blockchain is a distributed digital ledger that stores information in blocks linked together using cryptographic techniques. Once data is recorded and confirmed, altering it is designed to be difficult without detection or network agreement.
Applications of Blockchain in Cyber Security:
- Data Integrity: Cryptographic hashes help detect unauthorised changes to stored data.
- Secure Transactions: Blockchain supports the verification and recording of digital transactions.
- Decentralised Security: Distributed records reduce dependence on a single central database.
- Identity Management: Blockchain can support secure digital identity verification and credential management.
- Supply Chain Security: It helps track the origin and movement of products, software components and digital records.
- Audit Trails: Blockchain provides a traceable record of transactions and changes, supporting security audits.
Advantages:
- Makes unauthorised data modification easier to detect.
- Provides transparent and traceable records.
- Reduces reliance on a single central authority.
- Uses cryptographic mechanisms to protect records.
Limitations:
- Some blockchain networks consume significant energy.
- Transaction processing may be slow or expensive.
- Private keys must be protected carefully.
- Blockchain does not automatically guarantee that the original data entered was correct.
Example: An organisation uses blockchain to maintain tamper-evident records of important transactions and verify whether records have been altered.
3. Quantum Cryptography in Cyber Security
Quantum cryptography uses principles of quantum physics to secure communication. One of its most important applications is Quantum Key Distribution (QKD), which allows two parties to establish a shared encryption key while detecting certain types of eavesdropping.
Applications of Quantum Cryptography in Cyber Security:
- Secure Key Distribution: QKD enables two parties to establish shared cryptographic keys securely.
- Eavesdropping Detection: Measuring quantum states can disturb them, potentially revealing an interception attempt.
- Protection of Sensitive Data: It can support secure communications for governments, banks and research organisations.
- Secure Communication Networks: It can be used in specialised communication links where strong key security is required.
- Future Quantum Threats: Quantum-resistant (post-quantum) cryptographic algorithms are being developed to protect conventional systems against attacks using powerful quantum computers; NIST published its first post-quantum standards in 2024.
Advantages:
- Provides a physics-based approach to detecting interception during key distribution.
- Can strengthen the security of highly sensitive communications.
- Addresses certain risks associated with future quantum computing capabilities.
Limitations:
- Requires specialised equipment and communication infrastructure.
- Can be expensive to deploy and maintain.
- Has practical distance and implementation constraints.
- QKD does not protect against every cyberattack or automatically secure the entire communication system.
Example: A government organisation uses a QKD system to establish encryption keys for a sensitive communication link.
Comparison of the Three Technologies
| Feature | Artificial Intelligence | Blockchain | Quantum Cryptography |
|---|---|---|---|
| Main purpose | Detect and respond to cyber threats | Maintain tamper-evident records | Secure cryptographic key distribution |
| Working principle | Machine learning and data analysis | Distributed ledger and cryptographic hashes | Principles of quantum physics |
| Major application | Malware and intrusion detection | Secure records and digital transactions | Secure communication |
| Main limitation | False alarms and AI-powered attacks | Key management and scalability | High cost and specialised hardware |
Additional answers for syllabus depth
These expand topics that were too brief in the condensed set. Existing question numbers are unchanged.
Q27. Explain NAT, static/dynamic translation and PAT with an example.
Definition: NAT (Network Address Translation) is a technique used by a router to translate private IP addresses inside a network into a public IP address for the Internet, and back again.
Diagram loads when you reach it.
Diagram text
flowchart LR
subgraph LAN["Private network"]
P1["PC1 192.168.1.2"]
P2["PC2 192.168.1.3"]
P3["PC3 192.168.1.4"]
end
N["NAT router<br/>inside: 192.168.1.1<br/>outside: 203.0.113.5"]
P1 --> N
P2 --> N
P3 --> N
N --> W["Internet / web server<br/>(sees only 203.0.113.5)"]Types:
- Static NAT: one private IP is mapped to one fixed public IP (used for servers).
- Dynamic NAT: private IPs are mapped to a pool of public IPs.
- PAT (Port Address Translation) / NAT overload: many private IPs share one public IP using different port numbers (common in home routers).
Private IP ranges: 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16.
Security limitation: Address translation can conceal internal addressing and changes how inbound connections are mapped, but NAT is not an authentication system or a replacement for firewall policy. Port forwarding and existing mappings affect reachability. Its main practical benefit is conserving public IPv4 addresses.
Example: A home Wi-Fi router lets a phone, laptop and TV share one public IP address provided by the ISP.
Q28. What is social engineering? Explain its techniques.
Introduction
Even the strongest technical security can be bypassed if a person is tricked. Social engineering is the art of manipulating people – rather than hacking technology – into revealing confidential information or performing actions that compromise security. It exploits human trust, fear, urgency and curiosity.
Techniques of Social Engineering
- Phishing / Vishing / Smishing: fake emails, phone calls or SMS messages. Example: "Your SIM will be blocked, share the OTP."
- Pretexting: creating a false story (pretext) to obtain information. Example: a caller pretends to be from the IT help desk.
- Baiting: leaving infected USB drives or offering free downloads. Example: a USB drive labelled "Salary list 2026" left in the office.
- Quid pro quo: offering a service in exchange for information. Example: "free tech support" in exchange for login details.
- Tailgating / Piggybacking: following an authorised person into a restricted area. Example: walking in behind an employee with an ID card.
- Shoulder surfing: watching someone type a PIN or password. Example: at an ATM or in a café.
- Dumpster diving: searching rubbish for documents and notes. Example: finding printed passwords in the bin.
- Impersonation: pretending to be an authority figure. Example: a fake "CEO" email asking for an urgent fund transfer.
Prevention
- Regular security awareness training.
- Verify identity through a separate, trusted channel before sharing information.
- Clear policies: never share passwords or OTPs, use visitor badges, prevent tailgating.
- Shred sensitive documents and follow a clean desk policy.
- Encourage employees to report suspicious requests.
Example: An accounts clerk receives an urgent email that appears to be from the CEO asking for a ₹5 lakh transfer; she verifies by phone and discovers it is fake.
Defence principle: Combine usable processes, verification, training and technical controls; do not rely on blaming individual users.
Q29. What are insider threats? Explain their types and prevention.
Definition: An insider threat is a security risk that comes from people inside the organisation – employees, former employees, contractors or partners – who have legitimate access to systems and data.
Types:
- Malicious insider: intentionally steals data or causes damage (for revenge or money).
- Negligent (careless) insider: causes harm by mistake (clicking phishing links, losing a laptop, using weak passwords).
- Compromised insider: an employee whose account is taken over by an outside attacker.
Prevention:
- Least privilege and role-based access control.
- Separation of duties so no single person controls a whole critical process.
- Monitoring and logging of user activity; Data Loss Prevention (DLP) tools.
- Immediate removal of access when employees leave.
- Background checks, awareness training and a clear reporting culture.
Example: A sales employee copies the customer database to a pen drive before joining a competitor.
Q30. Explain IPsec, its protocols and modes.
IPsec is a suite for protecting IP-layer traffic. The protections depend on the protocol and configuration.
| Component | Purpose |
|---|---|
| AH | Packet integrity and origin authentication, with anti-replay support; no confidentiality |
| ESP | Payload protection with encryption and/or integrity/authentication, depending on configuration |
| IKE | Authenticates peers and negotiates security associations and keying material |
Transport mode: The original IP header remains; ESP protects the carried payload. It is often used between hosts. AH also authenticates selected header fields.
Tunnel mode: An entire original IP packet is encapsulated inside a new packet. With ESP encryption, the inner packet is hidden; the new outer header remains visible so routers can deliver it.
Working sequence: Identify traffic requiring protection → establish security associations → protect outbound packets → verify/decrypt at the receiving endpoint → deliver the original traffic.
Example: Two branch gateways use an ESP tunnel to protect traffic crossing the public network. Endpoints and gateways still need their own access controls.
TLS comparison: TLS secures application communication sessions; IPsec protects selected IP traffic at the network layer.
Syllabus coverage checklist
Checked against the supplied sem723.pdf theory syllabus on . This maps the listed content topics to answers; it is not a prediction of exam questions or marks for any individual answer.
| Module | Listed syllabus topics | Answers |
|---|---|---|
| M1 | Networking introduction; OSI and detailed TCP/IP framework | Q1–Q2 |
| M1 | Transmission media and network devices with case studies | Q3–Q4 |
| M1 | Subnet masking with worked case; TCP three-way handshake | Q5, Q2 |
| M1 | NAT and protocols with uses | Q27, Q6 |
| M2 | Cyber security definition and CIA triad with case study | Q7 |
| M2 | Hacking/ethical hacking; hacker types; five attack phases | Q8 |
| M2 | Cryptography types, symmetric/asymmetric distinction and RSA | Q9–Q10 |
| M2 | Watermarking and uses | Q11 |
| M3 | ISM, information-security goals and ISMS procedure | Q7, Q12 |
| M3 | Policies, risk management and audit with case study | Q13–Q15 |
| M4 | Passive/active attacks and malware | Q16–Q17 |
| M4 | Phishing, DoS/DDoS and SQL injection | Q18–Q20 |
| M4 | Social engineering and insider threats | Q28–Q29 |
| M4 | Major attack case studies and lessons | Q21 |
| M5 | Firewalls; IDS/IPS and intrusion detection | Q22–Q23 |
| M5 | VPNs; SSL/TLS; IPsec | Q24–Q25, Q30 |
| M5 | Honeypots and multi-factor authentication | Q23–Q24 |
| M5 | AI, blockchain and quantum cryptography | Q26 |