VaultISO 27001ISO 27001 Annex A 8.7: how to implement protection against malware
ISO 27001 · A.8.7

ISO 27001 Annex A 8.7: how to implement protection against malware

Protection against malware

Harry WestFounder & CEO19 June 202311 min read
Inside This Article
What does ISO 27001:2022 Annex A 8.7 protection against malware require?How do you implement ISO 27001 Annex A protection against malware technically?Do you need an ISO 27001 protection against malware policy?What does layered malware defence look like in practice?What if protection has to be switched off, or a system can't run an agent?How do you prepare for ransomware recovery under Annex A 8.7?How do auditors test ISO 27001 Annex A 8.7?How do you automate Annex A 8.7 evidence with GRC engineering?Frequently asked questions
Book a discovery call

Key takeaways

ISO 27001 Annex A 8.7 treats malware defence as a system of layers across prevention, detection and recovery, not an antivirus install. Managed EDR, filtered delivery routes, privilege restriction and a tested restore work together. Most of the evidence can be generated automatically from EDR and MDM data.

Control type
Annex A 8.7 is preventive, detective and corrective, protecting confidentiality, integrity and availability by combining filtering, monitoring and recovery rather than relying on one antivirus product.
Technical core
Deploy centrally managed EDR on every Windows, macOS and Linux endpoint, server and cloud VM, then filter email, web and DNS traffic to cut off the routes malware uses.
Policy question
No standalone policy is needed at 25–250 people. A malware section in your operational security procedures covers deployment, responders and deactivation approval, and it audits fine.
Audit focus
Auditors reconcile EDR coverage against the device inventory, trace a recent detection, test the deactivation log and ask for the latest restore test, sampling roughly 90 days of records.

The enterprise security questionnaire asks how you would contain a ransomware-infected laptop. Your honest answer is "we run antivirus", and the deal waits. This guide shows IT managers and compliance leads at 25–250-person firms how to implement ISO 27001 Annex A 8.7 as a system of layers. Built that way, it satisfies both the Stage 2 auditor and the buyer.

It covers the technical stack, the policy question, exceptions, ransomware recovery, what auditors test and how to generate the evidence automatically.

What does ISO 27001:2022 Annex A 8.7 protection against malware require?

ISO 27001:2022 Annex A 8.7 requires protection against malware that is implemented as a system, not a product: detection software supported by restricted installation, filtered delivery routes, patched vulnerabilities, trained users and a rehearsed recovery. The control is preventive, detective and corrective, and protects confidentiality, integrity and availability.

Malware here means ransomware, trojans, worms and spyware alike. The control follows each one from the inbound email to the restore. It also covers the dull corners: keeping protection on during maintenance, and deciding when it may be switched off.

The three classifications map to layers you can point at:

  • Preventive: filtering, allowlisting and least privilege that stop infection.
  • Detective: behavioural monitoring that spots what slipped past.
  • Corrective: isolation, clean-up and restore that put the business back.

Malware steals data, tampers with it and locks it up with equal enthusiasm, so all three security properties are in play.

The scope is wide because the threat is. NIST SP 800-83 Rev. 1 Guide to Malware Incident Prevention and Handling identifies malware as the most common external threat to hosts, and it asks organisations to improve prevention and incident handling together. Ransomware is the incident most likely to end a 25–250-person firm: days of outage, client data staged for leverage, and a recovery bill that dwarfs years of prevention spend.

Insurers and auditors now look for exactly this. Cyber insurers check your EDR coverage and backup isolation before quoting. An auditor reads the control as a test of how seriously you run operations.

Treating the control as "we bought antivirus" leaves one layer carrying a load it was never designed for. Filtering, least privilege, training and a recovery plan exist to share that load.

How do you implement ISO 27001 Annex A protection against malware technically?

Deploy a centrally managed EDR product on every endpoint and server, including Windows, macOS, Linux and cloud VMs, with automatic updates and one console showing health. Then cut off delivery routes with email filtering, attachment sandboxing and web or DNS filtering. For a 50-person firm, this is one to two weeks of effort.

Work through the technical core in this order:

  1. Start from the asset list. The asset inventory under A.5.9 is the list EDR must match, so every laptop, server and VM goes on it first.
  2. Deploy managed EDR. Cover Windows, macOS, Linux servers and cloud VMs from one console, with automatic engine and definition updates and agent health visible in one place.
  3. Filter email. Add spam filtering, attachment sandboxing and SPF and DKIM checks, since most infections arrive by mail or browser.
  4. Filter web and DNS. Block known-bad destinations and command-and-control callbacks.
  5. Pre-authorise isolation. Agree in writing who may trigger EDR's host-isolation action, so containment is one click rather than a debate.

EDR is the real upgrade over signature antivirus. It spots behaviour, not just known signatures, and it can isolate a host remotely. Business-tier licensing is within reach at this scale.

The NCSC device security guidance on antivirus and security software frames security software as one part of a set. It works alongside network defences and device configuration, and it needs prompt, automated updates. Filtering at the mail and web edge is cheaper than detection later, because every blocked lure is an incident you never triage.

Platform immunity is not an argument an auditor accepts. Macs, Linux servers and cloud virtual machines need the same protection as Windows laptops, unless a documented risk assessment justifies compensating controls for a specific system. "Malware is a Windows problem" is a belief attackers stopped sharing years ago.

Consumer-grade or unmanaged protection fails differently. With no central console there is no coverage report, no alerting and no evidence, so the auditor has nothing to reconcile against the inventory.

Do this first. It is one of the biggest risk reducers in the programme, and the console starts building audit evidence the day the agents check in.

Do you need an ISO 27001 protection against malware policy?

No standalone policy is required at 25–250 people. A malware-protection section within your operational security procedures is the norm and audits fine, provided it records what is deployed where, who responds to a detection, and how disabling protection is authorised. A separate policy document is a large-enterprise pattern, not a requirement.

Write the section so each statement is something the tooling can prove. It should record:

  • Deployment: which protection runs on which platforms, covering EDR scope plus mail, web and DNS filtering.
  • Response: who triages a detection, who can isolate a host, and who deputises when they are away.
  • Deactivation: the route for switching protection off, detailed in the exceptions section below.
  • Exceptions: systems that cannot run an agent, with the compensating controls for each.

Auditors read the section against the console. Name responders by role as well as by person, so the alert route survives leave and leavers.

If a customer questionnaire asks for an antivirus policy or an email security policy by name, point it at this section. A second document drifts out of date, and a drifting document is a finding waiting for a sample.

Free Resource - ISO 27001

The ISO 27001 readiness checklist

Ninety-eight controls mapped to what an assessor actually asks for, in the order they ask it. Written by practitioners who took our ISMS through certification.

AvailablePDF21 pages
  • how to define your ISMS scope
  • the risk-assessment and treatment evidence trail,
  • your Statement of Applicability and residual-risk positions, and
  • the supplier, access-control, and operational-evidence questions most teams miss.

DOC-27001-CHK · v2.4

We'll use your details to give you access to the resource you requested, plus occasional related content. Opt out any time — see our Privacy Notice.

What does layered malware defence look like in practice?

Layered defence stacks endpoint detection with least privilege, application allowlisting, patching under A.8.8 and user awareness under A.6.3, so no single failure is fatal. The NCSC states there is no way to completely protect an organisation against malware infection, which is why it advises defence in depth with several mitigations at each layer.

Read the NCSC guidance on mitigating malware and ransomware attacks as a design brief: layers, several mitigations in each, and regular offline backups behind them. The stack around the endpoint agent looks like this:

  • Least privilege. Take local admin off standard users and restrict what can be installed. Malware that cannot gain a foothold or persist is malware you did not have to detect.
  • Application allowlisting. On high-risk or fixed-function machines, only named software runs. This is the stronger form of installation control.
  • Patching. Exploited vulnerabilities are malware's other front door, so your A.8.8 process does half this control's work.
  • Awareness. Under A.6.3, train people on suspicious attachments, credential lures and rogue installers. The control treats user awareness as part of itself, not an optional extra.
  • Segmentation. Arrange the network so one infected machine cannot reach everything.
  • Threat intelligence. Name a defined, reputable source and a person who reads it.

Local admin is where the layers collapse. A user who can disable the agent or install the trojan undoes every other layer. Remove that right before tuning anything else.

The table shows what each layer stops and what it leaves behind for the auditor.

LayerWhat it stopsCadenceEvidence left
Managed EDRExecution, persistence and spread of malwareContinuous; agent health checked dailyCoverage report against the device inventory
Email and web/DNS filteringMalicious attachments, known-bad destinations, callbacksContinuous; quarterly rule reviewFilter configuration, sandboxing and block rules
Least privilegeUnapproved installs and agent tamperingEnforced by baseline; drift checked monthlyConfiguration baselines showing admin-rights removal
Application allowlistingUnapproved executables on high-risk machinesUpdated with each approved software changeAllowlist and change tickets
Patching (A.8.8)Exploitable vulnerabilitiesPer your patch timelinesPatch compliance reports
Awareness (A.6.3)Credential lures and rogue attachmentsAnnual training plus occasional simulationsCompletion records and simulation results
Backups (A.8.13)Unrecoverable encryptionScheduled; restore tested periodicallyImmutability settings and restore-test record

What if protection has to be switched off, or a system can't run an agent?

Disabling protection is allowed only through a documented exception: a named approver, written justification, compensating care and a review date to switch it back on. Systems that cannot run an agent, such as legacy machines and appliances, need a documented risk assessment and compensating controls like isolation and tight change control.

Legitimate reasons exist. A developer's build breaks under the agent, or a maintenance window needs a service stopped. The control does not forbid either, but it does expect the act to leave a trail. Each deactivation record should hold:

  • A named approver with the authority to accept the risk.
  • Written justification, such as the specific deployment the agent breaks.
  • Compensating care while protection is off, for example restricting the machine's network access or watching it more closely.
  • A review date or re-enable timer that switches protection back on.

The undocumented version of the same act is one of this control's most common audit findings.

Agentless systems are the second exception. Give each legacy machine, IoT device or appliance its own network segment and a named owner who accepts the residual risk. Revisit the assessment when the system is upgraded or replaced, because the exception should end when its reason does. Documented and compensated is acceptable; ignored is a finding.

Protection switched off 'temporarily', with no re-enable timer, is a permanent gap that nobody has yet noticed.

How do you prepare for ransomware recovery under Annex A 8.7?

Prepare the failure day: keep backups that malware cannot encrypt, using offline or immutability-protected copies under A.8.13, prove a restore works, and hold a short isolate-triage-clean-restore playbook. Firmware-level infections mean reimaging, not cleaning, which is why the tested backup matters more than the disinfectant.

Offline or immutable copies cannot be encrypted or deleted by whoever holds a stolen admin session. Auditors want to see that setting, plus a record of the latest restore test. Insurers ask for the same two things before they quote.

Keep the playbook short enough to use under pressure:

  1. Isolate. Trigger the host-isolation action pre-authorised in the technical section.
  2. Triage. Use the EDR timeline to establish what executed, what spread and which data was touched.
  3. Clean. Remove the malware where the evidence supports it, and reimage where persistence or firmware compromise is possible.
  4. Restore. Bring systems back from a verified copy, then lift isolation once checks pass.

Rehearse it once with a real system. Restore the file share or database the business would miss first, and time it. The strongest exhibit is a dated restore-test record showing real data coming back, because it proves the recovery half instead of describing it.

A backup reachable with the credentials malware steals is a second target, not a recovery plan.

How do auditors test ISO 27001 Annex A 8.7?

Auditors check EDR agent coverage against the asset inventory, trace a recent detection from alert to close-out, test the deactivation log against a real maintenance window, and ask for the latest restore test. They typically sample a 90-day window of detection records and training completions for named staff.

Expect questions like these in the room:

  • "Show me your EDR console next to your device inventory. What is the coverage gap, and why?"
  • "Walk me through your last malware detection, from alert to close-out."
  • "Who can switch endpoint protection off, and what is the approval trail?"
  • "What about the Macs, the Linux servers and the build agents?"
  • "If ransomware fired at 9am tomorrow, how would you contain it, and when did you last prove a restore works?"

In certification-body practice, grading follows scale. The total-breakdown cases grade major:

  • whole platforms left unprotected;
  • no detection on servers holding client data;
  • backups that a ransomware event would also encrypt.

One machine missing an agent, a lapsed training completion or an undocumented one-off deactivation grades minor. Minors add up to a major when they form a pattern.

A claimed "no detections in 90 days" invites the follow-up question of whether the tooling is quiet or just unwatched. The usual cause of unwatched is the alert route, so trace one test alert to a named person before the audit does.

Alerts sent to a mailbox nobody owns mean detection exists and response doesn't.

How do you automate Annex A 8.7 evidence with GRC engineering?

Malware defence produces continuous telemetry, so its evidence can be automated. A scheduled job compares the EDR agent list with the MDM register and opens a ticket per unprotected device. Deactivation runs as a ticketed workflow with a re-enable timer, and detections flow into ticketing, so the 90-day sample becomes an export filter.

Two further checks complete the picture:

  • Health and currency monitoring. Agent heartbeats, definition ages and disabled-state alerts feed a dashboard, so a silent or stale agent becomes a same-day ticket instead of an audit-time discovery.
  • Backup-integrity checks. Scheduled restore verifications and immutability-policy checks keep the recovery half of the control continuously proven.

These builds run on EDR and MDM APIs, and they are the kind of work our GRC engineering service delivers. The judgement calls stay human: exception authority, risk acceptance for agentless systems and ownership of the incident playbook. A fractional CISO engagement is one route for those.

At this point the control proves itself daily. The insurer and buyer questions from the opening section get answered with a dashboard and an export, not a scramble.

Frequently asked questions

Our guidance is EDR, because the forensic timeline turns "something happened" into "here is what happened", and that is what an incident ticket needs. At current business-tier pricing it is the sensible default even at 30 people. If you keep signature antivirus, expect the auditor to ask what covers behavioural detection and where remote isolation comes from.

Yes, if they are in scope of your ISMS, and auditors ask about them by name. Ephemeral runners are the awkward case. Bake the agent into the base image so every instance registers with the console on boot, then include the runner pool in your daily coverage reconciliation.

User awareness is the requirement, and simulations are one way of evidencing it. Our guidance is to run them occasionally and keep the last year's results next to training completions. Follow repeat clickers with targeted training rather than a report naming individuals.

A defined, reputable source is enough. The NCSC's alerts and your EDR vendor's advisories qualify, and neither needs a platform purchase. Record in your procedures who reads the feed and how often, and raise a ticket whenever an advisory affects software you run.

Profile image for Harry West, Founder and CEO of GRCMANA
Author

Harry West

Harry is the founder of GRCMANA, he helps regulated service providers close the enterprise trust gap — turning GRC, cyber resilience and AI governance from paperwork exercises into shippable systems.

Standard engine

ISO 27001 reference directory.

Every control in this framework and the clause guides that sit above them, grouped by control domain. Open any entry for its control definition, implementation steps and the audit evidence it expects. Dimmed entries are planned.

ClausesThe management systemClause guides · 23 guides
Clause 4.1Understanding the organization and its context→Clause 4.2Understanding the needs and expectations of interested parties→Clause 4.3Determining the scope of the information security management system→Clause 4.4Information security management system→Clause 5.1Leadership and commitment→Clause 5.2Policy→Clause 5.3Organizational roles, responsibilities and authorities→Clause 6.1Actions to address risks and opportunities→Clause 6.2Information security objectives and planning to achieve them→Clause 7.1Resources→Clause 7.2Competence→Clause 7.3Awareness→Clause 7.4Communication→Clause 7.5Documented information→Clause 8.1Operational planning and control→Clause 8.2Information security risk assessment→Clause 8.3Information security risk treatment→Clause 9.1Monitoring, measurement, analysis and evaluation→Clause 9.2Internal audit→Clause 9.2Preparing for Your ISO 27001 Stage 2 Audit: A Practical Checklist→Clause 9.3Management review→Clause 10.1Continual improvement→Clause 10.2Nonconformity and corrective action→
A.5Organizational Controls37 guides
A.5.1Policies for information security→A.5.2Information security roles and responsibilities→A.5.3Segregation of duties→A.5.4Management responsibilities→A.5.5Contact with authorities→A.5.6Contact with special interest groups→A.5.7Threat intelligence→A.5.8Information security in project management→A.5.9Inventory of information and other associated assets→A.5.10Acceptable use of information and other associated assets→A.5.11Return of assets→A.5.12Classification of information→A.5.13Labelling of information→A.5.14Information transfer→A.5.15Access control→A.5.16Identity management→A.5.17Authentication information→A.5.18Access rights→A.5.19Information security in supplier relationships→A.5.20Addressing information security within supplier agreements→A.5.21Managing information security in the ICT supply chain→A.5.22Monitoring, review and change management of supplier services→A.5.23Information security for use of cloud services→A.5.24Information security incident management planning and preparation→A.5.25Assessment and decision on information security events→A.5.26Response to information security incidents→A.5.27Learning from information security incidents→A.5.28Collection of evidence→A.5.29Information security during disruption→A.5.30ICT readiness for business continuity→A.5.31Legal, statutory, regulatory and contractual requirements→A.5.32Intellectual property rights→A.5.33Protection of records→A.5.34Privacy and protection of PII→A.5.35Independent review of information security→A.5.36Compliance with policies, rules and standards for information security→A.5.37Documented operating procedures→
A.6People Controls8 guides
A.6.1Screening→A.6.2Terms and conditions of employment→A.6.3Information security awareness, education and training→A.6.4Disciplinary process→A.6.5Responsibilities after termination or change of employment→A.6.6Confidentiality or non-disclosure agreements→A.6.7Remote working→A.6.8Information security event reporting→
A.7Physical Controls14 guides
A.7.1Physical security perimeters→A.7.2Physical entry→A.7.3Securing offices, rooms and facilities→A.7.4Physical security monitoring→A.7.5Protecting against physical and environmental threats→A.7.6Working in secure areas→A.7.7Clear desk and clear screen→A.7.8Equipment siting and protection→A.7.9Security of assets off-premises→A.7.10Storage media→A.7.11Supporting utilities→A.7.12Cabling security→A.7.13Equipment maintenance→A.7.14Secure disposal or re-use of equipment→
A.8Technological Controls34 guides
A.8.1User endpoint devices→A.8.2Privileged access rights→A.8.3Information access restriction→A.8.4Access to source code→A.8.5Secure authentication→A.8.6Capacity management→A.8.7Protection against malware→A.8.8Management of technical vulnerabilities→A.8.9Configuration management→A.8.10Information deletion→A.8.11Data masking→A.8.12Data leakage prevention→A.8.13Information backup→A.8.14Redundancy of information processing facilities→A.8.15Logging→A.8.16Monitoring activities→A.8.17Clock synchronization→A.8.18Use of privileged utility programs→A.8.19Installation of software on operational systems→A.8.20Networks security→A.8.21Security of network services→A.8.22Segregation of networks→A.8.23Web filtering→A.8.24Use of cryptography→A.8.25Secure development life cycle→A.8.26Application security requirements→A.8.27Secure system architecture and engineering principles→A.8.28Secure coding→A.8.29Security testing in development and acceptance→A.8.30Outsourced development→A.8.31Separation of development, test and production environments→A.8.32Change management→A.8.33Test information→A.8.34Protection of information systems during audit testing→
OtherAdditional Guides7 guides
GuideISO 27001 Statement of Applicability: what it is, with a worked example→GuideISO 27001 implementation→GuideISO 27001 certification and audit process→GuideISO 27001 mandatory documents and records→GuideISO 27001 gap analysis→GuideISO 27001 certification cost→GuideISO 27001 Annex A controls→
ISO 27001 Accelerator

Ready to accelerate your path to certification?

Work with a Trust Architect to scope your ISMS, close the gaps, and get audit-ready — without stalling your roadmap.

Book a Call →
GRCMANA
  • About
  • Insights
  • Contact
Ask the Trust ArchitectBook a Call →
  • About
  • Insights
  • The Vault
    Compliance VaultCyber Essentials→ISO 27001→SOC 2→ISO 42001→
    Domain VaultGRC Fundamentals→Risk Management→AI Governance→GRC Engineering→
    Other ResourcesFree Tools→Templates→Newsletter→
  • Contact
Book a Call →Ask the Trust ArchitectFixed fee. ISO 27001 in as few as six weeks.
GRCMANA

Helping high-growth B2B tech startups close the Enterprise Trust Gap through security, governance, and AI resilience.

ISO 27001ISO 42001ISO 9001Cyber EssentialsEU AI Act ReadyNIST AI RMF

The Vault

GRC EngineeringAI GovernanceISO 27001ISO 42001All Vault Resources

Resources

BlogFree ToolsTemplatesNewsletter

Company

About GRCMANAContactPrivacy PolicyTerms & ConditionsCookie Policy
© 2025 GRCMANA · All rights reservedRegistered in England & Wales under company registration 16810805. VAT Registration 506308024