Follow Us
Select Medium / माध्यम चुनें:
Eng (English) Beng (বাংলা) Hindi (हिन्दी)
WBB • Class XII • Computer Science • Ch 6
Estimated Time: 120 mins
Study Progress: In Progress

Computer Security and Ethics

Computer Security and Ethics encompasses the protective measures, algorithmic protocols, moral principles, and legal frameworks designed to safeguard hardware, software, network infrastructure, and digital data from unauthorized access, malicious corruption, disruption, and cyber crimes. This comprehensive curriculum explores the core tenets of information security—Confidentiality, Integrity, and Availability (the CIA Triad)—alongside vulnerabilities, threats, exploits, and extensive malware taxonomy including parasitic Viruses, autonomous Worms, deceptive Trojan Horses, extortionate Ransomware, Spyware, and Rootkits. Students examine active and passive network attacks such as Packet Sniffing, Spoofing, Man-in-the-Middle (MitM), Denial of Service (DoS/DDoS), and Social Engineering vectors like Phishing and Identity Theft. Defense mechanisms are studied in depth, including Stateless and Stateful Firewalls, Intrusion Detection and Prevention Systems (IDS/IPS), Antivirus heuristic scanners, and Multi-Factor Authentication (MFA). The mathematical foundations of Cryptography cover Symmetric ciphers (AES, DES), Asymmetric public-key algorithms (RSA), Cryptographic Hash functions (SHA-256), Digital Signatures, and Public Key Infrastructure (PKI/TLS). Finally, the domain investigates ethical computing guidelines including the Ten Commandments of Computer Ethics, Intellectual Property Rights (Copyrights, Patents, Trademarks), Free and Open Source Software (FOSS/GPL), and statutory cyber jurisprudence under India's Information Technology (IT) Act, 2000 and 2008 amendments.

Why This Chapter Matters

In our hyper-connected digital society, critical national infrastructure, banking systems, personal identities, and healthcare records operate entirely on networked computational substrates. The catastrophic proliferation of state-sponsored cyber warfare, automated ransomware syndicates, and widespread algorithmic surveillance makes robust cybersecurity engineering an existential necessity. Mastery of cryptographic integrity, defensive perimeter security, ethical computing practices, and cyber legislation empowers software developers and computer scientists to engineer resilient, legally compliant, and trustworthy systems capable of repelling sophisticated cyber adversaries.

Chapter Roadmap & Progression

1 Module 1: Threats to Computer Secur...
2 Module 2: Network Attacks, Social E...
3 Module 3: Security Mechanisms, Fire...
4 Module 4: Cryptography, Symmetric v...
5 Module 5: Computer Ethics, Intellec...
6 Module 6: Cyber Law, Information Te...

Complete Concept Guide (100% Curriculum Coverage)

Module 1: Threats to Computer Security, Vulnerabilities & Malware Taxonomy

1.1 The CIA Triad & Fundamentals of Cybersecurity

Computer Security protects digital assets against adversarial compromise by upholding the three pillars of the CIA Triad:

Security Pillar Definition & Objective Primary Threats Protective Countermeasures
Confidentiality (C) Ensures sensitive data is accessible solely to authorized individuals and entities. Eavesdropping, Snooping, Data exfiltration, Man-in-the-Middle. Encryption (AES, RSA), Access Control Lists, Multi-Factor Authentication.
Integrity (I) Guarantees data accuracy and completeness; prevents unauthorized modification or deletion. Unauthorized file alterations, Database tampering, Session hijacking. Cryptographic Hashing (SHA-256), Digital Signatures, Checksums.
Availability (A) Ensures authenticated users have timely, uninterrupted access to computational resources. Denial of Service (DoS/DDoS), Ransomware locking, Hardware failures. Redundant servers, Load balancers, Automated off-site backups, UPS systems.
1.2 Comprehensive Malware Taxonomy

Malware (Malicious Software) refers to any hostile computer program designed to damage, exploit, or infiltrate systems:

Malware Type Host Requirement Propagation Mechanism Impact & Real-World Examples
Computer Virus Requires a host executable file (.exe, .com, macro). Propagates only when the infected host program is executed by a human user. Corrupts files, consumes memory, alters boot sectors (e.g., CIH/Chernobyl, Melissa).
Computer Worm Standalone program (NO host file required). Self-replicating across networks via system vulnerabilities without human intervention. Exhausts network bandwidth, overloads servers, creates massive congestion (e.g., Morris Worm, ILOVEYOU).
Trojan Horse Masquerades as legitimate, useful software (games, utilities). Does NOT self-replicate; relies on user deceit to download and install. Opens unauthorized backdoors (Remote Access Trojans - RATs) allowing hacker control (e.g., Zeus, NetBus).
Ransomware Infiltrates via phishing emails, malicious downloads, or drive-by exploits. May spread locally via network shares and SMB exploits. Encrypts user files with military-grade ciphers and demands cryptocurrency ransom for decryption keys (e.g., WannaCry, CryptoLocker).
Spyware & Keyloggers Installed silently alongside free software or via web browser exploits. Covert background execution without alerting the user. Monitors user activity, logs keystrokes to steal passwords and banking credentials, transmits data to attacker.
Critical Distinction: A Virus is parasitic and depends strictly on human execution of an infected host file to spread. A Worm is independent and autonomous, reproducing and propagating automatically across network interfaces without any human involvement.

Module 2: Network Attacks, Social Engineering & Cyber Crimes

2.1 Active vs. Passive Network Attacks

Network security breaches are broadly classified by whether the adversary alters data or simply monitors transmission channels:

Attack Classification Modus Operandi Detectability Prominent Examples
Passive Attacks Monitors, intercepts, and reads unencrypted communications without altering data packets or system states. Extremely difficult to detect because system operations remain normal. Eavesdropping, Packet Sniffing (Wireshark in promiscuous mode), Traffic Analysis.
Active Attacks Alters transmitted data streams, injects malicious code, modifies routing tables, or disables services. Easier to detect due to abnormal resource consumption, error logs, or service outages. Man-in-the-Middle (MitM), DoS/DDoS floods, ARP Spoofing, Session Hijacking, SQL Injection.
2.2 Denial of Service (DoS) vs. Distributed Denial of Service (DDoS)
  • DoS Attack: A single attacking machine overwhelms a targeted server's CPU, memory, or network bandwidth with malicious requests (e.g., SYN Flood, Ping of Death), preventing legitimate clients from accessing services.
  • DDoS Attack: The adversary commands a globally distributed network of compromised, malware-infected machines (termed Zombies or a Botnet) to simultaneously bombard the victim. Because traffic originates from thousands of disparate IP addresses, filtering and mitigation are exponentially harder.
2.3 Social Engineering Vectors: Phishing & Identity Theft
  • Phishing: Fraudulent emails, clone websites, or spoofed messages impersonating legitimate organizations (banks, schools) to trick victims into revealing passwords or credit card numbers.
    • Spear Phishing: Highly targeted phishing aimed at a specific individual or organization.
    • Whaling: Phishing targeting high-profile executive leadership (CEOs, CFOs).
    • Vishing & Smishing: Voice call phishing and SMS-based phishing respectively.
  • Identity Theft: The deliberate use of someone else's personal identifying information (Aadhaar, Social Security, bank details) without authorization to commit financial fraud, take loans, or perpetrate crimes under their name.

Module 3: Security Mechanisms, Firewalls, IDS/IPS & Multi-Factor Access Control

3.1 Firewalls: Architectures & Inspection Methodologies

A Firewall is a network security barrier positioned between an internal trusted private network and an untrusted external network (such as the Internet) that inspects all incoming and outgoing traffic according to configured security rules:

Firewall Type Operating OSI Layer Inspection Criteria Key Characteristics
Packet Filtering (Stateless) Network & Transport (Layers 3 & 4) Source/Destination IP address, Port numbers, Protocol type (TCP/UDP). Fast, low overhead; evaluates each packet independently without memory of ongoing connections.
Stateful Packet Inspection (SPI) Network, Transport & Session (Layers 3, 4, 5) State table tracking active connections (TCP Handshake SYN/ACK sequences). Blocks unsolicited inbound packets; admits response packets matching existing internal outbound sessions.
Application Gateway (Proxy) Application Layer (Layer 7) Payload contents, URLs, HTTP headers, commands (GET/POST), file extensions. Deep packet inspection; terminates client connection and establishes independent connection to server; higher latency.
3.2 Antivirus Detection Mechanisms & Intrusion Systems
  • Signature-Based Detection: Compares binary sequences of files against a known database of virus definitions. Ineffective against zero-day exploits.
  • Heuristic Analysis & Sandboxing: Analyzes code behavior and executes suspicious binaries inside an isolated virtual sandbox to detect anomalous system calls.
  • IDS vs. IPS: An Intrusion Detection System (IDS) passively monitors network traffic and alerts administrators of intrusions. An Intrusion Prevention System (IPS) sits inline in the traffic path and actively blocks or drops malicious packets in real time.
3.3 Multi-Factor Authentication (MFA / 2FA)

Authentication validates user identity through combinations of independent authentication factors:

  • Knowledge Factor (Something You Know): Passwords, PINs, security questions.
  • Possession Factor (Something You Have): Hardware tokens, smart cards, smartphone authenticator apps (OTP).
  • Inherence Factor (Something You Are): Biometric identifiers—fingerprints, facial geometry, iris scans, voice recognition.

Module 4: Cryptography, Symmetric vs. Asymmetric Ciphers, Hashing & Digital Signatures

4.1 Symmetric vs. Asymmetric Cryptography

Cryptography transforms readable Plaintext into unreadable Ciphertext (Encryption) and back again (Decryption):

Comparison Parameter Symmetric Key Cryptography (Secret Key) Asymmetric Key Cryptography (Public Key)
Key Structure Uses a single, identical secret key for both encryption and decryption. Uses a mathematically paired Key Pair: a Public Key (freely distributed) and a Private Key (kept strictly confidential).
Computational Speed Extremely fast; optimized for bulk data encryption. Computationally intensive; orders of magnitude slower due to complex modular arithmetic and prime factorization.
Key Distribution Challenging: the secret key must be transferred securely over an insecure channel. Seamless: Public Key can be openly published; Private Key never leaves the owner's machine.
Standard Algorithms AES (Advanced Encryption Standard - 128/256 bits), DES, 3DES, Blowfish. RSA (Rivest-Shamir-Adleman), Diffie-Hellman Key Exchange, ECC (Elliptic Curve Cryptography).
4.2 Cryptographic Hash Functions & Digital Signatures

A Cryptographic Hash Function takes an arbitrary-length message and outputs a fixed-length string (message digest, e.g., SHA-256 producing 256 bits). It is strictly one-way (irreversible) and collision-resistant.

  • Digital Signature Mechanics:
    1. Sender generates a cryptographic hash digest of the original document.
    2. Sender encrypts the hash digest with their own Private Key to produce the Digital Signature.
    3. Receiver decrypts the signature using the Sender's Public Key to recover the original hash digest.
    4. Receiver independently computes the hash of the received message. If both digests match exactly, the signature is valid.
  • Guarantees Provided: Authentication (proves sender identity), Integrity (confirms no tampering), and Non-Repudiation (sender cannot deny creating the document).
Core Rule of Public-Key Infrastructure:
• For Confidentiality (Encryption): Encrypt with the Receiver's Public Key (only Receiver's Private Key can decrypt).
• For Authentication/Signature: Encrypt/sign with the Sender's Private Key (anyone can verify using Sender's Public Key).

Module 5: Computer Ethics, Intellectual Property Rights & Software Licensing

5.1 The Ten Commandments of Computer Ethics

Formulated by the Computer Ethics Institute (CEI) in 1992, these guidelines govern moral behavior in cyberspace:

  • 1. Thou shalt not use a computer to harm other people.
  • 2. Thou shalt not interfere with other people's computer work.
  • 3. Thou shalt not snoop around in other people's computer files.
  • 4. Thou shalt not use a computer to steal.
  • 5. Thou shalt not use a computer to bear false witness (misinformation/fraud).
  • 6. Thou shalt not copy or use proprietary software for which you have not paid (Software Piracy).
  • 7. Thou shalt not use other people's computer resources without authorization.
  • 8. Thou shalt not appropriate other people's intellectual output (Plagiarism).
  • 9. Thou shalt think about the social consequences of the program you are writing.
  • 10. Thou shalt always use a computer in ways that ensure consideration and respect for your fellow humans.
5.2 Intellectual Property Rights (IPR) & Software Licensing Models
Category Legal Definition & Protection Source Code Access Examples & Licensing Terms
Copyright Protects original expressions of ideas (source code, text, music, artwork) automatically upon creation. Closed/Proprietary or Open depending on owner. Microsoft Windows, Adobe Photoshop, literary books.
Patent Grants 20-year exclusive monopoly for novel, non-obvious industrial inventions and functional processes. Disclosed publicly in patent filing. Hardware architectures, specialized compression algorithms.
Proprietary Software Commercial software licensed under strict EULA; copying, modification, or redistribution is illegal. Closed Source (compiled binary only). MS Office, Oracle Database, macOS.
FOSS / Open Source Grants users the 4 Essential Freedoms: run, study, modify, and redistribute the program freely. Open Source (full code provided). Linux Kernel, Python, GNU GPL (Copyleft), MIT License, Apache 2.0.
Freeware & Shareware Freeware is available free of charge without source code. Shareware offers a free trial before requiring purchase. Closed Source. Adobe Acrobat Reader (Freeware); WinRAR trial (Shareware).

Module 6: Cyber Law, Information Technology Act & Digital Hygiene

6.1 The Information Technology (IT) Act, 2000 of India

Enacted on 17 October 2000 (and amended extensively in 2008), the IT Act provides legal recognition for electronic transactions, digital signatures, e-governance, and penalizes cyber crimes:

Section of IT Act Offence & Description Prescribed Legal Penalty / Punishment
Section 43 Penalty and compensation for damage to computer systems, unauthorized downloading, data copying, or introducing viruses. Financial compensation to affected party up to ₹1 Crore.
Section 65 Tampering with computer source code documents knowingly or intentionally. Imprisonment up to 3 years and/or fine up to ₹2 Lakh.
Section 66 Hacking and fraudulent computer-related offences done dishonestly. Imprisonment up to 3 years and/or fine up to ₹5 Lakh.
Section 66C Identity theft: fraudulently making use of electronic signature, password, or unique identification feature. Imprisonment up to 3 years and fine up to ₹1 Lakh.
Section 66D Cheating by personation using a computer resource or network. Imprisonment up to 3 years and fine up to ₹1 Lakh.
Section 66E Violation of bodily privacy: capturing, publishing or transmitting private area images without consent. Imprisonment up to 3 years and/or fine up to ₹2 Lakh.
Section 66F Cyber Terrorism: threatening the unity, integrity, security, or sovereignty of the nation by attacking critical infrastructure. Imprisonment for Life.
6.2 Digital Hygiene Best Practices
  • Password Security: Use strong, complex passphrases (>12 characters with uppercase, lowercase, numbers, and symbols). Never reuse passwords across services; utilize dedicated password managers.
  • Software Patching: Enable automatic updates for Operating Systems and applications to patch security vulnerabilities before exploits emerge.
  • Data Backup Rule (3-2-1): Maintain 3 copies of important data on 2 different media formats, with at least 1 copy stored offsite or on encrypted cloud storage.
  • Public Wi-Fi Precaution: Avoid accessing financial or confidential portals on open Wi-Fi networks without an authenticated Virtual Private Network (VPN).

Key Programming Syntax, Statements & Translator Rules

Password Entropy Formula (Bit Strength)
$$E = L \times \log_2(R)$$
RSA Public-Key Encryption & Decryption Equations
$$C = M^e \pmod{n} \quad \text{and} \quad M = C^d \pmod{n}$$
Digital Signature Signing & Verification Equations
$$S = [H(M)]^{d_A} \pmod{n_A} \quad \text{and} \quad H_{\text{verified}} = S^{e_A} \pmod{n_A}$$
Symmetric vs Asymmetric Key Growth Relation
$$K_{\text{symmetric}} = \frac{N(N - 1)}{2} \quad \text{vs} \quad K_{\text{asymmetric}} = 2N$$
One-Way Cryptographic Hash Collision Resistance Condition
$$H(M_1) \neq H(M_2) \quad \text{for any } M_1 \neq M_2$$
3-2-1 Data Backup Hygiene Rule
$$\text{Copies} \ge 3, \quad \text{Media Types} \ge 2, \quad \text{Offsite / Cloud} \ge 1$$

Conceptual Solved Examples & Case Studies

Example 1
Differentiate between a Computer Virus and a Computer Worm with respect to their propagation mechanisms.
Step-by-Step Solution:
Solution:
Criterion Computer Virus Computer Worm
Host Dependency Requires an existing host file (e.g., .exe, document) to attach itself to. Standalone program that does not require any host file.
Human Intervention Spreads only when a human user executes the infected program. Self-replicating; autonomously propagates across networks without human action.
Example 2
Explain the concept of Multi-Factor Authentication (MFA). Mention any two distinct authentication factors with real-world examples.
Step-by-Step Solution:
Solution:

Concept of Multi-Factor Authentication (MFA):

Multi-Factor Authentication is an identity verification mechanism that requires users to provide two or more distinct, independent pieces of evidence (factors) before granting access to a digital system or account. Even if one factor (such as a password) is compromised, unauthorized access is effectively blocked.

Two Distinct Factors with Real-World Examples:

  1. Something You Know (Knowledge Factor): Secret information known only to the user.
    Example: An account password or ATM PIN.
  2. Something You Have (Possession Factor): A physical or digital object owned by the user.
    Example: A One-Time Password (OTP) delivered to the user's mobile phone, a time-based authenticator app code (Google Authenticator), or a physical hardware security key (YubiKey).
Example 3
What is a Digital Signature? State the two primary cryptographic keys used during its creation and verification, and explain what guarantees it provides.
Step-by-Step Solution:
Solution:

Definition:

A Digital Signature is a mathematical cryptographic mechanism that binds an electronic document to the identity of its sender, serving as the digital equivalent of a handwritten, notarized signature.

Keys Used:

  • Creation: The sender encrypts the hash digest of the document using their Private Key.
  • Verification: The recipient decrypts the signature using the sender's Public Key to verify the hash match.

Core Guarantees Provided:

  1. Authentication: Validates the genuine identity of the sender.
  2. Data Integrity: Proves that the document has not been altered in transit.
  3. Non-Repudiation: The sender cannot deny having signed and transmitted the document.
Example 4
(a) Differentiate between Symmetric Key Cryptography and Asymmetric Key Cryptography on any two technical points. (b) Explain why Symmetric algorithms like AES are preferred for bulk data transfer while Asymmetric algorithms like RSA are used for key exchange.
Step-by-Step Solution:
Solution:

(a) Comparison Table:

Parameter Symmetric Cryptography (e.g., AES) Asymmetric Cryptography (e.g., RSA)
Number of Keys Uses a single shared secret key for both encryption and decryption. Uses a mathematically linked key pair: Public Key and Private Key.
Computational Speed Extremely fast and computationally lightweight. Computationally slow due to heavy modular exponentiation on large primes.

(b) Rationale for Hybrid Cryptography (TLS/HTTPS):

Asymmetric cryptography elegantly solves the key distribution problem because the Public Key can be shared openly over an insecure channel. However, encrypting large gigabytes of data using RSA would consume excessive CPU cycles and cause severe latency.

Therefore, modern protocols (such as HTTPS/TLS) use a hybrid approach: Asymmetric encryption (RSA or ECDHE) is used initially to securely negotiate and exchange a temporary, random symmetric session key. Once established, high-speed Symmetric encryption (AES) is used to encrypt the actual bulk payload data, achieving the security benefits of asymmetric distribution alongside the high performance of symmetric encryption.

Example 5
(a) What is a Firewall? Explain the difference between Stateless Packet Filtering and Stateful Packet Inspection (SPI). (b) Under what conditions can an Application Gateway Firewall block traffic that a standard packet filtering firewall might permit?
Step-by-Step Solution:
Solution:

(a) Firewall Concept & Inspection Methodologies:

A Firewall is a hardware or software-based network security device that monitors and filters incoming and outgoing network traffic based on an organization's previously established security policies.

  • Stateless Packet Filtering: Inspects individual packets in isolation by checking header fields (Source IP, Destination IP, Port, Protocol). It maintains no memory of previous packets or conversation state, making it susceptible to spoofing attacks.
  • Stateful Packet Inspection (SPI): Tracks the entire state of active network connections in an internal state table. It recognizes whether an incoming packet is part of an established, valid session initiated from within the trusted network, automatically dropping unsolicited packets from external sources.

(b) Application Gateway (Proxy) Blocking Scenario:

A standard packet filtering firewall operating at Layers 3 and 4 permits traffic as long as it arrives on port 80 (HTTP) or 443 (HTTPS) from an allowed IP address. It cannot inspect the payload contents.

An Application Gateway operates at Layer 7 (Application Layer) and performs deep packet inspection. It can detect and block malicious content concealed inside legitimate port traffic, such as SQL injection strings in HTTP GET parameters, unauthorized command execution in POST payloads, or malicious executable attachments in webmail traffic, which a simple port-based packet filter would blindly allow.

Example 6
(a) State the primary objectives of the Information Technology (IT) Act, 2000 of India. (b) Explain the significance of Section 43, Section 66, and Section 66F of the IT Act. (c) What is Cyber Terrorism according to the Act and what punishment does it attract?
Step-by-Step Solution:
Solution:

(a) Primary Objectives of the IT Act, 2000:

  1. To provide legal recognition for electronic commercial transactions and contracts (e-commerce).
  2. To legally recognize and validate Digital Signatures for authentication of electronic records.
  3. To facilitate Electronic Governance (e-governance) by enabling digital filing of documents with government agencies.
  4. To define, penalize, and prosecute cybercrimes, computer tampering, and unauthorized access.

(b) Significance of Key Sections:

  • Section 43 (Penalty for damage to computer system): Imposes civil financial liability on anyone who accesses, copies, downloads, introduces a virus into, or damages a computer system without permission. The offender must pay compensation to the affected party (up to ₹1 Crore).
  • Section 66 (Computer-related offences / Hacking): Converts Section 43 violations committed dishonestly or fraudulently into criminal offences punishable by imprisonment for up to 3 years and/or a fine up to ₹5 Lakh.
  • Section 66F (Cyber Terrorism): Addresses attacks aimed at threatening the unity, integrity, sovereignty, or security of India, or striking terror in the minds of the people by denying access or penetrating critical national infrastructure.

(c) Cyber Terrorism & Punishment:

Under Section 66F, Cyber Terrorism involves acts committed with intent to threaten the unity, integrity, security, or sovereignty of India or strike terror by unlawfully accessing computer resources to cause injury, damage critical national infrastructure (power grids, defense networks, air traffic control), or obtain sensitive state secrets.

Punishment: Cyber Terrorism attracts the maximum penalty under cyber law: Imprisonment for Life.

Common Misconceptions & Examiner Traps

Common Misconception

Confusing a Computer Virus with a Computer Worm.

Scientific Reality & Correction

A Virus requires an infected host executable file and human action to execute. A Worm is standalone and replicates autonomously across network ports without human intervention.

Common Misconception

Believing encryption and digital signatures use keys in the same manner.

Scientific Reality & Correction

For confidentiality (encryption), you encrypt with the RECIPIENT'S public key. For authentication (digital signature), you sign with the SENDER'S private key.

Common Misconception

Assuming an Antivirus program alone is sufficient to protect a network without a Firewall.

Scientific Reality & Correction

Antivirus software inspects stored files and memory on a host machine; a Firewall guards network perimeter traffic and filters packets in transit before they enter the system.

Common Misconception

Equating Open Source / Free Software (FOSS) with Freeware.

Scientific Reality & Correction

Freeware is free of monetary cost but proprietary and closed-source. FOSS provides full source code and legal freedoms to modify and redistribute under licenses like GPL.

Common Misconception

Confusing the legal scopes of Section 43 and Section 66 of the IT Act, 2000.

Scientific Reality & Correction

Section 43 deals with civil liability and financial compensation to the victim; Section 66 criminalizes the dishonest or fraudulent commission of Section 43 acts with imprisonment.

Visual Learning & Conceptual Map

Computer Security & Ethics Architecture Map WBCHSE Class 12 Computer Science — Chapter 6: Malware, Cyber Attacks, Cryptography & Cyber Law 1 1. Security Threats & Malware Taxonomy • Virus: File infector & parasitic executable payload • Worm: Standalone self-replicating network consumer • Trojan Horse: Disguised utility providing hidden backdoor • Ransomware: Cryptographic data locking & extortion • Spyware & Keyloggers: Covert monitoring & credential theft 2 2. Network Attacks & Defensive Perimeter • Phishing & Spoofing: Social engineering deception • DoS / DDoS Attacks: Botnet flood & resource exhaustion • Firewalls: Packet Filtering & Stateful Packet Inspection • IDS / IPS: Intrusion detection & inline prevention • Multi-Factor Authentication: MFA & Biometric Access 3 3. Cryptography & Digital Signatures • Symmetric Encryption: Single shared secret key (AES, DES) • Asymmetric Encryption: Public & Private key pair (RSA) • Cryptographic Hash: One-way collision-resistant (SHA-256) • Digital Signatures: Authentication & Non-repudiation • PKI & SSL/TLS: Certified encrypted communications 4 4. Computer Ethics, IPR & IT Act 2000 • Ten Commandments of Computer Ethics (CEI Guidelines) • Intellectual Property Rights (IPR): Copyrights & Patents • Open Source Licensing: FOSS, GPL & Copyleft vs Permissive • IT Act 2000: Section 43 (Damage), Section 66 (Hacking) • Section 66C (Identity Theft) & Section 66F (Cyber Terrorism)

Chapter Summary & 10 Key Takeaways

Takeaway 1
Information security rests on the CIA Triad: Confidentiality, Integrity, and Availability.
Takeaway 2
Malware comprises diverse threats: Viruses (host-dependent), Worms (autonomous self-replicating), Trojans (backdoor impersonators), and Ransomware (extortion ciphers).
Takeaway 3
Active attacks (DoS/DDoS, MitM, Injection) tamper with data or systems, while passive attacks (Sniffing, Eavesdropping) covertly monitor communications.
Takeaway 4
DDoS attacks harness global zombie Botnets to exhaust server bandwidth and compute capacity.
Takeaway 5
Firewalls filter network traffic via Stateless Packet Filtering, Stateful Packet Inspection (SPI), or Application Layer proxies.
Takeaway 6
Multi-Factor Authentication (MFA) dramatically elevates security by combining Knowledge, Possession, and Inherence factors.
Takeaway 7
Symmetric ciphers (AES) use one shared key for high-speed bulk encryption, while Asymmetric ciphers (RSA) use key pairs for secure exchange.
Takeaway 8
Digital signatures encrypt hash digests using the sender's private key, guaranteeing Authentication, Integrity, and Non-Repudiation.
Takeaway 9
Intellectual Property Rights (IPR) protect software through Copyrights, Patents, and Trademarks, alongside Free and Open Source (FOSS/GPL) models.
Takeaway 10
India's IT Act 2000 establishes civil and criminal penalties for hacking (Section 66), identity theft (Section 66C), and cyber terrorism (Section 66F).

Check Your Understanding (Diagnostic Practice Questions)

Diagnostic questions testing core conceptual clarity. Answers are hidden initially — solve each problem first, then click to reveal the step-by-step verified solution.

1
Which key is used by the recipient to decrypt a message encrypted using asymmetric public-key cryptography?
Reveal Answer & Explanation
Answer: The recipient's own Private Key is used to decrypt the message.
Remember that public keys are for encryption by the sender, while private keys are for decryption.
2
What is the primary difference between an IDS (Intrusion Detection System) and an IPS (Intrusion Prevention System)?
Reveal Answer & Explanation
Answer: An IDS detects and alerts administrators to suspicious traffic passively, while an IPS sits inline in the network traffic path and actively blocks or drops malicious packets in real time.
Consider whether the system operates passively out-of-band or actively inline with traffic.
3
Under India's IT Act, 2000, which section prescribes punishment for Cyber Terrorism and what is the penalty?
Reveal Answer & Explanation
Answer: Section 66F prescribes punishment for Cyber Terrorism, which is Imprisonment for Life.
This section carries the maximum possible penalty under Indian cyber legislation.
4
Why is an encrypted hash value called a Digital Signature rather than the entire encrypted message?
Reveal Answer & Explanation
Answer: Encrypting the entire document with asymmetric cryptography is computationally slow. Generating a fixed-length hash digest and signing only the digest achieves identical security guarantees with maximum speed.
Think about computational efficiency when handling large documents.
5
What type of malware disguises itself as a harmless video game but covertly installs a backdoor on the user's PC?
Reveal Answer & Explanation
Answer: A Trojan Horse.
Named after the historic mythological wooden horse used to breach Troy.
Finished Studying This Chapter?
READY TO PRACTICE?

Timed CBT Practice Tests (Exam Simulator)

Put your concepts to the test with official curriculum-aligned Foundation and Advanced practice tests. Get instant accuracy scores, time metrics, and step-by-step verified explanations.

STAY UPDATED

Get the Latest Updates

New test series, syllabus updates, exam notifications and more.

Syllabus
Updates
Exam
Alerts
Study
Resources