Docsity

CYBER SECURITY SHORT NOTE PART 1, Summaries of Computer science

Toggle sidebar
bg1
PART I — FOUNDATIONS OF CYBERSECURITY
• Introduction to Cybersecurity & Ethics
• Information Security Governance, Risk & Compliance
• Operating System Security Fundamentals
• Linux Administration for Security
• Windows Security & Active Directory Concepts
INTRODUCTION TO CYBERSECURITY & ETHICS
INTRODUCTION
Cybersecurity has become a critical discipline in the digital era due to the exponential growth of
data, internet-connected systems, cloud services, and cyber threats. Cyber-attacks today can impact
national security, economic stability, organizational reputation, and individual privacy.
This chapter introduces the core concepts, principles, threat landscape, and ethical foundations of
cybersecurity, which form the base for all advanced security topics.
1.1 WHAT IS CYBERSECURITY?
Definition
Cybersecurity is the practice of protecting digital assets—including data, networks, systems, devices,
and applications—from unauthorized access, misuse, disruption, modification, or destruction.
Cybersecurity is not a single technology; it is a combination of technology, processes, and human
behaviour working together to defend digital environments.
Scope of Cybersecurity
Cybersecurity covers multiple domains:
• Network Security – Protecting data in transit
• Application Security – Securing software and code
• Endpoint Security – Protecting user devices
• Cloud Security – Securing virtual infrastructure
• Information Security – Protecting data itself
• Operational Security (OpSec) – Protecting processes and workflows
Why Cybersecurity Is Important
• Increased digital dependency
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e

Partial preview of the text

Download CYBER SECURITY SHORT NOTE PART 1 and more Summaries Computer science in PDF only on Docsity!

PART I — FOUNDATIONS OF CYBERSECURITY

  • Introduction to Cybersecurity & Ethics
  • Information Security Governance, Risk & Compliance
  • Operating System Security Fundamentals
  • Linux Administration for Security
  • Windows Security & Active Directory Concepts INTRODUCTION TO CYBERSECURITY & ETHICS INTRODUCTION Cybersecurity has become a critical discipline in the digital era due to the exponential growth of data, internet-connected systems, cloud services, and cyber threats. Cyber-attacks today can impact national security, economic stability, organizational reputation, and individual privacy. This chapter introduces the core concepts, principles, threat landscape, and ethical foundations of cybersecurity, which form the base for all advanced security topics. 1.1 WHAT IS CYBERSECURITY? Definition Cybersecurity is the practice of protecting digital assets —including data, networks, systems, devices, and applications—from unauthorized access, misuse, disruption, modification, or destruction. Cybersecurity is not a single technology; it is a combination of technology, processes, and human behaviour working together to defend digital environments. Scope of Cybersecurity Cybersecurity covers multiple domains:
  • Network Security – Protecting data in transit
  • Application Security – Securing software and code
  • Endpoint Security – Protecting user devices
  • Cloud Security – Securing virtual infrastructure
  • Information Security – Protecting data itself
  • Operational Security (OpSec) – Protecting processes and workflows Why Cybersecurity Is Important
  • Increased digital dependency
  • Rising cybercrime and ransomware
  • Regulatory and legal requirements
  • Protection of sensitive personal and organizational data Cybersecurity Goals
  • Prevent unauthorized access
  • Detect security incidents
  • Respond to attacks
  • Recover from failures 1.2 CIA TRIAD (CONFIDENTIALITY, INTEGRITY, AVAILABILITY) – IN DEPTH The CIA Triad is the fundamental security model used to design, evaluate, and implement security controls. CONFIDENTIALITY Definition Confidentiality ensures that information is accessible only to authorized individuals, systems, or processes. Threats to Confidentiality
  • Data breaches
  • Unauthorized access
  • Eavesdropping
  • Insider misuse Security Controls for Confidentiality
  • Authentication & authorization
  • Encryption (data at rest & in transit)
  • Access control lists (ACLs)
  • Data classification policies INTEGRITY

CIA TRIAD – REAL-WORLD EXAMPLE

Hospital Information System :

  • Confidentiality: Patient records accessible only to authorized doctors
  • Integrity: Medical data must be accurate and unaltered
  • Availability: Doctors must access records 24/7 for treatment Failure in any one component can lead to serious harm, legal issues, and loss of life. 1.3 THREAT ACTORS & MOTIVATIONS A threat actor is any individual or group that intentionally or unintentionally poses a risk to information systems. **TYPES OF THREAT ACTORS
  1. CYBERCRIMINALS Motivation:** Financial gain Activities:
  • Ransomware attacks
  • Banking fraud
  • Data theft 2. HACKTIVISTS Motivation: Political, social, or ideological causes Activities:
  • Website defacement
  • Data leaks
  • DDoS attacks 3. STATE-SPONSORED ACTORS Motivation: Espionage, intelligence gathering, cyber warfare Activities:
  • Advanced Persistent Threats (APT)
  • Infrastructure sabotage 4. INSIDER THREATS Motivation: Disgruntlement, negligence, or financial incentives Types:
  • Malicious insiders
  • Negligent insiders 5. SCRIPT KIDDIES Motivation: Curiosity, learning, reputation Characteristics:
  • Limited technical skills
  • Use pre-built tools 1.4 ETHICAL SECURITY BEHAVIOUR Ethics in cybersecurity define what is acceptable and responsible behavior when handling systems, data, and security tools. WHY ETHICS ARE IMPORTANT
  • Prevent misuse of skills
  • Protect user privacy
  • Maintain professional trust
  • Ensure legal compliance CORE ETHICAL PRINCIPLES IN CYBERSECURITY RESPONSIBLE DISCLOSURE
  • Report vulnerabilities to owners
  • Allow time for fixes before public release AUTHORIZATION BEFORE TESTING
  • Obtain written permission

GOVERNANCE, RISK & COMPLIANCE (GRC) – ADVANCED

INTRODUCTION

Governance, Risk, and Compliance (GRC) form the strategic and managerial backbone of cybersecurity. While technical controls (firewalls, EDR, encryption) protect systems operationally, GRC ensures that security is planned, governed, measured, and legally compliant. A strong GRC framework helps organizations:

  • Align cybersecurity with business objectives
  • Identify and reduce cyber risks systematically
  • Meet legal, regulatory, and contractual obligations
  • Demonstrate accountability and due diligence GOVERNANCE What is Security Governance? Security governance is the framework by which senior management defines, directs, and oversees cybersecurity strategy, policies, and responsibilities to support organizational goals. Governance answers the question: "How should security be managed and who is responsible?" Objectives of Security Governance
  • Establish security vision and strategy
  • Define policies, standards, and procedures
  • Assign roles and responsibilities
  • Ensure accountability at all levels
  • Measure and improve security performance **Key Elements of Security Governance
  1. Security Policies**
  • High-level rules approved by management
  • Define acceptable and unacceptable behavior Examples:
  • Information Security Policy
  • Acceptable Use Policy
  • Password Policy 2. Roles & Responsibilities
  • Board of Directors – Strategic oversight
  • Top Management – Policy approval and funding
  • CISO / Security Head – Security leadership
  • Employees – Policy compliance 3. Security Strategy
  • Long-term security roadmap
  • Alignment with business objectives
  • Risk-based decision making 4. Metrics & Reporting
  • Key Risk Indicators (KRIs)
  • Key Performance Indicators (KPIs)
  • Security dashboards and audits Importance of Governance
  • Prevents ad-hoc security decisions
  • Ensures consistency across the organization
  • Demonstrates due diligence to regulators RISK MANAGEMENT What is Cyber Risk? Cyber risk is the potential for loss or damage when a threat exploits a vulnerability in an information system. RISK FORMULA Risk = Threat × Vulnerability × Impact
  • Avoid – Stop risky activity
  • Accept – Risk within tolerance 5. MONITOR Purpose: Track risk continuously. Activities:
  • Continuous monitoring
  • Periodic reassessment
  • Incident review IMPORTANCE OF RISK MANAGEMENT
  • Enables informed decision-making
  • Optimizes security spending
  • Reduces unexpected losses COMPLIANCE What is Compliance? Compliance refers to adherence to laws, regulations, standards, and contractual requirements related to information security and data protection. Compliance answers: "What rules must we follow?" MAJOR SECURITY STANDARDS & REGULATIONS ISO/IEC 27001 Type: International Information Security Management System (ISMS) standard Focus:
  • Risk-based security controls
  • Continuous improvement (PDCA cycle) Benefits:
  • Structured security framework
  • Global recognition GDPR (General Data Protection Regulation) Type: Data protection regulation (EU) Focus:
  • Personal data privacy
  • User consent and rights Key Principles:
  • Lawfulness
  • Data minimization
  • Breach notification HIPAA (Health Insurance Portability and Accountability Act) Type: US healthcare regulation Focus:
  • Protection of health information (PHI) Applies To:
  • Hospitals
  • Healthcare providers PCI-DSS (Payment Card Industry – Data Security Standard) Type: Industry standard Focus:
  • Protection of cardholder data Applies To:
  • Merchants
  • Payment processors INDIAN IT ACT & CERT-In GUIDELINES Information Technology Act, 2000 Focus:

OPERATING SYSTEM SECURITY FUNDAMENTALS (ADVANCED)

INTRODUCTION

The Operating System (OS) is the most critical component of any computing environment. It acts as the trusted intermediary between hardware, applications, and users. If the OS is compromised, all applications and data running on it become vulnerable , regardless of how secure they are individually. Therefore, operating system security focuses on isolation, control, monitoring, and enforcement of security policies at the system level. OS RESPONSIBILITIES IN SECURITY An operating system enforces security by controlling how processes execute, how memory is accessed, how users interact with resources, and how activities are recorded. PROCESS ISOLATION Definition Process isolation ensures that each running program (process) operates in its own protected execution environment , preventing it from interfering with other processes or the OS itself. Why Process Isolation Is Important

  • Prevents one compromised process from affecting others
  • Limits malware spread
  • Protects sensitive system processes How OS Implements Process Isolation
  • User mode vs Kernel mode o User mode: Restricted privileges o Kernel mode: Full system access
  • Process IDs (PID)
  • Context switching
  • Hardware-assisted isolation (CPU rings)

Security Threats Without Isolation

  • Privilege escalation
  • Process injection
  • System crashes MEMORY MANAGEMENT Definition Memory management controls allocation, access, and protection of system memory to prevent unauthorized access or corruption. Security Goals of Memory Management
  • Prevent memory leaks
  • Stop buffer overflow attacks
  • Protect kernel memory Memory Protection Mechanisms
  • Virtual memory
  • Paging & segmentation
  • Address Space Layout Randomization (ASLR)
  • Data Execution Prevention (DEP) Security Benefits
  • Prevents code execution in data regions
  • Makes exploitation unpredictable 3. ACCESS CONTROL Definition Access control determines who can access what resources and what actions they can perform. Types of Access Control Models
  • Discretionary Access Control (DAC)
  • Regular review FILE PERMISSIONS (WINDOWS & LINUX) File permissions control who can read, write, modify, or execute files and directories. FILE OWNERSHIP Definition Every file has an owner who has primary control over it.
  • Linux: User & group ownership
  • Windows: Owner SID PERMISSION TYPES Linux Permission Types
  • Read (r) – View file contents
  • Write (w) – Modify file contents
  • Execute (x) – Run file as a program Applied to:
  • Owner
  • Group
  • Others Windows Permission Types
  • Read
  • Write
  • Modify
  • Full Control Permissions are cumulative and granular. ACCESS CONTROL LISTS (ACLs) Definition An Access Control List (ACL) is a list that specifies detailed permissions for multiple users or groups on a resource.

ACLs in Linux

  • Extend traditional permission model
  • Allow fine-grained access
  • Managed using getfacl and setfacl ACLs in Windows
  • Integrated with NTFS
  • Uses Security Identifiers (SIDs)
  • Supports inheritance PERMISSION INHERITANCE
  • Child objects inherit permissions from parent directories
  • Simplifies permission management COMMON MISCONFIGURATIONS
  • Over-permissive files (777)
  • Shared admin accounts
  • Disabled auditing SECURITY BEST PRACTICES
  • Enforce least privilege
  • Regular permission audits
  • Separate admin and user accounts
  • Enable auditing and logging CONCLUSION Operating system security is the foundation of system trust. By enforcing:
  • Strong process isolation
  • Secure memory management

LINUX ARCHITECTURE & USER SECURITY (ADVANCED)

INTRODUCTION

Linux is widely used in servers, cloud platforms, containers, firewalls, IoT, and security appliances. Its open-source nature, strong permission model, and modular architecture make it powerful—but only when configured securely. This chapter explains Linux internal architecture and secure user & permission management , which are essential for system hardening and incident response. LINUX ARCHITECTURE BASICS Linux follows a layered architecture , where each layer has a specific role and security responsibility.

1. KERNEL Definition The kernel is the core of the Linux operating system. It directly interacts with hardware and controls all system resources. Kernel Responsibilities - Process scheduling - Memory management - Device drivers - System calls - Security enforcement Kernel Security Features - User mode vs Kernel mode - Mandatory Access Control (SELinux / AppArmor) - Kernel modules control - Secure boot support Security Risk If the kernel is compromised, the attacker gains full system control.

2. SHELL

Definition The shell is a command-line interface that allows users to interact with the system. Examples:

  • Bash
  • Zsh
  • Fish Security Role of Shell
  • Enforces user permissions
  • Executes commands with user privileges
  • Logs command history Security Risks
  • Command injection
  • Malicious shell scripts
  • Weak shell restrictions FILESYSTEM Definition The filesystem organizes and stores data on disk in a hierarchical structure. Key Linux Directories & Security Importance
  • / : Root directory
  • /etc : Configuration files (critical)
  • /bin & /sbin : Essential binaries
  • /home : User directories
  • /var : Logs and variable data
  • /tmp : Temporary files (high risk)