Join our Newsletter — 33% off our NHI Course

Why do attackers use legitimate applications and image files as part of a malware delivery chain?

Attackers use trusted-looking files to blend malicious activity into normal user workflows and evade signature based detection. In this campaign, a benign application helped preserve legitimacy, while .png files carried embedded executable data and were later injected into memory. The goal is to reduce suspicion, bypass superficial inspection, and increase the chance that the payload executes successfully.

Why Legitimate Files Help Malware Reach Execution

Attackers favour legitimate applications and image files because trusted file types lower user suspicion and often pass the first layer of review more easily than an obviously malicious executable. That matters when the delivery chain depends on social engineering, content filtering, or a user opening the file before the payload activates. For practitioners, the key issue is not the file extension alone but the way trust is borrowed from ordinary business workflows and repurposed for concealment. In practice, many security teams discover this pattern only after an apparently harmless file has already been opened and the malicious payload has begun staging.

Because these chains rely on familiarity, they are effective against controls that assume the risky object will look risky. A signed, branded, or otherwise credible application can act as the wrapper, while an image file can carry hidden data, encoded content, or a second-stage loader. That combination reduces friction for the attacker and increases the chance that defensive tools treat the activity as routine rather than hostile. The same logic also explains why defenders need to look at file behaviour, provenance, and execution context together, not as separate signals.

At a broader cyber level, the pattern is a classic example of abuse of trusted artefacts to defeat shallow inspection. MITRE’s MITRE ATT&CK Enterprise Matrix is useful here because it frames delivery, execution, and defence evasion as linked adversary behaviours rather than isolated file events.

How the Delivery Chain Works in Practice

The chain usually starts with a file that appears normal enough to survive initial scrutiny. A legitimate application may be used as a wrapper, a side-loaded component, or a launch path that makes the overall package look less suspicious. An image file can then carry the real payload in a hidden form, such as embedded executable data, encoded content, or a decoy structure that is unpacked later. Once the file is opened or processed, the malicious logic can be extracted, decrypted, or loaded into memory.

This approach is attractive because it separates the visible artefact from the harmful behaviour. Users see an application or an image, not a weaponised delivery chain. Security tooling may also be challenged if it relies on extension checks, simple reputation scoring, or static signatures alone. The strongest controls therefore focus on provenance, execution path, and post-open behaviour: who delivered the file, where it came from, what process handled it, and whether that process created new network, child-process, or memory-injection activity.

  • Validate the source and integrity of files before opening them, especially when the file type is inconsistent with the business task.
  • Inspect whether the file is only a container for later-stage code rather than a direct executable.
  • Correlate file delivery with process creation, script execution, and memory activity after the file is opened.
  • Use detection that looks for unpacking, decoding, and injection behaviour instead of relying only on file extension.

Threat advisories can help teams compare local indicators with known delivery patterns, and CISA’s cyber threat advisories are a practical source for understanding how such tradecraft is described at an operational level. This guidance breaks down when defenders cannot observe the file after initial open, such as in unmanaged endpoints or heavily restricted telemetry environments.

Where Trusted Artefacts Stop Being Trustworthy

Tighter controls over file provenance often increase friction for users and support teams, so organisations must balance convenience against the risk that ordinary-looking files become a delivery vehicle. The most common edge case is a file that is genuinely legitimate in one context but malicious in another, which makes reputation alone an unreliable decision rule. Guidance is not fully standardised on whether every image-based payload should be treated the same way as a staged executable, so teams should be explicit about their own policy threshold rather than assume consensus where none exists.

Another edge case is the use of signed or brand-consistent applications that still carry hostile content. A valid signature can prove origin, but it does not guarantee safe behaviour after launch. Similarly, image formats are often treated as low risk because they are associated with passive content, yet that assumption fails when the file acts as a covert container or is processed by software with parsing weaknesses. Defenders should therefore treat “looks legitimate” as a weak signal, not a decision endpoint.

Practically, the point at which the answer changes is when the file’s role is no longer just delivery but concealment plus execution. If the file only misleads users, the issue is social engineering; if it also enables hidden code execution, the control priority shifts toward sandboxing, memory detection, and application allowlisting.

Risk and Threat Considerations

This tactic creates exposure because it uses trusted file types to bypass first-pass judgement by users and controls. The security risk is not the image or application itself, but the way attackers exploit the expectation that such files are safe, routine, or passive.

Failure mechanism: The malicious payload is hidden inside a trusted-looking container, then unpacked, decoded, or injected after the file is opened, which allows the attacker to evade superficial inspection and some signature-based controls.

Impact: Successful delivery can lead to payload execution, memory-resident malware, reduced detection coverage, and a better chance of follow-on compromise such as credential theft, persistence, or lateral movement.

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 CIS Controls v8 and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
MITRE ATT&CK T1027 — Obfuscated Files or Information Hidden payloads in benign-looking files fit obfuscation and concealment tradecraft.
T1204 — User Execution Legitimate-looking applications and images rely on users opening the lure.
T1055 — Process Injection The payload may be injected into memory after delivery to reduce file-based detection.
Recommendation — Detect and quarantine files that conceal payloads or decoded content before execution. Monitor for user-opened files that trigger unexpected execution or follow-on activity. Hunt for memory injection after benign-looking file execution or loading.
CIS Controls v8 8 — Audit Log Management You need logging that connects file delivery to process and memory behaviour.
10 — Malware Defenses This is a malware delivery problem requiring layered detection beyond signatures.
2 — Inventory and Control of Software Assets Legitimate applications used in delivery chains should be governed and allowlisted.
Recommendation — Centralise logs that correlate file opens with child processes and network activity. Use malware defenses that inspect containers, unpacking, and execution behaviour. Allowlist approved applications and block unapproved execution paths.
NIST CSF 2.0 DE.CM-1 — Monitoring for Unauthorized Access Suspicious file-triggered execution needs detection through continuous monitoring.
PR.IP-1 — Baseline Configuration Policies and Processes Legitimate applications abused in delivery chains require controlled software baselines.
Recommendation — Correlate file events with endpoint telemetry to spot unauthorized activity quickly. Maintain approved application baselines and remove unnecessary execution pathways.

Practitioner Guidance

What to prioritise: Focus first on the post-open behaviour of the file, not just its extension or surface reputation. If an application or image begins spawning child processes, writing to unusual locations, or creating memory anomalies, treat that as the stronger signal than the file’s outward legitimacy.

What to verify: Confirm whether your detection stack can see the full chain from delivery to execution. Teams often assume that static analysis is enough, but these attacks are designed to shift the meaningful activity into later stages that require process, memory, and network telemetry.

Practitioner takeaway: The best defence is to stop trusting the container and start trusting observable behaviour, because the attacker’s advantage comes from making the harmful part look like ordinary content until it is too late.