Introduction to Information Technology · Unit 11 · 3 hrs
Computer Security
Exam-focused notes for Computer Security (Introduction to Information Technology, CSC114): what the TU syllabus asks and how it has actually been tested, with 8 solved past questions from this unit.
Computer Security in short
This final chapter looks at protecting computer systems: the threats and attacks they face, the malicious software behind many of them, the security services a system should provide, the mechanisms used to provide them, and the wider practice of security awareness and policy.
What this unit covers
- Introduction
- Security Threat and Security Attack
- Malicious Software
- Security Services
- Security Mechanisms (Cryptography, Digital Signature, Firewall, Users Identification and Authentication, Intrusion Detection Systems)
- Security Awareness
- Security Policy
Security Awareness
2081 · 5 marks
Explain security awareness and security policy in brief. [5]
Security Mechanisms
2080 · 5 marks
Define cryptography. Why do we use firewall? [5]
Show solved answerHide answer
Cryptography and Firewall
1. Cryptography (Definition)
Cryptography is the art of protecting information by transforming it (encrypting it) into an unreadable format called cipher text.
- Only those who possess a secret key can decrypt the message back into readable plain text.
- It is used as a core security mechanism -- a technical tool and technique used to implement security services.
Key Concepts in Cryptography:
| Term | Description |
|---|---|
| Plain Text | Original readable message |
| Cipher Text | Encrypted, unreadable form of the message |
| Secret Key (Private Key) | A variable used with an algorithm to both encrypt and decrypt data; used in symmetric cryptography |
| Public Key | A variable used with an algorithm to decrypt code; used in asymmetric cryptography |
| Hash Function | A mathematical function that converts a numerical input of arbitrary length into a fixed-length compressed output |
| Digital Signature | A security mechanism used to verify the authenticity and integrity of a message |
2. Why Do We Use a Firewall?
A firewall is a network security system that monitors and controls incoming and outgoing network traffic based on predetermined security rules.
We use a firewall because:
- It establishes a barrier between a trusted internal network and an untrusted external network (such as the Internet), preventing unauthorized access.
- It protects systems from malicious attacks, hackers, and unauthorized intrusions.
- It filters network traffic based on defined security rules, allowing only legitimate communication.
Types of Firewalls:
1. Hardware Firewall:
- A physical device installed between the modem and the computer.
- Protects an entire network.
- Usually more expensive and harder to configure.
- Examples: Cisco PIX, Watchguard, Netscreen
2. Software Firewall:
- A software application installed on the computer system to be protected.
- Protects a single computer.
- Usually less expensive and easier to configure.
- Examples: Norton Internet Security, McAfee Security
In summary: Cryptography secures data by making it unreadable to unauthorized users, while a firewall secures a network by controlling what traffic is allowed in or out -- both are essential components of information security.
2079 · 5 marks
What is firewall? How firewall is used to secure computer systems? [5]
2077 · 5 marks
What is cryptography? How does cryptography provide security to our data? [5]
Security Threat and Security Attack
2078 · 5 marks
Differentiate security attack for security threat. How virus affects computer? [5]
Malicious Software
2075 · 5 marks
What is malicious software? How virus differs from worms? [5]
Show solved answerHide answer
Malicious Software and Virus vs. Worms
What is Malicious Software? (Malware)
Malicious software (Malware) refers to various forms of harmful software designed to damage, disrupt, or gain unauthorized access to computer systems. It is any software that is intentionally created to cause harm to a computer, server, network, or user.
Attackers use a variety of methods to deliver malware to a target computer, such as phishing emails, malicious downloads, and infected websites.
Common examples of malicious software include:
- Virus - A self-replicating program that attaches itself to other programs
- Worm - Spreads across networks by making copies of itself
- Trojan Horse - A program that appears harmless but is actually malicious
- Ransomware - Encrypts user data and demands payment for recovery
How Virus Differs from Worms
| Basis | Virus | Worm |
|---|---|---|
| Definition | A malicious program that self-replicates by copying itself to another program | A type of malware that infects other systems by making multiple copies of itself and spreading across a network |
| Spreading Method | Requires a host program or file to attach itself to | Does not need a host; spreads independently |
| Human Interaction | Requires human action (e.g., opening a file) to spread | Spreads automatically without human intervention |
| Target | Attaches to and corrupts files or programs on a single system | Travels across networks and infects multiple computers |
| Speed of Spread | Spreads relatively slowly | Spreads very quickly across networks |
| Damage | Corrupts or modifies files on the infected system | Consumes network bandwidth and system resources |
| Example | File infector virus | Morris Worm, ILOVEYOU worm |
Summary
In short, a virus needs a host file and human interaction to spread, while a worm is self-sufficient and spreads automatically across networks. Both are forms of malicious software that pose serious threats to computer security and integrity.
0 · 5 marks
What is malicious software? How virus differs from worms? [5]
Show solved answerHide answer
Malicious Software and Virus vs. Worms
What is Malicious Software?
Malicious software (Malware) refers to various forms of harmful software designed to damage, disrupt, or gain unauthorized access to computer systems. It is any software that is intentionally created to cause harm to a computer, server, network, or its users.
Attackers use a variety of methods to deliver malware to a target computer, such as phishing emails, malicious downloads, and infected websites.
Common examples of malware include:
- Viruses
- Worms
- Trojan Horses
- Ransomware
How Virus Differs from Worms
| Basis | Virus | Worm |
|---|---|---|
| Definition | A computer virus is a malicious program that self-replicates by copying itself to another program. | A computer worm is a type of malware that infects other systems by making multiple copies of itself and spreading into other computers within the network. |
| Host Required | A virus requires a host program to attach itself to in order to spread. | A worm does not require a host program; it is a standalone program. |
| Spreading | Spreads when an infected file or program is executed by the user. | Spreads automatically across networks without any user interaction. |
| Replication | Replicates by attaching itself to other programs or files. | Replicates independently and spreads through network connections. |
| Speed of Spread | Spreads relatively slower as it depends on user action. | Spreads faster as it propagates automatically over networks. |
| Damage | Corrupts or modifies files on the infected system. | Consumes network bandwidth and system resources, slowing down systems. |
| Example | File infector viruses, boot sector viruses. | Morris Worm, ILOVEYOU worm. |
Summary
In short, both viruses and worms are types of malicious software that self-replicate, but the key difference is that a virus needs a host program and user action to spread, while a worm spreads independently across networks without requiring a host or user intervention.
Security Services
2074 · 5 marks
Define each of the terms confidentiality, integrity, and authentication. [5]
Make Unit 11 stick
Practice CSC114 with flashcards & quizzes