Understanding the TCP/IP Model and Cyber Attack Targets

Understanding the TCP/IP Model

The TCP/IP Model (Transmission Control Protocol / Internet Protocol) is a communication framework used for transmitting data over the internet. It defines how data should be sent, received, and processed.

The TCP/IP model consists of four distinct layers:

Layers of the TCP/IP Model

  • Application Layer: Provides services to users such as email, web browsing, and file transfer.
  • Transport Layer: Ensures reliable data transmission and manages the flow of data between devices.
Read More

Core Principles of Computer Security and Network Defense

Fundamentals of Computer Security

Computer security protects automated information system resources to preserve CIA (Confidentiality, Integrity, Availability), plus authenticity and non-repudiation, through effective risk management (Probability × Impact).

  • Confidentiality: Prevents unauthorized disclosure; privacy ensures control over personal information.
  • Integrity: Ensures authorized changes only; data and system integrity prevent tampering.
  • Availability: Guarantees timely, reliable access for authorized
Read More

Bayesian Networks and Probabilistic Graphical Models

1. Bayesian Networks (Directed Models)

Joint Probability Factorization:

Formula:
P(X₁, X₂, ..., Xₙ) = Π P(Xᵢ | parents(Xᵢ))

Variable Types:

  • Observed: User inputs and sensor measurements (Uₜ, Zₜ)

  • Latent/Hidden: States and landmarks (Xₜ, L)

Example Factorization:

Formula:
P(uₜ, l, xₜ, xₜ₊₁, zₜ, zₜ₊₁) = P(uₜ)P(l)P(xₜ|uₜ)P(xₜ₊₁|xₜ)P(zₜ|xₜ,l)P(zₜ₊₁|l,xₜ₊₁)

2. Conditional Independence and D-Separation

Blocking Rules:

  • Chain (A → B → C): Blocked if

Read More

Intranet Architecture, Security and Network Protocols

1. Intranet Concepts and Architecture

An intranet is a private internal network of an organization that uses Internet technologies such as TCP/IP, web browsers, and HTTP to facilitate secure communication, information sharing, and collaboration among employees. It creates a centralized digital environment where users can access internal documents, applications, and databases. The architecture of an intranet typically follows a client-server model consisting of client devices, web servers, application

Read More

Web Application Security Testing and Secure SDLC Practices

PART 1 – FOUNDATIONS (Week 9)

  • SDLC Phases (exact order): Planning → Requirements → Architecture & Design → Coding → Testing → Release → Maintenance. Definition: SDLC (Software Development Life Cycle): a structured framework for building and maintaining software to ensure quality and efficiency. (How: sequential or iterative like Agile; why: prevents chaos and integrates security early to avoid costly rework.)
  • Shift-Left Principle: Security from commit #1 → 60–100× cheaper than
Read More

EM Algorithm, K-Means, and Ensemble Methods Explained

1. Expectation-Maximization (EM) for GMMs

The Expectation-Maximization (EM) algorithm is an iterative method used to estimate parameters in statistical models that involve latent (hidden) variables, such as missing data or unobserved groupings. It is especially useful for fitting models like Gaussian Mixture Models (GMMs), where the data is assumed to come from a mixture of several Gaussian distributions, but the assignment of each data point to a specific Gaussian is unknown.

How the EM Algorithm

Read More