Information Security · Unit 7
Malware and Cyber Threats
Exam-focused notes for Malware and Cyber Threats (Information Security, BIT303): what the TU syllabus asks and how it has actually been tested, with 6 solved past questions from this unit.
Malware and Cyber Threats in short
Malware is software built to harm a system, steal data or give an attacker control. This chapter explains the main types, how they spread, how people are tricked, and how we defend and investigate.
What this unit covers
- Malicious software definition and types
- Viruses, worms and Trojan horses
- Zombies, bots and rootkits
- Phishing attacks
- Countermeasures for malware
- Audit trail analysis
Malicious software definition and types
2082 · 10 marks
Define malicious software. Explain the different types of malicious softwares.[10]
Show solved answerHide answer
Malicious Software: Definition and Types
Definition of Malicious Software
Malicious software (Malware) is any software program that is intentionally designed to gain unauthorized access to a computer system, disrupt normal operations, steal sensitive information, or cause damage to hardware, software, or data without the knowledge or consent of the user.
Malware is created by attackers, hackers, or cybercriminals with harmful intent. It can spread through email attachments, infected websites, removable media, network connections, and software downloads.
Types of Malicious Software
1. Virus
- A virus is a self-replicating program that attaches itself to legitimate executable files or programs.
- It activates when the infected program is executed and spreads to other files.
- It can corrupt or delete files, slow down the system, and cause data loss.
- Example: File infector virus, Boot sector virus.
- Key feature: Requires a host program to spread.
2. Worm
- A worm is a standalone malicious program that replicates itself and spreads across networks without needing a host file.
- Unlike viruses, worms do not need to attach to an existing program.
- They consume network bandwidth and system resources.
- Example: Morris Worm, ILOVEYOU worm.
- Key feature: Self-propagating through networks.
3. Trojan Horse
- A Trojan horse is a program that appears to be legitimate and useful software but contains hidden malicious code.
- It does not self-replicate but tricks users into installing it.
- Once installed, it can create backdoors, steal data, or allow remote access.
- Example: Remote Access Trojans (RATs), Banking Trojans.
- Key feature: Disguised as legitimate software.
4. Spyware
- Spyware is software that secretly monitors and collects user information without their knowledge.
- It tracks browsing habits, keystrokes, passwords, and personal data and sends it to a third party.
- It often comes bundled with free software downloads.
- Example: Keyloggers, adware with tracking capabilities.
- Key feature: Operates silently in the background.
5. Adware
- Adware is software that automatically displays or downloads unwanted advertisements on a user's computer.
- While not always harmful, it can slow down the system and redirect browsers.
- Some adware also acts as spyware by tracking user behavior.
- Example: Pop-up generators, browser hijackers.
- Key feature: Generates unwanted advertisements.
6. Ransomware
- Ransomware is malware that encrypts the victim's files or locks the system and demands a ransom payment (usually in cryptocurrency) to restore access.
- It is one of the most dangerous and financially damaging types of malware.
- Example: WannaCry, CryptoLocker.
- Key feature: Encrypts data and demands payment.
7. Rootkit
- A rootkit is a collection of tools that allows an attacker to gain administrator-level (root) access to a computer while hiding its presence.
- It modifies the operating system to conceal malicious activity.
- Very difficult to detect and remove.
- Example: NTRootkit, Azazel.
- Key feature: Hides itself and other malware from detection.
8. Backdoor
- A backdoor is a hidden method of bypassing normal authentication to gain unauthorized access to a system.
- It can be installed by a Trojan or created by the software developer intentionally or unintentionally.
- Allows attackers to remotely control the system.
- Key feature: Provides unauthorized remote access.
9. Logic Bomb
- A logic bomb is malicious code that remains dormant until a specific condition or trigger event occurs (e.g., a specific date, time, or user action).
- Once triggered, it executes its payload, which may delete files or crash the system.
- Example: A disgruntled employee planting code to activate on termination date.
- Key feature: Triggered by a specific event or condition.
10. Keylogger
- A keylogger records every keystroke made by a user on the keyboard.
- It captures passwords, credit card numbers, and other sensitive information.
- Can be software-based or hardware-based.
- Key feature: Records keystrokes to steal credentials.
Summary Table
| Type | Self-Replicates | Needs Host | Main Purpose |
|---|---|---|---|
| Virus | Yes | Yes | Corrupt files |
| Worm | Yes | No | Spread via network |
| Trojan | No | No | Backdoor/data theft |
| Spyware | No | No | Steal information |
| Ransomware | No | No | Extort money |
| Rootkit | No | No | Hide malware |
| Logic Bomb | No | Yes | Triggered damage |
| Keylogger | No | No | Capture keystrokes |
Conclusion
Malicious software poses a serious threat to individuals, organizations, and governments. Understanding the different types of malware is essential for implementing effective security measures such as antivirus software, firewalls, regular updates, and user awareness training to protect computer systems and sensitive data.
Zombies, bots and rootkits
2081 · 5 marks
Define zombies, rootkits and Trojans. [5]
Show solved answerHide answer
Zombies, Rootkits, and Trojans
Note: No specific reference notes were found for this topic. The following answer is based on standard cybersecurity concepts as taught in BSc CSIT curriculum.
1. Zombies
A zombie (also called a bot) is a compromised computer that has been infected by malware and is secretly controlled by a remote attacker (called a botmaster or bot herder) without the knowledge of the legitimate owner.
Key characteristics:
- The infected machine responds to commands from a Command and Control (C&C) server
- Multiple zombies form a botnet
- Used to carry out DDoS attacks, send spam emails, steal data, or mine cryptocurrency
- The owner of the zombie machine is usually unaware of the malicious activity
2. Rootkits
A rootkit is a collection of malicious software tools designed to gain unauthorized root/administrator-level access to a computer system while hiding its presence from users, administrators, and security software.
Key characteristics:
- Operates at a deep level (kernel level or user level)
- Hides files, processes, registry entries, and network connections
- Very difficult to detect and remove
- Often installed after an attacker has already gained initial access
- Can persist even after system reboots (in some cases)
Types: Kernel-level rootkits, User-level rootkits, Bootloader rootkits
3. Trojans (Trojan Horse)
A Trojan or Trojan Horse is a type of malware that disguises itself as a legitimate or useful program to trick users into installing it, but performs malicious actions in the background.
Key characteristics:
- Named after the Greek mythological Trojan Horse
- Does not self-replicate (unlike viruses or worms)
- Relies on social engineering to deceive users
- Once installed, it can create backdoors, steal passwords, download other malware, or give remote access to attackers
- Common examples: Remote Access Trojans (RATs), banking Trojans
Summary Table
| Feature | Zombie | Rootkit | Trojan |
|---|---|---|---|
| Primary purpose | Remote control for attacks | Hide attacker's presence | Disguise as legitimate software |
| Self-replicates | No | No | No |
| Controlled remotely | Yes (by botmaster) | Sometimes | Sometimes |
| Detection difficulty | Moderate | Very High | Moderate |
Countermeasures for malware
2080 · 5 marks
What do you mean by countermeasures for malwares? Discuss about audit trail analysis. [5]
Viruses, worms and Trojan horses
2079 · 5 marks
Differentiate between virus, worm and Trojan horse. [5]
Make Unit 7 stick
Practice BIT303 with flashcards & quizzes