Comprehensive Cybersecurity Course Notes

Course Overview

  • Institution: Arab Academy for Science, Technology, and Maritime Transport (AAST-MT)
  • Course: Introduction to Cybersecurity, CCY2001
  • Instructor: Dr. Mohamed Samir
  • Academic Year: Second Semester, 2024/2025

Course Evaluation Structure

  • 7th Grade Exam (Practical): 30 Marks (30%)
  • 12th Grade Exam (Practical): 20 Marks (20%)
  • Year Work Project: 10 Marks (10%)
  • Final Exam: 40 Marks (40%)

Reference Textbook

  • Title: Cybersecurity Fundamentals: A Real-World Perspective
  • Authors: Kutub Thakur, Al-Sakib Khan Pathan
  • Publisher: CRC Press

Course Outline

  1. Course Introduction
  2. Network Model and Top Layered HTTP Application
  3. Cybersecurity Basics
  4. Cyberattacks and Vulnerabilities
  5. Computer Malware and Classification
  6. Cryptography Basics – Part I
  7. Cryptography Basics – Part II
  8. Countermeasures for Cyberattacks – Part I
  9. Countermeasures for Cyberattacks – Part II
  10. Wireless Network Security Basics
  11. E-commerce Security Basics
  12. Cybersecurity Risk Management Basics

Introduction to Network Model

  • Internet Definition: Described as a "network of networks" where thousands of interconnected ISPs communicate using protocols to exchange messages, such as TCP, IP, and HTTP.
  • Protocols: Rules that control how messages are sent and received.
  • Internet Standards: Governed by organizations such as IETF (Internet Engineering Task Force) through documents known as RFCs (Requests for Comments).

Internet as a Service

  • Infrastructure: Provides services for applications such as web browsing, VoIP, email, gaming, e-commerce, and social networking.
  • Service Options: Similar to postal service; different infrastructures include mobile networks, global ISPs, and home networks.

Protocols in Networking

  • Human Protocols Example: Includes communication norms such as asking for the time or how to introduce people.
  • Network Protocols Definition: Govern all communication activities within the Internet and define message formats and ordered exchanges.

ISP Access Network

  • DSL (Digital Subscriber Line): Utilizes existing telephone lines for the transmission of voice and data over different frequencies.
    • Upstream Rate: Up to 2.5 Mbps (typically < 1 Mbps)
    • Downstream Rate: Up to 24 Mbps (typically < 10 Mbps)

Cable Network Access

  • Architecture: Utilizes cable modems, frequency division multiplexing to transfer data and video between various channels.

Network Core Functions

  1. Forwarding: Moving packets from router inputs to outputs.
  2. Routing: Deciding the pathway packets take across the network.
    • Routing Algorithms: Determine how to forward packets based on local forwarding tables.

Network Structure

  • Interconnected ISPs: Consists of regional and global ISPs connecting various access networks and content provider networks through Internet Exchange Points (IXPs).

Layering in Networks

  • Purpose of Layering: Simplifies the complexity of systems by providing a modular architecture that aids maintenance and updates without disrupting the entire network system.

Internet Protocol Stack

  • Layers of the Stack:
    1. Application: Services such as FTP, SMTP, HTTP
    2. Transport: Data transfer using TCP or UDP
    3. Network: Routing using IP
    4. Link: Data transfer on local networks (e.g. Ethernet, Wi-Fi)
    5. Physical: Bits “on the wire”

Application Architectures

  • Client-Server Model:
    • Server: Always-on, maintaining a permanent IP address.
    • Client: Intermittently connected, may have dynamic IPs, interacts with the server without peer-to-peer communication.
  • P2P Model: Users connect directly without a centralized always-on server.

Processes and Communication

  • Process Definition: A program running on a host that can communicate with other processes via inter-process communication and messages.
  • Sockets: Act as endpoints for processes to send/receive messages.
  • Addressing Processes: Processes need unique identifiers (IP address + port numbers).

Transport Service Requirements

  • Different applications have varied service requirements in aspects such as data integrity, timing, throughput, and security.
  • Loss Tolerance: Applications diverge in whether they can tolerate data loss (e.g. multimedia streaming vs. file transfer).

Internet Transport Protocols and Applications

  • TCP: Provides reliable data transfer, flow control, and congestion control; connection-oriented setup required.
  • UDP: Supports unreliable transfers, minimal overhead; useful for applications needing speed over reliability (e.g. live streaming).

Web and HTTP Overview

  • HTTP (Hypertext Transfer Protocol):
    • Client-server model for web page requests and responses.
    • Stateless protocol; servers do not remember previous transactions.

Types of HTTP Messages

  • Request Messages:
    • Structure includes a request line (method, URL, version), header lines, and optional body.
  • Response Messages:
    • Structure includes a status line, header lines, and data.
  • Common status codes:
    • 200 OK: Success
    • 404 Not Found: Document not located

Cookies and User State Management

  • Cookies allow websites to maintain session information and user behavior tracking.
  • Components include cookie headers in messages and backend databases to associate user IDs.
  • Use Cases: Authorization, shopping cart management, and session state management.

Conclusion

  • Understanding the structure, protocols, and services of the internet is essential in cybersecurity.
  • The foundational concepts explored will aid in recognizing vulnerabilities and devising strategies to combat cyber threats.