Application allowlisting

On this page 7

Application allowlisting is a security control that permits only explicitly approved software to execute on an endpoint or server and blocks everything else by default. In cybersecurity, it belongs to infrastructure defense because it inverts the traditional model: instead of trying to recognize known malware, it denies by default and trusts only what an administrator has authorized.

The approach is sometimes called application whitelisting in older documentation. It ranks among the most effective preventive controls against ransomware, unauthorized tools and commodity malware, yet it demands careful planning, because a poorly maintained allowlist can break business processes or quietly accumulate exceptions that weaken it.

How application allowlisting enforces execution control

Application allowlisting works by intercepting every attempt to start code and comparing the request against a policy of trusted attributes. An operating system component, usually a kernel driver or a built-in enforcement engine, evaluates the file before it loads. If the file matches a rule, it runs; if not, the execution is blocked and the event is logged.

Modern implementations control far more than classic executables. A mature policy also covers scripts, installers, dynamic libraries and drivers, because attackers frequently move to PowerShell, macros or DLL side-loading when ordinary binaries are blocked. Built-in examples include Windows Defender Application Control (WDAC), AppLocker, macOS Gatekeeper with notarization, and Linux mechanisms such as fapolicyd or the Integrity Measurement Architecture.

The following table lists the main rule types and how each identifies trusted software.

Rule typeWhat it matchesStrengthMaintenance effort
Cryptographic hashExact SHA-256 digest of a fileVery strong, tamper-evidentHigh: changes with every update
Publisher certificateCode-signing certificate and signer nameStrong if keys are protectedLow: survives version updates
File pathFolder or file locationWeak if users can write thereVery low
Managed installerSoftware deployed by a trusted toolModerate to strongLow in managed fleets
Reputation serviceCloud-based prevalence and trust scoreModerate, depends on vendorVery low
Rule types used in allowlist policies

Enforcement modes and policy lifecycle

Allowlisting projects normally pass through distinct modes, and skipping the early ones is the most common cause of outages. Audit mode records what would have been blocked without stopping anything, which lets administrators discover legitimate software they did not know existed. Only after the logs are clean does the policy move to enforced mode.

StageBehaviorMain goalTypical duration
DiscoveryInventory installed and running softwareBuild the baseline1-4 weeks
Audit modeLog violations, block nothingFind missing rules2-8 weeks
Pilot enforcementBlock on a small device groupValidate business impact2-6 weeks
Full enforcementBlock across the estateAchieve protectionOngoing
Continuous tuningReview exceptions and updatesPrevent policy driftOngoing
Typical stages of an allowlisting rollout

Durations vary widely with fleet size and software diversity. A fixed-function system such as a point-of-sale terminal or an industrial controller can reach enforcement in days, while a developer workstation population may never be fully locked down. The policy lifecycle never truly ends, because every new application, patch or vendor certificate change requires a decision.

Application allowlisting differs from neighboring controls mainly in its default decision. Antivirus software and most EDR detection logic follow a default-allow model: anything runs unless it is recognized as malicious. Allowlisting follows a default-deny model: nothing runs unless it is recognized as approved.

The comparison below shows why organizations combine these controls rather than choosing one.

ControlDefault decisionStrengthMain weakness
Application allowlistingDeny unknown codeStops novel and unsigned malwareOperational overhead
BlocklistingAllow unknown codeEasy to deployMisses anything not yet listed
Antivirus softwareAllow unless detectedBroad signature coverageWeak against new variants
EDRAllow, then detect and respondBehavioral visibilityActs after execution starts
SandboxingRun in isolationContains damageDoes not prevent execution
Allowlisting and neighboring endpoint controls

Allowlisting also complements network controls such as a firewall or DNS filtering. Those layers reduce how much malicious content arrives, while allowlisting decides whether arriving content can ever become a running process. Security frameworks reflect this value: the Australian Essential Eight lists application control as a core mitigation, and NIST SP 800-167 provides dedicated guidance on it.

Deciding where to apply application allowlisting

The control delivers the best return on systems with stable, predictable software. Servers, kiosks, medical devices and operational technology run a small set of applications that rarely change, so a strict policy causes little friction there. General office laptops benefit as well, but usually need publisher-based rules and a managed installer to remain practical.

System typeRecommended approachReason
Domain controllers and serversStrict enforcement with hash and publisher rulesSmall, stable software set and high value
Kiosks and point of saleStrict enforcement, minimal exceptionsFixed function and public exposure
Industrial control systemsVendor-validated allowlist, offline updatesPatching is slow and uptime is critical
Office workstationsPublisher rules plus managed installerBalances protection with frequent updates
Developer machinesAudit mode or scoped enforcementCompilers create new binaries constantly
Decision guide for allowlisting by system type

A practical rule is to start with the highest-value assets and expand outward. Protecting administrative jump hosts and domain controllers first blocks the tooling attackers rely on after initial access, which delivers disproportionate risk reduction for modest effort.

Limitations, bypasses and common mistakes

Application allowlisting is powerful but not absolute. Its most serious gap is living-off-the-land binaries, signed system tools such as script hosts or compilers that are trusted by default yet can execute attacker-supplied code. A policy that trusts the entire operating system without blocking these tools leaves a well-known bypass open.

  • Writable allowed paths: a path rule for a folder that ordinary users can write to lets them drop and run any file there.
  • Overly broad publisher rules: trusting every file signed by a large vendor also trusts that vendor’s vulnerable or administrative utilities.
  • Exception sprawl: urgent business requests add exceptions that are never reviewed, gradually returning the system to default-allow.
  • Ignoring scripts and macros: blocking executables alone pushes attackers to interpreted code paths.
  • Local administrator rights: users with administrative privileges can often disable or alter the policy.

Allowlisting also does not stop attacks that abuse already-approved applications, such as exploits against a browser or document reader. For that reason it is best treated as one layer of defense in depth, paired with patching, least privilege, EDR monitoring and logging to a SIEM so that blocked execution attempts become investigable signals.

The simple explanation

Think of a computer as a building with a guard at the door. Most security tools give the guard a list of known criminals and let everyone else in. Application allowlisting does the opposite: the guard holds a list of approved guests, and anyone not on that list stays outside, even if nobody has seen them before.

This makes it very hard for new or disguised malicious programs to run. The cost is that someone must keep the guest list current, adding new programs and updates, or legitimate work gets stopped at the door.

How it is used in practice

A regional hospital runs about 400 workstations at nursing stations and 60 servers. After a neighboring clinic suffered a ransomware attack, the security team decides to deploy application allowlisting, starting with servers and clinical workstations that use a fixed set of medical record and imaging applications.

The team runs the policy in audit mode for six weeks, reviewing logs weekly and adding publisher rules for the hospital’s software vendors and a managed installer rule for its deployment tool. It explicitly blocks script hosts that clinical staff never need. The pilot on two wards reveals one forgotten label-printing utility, which is added before full enforcement.

Eight months later, a phishing email delivers an unsigned ransomware loader to a nurse’s workstation. The file never runs, because it matches no rule, and the blocked attempt appears in the SIEM within minutes. The incident costs one investigation ticket instead of a multi-day clinical outage.