Many organisations have anti-malware software everywhere and a malware protection policy nowhere, so nobody owns the exclusion list, servers and cloud storage go unscanned, and the agent that was switched off "temporarily" during an upgrade stays off. The ISO/IEC 27001:2022 Annex A control on protection against malware expects protection supported by user awareness, not software alone. This template is the governing document for that control. It covers prevention of delivery and execution, detection coverage across endpoints, servers, email, web and cloud storage, exclusions and temporary disablement, updates, awareness, and the link to backup and incident response. It is written for CISOs, endpoint and infrastructure owners and policy owners. Device-level settings live in the Endpoint Hardening Checklist; this policy sets the rules those settings implement.
How to use this template
- Replace text in square brackets, such as [Organisation], [CISO] and [24 hours], with your own terms and values. Bracketed values are suggested defaults, not external requirements.
- "Must" indicates a mandatory requirement. "Should" indicates a recommended practice where a documented exception may be justified.
- Keep product names, scan schedules and the exclusion list in a separately versioned malware protection standard so they can change without re-approving the policy.
- Response steps for an active infection are in the Malware Outbreak Playbook; this policy only requires that one exists and is used.
- Place this policy beneath your Information Security Policy Template.
1. Purpose
This policy sets the requirements for protecting [Organisation]'s systems, data and users against malicious software, including viruses, worms, ransomware, trojans, malicious scripts and macros, and potentially unwanted programs. Its aims are to stop malware being delivered, stop it running if delivered, detect and contain it quickly when it runs, and recover without paying attackers.
2. Scope
This policy applies to:
- All end-user devices owned or managed by [Organisation], including laptops, desktops and mobile devices, and personal devices used under the BYOD Policy Template.
- Servers, virtual machines, containers and virtual desktop infrastructure, on premises and in the cloud.
- Email, web and file transfer gateways, and cloud storage and collaboration services that hold [Organisation] files.
- Removable media and files received from third parties.
- Operational technology and specialised systems, with the adjustments in section 4.7.
- All employees, contractors and third parties who use or administer these systems.
3. Roles and responsibilities
| Role | Responsibilities |
|---|---|
| [CISO] | Owns this policy; approves exclusions above [standard risk] and exceptions; receives coverage and incident reporting. |
| [Endpoint and server owners] | Deploy and maintain protection on every asset; keep agents healthy and updated; apply application control. |
| [Security operations] | Monitor alerts, investigate detections, run containment, manage the exclusion register. |
| [Messaging and network owners] | Operate email and web filtering, attachment controls and DNS protection. |
| [Backup owner] | Maintain backups that malware cannot alter, and test restores. |
| All users | Do not install unapproved software, do not disable protection, report suspected infections immediately. |
4. Policy statements
4.1 Preventing delivery
- Inbound email must be scanned for malware, with executable and script attachment types blocked as listed in the malware protection standard. See the Email Security Policy Template.
- Web traffic from managed devices must be filtered to block known malicious and newly registered high-risk domains, using DNS or web filtering.
- Files uploaded to or synchronised with cloud storage and collaboration services must be scanned where the platform supports it.
- Remote Desktop Protocol and other remote access must not be exposed to the internet. Remote access must use [the approved gateway] with multi-factor authentication. See the Remote Access Policy Template.
- Internet-facing systems and remote access devices must be patched as the Patch Management Policy Template requires, with known exploited vulnerabilities fixed within [14 days] or sooner.
- Autorun for removable media must be disabled. Removable media must be scanned on connection.
4.2 Preventing execution
- Users must not install software that is not on [the approved software list] or available from [the company software portal].
- Application control must allow only approved applications on [high-risk systems, servers and privileged workstations], and should be extended to all endpoints. See the Application Allowlisting Guide.
- Office macros from the internet must be blocked. Macros must run only where signed by a trusted publisher or approved for a business need.
- Scripting environments must be constrained where supported, for example PowerShell Constrained Language Mode enforced by an application control policy.
- Users must not hold local administrator rights for daily work. Administrators must not use privileged accounts for email or web browsing.
- Host firewalls must block inbound connections by default.
4.3 Detection coverage
| Asset type | Required protection | Scanning |
|---|---|---|
| End-user devices | Anti-malware with behavioural detection, centrally managed; EDR on [all managed devices] | Real-time on access, plus scheduled full scan [weekly] |
| Servers and VMs | Server-supported anti-malware or EDR, centrally managed | Real-time, with documented performance exclusions only |
| Containers and serverless | Image scanning in the build pipeline and registry; runtime protection for [production clusters] | On build and on registry push |
| Mobile devices | Managed through MDM; apps from official stores only; mobile threat defence for [high-risk roles] | As provided by the platform |
| Email, web and file gateways | Anti-malware, URL checks and sandboxing for [listed file types] | On delivery and at time of click |
| Cloud storage | Platform malware scanning enabled | On upload or sync |
- Every asset in [the asset inventory] that supports protection must report to the central console. Assets that do not report for [7 days] must be investigated.
- Anti-malware engines and signatures must update automatically at least [daily]. Agents more than [one version] behind must be updated.
- Tamper protection must be enabled so users and local processes cannot disable the agent.
- Detections must alert [Security operations] centrally. High-severity detections must be triaged within [1 hour].
4.4 Exclusions and temporary disablement
- Scan exclusions must be requested through [the exclusion process], stating the path, process or file type, the reason and an owner.
- Exclusions must be as narrow as possible: specific files or processes, never whole drives, user-writable folders or broad file types.
- All exclusions must be held in [the exclusion register] and reviewed every [6 months]. Exclusions without an owner must be removed.
- Protection may be disabled temporarily only for a documented change or troubleshooting, approved by [Security operations], for no more than [4 hours], with automatic re-enablement where the product supports it. See the EDR Tuning and Exclusions Management Guide.
- Alerts must be raised when protection is disabled or tampered with outside an approved window.
4.5 Backup and recovery
- Backups of critical systems must include at least one copy that is offline or immutable and cannot be changed from the production network.
- Backup administration must use separate accounts with multi-factor authentication, not standard domain administrator accounts.
- Restores must be tested at least [quarterly], and backups must be scanned before restoration after a malware incident. See the Backup Policy Template.
4.6 Awareness and reporting
- All users must receive training at induction and at least [annually] on malicious attachments and links, fake updates, unapproved software and how to report.
- Users must report a suspected infection to [the service desk] immediately and disconnect from the network if instructed. Prompt reporting will not lead to disciplinary action.
- Malware warnings and advisories must be accepted only from trusted sources, such as [the security vendor, national CERT and Security operations]. Hoax warnings must not be forwarded.
4.7 Systems that cannot run standard protection
- Systems where anti-malware is unsupported or would affect safety or operation, such as OT controllers or appliances, must be listed with an owner and compensating controls: network segmentation, application control or allow listing, media scanning kiosks and monitoring.
- Files and media entering OT environments must be scanned on a dedicated, protected station first. See the OT Security Policy Template.
- Unsupported operating systems must be segregated from the rest of the network until replaced.
4.8 Incident handling
- Confirmed malware must be handled under [the incident response plan] and the Malware Outbreak Playbook, including isolation of affected hosts, evidence preservation and credential resets where credentials may have been exposed.
- Credentials, tokens and keys stored on or used from an infected host must be treated as compromised and rotated, including service account and API credentials. Information-stealing malware targets these directly.
- Lessons learned must feed back into the exclusion register, filtering rules and application control policy.
5. Exceptions
- Exceptions must be requested through [the exception process] with the business reason, compensating controls and an expiry date of no more than [12 months].
- Exceptions to sections 4.2 (application control and admin rights) and 4.3 (coverage) must be approved by [the CISO].
- All exceptions must be recorded in [the risk register].
6. Compliance and monitoring
| Measure | Target | Reported to |
|---|---|---|
| Inventory assets reporting healthy protection | [99 percent] | [CISO] |
| Agents with signatures older than 48 hours | [Under 1 percent] | [CISO] |
| Exclusions with an owner and review in the last 6 months | [100 percent] | [CISO] |
| Users with standing local administrator rights | [Falling; 0 without exception] | [Risk committee] |
| Median time from high-severity detection to containment | [Under 1 hour] | [Risk committee] |
Breaches of this policy may lead to removal of access and to action under [the disciplinary policy].
7. Review and approval
| Field | Entry |
|---|---|
| Policy owner | [CISO] |
| Approved by | [Name, role] |
| Version and date | [1.0] [Date] |
| Next review | [12 months from approval, or sooner after a significant malware incident] |
Implementation guidance
The sequence below is NHI Mgmt Group's recommendation.
- Reconcile coverage first. Compare the anti-malware console with the asset inventory; the gap is usually servers, cloud VMs and unmanaged devices. Fixing coverage is the biggest single gain.
- Clean up exclusions. Export the current list, remove broad entries, assign owners and set review dates. Test removal on a pilot group first; restore a specific exclusion if a business application breaks, never a broad one.
- Introduce application control in audit mode. Run in audit for [30 days] on servers and privileged workstations, review what would be blocked, then enforce ring by ring with a fast rollback path.
- Remove local admin rights with a request route for genuine needs, and block internet macros.
- Size it to the organisation. A small organisation can meet most of this with built-in operating system protection, managed centrally, plus macro blocking and offline backups; the NCSC's malware and ransomware guidance recommends offline backups and constraining macros. Larger estates need EDR, sandboxing and a formal exclusion register.
Framework mapping
| Policy section | ISO/IEC 27001:2022 | NIST SP 800-53 Rev. 5 | NIST CSF 2.0 | CIS Controls v8.1 |
|---|---|---|---|---|
| 4.1 Preventing delivery | Annex A control on protection against malware | SI-3, SI-8, SC-7 | PR.PS-05 | Control 9, 10.3 |
| 4.2 Preventing execution | Annex A control on protection against malware | CM-7, AC-6 | PR.PS-05 | Control 2 |
| 4.3 Detection coverage | Annex A control on protection against malware | SI-3, SI-4 | DE.CM-09 | 10.1, 10.2, 10.6, 10.7 |
| 4.5 Backup | Annex A control on protection against malware | CP-9 | PR.DS-11 | Control 11 |
| 4.6 Awareness | Annex A control on protection against malware | AT-2 | PR.AT-01 | Control 14 |
| 4.8 Incident handling | Annex A control on protection against malware | IR-4 | RS.MI-01 | Control 17 |
The techniques this policy addresses include MITRE ATT&CK T1566 Phishing, T1204 User Execution and T1059 Command and Scripting Interpreter. CIS Safeguard detail is in the CIS Control 10 Malware Defenses Guide.
Standards and references
- ISO: ISO/IEC 27001:2022 Information security management systems
- NCSC: Mitigating malware and ransomware attacks
- NIST: SP 800-83 Rev. 1, Guide to Malware Incident Prevention and Handling for Desktops and Laptops
- CIS: Control 10, Malware Defenses
- NIST: SP 800-53 Rev. 5 (SI-3 Malicious Code Protection)
This template is provided for guidance and must be adapted to your organisation. Related NHI Mgmt Group resources: Malware Guide · EDR Guide · Essential Eight Guide · Endpoint Hardening Checklist