Join our Newsletter — 33% off our NHI Course
Threats, Abuse & Incident Response

D3-DF Decoy File

← Back to Glossary
By NHI Mgmt Group Updated November 26, 2026 Domain: Threats, Abuse & Incident Response

D3-DF Decoy File is a MITRE D3FEND technique that places realistic but fake files in a system to detect unauthorised access. Because no legitimate user or process should open them, any read, copy or modification is a high-confidence alert. Decoys must look credible, be placed where attackers or ransomware search, and have their access monitored.

What the decoy file technique does

A decoy file is not meant to store real business content. Its job is to look plausible enough that an intruder, ransomware operator, or curious insider treats it as worth opening, copying, or modifying. That turns a suspicious read into a signal, because legitimate activity should rarely touch it.

Good decoy files work because they blend into normal file systems and user workflows. They often imitate naming conventions, folder placement, and file types that attackers hunt first, such as credential notes, configuration exports, finance data, or administrative documents. If the lure is obvious, it loses value; if it is credible, it becomes a high-confidence tripwire.

The technique is part of deception engineering: the file is the lure, and the surrounding monitoring is the control. A decoy that is never watched is just clutter. A decoy that is monitored can help reveal reconnaissance, directory traversal, data staging, or the first attempt to collect sensitive material.

In practice, decoy files are usually paired with event collection so the team can distinguish normal background noise from an access event that should almost never happen. That can include file auditing on endpoints, file server logging, or other telemetry that shows who touched the lure and when.

Where decoy files fit in a deception strategy

Decoy files are one member of a wider deception toolkit that also includes honey credentials, decoy network resources, public lure objects, and other planted artefacts. The point is to create believable targets at the places an attacker naturally explores, then observe which path they take next. The Deception Technology Guide is the broader map for that approach.

They are often most effective when placed near the assets attackers usually search first, especially locations where credential material, configuration data, backups, or operational notes tend to live. That makes the decoy file both a detection aid and a behavioural indicator: if someone found it, they already moved deeper than basic surface scanning.

Decoy files also support layered detection. A single lure may only confirm access, but a family of related lures can show progression, such as file discovery followed by staging, archiving, or attempts to move laterally. The technique therefore helps security teams see intent, not just presence.

Because decoys must remain believable, placement matters as much as the file content itself. A file that is too polished, too generic, or placed in the wrong location may be ignored, or worse, create false confidence. Good deception respects the surrounding environment and the attacker’s search habits.

How decoy files support detection and investigation

When a decoy file is opened or altered, the event is valuable because it should be uncommon. That makes the resulting alert easier to prioritise than broad anomaly noise. The strongest use case is not volume, but confidence: a deliberate access event against a planted lure is often more actionable than heuristic suspicion alone.

Decoy files are especially useful against discovery-heavy tradecraft. Attackers commonly enumerate directories, inspect file names, and look for items that reveal secrets or useful context. The T1083 File and Directory Discovery guide shows why that behaviour matters and how decoys help make the search visible.

On systems that support strong file auditing, the alert can include who accessed the file, from where, and by which process. That context helps analysts separate accidental opening from malicious intent and decide whether the event is isolated curiosity or part of a broader intrusion chain.

Decoy files can also strengthen post-alert analysis. If an attacker copies the file, renames it, compresses it, or stages it with other material, those follow-on actions can confirm the access was deliberate and may reveal what else they were targeting. In that sense, the decoy is both sensor and evidence source.

Operational limits and what makes a decoy file credible

Decoy files are only effective when they are maintained as part of a controlled programme. They need versioning, placement discipline, and periodic review so they remain plausible as the environment changes. A stale lure can become obvious, and a misconfigured lure can create noise or confusion.

They also have to be designed with care for false positives. Backup tools, indexers, scanners, and admin scripts may touch files in ways that look suspicious unless the environment is understood and the exceptions are managed. The more realistic the decoy, the more important it is to know which legitimate systems might encounter it.

Decoy files are strongest when they are one layer in a broader defence. They do not stop an intrusion by themselves, but they can expose reconnaissance early enough to trigger containment before an attacker reaches higher-value material. For that reason, many teams combine them with containment, response, and recovery controls rather than treating them as a standalone tactic.

A well-designed decoy file should answer one question very clearly: if this file is touched, why would that be surprising? The better the answer, the better the signal.

Risk and Threat Considerations

Decoy files create security value, but they also introduce operational risk if they are poorly placed, poorly monitored, or easy to fingerprint. If defenders cannot distinguish a true access event from routine system activity, the lure loses credibility and may generate alert fatigue instead of early warning.

Failure mechanism: The control fails when the decoy is too obvious, too static, or too broadly exposed, allowing attackers to ignore it or legitimate tools to trigger it repeatedly. In that case the organisation gets either no signal or too much noisy signal to trust.

Impact: A failed decoy programme can miss the first signs of file discovery, staging, or credential hunting, which reduces detection confidence and can delay containment of ransomware or hands-on-keyboard intrusion activity.

Standards & Framework Alignment

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

MITRE ATT&CK addresses the attack and risk surface, while NIST SP 800-53 Rev 5 and CIS Controls v8 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
MITRE ATT&CKT1083 — File and Directory DiscoveryDecoy files detect attacker searches for files and directories.
Recommendation — Instrument directory and file discovery telemetry around planted lures to spot recon before exfiltration.
NIST SP 800-53 Rev 5AU-12 — Audit Record GenerationDecoy files depend on auditable file access events to surface unauthorized reads.
SC-26 — Honeypots and HoneynetsDecoy files are a deception control that fits the honeypot and decoy concept.
Recommendation — Generate and review file-access audit records for decoy paths so lure touches become high-confidence alerts. Deploy planted decoys under SC-26-style deception controls and ensure every lure has an alert path.
CIS Controls v8CIS-8 — Audit Log ManagementDecoy file value depends on reliable logging and alerting for file access.
Recommendation — Centralize and review access logs for decoy files so suspicious reads are detected and triaged quickly.

Practitioner Guidance

Why practitioners should care: Treat decoy files as a detection asset, not a novelty. Their value comes from believable placement, monitored access, and a clear decision about what should happen when the file is touched. If the team cannot name the expected responder, logging source, and investigation path, the lure is underdefined.

What to watch for: The most useful alerts are those that show unexpected reads, copies, renames, or edits by accounts and processes that should have no reason to open the file. Follow-on file discovery, archive creation, or attempts to access adjacent sensitive locations can indicate the decoy has revealed a real intrusion path.

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 November 26, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org