Malware, Dark Web, Deepfakes and Encryption: Types of Cyber Threats, IT Act, CERT-In and the AIIMS Ransomware Attack
Komal Gupta
UPSC Exam Expert & Content Editor
In this note
- 1.Malware: The Types
- 2.Dark Web: The Hidden Layer of the Internet
- 3.Deepfakes: When Seeing Is Not Believing
- 4.End-to-End Encryption and the Policy Debate
- 5.Legal and Institutional Framework in India
- 6.Case Study: The AIIMS Delhi Ransomware Attack (2022)
- 7.Common Mistakes Students Make
- 8.Teacher's Tip
- 9.Important Points for the Exam
- 10.Related Reading
- 11.Frequently Asked Questions (FAQ)
- 12.Keep Learning: More Notes to Explore
PDF Notes: Malware, Dark Web, Deepfakes and Encryption: Types of Cyber Threats, IT Act, CERT-In and the AIIMS Ransomware Attack
Premium PDF · one-time payment of ₹5 · instant access
Quick answer: Malware (malicious software) is any program designed to harm, steal or spy: virus (attaches to files and spreads when they are run), worm (spreads by itself over networks), Trojan (disguised as useful software), ransomware (encrypts data and demands payment), spyware and keyloggers (steal information), adware, rootkits, botnets and logic bombs. The dark web is a small part of the deep web (content not indexed by search engines, such as bank accounts and emails) that can be accessed only with special software such as Tor (The Onion Router) and has .onion addresses; it gives anonymity, used by journalists and activists but also by criminals for drugs, weapons, stolen data and illegal services. Deepfakes are AI-generated or manipulated audio, images and video (using GANs, Generative Adversarial Networks) that show people saying or doing things they never did. End-to-end encryption (E2EE) means only the sender and the receiver can read a message; not even the service provider (WhatsApp, Signal). In India, the Information Technology Act, 2000 (Sections 43, 66, 66C, 66D, 66E, 67, 69 and 69A) covers cyber offences; the CERT-In (2004) handles incidents (6-hour reporting rule, 2022); the Digital Personal Data Protection Act, 2023 protects data; the Indian Cyber Crime Coordination Centre (I4C) and the helpline 1930 and the portal cybercrime.gov.in support victims. Examples: WannaCry (2017) and the AIIMS Delhi ransomware attack (November 2022).
Dear students, cyber threats are in the news every week, and they come in GS 3 (internal security) and Science and Technology. This note gives you the technical vocabulary in one place: malware types, the dark web, deepfakes and encryption. I'll use everyday analogies.
Malware: The Types
Imagine your computer is a house. A virus is like a germ that needs a host: it hides in a file and spreads when someone opens that file. A worm is like a rat that moves from house to house on its own, using the network. A Trojan is a gift horse: looks like a useful app but opens the door for thieves. Ransomware locks your belongings and demands money to unlock them. Spyware is a hidden camera. These programs enter through phishing e-mails, infected attachments, fake apps, pirated software, pen drives, and unpatched software flaws.
| Type | How it works | Example |
|---|---|---|
| Virus | Attaches to a legitimate file or program; spreads when the file is executed | ILOVEYOU (2000) |
| Worm | Self-replicating; spreads across networks without user action; can overload networks | WannaCry (2017) used the EternalBlue flaw of Windows; Stuxnet (2010) targeted Iran's centrifuges |
| Trojan horse | Appears legitimate; creates a backdoor for attackers; does not self-replicate | Banking Trojans like Zeus; remote access Trojans |
| Ransomware | Encrypts files or locks the system; demands payment (often in cryptocurrency) | WannaCry, NotPetya (2017), AIIMS Delhi attack (2022), Colonial Pipeline (2021) |
| Spyware / keylogger | Secretly records activity, keystrokes and data | Pegasus (a commercial spyware by NSO Group, which can infect phones through zero-click exploits) |
| Adware | Shows unwanted ads, sometimes tracks users | Browser add-ons |
| Rootkit | Hides deep in the operating system to give long-term access | Sony BMG rootkit (2005) |
| Botnet | A network of infected computers controlled remotely; used for DDoS attacks and spam | Mirai botnet (2016) using IoT devices |
| Logic bomb | Code that triggers on a certain date or condition | Insider sabotage cases |
| Phishing / spear phishing | Not malware itself, but deception through fake e-mails or websites to steal credentials | Fake bank SMS and calls (vishing, smishing) |
Dark Web: The Hidden Layer of the Internet
- Three layers: The surface web is what search engines index (news sites, Wikipedia). The deep web is content behind logins or not indexed: e-mails, bank accounts, medical records, company intranets, academic databases (the largest part, perhaps 90 per cent or more). The dark web is a small section of the deep web that needs special software and intentionally hides identity.
- How it works: The Tor network sends your traffic through at least three volunteer-run servers (relays) with layers of encryption, like the layers of an onion: no single node knows both who you are and what you are looking at. Tor was developed in the 1990s by the US Naval Research Laboratory and later released for public use. Other networks: I2P and Freenet. Websites have addresses ending with .onion.
- Legitimate use: Whistleblowers, journalists (SecureDrop), people living under censorship, privacy-conscious citizens.
- Illegal use: Markets for drugs, weapons, counterfeit documents, stolen credit cards and personal data, hacking tools and services, child abuse material, and terror financing; payments are mostly in cryptocurrencies. The famous Silk Road (2011-2013) marketplace was shut down by the FBI; Alphabay and Hansa (2017) were also taken down. In India, the Narcotics Control Bureau and state police have busted several darknet drug-trafficking networks in recent years.
- Challenges for law enforcement: Anonymity, cross-border jurisdictions, encryption, cryptocurrency payments; it needs international cooperation (Interpol, Europol), undercover operations and blockchain analysis.
Deepfakes: When Seeing Is Not Believing
A deepfake uses deep learning to swap a face, clone a voice or generate a whole video of a person. The core technology is the Generative Adversarial Network (GAN), invented by Ian Goodfellow in 2014: two neural networks compete; one (the generator) makes fake images and the other (the discriminator) tries to catch the fakes, and both improve until the fake looks real. Newer methods use diffusion models and large generative AI, requiring just a few photos or seconds of audio. The harms: non-consensual sexual content (the majority of deepfakes online), fraud (voice cloning scams where the victim hears a "relative" asking for money; CEO fraud), political disinformation (fake videos of leaders during elections), market manipulation, reputation damage, and the "liar's dividend" (real evidence can be dismissed as fake). Benefits exist too: film dubbing, accessibility (voice for people who lost speech), education and entertainment.
India has no dedicated deepfake law yet. Existing tools: the IT Act (Section 66C identity theft, 66D cheating by personation, 66E privacy violation, 67 and 67A obscene material, 69A blocking powers); the IT (Intermediary Guidelines and Digital Media Ethics Code) Rules, 2021 (platforms must remove content that impersonates a person within 24 hours of a complaint, and must act in 36 hours on court or government orders); the Bharatiya Nyaya Sanhita provisions on defamation, forgery and obscenity; the DPDP Act, 2023; the personality rights granted by the High Courts of Delhi and Bombay to celebrities against misuse; and advisories from MeitY to social media companies in November-December 2023 requiring them to identify and take down deepfakes. There have also been proposals for mandatory labelling of AI-generated content (check the latest rules). Globally, the EU AI Act (2024) requires disclosure of deepfakes, China has rules on "deep synthesis", and the US states have election-related laws. Detection tools (watermarking, content provenance by C2PA, and AI detectors) are in development but in a race with the generators.
End-to-End Encryption and the Policy Debate
- What E2EE does: Messages are encrypted on the sender's device and decrypted only on the receiver's device, using keys that the platform does not hold. Even if hackers or the company servers are breached, the content remains unreadable. WhatsApp uses the Signal protocol.
- Why governments object: Law enforcement says E2EE hinders the investigation of terrorism, child abuse and crime, as the platform cannot hand over the contents. The Indian IT Rules, 2021, Rule 4(2), require a significant social media intermediary providing messaging services to enable identification of the "first originator" of a message when ordered by a court or competent authority for serious offences. WhatsApp challenged it in the Delhi High Court (2021), arguing that it would break encryption and violate the right to privacy (the Puttaswamy test: legality, necessity and proportionality). The matter is pending.
- The counter-argument: A backdoor weakens security for everyone (criminals and hostile states can exploit it), harms privacy, journalists and dissidents, and may not be effective. Alternatives are metadata analysis, device-level access with a warrant, and lawful hacking under oversight.
- Related: Section 69 of the IT Act and the Interception Rules, 2009 allow the government to intercept, monitor or decrypt information in the interest of sovereignty, security and public order.
Legal and Institutional Framework in India
| Institution or law | Role |
|---|---|
| IT Act, 2000 (amended 2008) | Defines cyber offences and penalties: hacking (66), identity theft (66C), cheating by personation (66D), cyber terrorism (66F), obscene content (67); Section 69 (interception), 69A (blocking, upheld in Shreya Singhal v. Union of India, 2015, which struck down Section 66A) |
| CERT-In (2004) | National agency for cyber security incidents; 2022 directions require reporting of incidents within 6 hours and keeping logs for 180 days |
| National Critical Information Infrastructure Protection Centre (NCIIPC) | Protects critical infrastructure (power, banking, telecom), under the NTRO |
| Indian Cyber Crime Coordination Centre (I4C) | Under the MHA (2018); coordinates the response to cyber crime; National Cyber Crime Reporting Portal; helpline 1930 |
| National Cyber Security Policy 2013; Draft National Cyber Security Strategy | Policy framework for cyberspace; a new strategy has been in preparation |
| Digital Personal Data Protection Act, 2023 | Rights over personal data, duties of data fiduciaries, penalties up to Rs 250 crore; the Data Protection Board |
| Budapest Convention | The international treaty on cybercrime (2001); India is not a party, partly for sovereignty concerns; negotiations at the UN on a new cybercrime treaty (adopted in December 2024) |
Case Study: The AIIMS Delhi Ransomware Attack (2022)
Dear students, on 23 November 2022, the servers of the All India Institute of Medical Sciences (AIIMS), New Delhi, one of India's premier hospitals, were hit by a ransomware attack. The attackers encrypted the data of the e-hospital system, and the hospital had to run on manual paper records for about two weeks: registration, billing, lab reports and appointments were affected for lakhs of patients. Reports mentioned that the attackers demanded a large ransom in cryptocurrency, the servers were restored by the NIC, CERT-In and other agencies; investigations by the Delhi Police and the agencies suggested the possible involvement of foreign hackers (some reports mentioned China-based groups, but it was not officially confirmed). The case shows that health systems are critical infrastructure; that old software, weak patching, poor network segmentation and lack of backups create vulnerabilities; and the need for a strong cybersecurity culture in public institutions, incident reporting, regular drills and offline backups. In the Mains, quote it in answers about cyber threats to critical infrastructure.
Common Mistakes Students Make
- Saying that the dark web and the deep web are the same. The dark web is a small part of the deep web with deliberate anonymity.
- Believing that using Tor is illegal. Using Tor is legal in India; the crimes committed over it are illegal.
- Confusing a virus (needs a host file) with a worm (spreads by itself) and a Trojan (disguised, does not replicate).
- Writing that Section 66A is still in force. The Supreme Court struck it down in 2015.
Teacher's Tip
Students, memorise: "Virus needs a host, Worm walks alone, Trojan tricks, Ransomware locks, Spyware spies". For policy, remember the names: CERT-In (6 hours), NCIIPC, I4C (1930), IT Act 66A struck down in 2015, DPDP Act 2023, IT Rules 2021 (first originator).
Important Points for the Exam
- Malware types: virus, worm, Trojan, ransomware, spyware, rootkit, botnet; WannaCry 2017; Stuxnet; Pegasus; AIIMS attack 2022.
- Dark web: Tor, .onion, deep web vs dark web; Silk Road; Deepfake: GANs (Ian Goodfellow 2014); E2EE and the traceability debate.
- IT Act 2000 (66A struck down in Shreya Singhal 2015), CERT-In, NCIIPC, I4C, DPDP Act 2023, Budapest Convention (India not a party).
Related Reading
Read this with our notes on Cyber Security, Right to Privacy and Data Protection, Artificial Intelligence and Emerging Technologies and our UPSC blog.
Frequently Asked Questions (FAQ)
What is malware?
Malicious software designed to harm, steal or spy on systems.
How is a worm different from a virus?
A worm spreads by itself over networks, while a virus needs a host file to spread.
What is a Trojan?
Malware disguised as a useful program that opens a backdoor.
What is ransomware?
Malware that encrypts data and demands payment to unlock it.
Which ransomware hit systems worldwide in 2017?
WannaCry.
What is the dark web?
A part of the deep web that needs special software like Tor and hides user identity.
What does Tor stand for?
The Onion Router.
What is the deep web?
Internet content not indexed by search engines, such as emails and bank accounts.
What is a deepfake?
AI-generated or manipulated audio, image or video that shows someone doing or saying something they never did.
What technology is commonly used for deepfakes?
Generative Adversarial Networks (GANs).
What is end-to-end encryption?
Encryption in which only the sender and receiver can read the message.
What does the IT Rules 2021 first originator rule require?
Messaging platforms to enable tracing the first sender of a message on legal orders for serious offences.
Which agency handles cyber incidents in India?
CERT-In.
Within how many hours must incidents be reported to CERT-In?
Within 6 hours, as per the 2022 directions.
What is the cyber crime helpline in India?
1930, with the portal cybercrime.gov.in.
Which section of the IT Act was struck down in 2015?
Section 66A, in Shreya Singhal v. Union of India.
Keep Learning: More Notes to Explore
Strengthen this topic by reading these related notes from the same subject:
- Emerging Technologies for UPSC Notes: Semiconductors, Quantum Computing, 5G and 6G, Blockchain, Drones, Green Hydrogen and India's Missions Explained with Mains Angle
- Metaverse, AR-VR, Web 3.0, NFTs, Net Neutrality and Dark Patterns: Digital World Concepts and India's Rules
- Health in India Notes for UPSC: National Health Mission, Ayushman Bharat PM-JAY, Mission Indradhanush, TB Elimination, Health Indicators, Institutions and Pandemic Lessons
- Quantum Technology in India: Qubits, Entanglement, Quantum Computing, QKD Cryptography and the National Quantum Mission
- Semiconductors and the Chip Crisis: Basics, Supply Chain, India Semiconductor Mission, Dholera Fab and Strategic Autonomy
- Cloud Computing, Neural Networks and Generative AI: IaaS-PaaS-SaaS, Deep Learning, LLMs, IndiaAI Mission and Bhashini
Connect it with other subjects to build a complete understanding:
- Environment and Ecology: Environmental Movements in India and Sustainable Development
- Internal Security and Disaster Management: Oil Spill Disasters and the National Disaster Management Plan for Animals
- Indian Economy: National Infrastructure Pipeline, National Monetisation Pipeline and NIIF: Financing India's Infrastructure
For strategy and planning, read our guides on:
Browse the full Science and Technology notes collection, all free UPSC notes, and practise with previous year questions.
Previous chapter
Quantum Technology in India: Qubits, Entanglement, Quantum Computing, QKD Cryptography and the National Quantum Mission
Next chapter
Emerging Technologies for UPSC Notes: Semiconductors, Quantum Computing, 5G and 6G, Blockchain, Drones, Green Hydrogen and India's Missions Explained with Mains Angle
Komal Gupta
UPSC Exam Expert & Content Editor
Komal is a senior UPSC exam strategist with 8+ years of experience helping aspirants crack CSE, CDS and NDA exams. She writes in-depth notification breakdowns, exam pattern guides and preparation strategies.