Docsity

Computer Virus & Malware, Study notes of Computer Security

Toggle sidebar
bg1
Computer Virus & Malware
Complete Theory Notes for RRB Technician Grade-I (Signal) โ€” Computer Awareness
This note covers everything typically asked from the 'Computer Virus' topic in RRB Technician Grade-I
Signal and similar RRB technical exams: definitions, how viruses work, types of malware, types of viruses,
famous virus/worm attacks with years, antivirus software, prevention, key terminology, and a quick one-line
revision sheet โ€” followed by practice MCQs with answers.
How to use this document: Read each section once for concepts, then revise only the shaded 'Quick Facts'
boxes and the one-liner table before your exam. Attempt the MCQs at the end without looking at the notes to
self-test.
pf3
pf4
pf5
pf8

Partial preview of the text

Download Computer Virus & Malware and more Study notes Computer Security in PDF only on Docsity!

Computer Virus & Malware

Complete Theory Notes for RRB Technician Grade-I (Signal) โ€” Computer Awareness

This note covers everything typically asked from the 'Computer Virus' topic in RRB Technician Grade-I Signal and similar RRB technical exams: definitions, how viruses work, types of malware, types of viruses, famous virus/worm attacks with years, antivirus software, prevention, key terminology, and a quick one-line revision sheet โ€” followed by practice MCQs with answers.

How to use this document: Read each section once for concepts, then revise only the shaded 'Quick Facts' boxes and the one-liner table before your exam. Attempt the MCQs at the end without looking at the notes to self-test.

1. What is a Computer Virus?

A computer virus is a malicious piece of self-replicating program code that attaches itself to a legitimate program or file and spreads from one computer to another, usually without the user's knowledge, causing damage to data, software, or hardware performance. The term was coined by Fred Cohen in 1983, based on a suggestion by Leonard Adleman (the 'A' in RSA).

Key characteristics of a virus:

  • Self-replicating โ€” makes copies of itself.
  • Needs a host file/program to attach to and cannot spread on its own without human action (e.g., opening a file, running a program).
  • Remains dormant until the host file is executed (the 'trigger').
  • Can corrupt or delete data, slow down the system, or crash the OS.
  • Spreads via infected files, removable drives (USB/pen drives), email attachments, or networks. 2. Malware โ€” The Umbrella Term

Malware (malicious software) is the general term for any software designed to damage, disrupt, or gain unauthorized access to a computer system. A virus is just one type of malware. Exams often test whether you can distinguish between different malware types โ€” this is the single most frequently tested sub-topic.

Malware Type Key Identifying Feature

Virus Attaches to a host file; needs human action (running the file) to spread.

Worm Self-replicates and spreads on its own across networks; does NOT need a host file.

Trojan Horse Disguises itself as legitimate/useful software; does NOT self-replicate.

Spyware Secretly monitors and collects user activity/data (keystrokes, browsing).

Adware Automatically displays/downloads unwanted advertisements.

Ransomware Encrypts/locks victim's data and demands payment (ransom) to restore access.

Rootkit Hides deep in the OS to gain admin ('root') access while staying undetected.

Keylogger Records every keystroke to steal passwords/sensitive data.

Logic Bomb Malicious code that stays dormant until a specific condition/date/event triggers it.

Bot / Botnet Infected computers ('zombies') remotely controlled together, often for DDoS attacks.

Quick Facts (exam favourites): Virus needs a host + human action โ€ข Worm spreads by itself over a network, no host needed โ€ข Trojan does not self-replicate at all โ€ข Ransomware = encryption + ransom demand.

3. Types of Computer Viruses (by behaviour) - Boot Sector Virus: Infects the master boot record (MBR) of a hard disk/USB; activates when the system boots. Example: Michelangelo, Stoned. - File Infector Virus: Attaches to executable files (.exe, .com) and spreads when the infected program runs. - Macro Virus: Written in a macro language (e.g., VBA) and infects documents/templates such as MS Word or Excel files. Example: Melissa.

6. Antivirus Software

Antivirus software detects, prevents, and removes malware. It works mainly through signature-based detection (matching known virus code patterns) and heuristic/behaviour-based detection (flagging suspicious behaviour of unknown/new viruses).

Core functions: Scanning, Detection, Quarantine (isolating an infected file without deleting it), Disinfection/Removal, and real-time protection.

Popular antivirus software (commonly asked in MCQs): Quick Heal, McAfee, Norton, Kaspersky, Avast, AVG, Bitdefender, Windows Defender (built into Windows), Avira, ESET NOD32, Sophos, Panda, K7.

Note: No antivirus can guarantee 100% protection, especially against brand-new 'zero-day' threats for which no signature yet exists.

7. Famous Viruses / Worms / Attacks โ€” Year-wise

A very common MCQ pattern is matching a virus/worm name to its year, type, or impact. Memorise this table well.

Name Year Type / Notable Fact Creeper 1971 First experimental self-replicating program (precursor to viruses). Brain 1986 First MS-DOS PC virus, boot sector, created in Pakistan. Morris Worm 1988 First worm to spread widely via the internet; created by Robert Tappan Morris. Melissa 1999 Fast-spreading macro virus via MS Word/email (Outlook). ILOVEYOU 2000 Worm via email attachment 'LOVE-LETTER-FOR-YOU.txt.vbs'; caused billions in damage. Code Red 2001 Worm that attacked Microsoft IIS web servers. Nimda 2001 Fast-spreading worm using multiple infection methods. SQL Slammer 2003 Worm that caused a global internet slowdown by exploiting SQL Server. MyDoom 2004 One of the fastest-spreading email worms ever recorded. Conficker 2008 Worm exploiting Windows vulnerability; created a large botnet. Stuxnet 2010 Sophisticated worm targeting industrial control systems (Iran's nuclear program). Zeus 2011 Trojan horse targeting banking credentials via keylogging. WannaCry 2017 Global ransomware attack exploiting Windows SMB vulnerability (EternalBlue). Petya / NotPetya 2017 Ransomware/wiper attack affecting systems worldwide.

8. Prevention & Safety Measures - Install a reputed antivirus/anti-malware program and keep its virus definitions updated. - Keep the operating system and all software updated with the latest security patches. - Enable and properly configure a firewall (hardware or software) to filter network traffic. - Avoid opening email attachments or clicking links from unknown/suspicious senders. - Scan removable drives (USB/pen drives) before opening their contents. - Download software only from official/trusted sources; avoid pirated software. - Take regular backups of important data (local + cloud). - Use strong, unique passwords and enable two-factor authentication where possible. 9. Important Terminology

Term Meaning

Firewall A security system (hardware/software) that monitors and controls incoming/outgoing network traffic ba

Quarantine Isolating an infected file so it cannot harm the system, without deleting it immediately.

Patch A software update released to fix security vulnerabilities or bugs.

Zero-day attack An attack that exploits a vulnerability before the developer has released a fix/patch for it.

Phishing Fraudulent attempt to obtain sensitive data by disguising as a trustworthy source (usually via email).

Spoofing Disguising communication (email/IP/website) to appear as if it's from a trusted source.

Payload The part of the malware code that performs the actual malicious/damaging action.

Sandbox An isolated testing environment used to safely run and analyse suspicious code.

Backdoor A hidden method of bypassing normal authentication to access a system.

DDoS Distributed Denial of Service โ€” overwhelming a server with traffic from many systems (often a botnet

11. Practice MCQs (Self-Test)

Attempt these without looking back at the notes. Answers are given at the end.

Q1. Who is credited with coining the term 'computer virus'?

(A) Robert Morris (B) Fred Cohen (C) Alan Turing (D) Kevin Mitnick

Q2. Which type of malware can spread across a network WITHOUT attaching itself to a host file?

(A) Virus (B) Trojan Horse (C) Worm (D) Adware

Q3. A program that appears useful/legitimate but carries a hidden malicious function is called a:

(A) Worm (B) Trojan Horse (C) Boot sector virus (D) Polymorphic virus

Q4. Which malware type encrypts a victim's files and demands payment for the decryption key?

(A) Spyware (B) Adware (C) Ransomware (D) Rootkit

Q5. The Melissa virus (1999) is a classic example of which type of virus?

(A) Boot sector virus (B) Macro virus (C) Multipartite virus (D) Overwrite virus

Q6. Which virus type changes/mutates its own code on each infection to evade antivirus detection?

(A) Stealth virus (B) Resident virus (C) Polymorphic virus (D) File infector virus

Q7. The 'ILOVEYOU' malicious program (2000) is best classified as a:

(A) Boot sector virus (B) Email worm (C) Rootkit (D) Adware

Q8. Which 2017 ransomware attack exploited the Windows SMB vulnerability known as EternalBlue?

(A) Stuxnet (B) Conficker (C) WannaCry (D) Zeus

Q9. Isolating an infected file so it cannot spread, without deleting it, is called:

(A) Patching (B) Quarantine (C) Spoofing (D) Sandboxing

Q10. Which security tool primarily monitors and filters incoming/outgoing network traffic?

(A) Antivirus (B) Firewall (C) Keylogger (D) Rootkit

Q11. A vulnerability exploited by attackers before a security patch is released is called a:

(A) Backdoor attack (B) Phishing attack (C) Zero-day attack (D) DDoS attack

Q12. Stuxnet (2010) is notable because it specifically targeted:

(A) Home computer files (B) Banking passwords (C) Industrial control/SCADA systems (D) Email servers

Q13. Which malware secretly records every keystroke made by a user?

(A) Adware (B) Keylogger (C) Worm (D) Trojan

Q14. The Morris Worm (1988) is significant as it was the first:

(A) Boot sector virus (B) Ransomware attack (C) Worm to spread widely via the internet (D) Macro virus

Q15. A network of infected 'zombie' computers controlled remotely, often for DDoS attacks, is called a:

(A) Sandbox (B) Botnet (C) Firewall (D) Payload

Answer Key

Q1-B Q2-C Q3-B Q4-C Q5-B Q6-C Q7-B Q8-C Q9-B Q10-B Q11-C Q12-C Q13-B Q14-C Q15-B