Template draft. Replace everything in [square brackets] with your own decision,
delete what does not describe what you really do, and approve it through your own document control. It is not legal
advice and does not make an organisation compliant or certified.
1. Purpose
This policy makes sure that hardware, software, services and networks are set up in a secure, consistent and documented way, that the secure setting is kept over time, and that departures from it are controlled. Default settings are not secure enough for production use.
2. Scope
The policy applies to every configurable item that stores, processes or transmits Organisation information: servers, endpoints, mobile devices, network and security devices, databases, operating systems, applications, containers, cloud accounts and services, and infrastructure as code.
- In scope: initial build, change, drift detection and decommissioning.
- Out of scope: configuration of third-party SaaS beyond the tenant settings the Organisation can control; those are covered by the Cloud Computing Security Policy and Procedure.
3. Terms and Definitions
| Term | Meaning |
|---|
| Baseline | The approved, documented secure configuration for a type of system. |
| Hardening | Reducing a system's attack surface by removing or locking down what is not needed. |
| Gold image | A pre-hardened, approved build used to create new systems. |
| Configuration drift | A difference between the actual state of a system and its baseline. |
| Configuration management database (CMDB) | The record of configuration items and their relationships and settings. |
| Infrastructure as code | Configuration expressed in version-controlled files and applied automatically. |
4. Roles and Responsibilities
| Role | Responsibilities |
|---|
| Head of IT Operations (document owner) | Owns this policy, approves baselines and ensures resources for scanning and remediation. |
| Information security manager | Defines security requirements for baselines, reviews them, runs compliance scans and approves deviations. |
| Platform and system engineers | Create images, apply baselines, correct drift and keep baseline documents current. |
| System owner | Accepts the baseline for the system, accepts the risk of approved deviations. |
| Change manager | Ensures configuration changes follow the change process. |
| Asset register owner | Keeps the CMDB and asset register aligned with real systems. |
| Activity | Responsible | Accountable | Consulted | Informed |
|---|
| Define and approve a baseline | Platform engineers | Head of IT Operations | Information security manager, system owner | Change manager |
| Build systems from the gold image | Platform engineers | System owner | Information security manager | Asset register owner |
| Scan for compliance and drift | Information security manager | Head of IT Security | Platform engineers | System owner |
| Fix drift | Platform engineers | System owner | Information security manager | Change manager |
| Approve a deviation | Information security manager | Head of IT Security | System owner | Platform engineers |
| Update the baseline after a change | Platform engineers | Head of IT Operations | Information security manager | Asset register owner |
5. Policy Statement
5.1 Baselines
- A documented baseline must exist for each type of system in use. Baselines are based on recognised hardening guidance from the vendor or an industry body and are adapted to the Organisation's risks.
- Baselines are approved by the Head of IT Operations and the information security manager, stored in version control, and reviewed every [12 months] and after significant vulnerabilities or changes in the product.
- New systems must be built from a gold image or from infrastructure code that applies the baseline automatically. Manual builds need a checklist and a second-person check.
- A system must not go live until a compliance scan has been run and findings of high severity are fixed or have an approved deviation.
5.2 Minimum hardening settings
| Area | Minimum requirement |
|---|
| Accounts | Default accounts removed or disabled; default passwords changed before connection to any network; unique administrative accounts; no shared accounts |
| Services and software | Only required services, ports, protocols, features and packages enabled; unneeded software removed; unsupported software prohibited |
| Authentication | Strong passwords or keys, multi-factor authentication for administrative access, account lockout, session time-out of [15 minutes] for interactive sessions |
| Network | Host firewall on, management interfaces on a separate network, insecure protocols (telnet, FTP, SNMP v1 and v2) disabled, time sync enabled |
| Encryption | Approved protocols and ciphers as per the Cryptography Policy; disk encryption on endpoints |
| Logging | Audit logging enabled and sent to the central platform, as set by the Logging and Monitoring Policy |
| Patching | Automatic or scheduled updates enabled in line with the Patch Management Policy |
| Banners and remote access | Warning banner on administrative interfaces; remote administration only through approved gateways |
| Removable media and peripherals | Disabled by default on servers and unmanaged use blocked on endpoints |
| Cloud | Public access blocked by default, storage encrypted, least-privilege roles, resource tagging, and logging on |
5.3 Control of change and drift
- Configuration changes follow the Change Management Policy and Procedure. After an approved change, the baseline and the CMDB are updated within [5 working days].
- Automated checks compare the live configuration with the baseline at least [daily] for Tier 1 systems and [weekly] for others. Drift triggers an alert and a ticket; drift in a security setting must be corrected or approved within [3 working days].
- Administrative access to change configuration is limited to named people, uses multi-factor authentication, and is logged. Break-glass access is reviewed after use.
- Configuration data, such as device configurations and infrastructure code, is backed up and stored with version history under the Backup and Restoration Policy.
5.4 Deviations
A deviation from a baseline needs a recorded business or technical reason, a risk assessment, compensating controls, approval by the information security manager and the system owner, and an end date no later than [12 months]. Deviations are listed in the deviation register and reviewed [quarterly].
5.5 Decommissioning
- Before a system is retired its data is archived or deleted, its credentials and keys are revoked, its entries in monitoring and the CMDB are closed, and storage is wiped under the Asset Disposal Process.
5.6 Configuration compliance schedule
| System type | Baseline owner | Scan frequency | Drift correction target |
|---|
| Servers and databases | Platform engineers | [Daily] automated | [3 working days] |
| Endpoints | Endpoint administrator | [Weekly] | [7 days] |
| Network and security devices | Network engineer | [Weekly] and after change | [3 working days] |
| Cloud accounts and containers | Cloud administrator | [Daily] automated | [2 working days] |
| Mobile devices | Endpoint administrator | Continuous via MDM | Non-compliant devices blocked after [24 hours] |
6. Baseline Content by Platform
Each baseline document must at least cover the items below for its platform. The platform engineer records the source guidance, the version, and each setting with its value and reason.
| Platform | Items the baseline must define |
|---|
| Server operating systems | Account and group policy, password and lockout rules, services, file permissions, kernel and network parameters, audit policy, remote access, host firewall, time sync |
| Endpoint operating systems | Disk encryption, screen lock after [10 minutes], administrator rights removed, removable media policy, application control, update channel, endpoint protection |
| Databases | Authentication method, default accounts, roles, encryption at rest and in transit, audit logging, network listener binding, backup account, patch level |
| Network and security devices | Management access, protocols, firmware level, SNMP and logging, rule-set review, banners, configuration backup |
| Web servers and applications | Hidden version headers, TLS configuration, security headers, directory listing off, error handling, upload limits, separate service accounts |
| Containers and orchestration | Minimal base images, non-root users, read-only file systems where possible, resource limits, secrets handling, image signing, network policies |
| Cloud accounts | Identity and root protection, region restrictions, logging and alerting, storage and network exposure, encryption keys, budget and quota alarms |
Note. Worked example: a scan of 200 servers finds 12 with an administrator remote access port open to the whole internal network when the baseline allows only the management subnet. The information security manager raises 12 tickets rated high. Nine are corrected within 3 working days by reapplying the infrastructure code. Three belong to a legacy application whose vendor requires the open port; the owner raises a deviation with a host firewall rule limiting access to two named servers and an end date of 9 months. The compliance figure moves from 94 percent to 99 percent.
7. Compliance and Monitoring
The information security manager reports scan coverage, compliance percentage and open deviations each [month]. Internal audit tests a sample of systems against their baselines once a [year] and confirms that the baseline documents are current. Findings are tracked as corrective actions.
8. Measures
| Measure | Target |
|---|
| Systems with an approved baseline | [100%] |
| Systems compliant at the latest scan | [95%] |
| High-severity drift fixed within target | [95%] |
| Open deviations past their end date | [0] |
| New systems built from gold image or code | [100%] |
9. Records and Evidence
- Baseline documents with version history, kept while current plus [3 years].
- Scan results and drift tickets, kept [2 years].
- Deviation register with approvals, kept [3 years] after closure.
- Build checklists and gold image records, kept for the life of the system.
Annexure A: Configuration deviation request
| Field | Entry |
|---|
| System, owner and baseline reference | |
| Setting that deviates | |
| Reason | |
| Risk and compensating controls | |
| Requested end date | |
| Approvals and dates | |
10. Exception
Exceptions to this document are allowed only where compliance is not practicable and the risk has been assessed. A request must state what is to be excepted, why, the risk it creates, the compensating controls, and an end date no later than [6 months]. It is approved in writing by the document owner and the risk owner, recorded in the exceptions register, and reviewed at the end date. An exception does not change the document.
11. Enforcement
Compliance is monitored through internal audits, management review and routine checks by the document owner. Non-compliance is reported through the incident or non-conformity process and handled under the organisation's disciplinary procedure, and under the terms of any contract for people who are not employees. Serious or repeated non-compliance may lead to loss of access and, where the law is broken, to referral to the authorities.
12. Review
This document is reviewed at least every [12 months], and when there is a significant change to the organisation, its systems, its risks or the law, or after an incident that shows it was not effective. Each review is recorded in the revision history.
ISO/IEC 27001:2022 references
| Reference | Title |
|---|
| A.8.9 | Configuration management |
| A.8.19 | Installation of software on operational systems |
| A.8.32 | Change management |
| A.8.2 | Privileged access rights |
| A.8.7 | Protection against malware |
| A.5.37 | Documented operating procedures |