1. Introduction to Security
Computer and network security protects information, devices and services from unauthorized access, misuse, modification and destruction.
Security Goals
- Confidentiality: data is available only to authorized users.
- Integrity: data is not changed without permission.
- Availability: services remain accessible.
- Authentication: identity is verified.
- Non-repudiation: a user cannot deny an action.
2. Intruders
An intruder is a person or program that attempts unauthorized access to a system, network or information.
Types of Intruders
| Type | Description | Example |
|---|
| Masquerader | Outsider pretending to be an authorized user | Using a stolen password |
| Misfeasor | Legitimate user misusing privileges | Employee accessing restricted records |
| Clandestine User | Attacker gaining supervisory control and hiding activity | Disabling audit logs |
Common Activities
- Stealing data
- Changing or deleting information
- Installing malware
- Privilege escalation
- Disrupting services
3. Intrusion Detection System
An Intrusion Detection System monitors host or network activity and identifies suspicious behavior or policy violations.
Network / Host Activity
|
Data Collection
|
IDS Analysis
|
Alert / Report
Types
- Host-Based IDS: monitors files, logs and processes on one device.
- Network-Based IDS: monitors packets and network traffic.
Detection Methods
- Signature based: detects patterns of known attacks.
- Anomaly based: detects deviation from normal behavior.
| Method | Advantage | Limitation |
|---|
| Signature based | Accurate for known attacks | May miss new attacks |
| Anomaly based | Can identify unknown attacks | May generate false alarms |
4. Password Management
Password management includes securely creating, storing, using and changing passwords.
Guidelines
- Use long and unique passwords
- Avoid names, dates and common words
- Use passphrases
- Enable multi-factor authentication
- Never share passwords
- Change compromised passwords immediately
Password Attacks
- Brute-force attack
- Dictionary attack
- Credential stuffing
- Phishing
- Keylogging
- Shoulder surfing
Storage rule: Passwords should be stored as salted hashes, not as plaintext.
5. Malicious Software
Malware is software designed to damage systems, steal information, disrupt services or obtain unauthorized control.
- Virus
- Worm
- Trojan horse
- Spyware
- Ransomware
- Rootkit
- Adware
6. Computer Virus
A computer virus is malicious code that attaches to a host file or program and spreads when the infected host executes.
Life Cycle
- Dormant phase
- Propagation phase
- Triggering phase
- Execution phase
Types
- File infector virus
- Boot-sector virus
- Macro virus
- Polymorphic virus
- Multipartite virus
7. Computer Worm
A worm is a self-replicating malicious program that spreads automatically through networks without attaching to a host file.
- Replicates automatically
- Consumes bandwidth and resources
- Exploits network vulnerabilities
- May install additional malware
- Can spread rapidly
8. Trojan Horse
A Trojan horse is a malicious program that appears legitimate but performs hidden harmful actions.
- Steals credentials
- Creates a backdoor
- Downloads other malware
- Monitors user activity
- Modifies or deletes files
Important: A Trojan generally does not self-replicate and usually depends on user installation.
9. Virus, Worm and Trojan Comparison
| Feature | Virus | Worm | Trojan |
|---|
| Needs host file | Yes | No | No |
| Self-replicates | After execution | Yes | No |
| Automatic spread | Limited | Yes | No |
| User action | Often needed | Not always | Usually needed |
| Main technique | Infects files | Uses network weaknesses | Pretends to be legitimate |
10. Biometrics
Biometric authentication verifies identity using measurable physical or behavioral characteristics.
Types
- Fingerprint
- Face recognition
- Iris recognition
- Retina recognition
- Voice recognition
- Signature dynamics
- Keystroke pattern
Biometric Sample
|
Feature Extraction
|
Template Matching
|
Accept or Reject
Performance Measures
- FAR: False Acceptance Rate
- FRR: False Rejection Rate
- EER: Equal Error Rate
11. Authentication
Authentication verifies the identity of a user, device or system.
Authentication Factors
- Something you know: password or PIN
- Something you have: card or phone
- Something you are: biometric trait
- Somewhere you are: location
- Something you do: behavioral pattern
Multi-Factor Authentication
Multi-factor authentication combines two or more independent factors to provide stronger protection.
12. Firewall
A firewall is a hardware or software security system that controls incoming and outgoing traffic according to predefined rules.
Trusted Network
|
Firewall
|
Untrusted Internet
Types of Firewalls
| Type | Working | Feature |
|---|
| Packet Filtering | Checks addresses, protocol and ports | Fast and simple |
| Stateful Inspection | Tracks active connections | Context-aware filtering |
| Application Proxy | Acts as application intermediary | Deep control |
| Circuit-Level Gateway | Validates sessions | Hides internal network |
| Next-Generation Firewall | Combines filtering and threat detection | Advanced protection |
Functions
- Traffic filtering
- Access control
- Network segmentation
- Logging and monitoring
- Blocking unauthorized services
Limitations
- Cannot stop every insider attack
- Cannot replace antivirus
- Misconfiguration reduces protection
- Cannot prevent all social engineering attacks
Unit 5 Summary
- Intruders attempt unauthorized access or misuse legitimate privileges.
- IDS detects suspicious host and network activity.
- Password management reduces account compromise.
- Viruses attach to files, worms self-replicate and Trojans disguise themselves.
- Biometric systems use physical or behavioral features.
- Authentication verifies identity using one or more factors.
- Firewalls control traffic according to security policies.
Important RGPV Exam Questions
Long Answer Questions
- Define intruder and explain its types.
- Explain intrusion detection systems and their functions.
- Compare host-based and network-based IDS.
- Compare signature-based and anomaly-based detection.
- Explain password management and password attacks.
- Explain virus and its life cycle.
- Explain worm and Trojan horse.
- Differentiate virus, worm and Trojan horse.
- Explain biometric authentication and performance measures.
- Explain authentication factors and MFA.
- Define firewall and explain its types.
- Explain firewall functions and limitations.
Short Answer Questions
- Define masquerader.
- What is a misfeasor?
- Expand IDS.
- What is anomaly detection?
- Define brute-force attack.
- What is a Trojan horse?
- Expand FAR and FRR.
- What is packet filtering?
Exam Strategy: Use comparison tables for malware and IDS methods. Draw IDS, biometric and firewall diagrams.
Download Study Resources
Complete Notes PDF
Printable notes will be uploaded soon.
Coming SoonImportant Questions
Question bank will be available soon.
Coming SoonPYQ Analysis
Previous-year analysis will be added soon.
Coming Soon
Frequently Asked Questions
An intruder is a person or program that attempts unauthorized access or misuse of a computer system.
An IDS monitors host or network activity and generates alerts for suspicious behavior.
A virus normally attaches to a host file, while a worm is independent and can spread automatically.
It verifies identity using physical or behavioral characteristics.
A firewall controls network traffic and blocks communication that violates security rules.
Related Study Pages