Score: 0/24

Hands-On Challenges

Spot the flaw, classify the threat, build the detection, make the call. Answer each to reveal the why — your score builds as you go.

Type
Difficulty
Answered 0/24 · Score 0
Spot the Vulnerability
IntroSQL Injection

What is the primary security vulnerability in this Express route?

app.get('/users', (req, res) => {
  const q = "SELECT * FROM users WHERE name = '" + req.query.name + "'";
  db.query(q, (err, rows) => res.json(rows));
});
Spot the Vulnerability
CoreCommand Injection

This helper pings a user-supplied host. What is the bug?

import subprocess

def ping(host):
    return subprocess.check_output("ping -c 1 " + host, shell=True)
Spot the Vulnerability
CoreBroken Object Level Authorization (IDOR)

The endpoint requires login. What is still wrong?

@app.route('/api/invoices/<id>')
@login_required
def get_invoice(id):
    return jsonify(Invoice.query.get(id).to_dict())
Spot the Vulnerability
AdvancedInsecure Deserialization

A session cookie is restored with this function. What is the vulnerability?

import pickle, base64

def load_session(cookie):
    return pickle.loads(base64.b64decode(cookie))
Spot the Vulnerability
CorePath Traversal

Files are served from /var/www/files. What is the flaw?

const path = require('path');
app.get('/download', (req, res) => {
  const file = req.query.file;       // ?file=../../etc/passwd
  res.sendFile(path.join('/var/www/files', file));
});
Spot the Vulnerability
IntroCross-Site Scripting

The search term is echoed back to the page. What is the bug?

app.get('/search', (req, res) => {
  res.send(`<h1>Results for ${req.query.q}</h1>`);
});
Classify the Threat
IntroSTRIDE: Spoofing

An attacker sends emails appearing to come from [email protected] by simply setting the From header. Because SPF, DKIM, and DMARC are not enforced, recipients believe the message is genuinely from the CEO. Which STRIDE category is this?

Classify the Threat
CoreSTRIDE: Tampering

A mobile app sends price=9.99 in a checkout request. An attacker uses an intercepting proxy to change the value to price=0.01 before it reaches the server, which trusts the submitted price and charges accordingly. Which STRIDE category is this?

Classify the Threat
CoreSTRIDE: Repudiation

A privileged admin deletes customer records. The system keeps no audit log of administrative actions, so the admin can later credibly deny ever performing the deletion and no one can prove otherwise. Which STRIDE category is this?

Classify the Threat
IntroSTRIDE: Information Disclosure

When an unhandled error occurs, the API returns the full stack trace to the client, including internal file paths and the database connection string. Which STRIDE category is this?

Classify the Threat
CoreSTRIDE: Elevation of Privilege

A regular user submits the registration form with an extra field role=admin. The backend binds all submitted fields directly to the user object and saves it, granting the user administrator rights. Which STRIDE category is this?

Classify the Threat
AdvancedLINDDUN: Linking

An analytics provider embeds a persistent identifier on many unrelated websites and correlates one person’s activity across all of them to build a behavioral profile, without consent. Using the LINDDUN privacy threat taxonomy, which category is this?

Build the Detection
CoreBrute Force (T1110)

An attacker is trying many passwords against domain accounts from a single host (password guessing). Which telemetry and detection best catches this?

Build the Detection
CorePowerShell Abuse (T1059.001)

An attacker runs an obfuscated, base64-encoded PowerShell one-liner that downloads and executes a payload in memory. What gives the best visibility?

Build the Detection
AdvancedLSASS Credential Dumping (T1003.001)

An attacker dumps credentials from the LSASS process memory on a Windows host. Which detection most precisely catches this?

Build the Detection
CoreRegistry Run Key Persistence (T1547.001)

Malware establishes persistence by writing an autorun entry so it launches at user logon. What is the right detection?

Build the Detection
IntroValid Cloud Accounts / Impossible Travel (T1078.004)

Stolen credentials are used to log into a cloud tenant. Which approach best flags the misuse?

Build the Detection
AdvancedDNS Tunneling Exfiltration (T1048)

An attacker exfiltrates data by encoding it into DNS queries to a domain they control. What telemetry and detection fits best?

Incident Response Decision
IntroContainment (NIST SP 800-61)

Ransomware is actively encrypting files on a user's workstation right now. What is the best immediate action?

Incident Response Decision
CoreScoping before Eradication (NIST SP 800-61)

During investigation you confirm one compromised user account. A junior analyst wants to immediately reset just that password and close the case. What is the better move?

Incident Response Decision
AdvancedEvidence Order of Volatility (NIST SP 800-61)

You must collect forensic evidence from a live, compromised but still-running server. What should you do first?

Incident Response Decision
IntroCoordination & Communication (NIST SP 800-61)

You have confirmed a breach involving regulated personal data. How should notification be handled?

Incident Response Decision
CoreEradication of Root Cause (NIST SP 800-61)

Containment is complete. You are about to bring services back online. What must happen during eradication?

Incident Response Decision
CorePost-Incident Activity (NIST SP 800-61)

Systems are recovered and operations are back to normal after the incident. What should the team do next?