FriendlyFiles is a Windows Defender allow list mechanism based on file hashes. It identifies executables that should be permitted to run or complete actions. If this list is altered, a defender can unintentionally authorize malicious binaries or block the intended security outcome.
What FriendlyFiles Is in Practice
FriendlyFiles is not a policy concept in the abstract, it is a Windows Defender allow list built from file hashes. Its purpose is to let a defender permit known executables to run or complete protected actions while blocking everything else that does not match the approved hash.
That hash-based design makes FriendlyFiles precise, but also brittle. The list protects by exact file identity, so any change to the underlying binary, its location, or the list entry itself can change the security outcome.
How FriendlyFiles Works as an Allow List
FriendlyFiles behaves like a positive authorization check for executables. Instead of asking whether a file is malicious, it asks whether that exact binary has already been marked as trusted by hash. That approach is common in allow listing because it reduces ambiguity and gives defenders a deterministic rule set.
In practice, the mechanism is only as reliable as the integrity of the hash values and the process used to maintain them. If defenders hash the wrong file, approve the wrong version, or lose control of the list, the allow list can stop reflecting the intended trust boundary.
Because hashes are content-specific, they are effective for tightly controlled binaries and less forgiving when software updates frequently. A legitimate rebuild, patch, or repackaging event can produce a new hash and require deliberate re-authorization.
Where FriendlyFiles Fits in Windows Security
FriendlyFiles belongs to the broader Windows security model of controlling what can execute or act inside a protected environment. It is useful where defenders want a narrow permit model for high-value systems, especially when the approved software set is stable and change is tightly governed.
That same narrowness is also the reason it must be managed carefully. A hash allow list can support administrative intent only when the allow list itself is protected from unauthorized edits and when the operational process for adding or removing entries is well controlled.
In that sense, FriendlyFiles is less about discovering threats and more about enforcing a trust decision. The security value comes from limiting execution to known binaries, not from trying to infer intent at runtime.
Operational Consequences of List Drift
FriendlyFiles becomes unreliable when the list drifts away from the actual software estate. If the list is stale, defenders may block legitimate executables and create unnecessary exceptions. If it is overbroad, the mechanism can authorize binaries that were never intended to be trusted.
Because the mechanism is hash-based, subtle maintenance errors can have outsized effects. A single unauthorized change can convert a restrictive control into a permissive one, while a missed update can break business or security workflows that depend on a specific executable.
For a useful companion reference on hardening and control expectations, NIST SP 800-53 Rev 5 Security and Privacy Controls is the clearest control catalogue for the surrounding access-control, configuration, and integrity practices.
Risk and Threat Considerations
FriendlyFiles can create real exposure if an attacker, administrator mistake, or unauthorized process changes the allow list. Because the control is meant to authorize by exact file hash, tampering can silently convert a deny decision into an approval decision for a malicious binary.
Failure mechanism: An attacker or careless change introduces an approved hash for an untrusted executable, or removes the intended hash for a trusted one, causing the security boundary to fail open or fail closed.
Impact: Malicious code may gain execution approval, or legitimate security actions may be blocked, which can undermine system integrity and the defender’s intended control posture.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
NIST SP 800-53 Rev 5 and CIS Controls v8 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| NIST SP 800-53 Rev 5 | AC-3 — Access Enforcement | FriendlyFiles enforces execution permission by hash-based allow listing. |
| CM-6 — Configuration Settings | The allow list is a security-relevant configuration item that must be governed and maintained. | |
| SI-7 — Software, Firmware, and Information Integrity | Hash approval depends on preserving trusted file integrity and detecting unauthorized change. | |
| Recommendation — Apply AC-3 to restrict execution to approved binaries and reject unapproved hashes. Manage FriendlyFiles entries as controlled configuration and review changes before deployment. Use SI-7 to verify file integrity before allowing execution or privileged actions. | ||
| CIS Controls v8 | CIS-4 — Secure Configuration of Enterprise Assets and Software | Allow lists are part of secure configuration and baseline control for Windows systems. |
| CIS-2 — Inventory and Control of Enterprise Assets | Hash allow listing only works when approved executables are inventoried and tracked. | |
| Recommendation — Treat the FriendlyFiles hash list as a hardened baseline and monitor it for drift. Keep approved executables inventoried so FriendlyFiles stays aligned to the real software estate. | ||
Deepen Your Knowledge
Reviewed and updated by the NHIMG editorial team on September 29, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org