Join our Newsletter — 33% off our NHI Course

Disk Image Attachment

A disk image attachment is a file, such as IMG or ISO, that mounts content as if it were a physical disk. Threat actors use this format because it can conceal executable malware, evade some mail filters, and require only a few clicks before code is launched.

What a disk image attachment is doing under the hood

A disk image attachment is a containerised file format that presents stored content as a mountable disk, so the operating system can treat it like removable media. That convenience is precisely what makes it useful in malicious delivery chains: the payload is not always visible until the image is opened or mounted.

Because the format can encapsulate many files, a disk image can carry scripts, installers, shortcuts, or other artefacts that look routine once extracted. That is why defenders should think of it less as a single file and more as an execution container whose contents may only become obvious after user interaction.

In practice, the security question is not whether the image itself is dangerous, but what it contains and what happens when a user trusts it. A disk image can preserve file names, hide extensions in a mounted view, and create a familiar “open then click” workflow that reduces suspicion.

For deeper context on why attacker-delivered images are attractive, the pattern is similar to the exposure described in Massive Docker Hub Secrets Leak, where image-based packaging became a vehicle for credential exposure.

Why attackers use disk images instead of ordinary attachments

Disk images are often chosen to bypass mail and endpoint controls that are tuned to inspect common document, archive, or executable formats. They can slip through because they appear operationally mundane, especially when the extension or icon suggests a harmless installer or media file.

The second advantage is user workflow. A mounted disk image can reduce the number of obvious warning signs between receipt and code execution, especially when the user is prompted to open a contained file that looks legitimate. That makes the format useful for social engineering as much as for technical concealment.

This delivery style is especially effective when paired with disguised payloads, nested archives, or filenames that imitate vendor installers. The attacker does not need a sophisticated exploit if the victim is persuaded to run the embedded content voluntarily.

Security implications for email, endpoint, and user trust

From a defensive perspective, disk image attachments sit at the intersection of content filtering, endpoint execution control, and user awareness. If inspection tools do not fully unpack or analyse the image, the real payload may remain hidden until the final stage of execution.

That makes the format a control-evasion problem as well as a malware problem. Organisations that rely only on extension-based filtering, shallow attachment inspection, or user caution can miss the point of the attack, which is to create a trusted-looking container around something dangerous.

The risk is not limited to malware detonation. Disk images may also be used to stage credential theft, persistence, or follow-on payloads after the user interacts with an embedded installer or script. Good detections therefore focus on the mounting event, the child processes launched from the mounted volume, and any subsequent outbound behaviour.

For the broader container-image and attachment risk model, NIST SP 800-190 Container Security is a useful reference point because it emphasises inspection of packaged content and runtime behaviour, while FIRST EPSS helps prioritise response when a delivered component is suspected of active exploitation.

How to recognise and handle disk image attachments

Practitioners should treat unfamiliar IMG, ISO, and similar mounted-image attachments as high-risk ingress items, especially when they arrive through phishing, business-email-compromise patterns, or unsolicited file-sharing links. The key is to decide whether the attachment is expected and necessary before anyone opens it.

Defensive handling is usually strongest when mail gateways, sandboxing, and endpoint policies all see the same file and the same user-action path. If the organisation permits these formats, the policy should be explicit enough that users and responders know when an image is legitimate and when it should be blocked, quarantined, or investigated.

Where inspection and policy need a broader control baseline, CIS Benchmarks support tighter endpoint hardening, and OWASP API Security Top 10 is relevant when the image is merely one step in a wider compromise path that ends in application abuse or data access.

Risk and Threat Considerations

Disk image attachments are a practical malware delivery mechanism because they can obscure payloads, evade routine filtering, and create a low-friction path from receipt to execution. The threat is highest when users are conditioned to trust mounted content or when security tooling does not inspect the image contents deeply enough.

Failure mechanism: The attacker relies on the container format to delay inspection until after the file is opened, then uses the mounted view to lure the user into launching a hidden installer, script, or shortcut.

Impact: Successful use can lead to endpoint compromise, credential theft, persistence, or a broader intrusion sequence that begins with an apparently ordinary attachment.

Standards & Framework Alignment

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

MITRE ATT&CK address the attack and risk surface, while NIST CSF 2.0 and CIS Controls v8 set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
NIST CSF 2.0 PR.PT — Protective Technology Covers content inspection and execution controls for risky attachments.
Recommendation — Apply protective technology controls to inspect and restrict execution from unfamiliar disk image attachments.
CIS Controls v8 8 — Audit Log Management Supports detection of mounted-image execution and follow-on activity.
10 — Malware Defenses Directly addresses malicious payloads delivered through containerised files.
Recommendation — Log attachment handling and monitor child-process activity after image mounts. Block or sandbox disk image attachments that can carry hidden malware.
MITRE ATT&CK T1204 — User Execution Disk images often depend on user interaction to launch embedded payloads.
T1036 — Masquerading Attackers may disguise disk images to look legitimate and reduce suspicion.
Recommendation — Hunt for user-execution chains that start from mounted images and trigger payload launch. Detect disguised image attachments that imitate trusted installers or media files.

Practitioner Guidance

What to watch for: Treat unexpected disk images as a policy decision, not just a file-type decision. The most common mistake is assuming that a non-executable container is inherently safe, when the real risk lives inside the mounted content and the actions it enables.

Practitioner takeaway: If your controls only inspect the outer file, attackers can hide the dangerous part exactly where your users are most likely to trust it.