Study Notes: Ransomware and Spyware
Program: National Cyber Olympiad (NCO)
Subject: Networking, Internet & Cyber Security
Topic: Ransomware and Spyware
1. Simple Explanation
Imagine someone breaks into your house, locks your bedroom door from the outside, and slips a note under the door saying, "If you want the key back, pay me $100." That is Ransomware. It is a type of malicious software (malware) that holds your digital files hostage.
Now, imagine someone secretly hiding inside your house, installing hidden cameras, and writing down every password you type, every website you visit, and reading your private letters without you knowing. That is Spyware. It spies on your activities in the background.
Both are major cyber threats that target your privacy, data, and device security.
2. Key Points to Remember
A. Ransomware
- Definition: Malware that encrypts (locks) a victim’s files or entire operating system so they cannot access them.
- The "Ransom": The attacker demands money (usually in cryptocurrency like Bitcoin) in exchange for the decryption key.
- Common Delivery Methods:
- Phishing emails with malicious attachments.
- Malicious links (Drive-by downloads).
- Exploiting outdated software/security vulnerabilities.
- Famous Examples: WannaCry, Petya, LockBit.
- Prevention & Defense:
- Regularly backup important data to an external drive or cloud storage.
- Keep operating systems and antivirus software updated.
- Never click on suspicious links or download unverified email attachments.
B. Spyware
- Definition: Malware that secretly gathers information about a person or organization without their knowledge and sends it to the attacker.
- Key Behaviors:
- Keylogging: Recording every keystroke to steal passwords and credit card numbers.
- Data Harvesting: Stealing personal documents, browsing history, and contact lists.
- Screen/Cam Capture: Taking screenshots or secretly activating the webcam/microphone.
- Adware Connection: Spyware often comes bundled with free software or "Adware" (software that forces unwanted advertisements onto your screen).
- Famous Examples: Pegasus, CoolWebSearch, Zlob.
- Prevention & Defense:
- Install reputable anti-malware/antivirus software.
- Download apps and software only from official, trusted app stores.
- Read permissions carefully before installing apps on your phone or computer (e.g., Why does a flashlight app need access to your contacts?).
3. Worked Example (Olympiad Style Question)
Question:
Rohan receives an email from an unknown sender claiming he has won a lottery. He clicks on the attached file named lottery_win.exe. Suddenly, all his family photos and school project files change their file extensions to .locked, and a message pops up demanding $50 in Bitcoin to restore them. What type of malware has Rohan fallen victim to?
A) Adware
B) Spyware
C) Ransomware
D) Trojan Horse
Correct Answer: C) Ransomware
- Explanation:
- The key clues in the scenario are that Rohan's files were locked/encrypted and a monetary demand (ransom) was made to unlock them. This is the classic definition of Ransomware.
- Spyware would have secretly stolen the data without locking it.
- Adware would have flooded him with pop-up ads.
- While the malicious file masqueraded as a gift (making it technically a Trojan), the primary action performed was holding files hostage, making Ransomware the most accurate and specific classification.
4. Quick Revision Summary
- Malware: Malicious software designed to harm or exploit computers.
- Ransomware: Locks/Encrypts files and demands money for the key. (Defense: Backups).
- Spyware: Secretly watches and steals data (like passwords and browsing habits) without your knowledge. (Defense: Be careful with app permissions and downloads).
- Golden Rule of Cyber Safety: Never open attachments from unknown senders and always keep your software updated!