The system life cycle: from testing to retirement

8 min 5 sections 4 practice questions 10 sources citedISC2 objective 3.10

Once a system is built, it still has to be tested, accepted, put into service, run safely for years and finally switched off without leaving its data behind. Each of those stages has its own security work, its own records and someone who must formally decide. No technical background is assumed. A security manager must be able to say whether a system is ready, who may approve it, how it stays safe in use, and how its data is destroyed at the end.

By the end of this unit you will be able to:

  • Tell apart verification and validation, and place each kind of test on the V-model
  • Explain continuous security review and the events that trigger a fresh look
  • Choose the security work and the decision-maker at transition, including authorisation to operate
  • Explain how change management, configuration management, patching and maintenance keep a system secure in operation
  • Put in order the steps of retiring a system, and choose between clear, purge and destroy

A leased server goes back to the leasing company

An illustrative example

A secondary school is replacing its pupil records system. The old system ran on a leased server, and its files were also copied each night to a cloud storage service.

The leasing company has booked a van to collect the server on Friday. The business manager plans to delete the records folder that morning, unplug the server and cancel the cloud subscription.

Which of the business manager's three steps would leave pupils' records readable by someone else?

Verification and validation: built right, and the right thing

Verification produces objective evidence that the system meets its specified requirements: it was built right. Validation produces objective evidence that the system, in use and in its real surroundings, meets the stakeholders' needs and its mission: it is the right system. A system can pass every verification test and still fail validation, if the requirements missed what people needed.

The V-model draws the link between design and testing. The left side runs down through the design stages; the right side runs up through the tests. Each test checks the stage opposite it.

Each test checks the design stage opposite it

Each test checks the design stage opposite itTwo frames. Verification: system testing checks the system requirements, integration testing the architecture and unit testing the detailed design. Validation: acceptance testing checks the stakeholder needs, in real conditions.Verification: built rightSystemrequirementsSystemtestingArchitectureIntegrationtestingDetaileddesignUnittestingValidation: the right systemStakeholderneedswhat peopleneedAcceptancetestingusers andownerEach test checks the design stage opposite itTwo frames. Verification: system testing checks the system requirements, integration testing the architecture and unit testing the detailed design. Validation: acceptance testing checks the stakeholder needs, in real conditions.Verification: built rightSystemrequirementsSystemtestingArchitectureIntegrationtestingDetaileddesignUnittestingValidation: the right systemStakeholderneedswhat peopleneedAcceptancetestingusers andowner
Read this figure as text

The V-model runs down through the design stages to the build and up through the tests, and each test checks the stage opposite it. Verification shows the system was built right against its specification; validation shows it is the right system, in use and in its real surroundings.

  1. Unit testing checks each part against its detailed design. It is verification.
  2. Integration testing checks how the parts connect against the architecture. It is verification.
  3. System testing checks the whole system against the system requirements, security ones included. It is verification.
  4. Acceptance testing is done by the users and the business owner, who check that the system meets the stakeholders' needs in real conditions. It is validation, and a system can pass every verification test and still fail it if the requirements missed what people needed.
Each test level, what it checks against, and whether it verifies or validates
TestChecks againstKind
Unit testingThe detailed design of each partVerification
Integration testingThe architecture: how the parts connectVerification
System testingThe system requirements, security ones includedVerification
Acceptance testingThe stakeholders' needs, in real conditionsValidation

Functional testing checks that features work as specified. Security testing checks that protections work and attacks fail: , code analysis and , each traced to a security requirement. The test lead reports on verification. The business owner, with real users, accepts or rejects the system at validation.

Continuous security review across the whole life

Continuous security review means reassessing a system's security throughout its life, not once before it goes live. Threats change, the system changes, and controls drift out of their settings.

Its main tool is continuous monitoring: maintaining ongoing awareness of security, vulnerabilities and threats, so that decisions rest on current facts. Automated tools watch configurations, missing and unusual activity. People review the results on a set schedule.

  • A significant change to the system, its data or its connections
  • A new kind of threat, or a flaw found in a component the system uses
  • A security incident or a near miss
  • A scheduled review date

Each trigger reopens the earlier work: the is updated, requirements are checked, and the decision to keep the system running is confirmed or revisited.

Where monitoring is thorough, NIST encourages ongoing authorisation: the senior official reviews current monitoring results on a regular cycle, instead of waiting years for a full reassessment. Continuous review is what makes that possible.

Transition and deployment: into service, with risk accepted

Transition moves the system into the place where it will run and hands it to the people who will run it, without losing the security that testing confirmed.

  • Hardening: removing unneeded services, accounts and default passwords, and applying the approved .
  • Moving live data across securely and checking that it arrived complete.
  • Training users, operators and support staff.
  • A : tested steps to return to the old system if the new one fails.

Before live use, a senior official grants an authorisation to operate: a formal management decision to run the system and explicitly that remains. The official reads the security plan, the assessment results and the list of open weaknesses with their fix dates. In the NIST Risk Management Framework this is the Authorize step, between Assess and Monitor.

Older documents call the two parts certification, a full technical assessment of whether the controls work and meet the requirements, and accreditation, management's formal acceptance of the . Accreditation is the older name for authorisation to operate. Certification is evidence; accreditation is the decision.

Common misconception

“Once a system passes its security tests, the project team may put it live.”

Tests produce evidence. The decision to accept the remaining risk belongs to the senior official who owns it, through authorisation to operate.

Operations, maintenance and sustainment

Operations is running the system to deliver its service. Maintenance, or sustainment, keeps it able to do so for years. Most of a system's life is spent here.

Change management
Every change is requested, assessed for risk, approved, tested and recorded before it is made. Emergency changes are recorded and reviewed afterwards.
Configuration management
The approved is kept current, and systems are checked against it so that unapproved drift is found and corrected.
Patching
Updates are tested and applied on a schedule set by risk, fastest for flaws that attackers already use.
Reauthorisation
The authorisation is renewed on a set date or after a significant change.

Remote maintenance, where a supplier works on the system over a network, opens a door into it. It is approved in advance, uses strong authentication, is logged and watched, and the connection is closed when the work ends.

End of support is the date after which the maker no longer supplies fixes or security updates. End of life usually means the maker has stopped selling or developing a product, which may come earlier. A system past collects flaws that will never be fixed, so its retirement should be planned well before that date.

Retirement and secure disposal

Retirement ends a system's service in an orderly way: its data is moved or kept as required, its media are sanitised, and its connections and rights are removed. Sanitisation makes the data on a storage device infeasible to recover for a given level of effort. Deleting files is not sanitisation.

The three sanitisation methods
MethodHowProtects againstDevice afterwards
ClearOverwriting through the device's normal commands, or a factory resetSimple recovery using ordinary toolsReusable
PurgeDegaussing magnetic media, the device's own sanitise command, or State-of-the-art laboratory recoveryUsually reusable; a degaussed hard drive usually is not
DestroyShredding, disintegrating, pulverising, melting or incineratingState-of-the-art laboratory recoveryUnusable

Degaussing erases magnetic media with a strong magnetic field. It does not work on flash memory or solid-state drives, and it is a , not destruction.

Cryptographic erase sanitises data that was stored by destroying every copy of the key. For cloud storage the customer cannot reach the physical disks, so it may be the only purge option. Leased equipment usually has to go back intact, so it is purged rather than destroyed. Each sanitisation is recorded on a certificate of sanitisation: what device, which method, who did it, when, and how it was checked.

Clear stops casual recovery. Purge and destroy stop a laboratory. Destroy always leaves nothing to reuse.

Worked example: Retiring the school's pupil records system

The old server is leased and must be returned working. Nightly copies sit in a cloud storage service. Some records must be kept for a set number of years under the school's retention schedule.

  1. Migrate the live records to the new system and check them for completeness against the old one.
  2. Archive the records the retention schedule requires, in a form the school can still read when it needs to.
  3. Purge the leased server's disks with the device's own sanitise command, since destroying them would breach the lease, and verify the result.
  4. Sanitise the cloud copies by cryptographic erase: destroy the keys, then delete the data and close the account.
  5. Remove the old system's accounts, certificates, network rules and supplier access.
  6. Complete a certificate of sanitisation for the server and the cloud store, and have the system owner sign off the retirement.

Deleting the folder would have left the records recoverable on the server and untouched in the cloud. A planned retirement leaves nothing readable behind and a record proving it.

A question, worked through

A hospital trust has built a new system for ordering blood tests. Every verification test has passed, and doctors have accepted it in a trial on two wards. Two medium-risk weaknesses remain open, with fixes planned for next month. The project manager wants to switch it on across the trust on Monday.

Who should decide whether the system goes live with the open weaknesses?

  1. The senior official who owns the risk, through authorisation to operate
  2. The project manager, because all of the verification tests have passed
  3. The test lead, because the testing team found the two open weaknesses
  4. The security manager, because the open weaknesses are security issues
Decide on your answer, then open the reasoning
  1. The question asks who decides to accept the remaining risk at transition.
  2. Rule out c. The test lead reports what testing found. Reporting a weakness does not give authority to accept it.
  3. Rule out b. Passed tests are evidence for the decision, not the decision itself, and the project manager does not own the trust's risk.
  4. Between a and d: the security manager assesses the weaknesses and advises. Accepting risk to patients and the trust belongs to management.
  5. A senior official who owns the risk grants authorisation to operate, explicitly accepting the two weaknesses until they are fixed. Option a is the answer.

Answer: A. The senior official who owns the risk, through authorisation to operate

Choosing between good answers

A question asks whether the system meets its specification
that is verification. If it asks whether the system meets users' real needs in use, that is validation.
A question asks who approves a system for live use
a senior official who owns the risk, through authorisation to operate. Testers and security staff provide evidence and advice. Certification is the technical evaluation; accreditation is management's acceptance of risk.
A system in operation has a significant change or a new threat
reassess its security and revisit its authorisation. Review does not stop at go-live.
Media must be reused or returned, and the data must resist a laboratory
choose purge. If reuse is not needed, destroy. Clear protects only against simple recovery.
Data held in a cloud service must be sanitised
choose cryptographic erase, since the customer cannot reach the physical media.

Try it

Take a payroll system through go-live, years of running and retirement, and see what each late stage must leave on record.

Loading the preview.

Check your understanding

4 questions on this unit, easiest first. Confirm an answer to see the reasoning for it, then the right answer, the other options and the rule to reuse. Your answers are kept in this browser and feed readiness and review.

These questions are drafts that no named reviewer has approved yet.

Question 1 of 4

A new payroll system passes every system test against its specification. In a trial on real pay runs, the payroll clerks find it cannot handle overtime rules that were never written into the requirements.

Which kind of failure is this?

What to remember

  • Verification shows the system meets its requirements; validation shows it meets real needs in use. The V-model pairs each test with a design stage.
  • Continuous security review reassesses security throughout the system's life, driven by monitoring, changes, threats and incidents.
  • Transition hardens, trains and plans rollback. A senior official grants authorisation to operate, accepting the remaining risk.
  • Operations relies on change and configuration management, patching, controlled remote maintenance and reauthorisation. Plan retirement before end of support.
  • Retirement migrates and retains data, then sanitises: clear, purge or destroy, with cryptographic erase for cloud data and a certificate as proof.

Say it from memory

  1. What is the difference between verification and validation, and where does each sit on the V-model?

    Verification is evidence that the system meets its specified requirements: unit, integration and system testing, each against the design stage opposite. Validation is evidence that it meets stakeholders' needs in real use: acceptance testing against the needs at the top of the V. Built right, against the right system.

    Read this part again

  2. What security work belongs to transition and deployment, and who decides on go-live?

    Hardening to the approved baseline, secure data migration, training and a tested rollback plan. A senior official who owns the risk grants authorisation to operate, explicitly accepting the remaining risk after reading the security plan, assessment results and open weaknesses.

    Read this part again

  3. Which controls keep a system secure during operations and maintenance?

    Change management for every change, configuration management against the baseline, risk-based patching, continuous monitoring, controlled remote maintenance with strong authentication and logging, and reauthorisation after significant change or on a schedule. Plan replacement before end of support, when security updates stop.

    Read this part again

  4. What are the steps of retiring a system, and how do clear, purge and destroy differ?

    Migrate data, retain what the schedule requires, sanitise media, remove accounts and connections, record a certificate of sanitisation. Clear overwrites with normal commands against simple recovery. Purge defeats laboratory recovery and usually keeps the device usable. Destroy defeats laboratory recovery and ruins the device. Cloud data uses cryptographic erase.

    Read this part again

Sources