ISO 27001 Control A.8.7: Protection Against Malware

· 7 min read · Lyudmil Arkov

Ransomware, trojans, credential stealers and malicious attachments are the background noise of modern security. Almost every organization meets them eventually, and the difference between a bad afternoon and a bad quarter is usually how many layers were in the way. A.8.7 is the control that asks for those layers. It is the seventh of 34 technological controls in our walk through Annex A.

Installing antivirus on laptops is where most people begin and, unfortunately, where many stop. Modern malware arrives through email, web links, USB drives, cloud storage, compromised software updates and unpatched servers. No single product handles all of that. What the control wants is a deliberate combination of technology, process and people.

What the control requires

Annex A control 8.7 of ISO 27001:2022 states that protection against malware shall be implemented and supported by appropriate user awareness.

The key elements:

  • Protection against malware - technical and procedural measures that prevent, detect and help you recover from malicious software
  • Implemented - actually deployed and working across the systems in scope, not just purchased
  • Supported by appropriate user awareness - people know what to look for and what to do, because many infections begin with a click

In ISO/IEC 27002:2022 this control is attributed as preventive, detective and corrective. That mix is useful: you want to stop malware, notice it when something slips through, and clean up afterwards. Annex A states the control; ISO 27002 gives guidance, including rules against unauthorized software, controls on external sources, vulnerability reduction, scanning, and malware-specific incident planning. It does not mandate particular products, so you choose what fits your environment and risk.

How to implement protection against malware

Build layers, not a single wall

Think about the routes malware takes into your organization and put something in each path. The usual set looks like this:

  • Endpoint protection on laptops, desktops and servers, with centrally managed updates and alerting
  • Email filtering that scans attachments and links and blocks known-bad senders
  • Web filtering or DNS protection for risky sites, which we cover under Web filtering (A.8.23) later in the series
  • Controls on removable media, for example blocking or scanning USB storage
  • Restrictions on what software can be installed, so users cannot add arbitrary programs
  • Regular patching, since many infections use known vulnerabilities

Be honest about coverage. The laptop of a founder who “does not need IT” or the old file server in the corner is exactly where malware will land. Compare your endpoint management console to your asset list and chase down gaps. The guidance in User endpoint devices is a good place to look for how devices should be configured and managed.

Reduce what malware can do when it lands

Prevention fails sometimes, so limit the blast radius. Avoid giving everyday accounts administrator rights; our post on Privileged access rights explains why. Use multi-factor authentication so stolen passwords are less useful, as described in Secure authentication. Keep backups that malware cannot reach and test restores, because a working backup is often the difference between recovering and paying a ransom. Network segmentation helps contain spread, and we will cover it under Segregation of networks (A.8.22) later in the series.

Application allow-listing, macro restrictions in office documents and sandboxing of unknown attachments are further options. Not every organization needs all of them. Choose according to your risk assessment and your resources, and record the reasoning.

Control software and external sources

A surprising amount of malware arrives through software people installed on purpose: a cracked tool, a browser extension, a free converter, a package pulled from an unvetted source. Decide what may be installed, who approves exceptions, and where approved software comes from. For most small teams, a short list of approved applications plus a request route is enough. Developers need particular care, because dependencies and build tools are a route for malicious code too, so prefer trusted registries and review what you pull in.

Files and links from outside deserve a moment of suspicion as well. Scan downloads and attachments, treat unexpected invoices and “urgent” requests with caution, and make it normal to ask a colleague before opening something odd. Where staff work remotely, as described in Remote working, the same protections must travel with the device, not stay behind at the office firewall.

Make awareness practical

The control says “appropriate user awareness”, which means more than an annual slideshow. Give people short, concrete guidance: how to spot a suspicious email, why not to plug in a found USB stick, what to do when something looks wrong, who to call, and that reporting a mistake quickly is welcome rather than punished. Simulated phishing can be useful if it is used to teach rather than to shame. Connect this to Information security awareness, education and training and make reporting easy through Information security event reporting.

Prepare to detect and respond

Decide in advance what happens when malware is found. Who isolates the machine? Who decides whether to rebuild it? How do you check whether credentials were exposed? Keep the steps in a short runbook and tie them to your incident process, covered under Information security incident management planning and preparation. Make sure alerts from your endpoint tools go to someone who reads them, and test the process occasionally. Keep logs, since they help with scoping an infection later; we discuss that under Logging (A.8.15).

After an incident, learn from it. Which layer should have stopped this, and why did it not? Was the machine unmanaged, the signature outdated, the warning ignored, the user unsure whom to tell? Feed the answers into your improvement routine, in line with Nonconformity and corrective action. Small fixes after a near miss are far cheaper than large ones after a real breach.

A.8.1 connection. User endpoint devices sets the secure configuration baseline that anti-malware tooling sits on.

A.8.2 connection. Privileged access rights limits how much damage an infected account can do.

A.8.5 connection. Secure authentication reduces the value of credentials that malware steals.

A.6.3 connection. Information security awareness, education and training is how the “user awareness” half of the control is delivered.

A.5.24 connection. Information security incident management planning and preparation provides the response process for a malware incident.

Clause 7.3 connection. Clause 7.3, Awareness, requires people to understand their contribution to the ISMS, which includes recognizing threats like this.

Forward reference. Management of technical vulnerabilities (A.8.8), Information backup (A.8.13) and Web filtering (A.8.23) all support this control and are covered later in the series.

What auditors check

Deployment coverage. Auditors compare the list of devices and servers with the console showing protected systems and ask about the exceptions.

Currency of protection. They look at whether signatures, engines and agents are updated automatically and whether failed updates are noticed.

Controls on sources. Expect questions about email filtering, web access, removable media and software installation rules.

Awareness evidence. Training records, phishing reports and interviews with staff show whether people know what to do.

Detection and response. They may ask for a recent alert and how it was handled, or for the procedure for an infected machine.

Link to risk. Auditors want to see that the measures chosen reflect your risk assessment, not just a default product setup.

Common mistakes to avoid

Relying on antivirus alone. One tool leaves too many routes open. Combine endpoint, email, web, patching and awareness.

Unmanaged devices. Personal laptops and forgotten servers sit outside the console and become the weak link.

Alerts that go nowhere. A detection nobody reads is a detection that did not happen. Assign an owner.

Backups on the same network. If malware can reach the backup, so can ransomware. Keep a copy that is isolated or immutable and test it.

Blame-heavy culture. If staff fear punishment, they will hide a mistake until it is too late. Welcome early reports.

Treating awareness as a yearly event. Short, regular, relevant reminders work better than one long annual session.

How 27kay can help

We help organizations build malware protection that fits their size and environment, with the right layers in the right places and an awareness approach people do not dread. As part of ISO 27001 implementation, we review your current tooling, find the coverage gaps, and prepare the evidence auditors ask for. For the full picture, see our ISO 27001 knowledge hub.

If one laptop were infected this afternoon, would everyone know what to do in the next ten minutes? Get in touch - we will help you work out the answer, and make it a good one.