Independent learning for product cybersecurity professionals
SearchCommentary
Learning libraryCSL-001 · START HERE

The cybersecurity lifecycle

Follow cybersecurity through the complete system lifecycle.

Follow one connected product from its first security questions to release, support and retirement. Build a small evidence set whose parts remain connected.

How to begin

Seven stages · 10–15 minutes per exercise. Allow additional time for linked reading. Work at your own pace, keep your answers in one notebook and attempt each exercise before opening the worked answer. No coding or security-testing tools are required for this introductory journey.

What you will learn

  • Define assets, users, dependencies and trust boundaries.
  • Turn threats into requirements, design decisions and verification evidence.
  • Make a supported release decision and maintain protection throughout the product’s life.

The stages are a learning sequence. Risk assessment, usability, supplier review, configuration control and evidence planning continue throughout. New findings can reopen earlier decisions. Your outputs are a learning record, not a complete security assessment or release authorisation.

STAGE 1 OF 7

Understand the product and its context

Define what the system does, who uses it and what decisions depend on it. Include the sensor, gateway, cloud service, browser, identity service, update process and the people who administer them. A component outside your ownership can still affect your product. Record the operating environment, support expectations and assumptions before selecting controls.

Short exercise · 10–15 minutes

Write a five-sentence product description. Identify the operator, installer and administrator; list three assets; add two exclusions and two assumptions requiring an owner. Sketch the path of one reading from sensor to browser.

Keep this output: A bounded product description, an asset list and a system sketch with owned assumptions.

Compare your approach

The teaching product monitors storage-room temperature and helps facilities staff investigate environmental excursions. A sensor reports through a local gateway to a cloud dashboard. Operators view readings; installers enrol sensors; administrators manage access and configuration. It does not directly control refrigeration or make a clinical decision. Assets include readings, device credentials and update-signing keys. Whether operators have an independent way to check temperature, and how long a network outage can be tolerated, need agreement with the product owner. Excluding an external network from ownership does not exclude its failure or compromise from analysis.

Ready to continue? Can another person identify the product’s purpose, users, dependencies and exclusions? Carry that context into the threat model.

STAGE 2 OF 7

Follow a threat through to its consequence

Identify where data or authority crosses a trust boundary. Consider outsiders, compromised accounts, physical access, malicious updates and unavailable dependencies. Describe the asset, attacker access, enabling weakness, action and consequence before assigning a score. Assess risk using agreed criteria and documented assumptions; vulnerability severity alone does not determine product risk.

Short exercise · 10–15 minutes

An attacker replays an old “normal” temperature message while the actual room warms. Describe the sequence, affected protection goals and consequence. Add a second scenario involving an administrator account. Propose controls and identify a limitation of each.

Keep this output: Two threat records with assets, access assumptions, consequences, proposed controls and open questions.

Compare your approach

THR-01: an attacker with access to the sensor–gateway link resends a previously captured valid message. If the recipient accepts it as current, the dashboard can show an old normal reading and delay investigation. Integrity, freshness and availability of useful information matter. Message authentication addresses forgery but does not by itself prevent replay. Freshness checks and explicit stale-data indications are also needed. THR-02: a compromised administrator changes a reporting destination. Restrict permissions, strengthen authentication and record configuration changes; consider how a legitimate but compromised account could still misuse its assigned powers. Document risk judgements and remaining uncertainty rather than declaring both scenarios “low” because encryption is present.

Ready to continue? Can you explain how each control interrupts the scenario, and what could defeat it? Turn the controls into requirements.

STAGE 3 OF 7

Make security behaviour testable

Translate the threat decisions into identified requirements. State the trigger, required behaviour, acceptance criteria and verification method. Cover normal operation, malformed inputs, failures and recovery. Allocate each requirement to an owner. Agree timing and recovery limits with users and relevant specialists; do not insert convenient numbers without justification.

Short exercise · 10–15 minutes

Write three requirements: reject a replayed reading, show when readings are stale, and restrict configuration changes. For each, define one positive test and one negative test. Explain which acceptance limits still need agreement.

Keep this output: A requirements table containing ID, threat source, behaviour, acceptance criteria, owner and test method.

Compare your approach

SEC-01: within an enrolled sensor session, the gateway shall reject a previously accepted message sequence value and shall not advance the current-reading state from that message. Test a valid next message and replay an accepted message. Define session restart, counter persistence and re-enrolment rules separately. SEC-02: after the agreed freshness interval expires, the dashboard shall identify the last reading as stale and display its observation time. Test both fresh and expired readings; the interval requires a justified operational decision. SEC-03: configuration changes shall require an authorised administrator and shall produce an attributable audit event. Test permitted and denied roles. Do not treat a denied menu option as proof that the underlying API enforces permissions.

Ready to continue? Could a tester decide pass or fail from the requirement and its agreed criteria? Carry SEC-01 into the architecture.

STAGE 4 OF 7

Allocate controls across the complete system

Choose where identity, freshness, permissions and recovery are enforced. Define communication interfaces, protected storage, key provisioning and update responsibilities. Review the design when a supplier or dependency changes. Secure defaults must be usable: installation and recovery procedures should support the controls rather than encourage operators to bypass them.

Short exercise · 10–15 minutes

Extend the system sketch with control locations. Define sensor enrolment, message sequence handling and gateway restart behaviour. Explain what the dashboard displays during a cloud outage. List the versions and configuration needed to identify a release baseline.

Keep this output: A security architecture sketch, interface decisions and a controlled baseline list.

Compare your approach

The sensor creates authenticated messages tied to its enrolled identity and session. The gateway checks identity and freshness before accepting a reading. The cloud enforces customer isolation and browser permissions independently. A gateway restart must preserve required replay state or establish a new authenticated session with rules that exclude earlier messages; resetting a counter silently is insufficient. During an outage the dashboard identifies unavailable or stale information. Whether local buffering and a local warning are required depends on the operational needs defined in stage 1. Baseline the sensor firmware, gateway software, cloud build, identity settings, message format, enrolment procedure and dependency inventory. Protect signing keys separately from the distributed update package.

Ready to continue? Does every requirement have an enforcement point and owner? Are restart and outage assumptions explicit enough to test?

STAGE 5 OF 7

Gather evidence under adverse conditions

Plan verification against the requirements and test the interfaces as well as individual components. Identify the exact baseline, equipment, setup and expected results. Review code and configuration, exercise misuse cases and test recovery. A penetration test adds evidence but does not replace requirement verification. Use authorised laboratory systems and agreed test scope.

Short exercise · 10–15 minutes

Create a verification protocol for SEC-01. Cover replay during normal operation, restart, interrupted communications and re-enrolment. Add a user scenario for stale information and an access-control test using the API directly. Identify the records needed to investigate a failure.

Keep this output: A verification protocol, a representative-use scenario and an evidence record for the identified configuration.

Compare your approach

Capture an accepted laboratory message, resend it and confirm that the current-reading state does not change. Repeat across the specified gateway restart and sensor-session transitions, including delayed buffered traffic. Test both valid messages and rejected messages so an implementation that rejects everything cannot pass. Retain message identifiers, configuration, expected and actual results and relevant logs without unnecessarily retaining secrets. Ask a representative operator to identify a stale reading and explain their next action without coaching. Exercise the API with a user lacking configuration privileges. If replay succeeds after restart, record a failed requirement, investigate state handling and retest the correction across affected conditions; a successful nominal test does not close the failure.

Ready to continue? Does the evidence demonstrate the requirement on the release baseline, including its failure and recovery conditions? Carry unresolved findings to release review.

STAGE 6 OF 7

Make an accountable readiness decision

Review the baseline, completed evidence, unresolved vulnerabilities, residual risks and operational readiness together. Identify who can approve the release and who owns remaining actions. Prepare secure installation, account creation, updates, support and incident handling before shipping. State the supported configurations and support period clearly.

Short exercise · 10–15 minutes

Normal-operation replay tests pass, but replay is accepted after restart. The update recovery test is incomplete and the support team has no documented credential-revocation procedure. Decide release or hold. Assign three actions, owners and evidence required before reconsideration.

Keep this output: A release decision linked to the exact baseline, open findings, accountable reviewers and closure evidence.

Compare your approach

Hold this teaching release. The gateway lead corrects restart/session handling and repeats the affected freshness tests. The firmware lead completes interruption and recovery evidence for the update process. The support owner defines and rehearses credential revocation, including the effect on installed devices and legitimate recovery. The security owner reassesses the affected threat records and residual risk using the agreed criteria; the release authority reviews that evidence with the product owner. Confirm that the deployment configuration and user instructions match the tested design. Where an organisation accepts a residual issue, record the rationale, scope, compensating measures and accountable approval rather than silently treating an open finding as resolved.

Ready to continue? Can the approver trace the readiness decision to evidence and named owners? Establish the monitoring and maintenance arrangements before release.

STAGE 7 OF 7

Maintain protection and retire securely

Track vulnerabilities, incidents, supplier changes and effectiveness of controls throughout the support period. Distinguish a vulnerability in a dependency from an exploitable condition in this product, without dismissing uncertainty. Plan fixes, customer communication, regression evidence and recovery. Retirement includes the device, accounts, credentials, retained data and external services.

Short exercise · 10–15 minutes

A gateway dependency is reported vulnerable and field logs show repeated replay rejections. Write actions for triage, investigation, containment, correction and effectiveness review. Then list five checks for a customer retiring a sensor and gateway. Define a monitoring measure and its denominator.

Keep this output: A maintenance action record and a retirement checklist linked to configurations, risk records and owners.

Compare your approach

Identify affected dependency versions, reachable functions and deployed gateway configurations. Preserve relevant evidence and determine whether the rejection events reflect attack traffic, duplicate delivery or a protocol defect. Assess impact and choose proportionate containment that considers legitimate monitoring needs. Test a corrected baseline, including SEC-01 restart behaviour, and define rollout and recovery instructions. Track affected gateways patched divided by affected gateways known to be installed; document inventory gaps and the period measured. At retirement, revoke device credentials, remove customer access and integrations, handle stored readings under the agreed retention policy, erase local secrets and close the asset/support record. Confirm successful revocation and erasure rather than assuming a deleted dashboard entry covers both. Feed the findings back into scope, threats, requirements and design.

Ready to continue? Which earlier assumptions changed? Reopen the earliest affected decision and carry that change through the evidence set.

Connect your evidence

Trace the replay-protection decision through all seven retained outputs. The value lies in the links between them, not the number of documents you produce.

StageEvidence thread
ContextOperators need current, trustworthy storage-room readings.
ThreatsReplayed normal readings can delay investigation of a temperature excursion.
RequirementsSEC-01 defines rejection of already accepted message sequences; session changes need explicit rules.
ArchitectureThe gateway enforces freshness through controlled enrolment, session and restart behaviour.
VerificationEvidence covers valid traffic, replay, restart, interruption and re-enrolment on an identified baseline.
ReleaseA restart-related failure prevents approval until correction and required evidence are reviewed.
MaintenanceDependency changes and field events reopen analysis; retirement revokes the identities that enabled participation.

Done criterion: a colleague can follow one security requirement through your seven outputs, identify the supporting evidence and distinguish unresolved assumptions from verified results. A justified decision to hold release is a successful learning outcome.

Choose your next step