Security

What is application control?

By Jonathon Eades — Founder & IT InstructorUpdated

Application control decides which programs may run on a system, using allow lists or block lists built from hash, publisher or path rules.

On the exam

application control comes up in CompTIA Security+ SY0-801, objective 4.1.

Taught in

What is application control?

Application control is a security control that decides which software may execute on a computer. When the operating system is asked to start a program, script, installer or library, the application control policy checks it against a set of rules and either lets it run or blocks it. Antivirus and EDR ask whether code looks or acts malicious; application control asks only whether the code is approved for that system.

That simpler question is the strength. Brand-new malware no signature has seen, a remote support tool a scammer talked a user into installing, and a portable app run from a USB stick can all be stopped just because nobody approved them.

Allow lists vs. block lists

An allow list, formerly called a whitelist, names the software that may run and denies everything else. A block list, formerly a blacklist and also called a deny list, names software that may not run and permits everything else.

  • Allow list: deny by default. It stops unknown and zero-day malware, but every new application and update needs approval, and a missing rule stops legitimate work. It suits machines with a small, stable set of software, such as kiosks, point-of-sale terminals, servers, industrial workstations and high-security desktops.
  • Block list: allow by default. It is quick to deploy and rarely breaks anything, but it blocks nothing until someone has identified and added it. It suits narrow jobs, such as banning one remote access tool attackers are abusing or a version of an app with a known flaw.

Rule types: hash, publisher and path

Rule typeIdentifies software byTrade-off
HashThe exact cryptographic hash of the fileMost precise, but every update changes the hash and needs a new rule
PublisherThe code-signing certificate, optionally with product and versionSurvives updates, but trusts everything that publisher signed
PathThe folder the file runs fromSimple, but a user who can save files into an allowed folder can launch whatever they put there

Publisher rules are the usual foundation of an allow list, with hash rules for unsigned in-house tools. Path rules should cover only folders standard users cannot write to. Signed Windows programs that can launch other code, such as rundll32.exe, mshta.exe and InstallUtil.exe, are a known gap because living-off-the-land attacks rely on them; mature policies block the ones users never need.

Application control on Windows and other platforms

Windows has two built-in features. AppLocker applies hash, publisher and path rules to executables, scripts, Windows Installer files, packaged apps and DLLs, and rules can target specific users or groups. App Control for Business, the newer name for Windows Defender Application Control (WDAC), is built on the kernel's code integrity feature, applies to the entire device rather than per user, and resists tampering by local administrators better; it is Microsoft's recommended option for new rollouts. Both are normally deployed through Group Policy, Intune or another endpoint management tool. Other platforms have equivalents: Gatekeeper and code signing on macOS, fapolicyd on Red Hat Enterprise Linux, and MDM-managed app stores on phones.

Rolling out application control safely

Begin in audit mode, where the policy only logs the files it would stop. Review those events for a few weeks, write rules for the tools each team really uses, and only then switch to enforcement. In AppLocker's EXE and DLL log, event 8003 marks a file that enforcement would have stopped, and 8004 marks a file that was actually blocked. Because every software update in an allow-listed environment needs a matching rule change, application control belongs inside change management. A typical failure looks like this: after a vendor pushes a new build of the point-of-sale client, it will not start on any register, because the hash rule still describes the old file.

Application control on the CompTIA Security+ exam

Application control is one of the mitigating controls in SY0-801 objective 4.1, which names allow listing and block listing as its two forms. Allow and deny lists also appear in objective 1.2 as a technical side effect of change, since an update can be blocked by a list nobody updated. Wording that points to an allow list: a system with one dedicated purpose, a requirement to stop unknown or zero-day malware, or only approved software may run. Banning one named program points to a block list. An application that stops launching on locked-down machines right after an update points to a stale hash rule. Distractors include antivirus, which must recognize malware to stop it; a host-based firewall, which controls network traffic rather than execution; and sandboxing, which contains software that is allowed to run instead of deciding whether it runs.

Studying for CompTIA (Security)?

ExamWizardz turns the official objectives into a guided study plan — with practice tests, realistic PBQs, and a readiness score. Start free.

Start studying free

Related terms