Skip to main content
PSUT / IoTEngineering learning studio
WORKSPACE
Offline-first portalDr. Mohammad Alja’afreh
Intelligent Edge StudioMachine Learning and Edge AIExperimentsWorkspaces
ENGINEERING WORKSPACE
Home / Advanced Cybersecurity Range / S06 · Incident correlation & response timeline
IoTPSUT IoT Engineering StudioPrincess Sumaya University for Technology · Dr. Mohammad Alja’afreh
Advanced Cybersecurity Range · V16.9
IoT Security and Privacy

S06 · Incident correlation & response timeline

Ask Dr. Mohammad · S06 →

Correlate authentication failure and configuration-change events by device and time.

Design experiment & verify evidence →
S06 · Laboratory mentorAsk about the current experiment, its algorithms or Python notebook.
Ask Dr. MohammadAdaptive practice
Learning workflow · Advanced cybersecurityS06 · Incident correlation & response timeline
S06 · Academic orientation

Scope and objectives

Scope of the experiment

Correlate authentication failure and configuration-change events by device and time.

The focus of this experiment is to order incident observations using timestamps and evidence sources. Students then correlate events without treating temporal association as causation, and construct a defensible response timeline and identify missing evidence. The Concepts view explains the operation before the practical work; the Simulation view is used to examine reference and changed inputs, not to substitute for actual measurements.

Learning objectives

  • Order incident observations using timestamps and evidence sources.
  • Correlate events without treating temporal association as causation.
  • Construct a defensible response timeline and identify missing evidence.
  • Identify the configured inputs (Correlation window (seconds)) and record the corresponding observed outputs with units where applicable.
  • Compare the reference calculation or decision with an independent implementation or authorized observation; state any discrepancy and the applicable model boundary.

Expected learning outcomes

On completion, students can order incident observations using timestamps and evidence sources, correlate events without treating temporal association as causation, and construct a defensible response timeline and identify missing evidence.

Required deliverables

Submit the derivation or state trace for the named operation, the exact reference and changed configurations, the associated simulator or practical evidence, and a short validation statement addressing construct a defensible response timeline and identify missing evidence. Separate predicted values from observations.

Prerequisite knowledge and related learning

Review the following catalogue prerequisites before starting. After completion, continue to Update integrity & rollback policy.

Environment and experimental methodology

The specified isolated laboratory environment, with local synthetic inputs and authorized services only. Use the experiment-specific setup and verification instructions.

Begin with a manual prediction, record the baseline, change one independent condition at a time, and compare the resulting trace or measurements with the original prediction. Record observations and uncertainty separately from reference values. Follow the experiment’s specific procedure, safety limits, and acceptance checks.

S06 · learning outcome

Understand the experiment

Scientific architecture · Incident correlation & response timeline

Incident timeline correlation — Gateway log / source clock; Broker log / source clock; Normalize / UTC and uncertainty; Correlate / same sample and sequence ID; Response / retain evidence and gaps
Scientific concept map: Event logs — Timestamps; Normalize clock — Common timeline; Correlate — Match change and failure; Incident sequence — Evidence ordering; Response — Document uncertainty.

Scientific foundations and analytical reasoning

Incident correlation groups evidence by shared device and bounded time; temporal proximity does not prove causation.

Before operating the equipment or executing the program, derive the expected outcome using the required theoretical work in Experiment. Use the diagram to identify the variables and system boundaries.

Scientific theory · Temporal incident correlation

Incident correlation combines events using shared identifiers, time windows and relevant relationships. A clock offset or delayed ingestion can alter apparent ordering. Correlation is not causation, so conclusions should include alternative explanations and evidence gaps. Preserve original event times and received times.

Worked example and engineering interpretation

Events for the same device at t=10 and t=14 fall within a five-second window, but an unrelated device at t=12 need not belong to the same incident. Compare device identity and event semantics before grouping; record the window and clock assumptions.

Engineering principles · additional worked teaching example

Incident correlation uses event timestamps, source identifiers and evidence confidence. Clock offsets can reorder observed timestamps. An alert is a hypothesis until corroborated; preserve original logs.

From theory to experiment

Predict the reference result before operating the workbench; check the actual intermediate state, units and constraints. The existing simulation, implementation and procedure below are distinct sources of evidence.

How to investigate Incident correlation & response timeline

Correlate authentication failure and configuration-change events by device and time.

Analytical investigation means collecting an observation, identifying the mechanism, using a calculation or state trace to explain it, and checking your conclusion against evidence. Controlled comparison means changing one independent variable, holding the remaining relevant conditions constant, and measuring a dependent variable against a baseline. Experimental validation means comparing a predicted result to a reproducible observation or assertion; agreement inside a model does not certify hardware. Evidence-based reasoning connects a specific observation to a theoretical rule and states uncertainty, not merely an opinion. Performance characterization records a named metric and its units across conditions; sensitivity analysis changes one parameter across several values. A threat assessment links an asset, threat, consequence and evidence to a mitigation.

Experiment-specific guided practice

Objective: Correlate authentication failure and configuration-change events by device and time.

  1. Set Correlation window (seconds) = 30. Observe the calculated results and trace.
  2. Change Correlation window (seconds) = 10. A shorter window misses the pair separated by 20 seconds; unrelated device events cannot correlate.
  3. Restore the reference values. Describe triage, evidence preservation, containment authorization, recovery and retrospective review. An alert is not proof of compromise.

Reference check:

Model boundary:

Independent task and submission evidence

2. Change Correlation window (seconds) = 10. A shorter window misses the pair separated by 20 seconds; unrelated device events cannot correlate. Record the named input, prediction, actual output and one limitation; restore the original condition and repeat.

Before execution write the independent variable and its levels, dependent observation with units where applicable, baseline, controlled variables, measurement method and expected result. For a state machine use state/event/output rather than inventing a numeric metric. Record failures and repeat the baseline. A weak conclusion is “it works”; a supported conclusion names the changed setting, observed value/state, corresponding rule and one limitation.

TrialChanged settingFixed settingsPredicted resultActual observation / unitsEvidence / uncertainty
A: baselineReferenceRecordPredictRecordRecord
B: one changeRecordSame as APredictRecordRecord
A: repeatRestoreSame as APredictRecordRecord

Completion: submit the filled table, relevant simulator screenshot or terminal/notebook output, reasoning with units/assumptions, and one limitation. Preserve the independent assessment questions; this guide does not fill their answers.

Correlate authentication failure and configuration-change events by device and time.

Method: Correlate each change with the latest earlier authentication failure on the same device within an inclusive window. One alert per change.

Prerequisites: S05.

Closed teaching fixture only. No external devices, sockets, scanning, exploits or real credentials. Browser decisions are not measurements of deployed controls.

Worked engineering reasoning and boundary conditions

Engineering reference configuration: Correlation window (seconds) = 30. In the classroom model, Correlated changes = 3; Unmatched changes = 1. Correlation produces triage leads, not attribution or proof of compromise. Preserve timestamps and source logs before authorized containment. Correlate each change with the latest earlier authentication failure on the same device within an inclusive window. One alert per change.

Use the diagram to follow the calculation or state progression. Keep the teaching configuration separate from the independent exercise values; compare observations with the actual model and implementation.

Concept animation · progressive data plot

Explore the teaching example independently of the simulator. Each step reveals an operation, data relationship or calculated state. The Simulation view has separate editable inputs.

Incident correlation & response timeline: progressive data plot-114.2529.544.7560Change timeMatched failure (…B@12A@60B@12

Step 1 of 4 · Observation B@12

Observation B@12

Change time
12
Matched failure (−1 unmatched)
5

Teaching example only; inspect live calculations or real practical evidence separately.

Recall the concept before revealing its explanation.

0 / 3 revealed
S06 · 01 / 08What evidence is correlated during an incident?Reveal explanation
Engineering explanation

Correlate authentication failure and configuration-change events by device and time.

S06 · 02 / 08How are events matched in the correlation model?Reveal explanation
Engineering explanation

Correlate each change with the latest earlier authentication failure on the same device within an inclusive window. One alert per change.

S06 · 03 / 08How does a shorter correlation window affect the 20-second pair?Reveal explanation
Engineering explanation

A shorter window misses the pair separated by 20 seconds; unrelated device events cannot correlate.

S06 · 04 / 08Why correlate events per device within a time window?Reveal explanation
Engineering reasoning

It avoids merging unrelated identities and bounds temporal association under the teaching rule.

S06 · 05 / 08Why is correlation not proof of compromise?Reveal explanation
Engineering reasoning

Coincident events can have benign causes; confirm with logs, context and authorized investigation.

S06 · 06 / 08Incident events are correlated by device and time. Select every technically valid statement. A. Use the defined temporal window. B. Preserve event ordering and identity fields. C. Temporal proximity alone proves causality. D. Events from unrelated devices must always be merged.Reveal explanation
Applied scenario

Correct: A. Use the defined temporal window.; B. Preserve event ordering and identity fields.

S06 · 07 / 08In Incident correlation & response timeline, which reference and changed settings are prescribed for Correlation window (seconds)?Reveal explanation
Controlled configuration

Correlation window (seconds): 30 → 10; hold the remaining settings fixed.

S06 · 08 / 08What expected result distinguishes the reference and changed trials in Incident correlation & response timeline?Reveal explanation
Expected observation

A shorter window misses the pair separated by 20 seconds; unrelated device events cannot correlate.

Loading experiment-specific apparatus…
Previous model / additional reference tools
Simulation task

Correlate authentication failure and configuration-change events by device and time.

Explore the model using its own controls. Record a prediction before changing a condition. Compare the reference with a changed condition, then use the Experiment tab for the procedure, acceptance criteria and notebook. Model outputs and physical observations must remain separate.

Interactive engineering workbenchS06 · Existing model
Defensive workbench

Predict, configure and observe

Decision and event trace

S06 · Model-linked instrumentation

Visual observation lens

Back to controls ↑

Readout from the original computational model; not physical measurements.

Loading instrument…

Awaiting model display.

Experimental instrumentation · A/B

Compare two model conditions

Capture a baseline, change one experimental condition, run the model if required and capture the comparison. Snapshots contain visible controls and display text, not physical sensor readings. Review before exporting.

Open simulation view
Baseline A
Not captured
Comparison B
Not captured

Capture a baseline to begin.

Evidence portfolio →
V19.0 · Contextual AI workspace

Ask your engineering assistants

S06 · current context

Ask Dr. Mohammad locally, or prepare an experiment-aware prompt for ChatGPT, Gemini or Claude. The external providers open in their own tabs; nothing is automatically submitted.

Dr. Mohammad · offline
Dr. Mohammad

Offline curriculum-grounded assistance.

Open local tutor
Incident correlation & response timeline

Public course objective, displayed commands, source excerpts and procedure. Private assessment content is not collected.

Prepare a contextual AI prompt

0 characters

Common secret and email patterns are redacted on preparation; this is not a comprehensive privacy filter. Review the entire editable prompt, including student work and unpublished research, before sharing. The providers apply their own accounts, privacy settings and limits.

Prepare → review → copy & open your selected provider → paste and submit there.

Independent theoretical exercises

Before the simulation or practical, solve both experiment-specific tasks. List the given inputs, show the intermediate calculation or state trace, identify the expected observation, and state a limitation. Show formulas and intermediate calculations where relevant, or draw the requested state/sequence diagram. These are independent classroom fixtures; where they differ from the reference configuration below, do not treat them as measured values. Compare your predictions with the corresponding experiment afterwards.

01 · Predict and derive using the given inputs

For auth failures at 0 and 20 s, change at 35 s on same device, and change at 21 s on another, calculate which events are within 30 s of each failure.

02 · Compare or justify using evidence

Draw ordered timeline, state correlation rule and distinguish correlation from attribution; propose verification evidence.

03 · Timeline analysis

Timeline analysis · Independent work

Sensor log 12:00:05 is known 3 s fast; gateway log 12:00:04 accurate. Normalize times and order events. What uncertainty remains?

Work is saved locally when browser storage is available. Export it for submission; no remote upload or automatic grade is assigned.

Expanded independent theoretical exercise bank

Progress from calculation and interpretation to diagnosis and controlled engineering design. Complete the questions without opening the simulation first; show intermediate steps.

Intermediate · Explain a changed-input result

Independent theoretical exercise · S06-01

Use the reference configuration (Correlation window (seconds) = 30), but change Correlation window (seconds) = 0. The model reports Correlated changes = 0. Explain the governing rule and assumptions that make this output plausible; identify an independent verification method.

Intermediate · Quantitative comparison

Independent theoretical exercise · S06-02

Two model observations of Correlated changes are 3 (reference) and 0 (changed condition). Compute signed change and, when the reference is nonzero, percentage change. Explain why units matter.

Intermediate · Interpret a technical trace

Independent theoretical exercise · S06-03

For Correlation window (seconds) = 10, the model supplies this excerpt from Calculated trace: Item · Value · Explanation B change @12s · correlated failure @5s · Δ=7s · A change @20s · no matching failure · C change @45s · no matching failure · A change @60s · correlated failure @50s · Δ=10s · Count rows whose Value value is exactly “no matching failure”, and identify the displayed row numbers. Explain what the count describes.

Advanced · Reverse reasoning

Independent theoretical exercise · S06-04

An observation is Correlated changes = 2. Candidate A uses Correlation window (seconds) = 30. Candidate B changes the listed settings (Correlation window (seconds) = 10) and keeps the remaining settings fixed. Which is consistent with the observation? If both can explain it, say what additional evidence is required.

Advanced · Diagnose a reported mismatch

Independent theoretical exercise · S06-05

A student configures Correlation window (seconds) = 10 while preserving all other reference settings, but copies the reference report of Correlated changes = 3. Evaluate whether the report is justified. Identify the first configuration/output check to perform.

Challenging · Design a controlled verification

Independent theoretical exercise · S06-06

Design a controlled comparison for Incident correlation & response timeline using reference Correlation window (seconds) = 30 and test Correlation window (seconds) = 0. Specify the changed setting(s), measured metric Correlated changes, controls, repetitions, an acceptance check and what evidence can distinguish an actual implementation from the model.

Step-by-step experimental procedure

Correlate authentication failure and configuration-change events by device and time.

1 · Reference workbench configuration

Use the named reference workbench and its reference inputs. Additional live instruments may have different controls; use the matching instrument. Record virtual and practical results separately.

Correlation window (seconds)30

2 · Perform the investigation in order

  1. Set Correlation window (seconds) = 30. Observe the calculated results and trace.
  2. Change Correlation window (seconds) = 10. A shorter window misses the pair separated by 20 seconds; unrelated device events cannot correlate.
  3. Restore the reference values. Describe triage, evidence preservation, containment authorization, recovery and retrospective review. An alert is not proof of compromise.

3 · Compare controlled trials

TrialIndependent changeExpected checkObservation
ReferenceUse reference inputs aboveA shorter window misses the pair separated by 20 seconds; unrelated device events cannot correlate.Record actual result
Controlled changeCorrelation window (seconds) = 10A shorter window misses the pair separated by 20 seconds; unrelated device events cannot correlate.Record actual result

4 · Analyze and report

Describe triage, evidence preservation, containment authorization, recovery and retrospective review. An alert is not proof of compromise.

Required evidence: Record the incident correlation & response timeline comparison and justify the changed outcome from the calculated trace.

Model boundary: Correlate each change with the latest earlier authentication failure on the same device within an inclusive window. One alert per change.

Controlled investigation · reproducible evidence

Method. Use the existing reference workbench configuration and the named controlled changes below. A controlled variable stays fixed while the independent variable is intentionally changed; the dependent variable is the resulting observed output. First predict each trial from the Concepts page. Run the baseline, then change only the specified setting and record the outcome. For deterministic traces one execution per case and a repeated verification are sufficient; for timing or stochastic measurements repeat at least five times, recording each run, median and range. Reset to the reference state between independent comparisons.

TrialIndependent changeDependent observation
ReferenceUse reference inputs aboveRecord actual outcome and units
Controlled changeCorrelation window (seconds) = 10Record actual outcome and units

Evidence: attach the completed comparison table, one trace or screenshot per condition, and actual practical terminal/hardware evidence where applicable. Explain any prediction mismatch and distinguish modeled behavior from measured results.

Loading laboratory-specific procedure…

Python / Google Colab notebook

Original closed defensive reference model; no external targets. Validated locally in a fresh Jupyter kernel. Download, then upload to Google Colab.

Download NotebookOpen Google ColabAll Python notebooks

Practical procedure & acceptance

  1. Read the method, write a prediction and save the reference baseline.
  2. Apply the controlled change. Describe triage, evidence preservation, containment authorization, recovery and retrospective review. An alert is not proof of compromise.
  3. Restore the reference and confirm the original metrics. Test an out-of-range or empty field; restore before exporting.
  4. Run independent host calculations from the extracted portal root:
    BASH · Command
    python3 verification/sec169_practical.py all
    Check the result for S06 and verify that all checks pass. No external dependencies or network connection are required.
  5. Export the observed results, record one limitation and discuss a deployment validation plan.

Experimental notebook

Record your own results. Values are not prefilled or independently verified.

Record & discuss

Portfolio exports map to core lab K16; the supplementary experiment ID is retained in the attachment. Completion is self-reported.

NISTIR 8259A · device baseline · NIST SP 800-61r3 · incident response

Python / Google Colab laboratory

S06 · 11 notebook cells · 3 executable Python cells

Complete the theoretical investigation first. Run the cells in order, record actual outputs and compare against your prediction.

How to execute

  1. Download this notebook and open Google Colab. Select File → Upload notebook and choose the downloaded .ipynb.
  2. Read the Markdown instructions before each executable cell. Use a Python runtime, run cells from top to bottom, and resolve imports if necessary.
  3. Perform the baseline and controlled changes. Save the notebook with actual outputs and your written interpretation.

Execution scope: Default computational cells passed isolated local Python execution; physical equipment and live services require separate verification.

01Instructions · Markdown
# s06 · Incident correlation & response timeline **PSUT IoT Engineering Studio — Dr. Mohammad Alja’afreh** ## Introduction Correlate authentication failure and configuration-change events by device and time. ## How to run 1. Download this notebook from the laboratory page. Open Google Colab → File → Upload notebook. 2. Select a Python CPU runtime. Run cells from top to bottom using Shift+Enter, or Runtime → Run all. 3. Read the printed observations and assertions. Change one parameter at a time and rerun the relevant cell. 4. Save your own outputs and compare them to the portal Experiment tab. **Execution boundary:** Original closed defensive reference model; no external targets. Do not run the hardware or service commands in Colab. No real credentials are needed. The notebook is self-contained.
02Instructions · Markdown
## Experiment-specific preparation Correlate authentication failure and configuration-change events by device and time. **Reference procedure (use the matching simulator/WSL tool where named, not an unrelated service):** 1. Set Correlation window (seconds) = 30. Observe the calculated results and trace. 2. Change Correlation window (seconds) = 10. A shorter window misses the pair separated by 20 seconds; unrelated device events cannot correlate. 3. Restore the reference values. Describe triage, evidence preservation, containment authorization, recovery and retrospective review. An alert is not proof of compromise. **Evidence:** **Boundary:**
03Instructions · Markdown
## 1. Objectives and reference condition - Reproduce the specific computational mechanism in this laboratory. - Inspect the output, compare the reference condition with a changed or rejected condition where implemented, and explain any discrepancy. - Distinguish actual local Python execution from mock, physical and external-service observations. ## 2. Environment check
04Python · executable cell
PYTHON · Code cell
# =====================================================================
# S06 | Code cell 01 | Incident correlation & response timeline
# Purpose: 1. Objectives and reference condition - Reproduce the specific computational mechanism in this laboratory. - Inspect the output, compare the reference condition with a changed or rejected condition where implem
# Inputs: the explicit fixture/settings below and any preceding cell state.
# Output: inspect printed values, returned records or assertions; record evidence.
# =====================================================================
import sys
print("Python",sys.version.split()[0])
# Check the expected invariant so a mismatch fails visibly instead of appearing successful.
assert sys.version_info >= (3,10)
Ask Dr. Mohammad about this cell
05Instructions · Markdown
## 3. Implementation Read the comments and variable definitions before execution. Assertions must pass; inspect values, not just completion.
06Python · executable cell
PYTHON · Code cell
# =====================================================================
# S06 | Code cell 02 | Incident correlation & response timeline
# Purpose: implement only the mechanism named in this laboratory.
# Inputs: the explicit fictional fixture and reference parameters below.
# Output: printed observations and assertions for the controlled trial.
# =====================================================================
# Join changes to earlier failures on the same device and within a time window.
changes=[('B',12),('A',20),('C',45),('A',60)];failures=[('A',0),('B',5),('A',50)]
def correlate(window):return [(dev,t,any(d==dev and 0<=t-f<=window for d,f in failures)) for dev,t in changes]
Ask Dr. Mohammad about this cell
07Instructions · Markdown
### Step 2 · Run the reference calculation Read the comments and variable definitions before execution. Assertions must pass; inspect values, not just completion.
08Python · executable cell
PYTHON · Code cell
# =====================================================================
# S06 | Code cell 03 | Incident correlation & response timeline
# Purpose: implement only the mechanism named in this laboratory.
# Inputs: the explicit fictional fixture and reference parameters below.
# Output: printed observations and assertions for the controlled trial.
# =====================================================================
for window in (5,10,30):print(window,correlate(window))
assert sum(x[2] for x in correlate(30))>=sum(x[2] for x in correlate(5))
Ask Dr. Mohammad about this cell
09Instructions · Markdown
## Original portal implementation (reference only) These are the actual laboratory snippets. They are retained for comparison; follow the portal setup for WSL, hardware or services. They are **not** executed by Run all. ```bash python3 verification/sec169_practical.py all ```
10Instructions · Markdown
## 4. Results and analysis Record the actual output and whether the assertions pass. Identify a parameter to vary, state your prediction, repeat the reference calculation, then explain the changed result. | Trial | Configuration | Observation | Interpretation | |---|---|---|---| | A | Reference | | | | B | One controlled change | | | | C | Reference repeat | | | **Limitations:** Original closed defensive reference model; no external targets. Notebook success does not certify external equipment or services.
11Instructions · Markdown
## Guided reasoning and evidence A controlled comparison changes one independent input while keeping the other relevant inputs fixed; the dependent variable is the recorded output. Use this lab’s reference condition above. **Independent task:** 2. Change Correlation window (seconds) = 10. A shorter window misses the pair separated by 20 seconds; unrelated device events cannot correlate. Record the named input, prediction, actual output and one limitation; restore the original condition and repeat. | Trial | Input/configuration | Prediction | Observation | Evidence / limitation | |---|---|---|---|---| | A | Reference | | | | | B | Changed input | | | | | A repeat | Reference | | | | A conclusion is supported only when it cites the recorded values or observed states and explains them with the experiment theory.
Shared research workbenches · network designer & advanced studies
Concurrent-device simulation & Monte Carlo research
Distributed digital twin · topology, protocol & battery research