Join our Newsletter — 33% off our NHI Course
Home› Glossary› Cyber Security› On-Access Scanning
Cyber Security

On-Access Scanning

← Back to Glossary
By NHI Mgmt Group Updated October 17, 2026 Domain: Cyber Security

On-Access Scanning is antivirus or endpoint security scanning that checks files when they are opened, copied, or executed. It helps block malware before use, but it can also slow systems and miss threats that evade signature checks, so defenders tune exclusions, update definitions, and monitor detections closely.

How On-Access Scanning Works

On-access scanning is the real-time checkpoint in endpoint protection: when a file is opened, copied, or executed, the scanner inspects it before the system hands it to the user or process. That makes it useful for stopping known malware at the moment of use, rather than waiting for a later scheduled scan.

This model is strongest when the endpoint can inspect the file path, reputation, and signature match quickly enough to avoid noticeable delay. It is also why on-access scanning is often tuned differently from full-disk or scheduled scans, because the control sits directly on the user and application path.

Security Benefits and Control Limits

The main benefit is early interruption: malicious code can be blocked before execution, and suspicious files can be quarantined before they spread. On-access scanning also helps create a friction point for common delivery methods such as downloads, email attachments, shared drives, and removable media.

Its limits are just as important. Signature-based scanning can miss new or heavily obfuscated malware, and aggressive settings can create user friction or application slowdowns. That trade-off is why defenders usually pair scanning with behaviour monitoring, exploit prevention, and host telemetry rather than treating it as a standalone safety net. For a broader endpoint control stack, Endpoint Security Guide places antivirus in context alongside EDR, hardening, and endpoint telemetry.

Where Exposure Usually Appears

Exposure is highest when endpoints process untrusted content, run with weak allowlisting, or receive files through uncontrolled channels. In those environments, on-access scanning becomes part of the last line of defence, not the only one, and missed detections can still leave malware resident on the host.

The control also depends on being current and consistently enforced. Stale definitions, disabled real-time protection, and local exclusions can all weaken the expected protection model. Endpoint Security Guide is also relevant here because it covers host isolation, tamper protection, and telemetry that help surface scan bypasses or policy drift.

Operational Tuning and Governance

Practitioners usually have to decide which file types to exclude, where to allow temporary performance exceptions, and how to validate that the scanner is actually active on every endpoint class. Those choices affect both protection quality and usability, especially on developer workstations, VDI estates, and high-throughput servers.

Good governance means treating exclusions as risk decisions, not convenience settings. The operational question is whether a delay or false positive is cheaper than the exposure created by skipping inspection on a sensitive path. NHI Lifecycle Management Guide is useful when scanning intersects with discovery, credential hygiene, and environment segregation, because file-level inspection often supports broader inventory and control hygiene.

Risk and Threat Considerations

On-access scanning reduces exposure, but it does not eliminate it. Attackers can exploit timing gaps, pack malware to evade signatures, or rely on paths that are excluded from real-time inspection, especially when defenders prioritise performance over coverage.

Failure mechanism: The scanner fails when malware arrives in a form the engine cannot recognise, when a protected path is excluded, or when the endpoint is not enforcing real-time inspection consistently.

Impact: Malicious code may execute before detection, persist on the host, and then spread through user actions, shared storage, or later execution paths.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

CIS Controls v8, NIST SP 800-53 Rev 5 and NIST CSF 2.0 set the technical controls, while ISO/IEC 27001:2022 defines the regulatory obligations.

FrameworkControl / ReferenceRelevance
CIS Controls v8CIS-10 — Malware DefensesOn-access scanning is a core malware defense that blocks malicious files at use time
Recommendation — Deploy malware defenses that inspect files at open, copy, and execution time.
NIST SP 800-53 Rev 5SI-3 — Malicious Code ProtectionThis control directly addresses detecting and blocking malicious code on endpoints
SI-7 — Software, Firmware, and Information IntegrityReal-time scanning supports integrity checks that stop altered or malicious content from running
Recommendation — Configure malicious code protection to scan files in real time and quarantine threats. Use integrity controls to prevent execution of malicious or altered files.
ISO/IEC 27001:2022A.8.7 — Protection Against MalwareAnnex A explicitly covers malware protection controls for endpoint environments
Recommendation — Apply malware protection controls and monitor their effectiveness across endpoints.
NIST CSF 2.0PR.DS-10 — Data in transit is protectedScanning at file transfer and use points supports protection as content moves onto endpoints
Recommendation — Protect file handling paths where content is opened, copied, or executed.

Practitioner Guidance

What to watch for: Tune on-access scanning around measurable performance impact, exception growth, and detection quality. A healthy deployment should still report active protection, current signatures, and consistent enforcement across all endpoint classes, not just the easiest-to-manage devices.

Practitioner takeaway: Use on-access scanning as a fast interception layer, but validate it against real malware paths and treat exclusions as a monitored security decision, not a housekeeping preference.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on October 17, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org