Cybersecurity Essentials: Concepts & Best Practices

Vulnerability & Patch Management

(Domain 4 Concepts)

Common Vulnerability Scoring System (CVSS)

  • Rates vulnerabilities on a scale of 0-10 for severity.

Exploit vs. Zero-Day

  • Exploit: A known attack method against a vulnerability.
  • Zero-Day: A vulnerability that has no patch available yet.

Remediation vs. Mitigation

  • Remediation: Completely fixing a vulnerability.
  • Mitigation: Applying temporary protections while awaiting a full fix.

Common Scanning Tools

  • Nessus / OpenVAS: Identify known vulnerabilities.
  • Nikto:
Read More

Quantitative Methods & Machine Learning Essentials

Likelihood Function

The likelihood function describes how observed data depends on the model parameters, θ. It is often denoted as p(x|θ).

Maximum Likelihood Estimation (MLE)

The Maximum Likelihood Estimator (MLE), δ(x), is defined as:

AD_4nXens3ikERhLz2M8HRO4dfpKx9_w9BgUbx73ALHG41CGRjsBxhIsjOw4BzE1BphWCTk53xzdyxIzHr1I422n2rEii-8h4nn-e_ANVu9Lfvd-9gTgwuMjXiTVHu3h94h_Pp-zzdZm?key=LHRE6LkDAk3aauFWnXAY3w

or equivalently:

AD_4nXcBOqTKdnd_44nT9SvCEN_DC3fTsTRA6L92Ma8KuAwJFiqJw1ob3yLLhFBxcIFmvg5br9WC97OQbtxEoadi3MJZmlNWDP--HzQmzGYYOHlE92JvAyaLrwZrPv1hOvQE0-1bhjRPHw?key=LHRE6LkDAk3aauFWnXAY3w

The Gaussian log-likelihood is shown above.

Asymptotic Distribution of MLE

When n is large, the asymptotic distribution of the MLE is given by:

AD_4nXcfhoYKSvG5j_M-BufAmuQPVt-n61jGX9AFGHH72am8FJwK1jJwpVhCbd18IozHsGDa5vglE6F4FYN9cMiEDAVGKnnwWcmgNHuaykwujgCqRVwcUUjRoQhM2WOLFu1X5v91vhpY8g?key=LHRE6LkDAk3aauFWnXAY3w

where:

AD_4nXfMjcWPVzPNV0KN67nEqo0BJIubRYV7FNxAznDQ2qrpYrVa_i36aynPjaomQ_CdQ1IZCCPIVU7aX2iaVZXGbVsUBaDXxn1wfyL61ohsq4xQrN0ndXHz4z62whJP9c9NWJ44fj8o?key=LHRE6LkDAk3aauFWnXAY3w

Examples include:

  • Gaussian: AD_4nXcrVSk61EBxOo-Yfcy7NovkHFiXR9vRQ1oDMDZJ3PDU1456xscUf4UlFihY50DKAC01kl1PrBCg8QvDmEYTZP7OGzMwky8IW5kWMc5-UBMyy14DWAuL8TqaPuoFOkeG2gWp4UrM?key=LHRE6LkDAk3aauFWnXAY3w
  • Exponential: AD_4nXdH3ZJbiU6DQ5fU66ztOanYvjMdHipMqQE66STpcJ_EYuBzRVH8grFgu9sedLQyeyMJmQZnD7hJ4i4SMSNcovoOpwfxK5RMHGPMLsJU-r_CtmogiS2jFbspG7UWBymWywXcp607?key=LHRE6LkDAk3aauFWnXAY3w

Bayesian Estimation

The Bayesian forecast is given by:

AD_4nXcQACF6aLi-R_oXFCxI00TGSzp-SYj3jT4-te79_CYDkkQzjHqVCY84UHTLI03s8qaHtVH0-f6QJk3J2FkjzwpsQlsphLkRnAtWxyBhAwwowcACKqZ2xphX_gASIN2w4wWDn5_MSw?key=LHRE6LkDAk3aauFWnXAY3w

Assume the

Read More

Probabilistic Reasoning & AI Decision Making

Probabilistic Inference

  1. What Is Probability?

    • A measure P assigning each event A a number in [0,1].

    • Axioms of Probability

      1. P(∅) = 0, P(Ω) = 1

      2. For disjoint A, B, P(A∪B) = P(A) + P(B)

    • Conditional Probability: P(A|B) = P(A∧B) / P(B)

  2. Bayesian Inference Fundamentals

    • Bayes’ Rule

      P(H|E) = [P(E|H) * P(H)] / P(E)

    • Key Terms in Bayes’ Rule

      • Prior P(H): initial belief

      • Likelihood P(E|H)

      • Posterior P(H|E): updated belief

  3. Bayesian Networks (BNs)

    • Structure: Directed acyclic graph; nodes = variables; edges = dependencies.

Read More

Essential Machine Learning Concepts Explained

Regularization Techniques in Machine Learning

Regularization is a set of techniques used to reduce overfitting by encouraging simpler models. It works by adding a penalty term to the loss function that discourages overly large or complex weights. The two most common forms are L2 (Ridge) and L1 (Lasso) regularization.

L2 Regularization (Ridge / Weight Decay)

L2 Regularization adds the squared L2 norm of the weights to the loss: L(w) = original loss + λ‖w‖². This shrinks weights proportionally

Read More

Machine Learning Fundamentals: Concepts, Types, Applications

What is Machine Learning? How ML Works

Machine Learning (ML) is a subset of Artificial Intelligence (AI) where systems learn from data to make predictions or decisions without being explicitly programmed. It works by following these steps:

  1. Data Input: Feeding data (e.g., numbers, images) into an algorithm.
  2. Training: The algorithm identifies patterns and builds a model.
  3. Validation/Testing: The model is tested on new data to ensure accuracy.
  4. Deployment: The model makes predictions on real-world data, improving
Read More

Machine Learning Fundamentals: Data Analysis & Clustering Techniques

Core Machine Learning Concepts

Linear Regression

Linear Regression: Finds the best line that summarizes the relationship between two variables. Imagine a scatter plot of data points and a line representing their trend.

Dimensionality Reduction

Dimensionality Reduction: Addresses datasets with a large number of variables, which can lead to a complex dispersion matrix. It reduces the number of variables to a more manageable few.

Why Dimensionality Reduction?

  • Simpler Analysis: Fewer features make it easier
Read More