After Microsoft began blocking macros in files downloaded from the internet (2022), threat actors pivoted en masse to container files — ISO, IMG, VHD, and VHDX — as the primary malware delivery wrapper. The reason is simple and mechanical: the Mark-of-the-Web (MOTW) is stored in an NTFS Alternate Data Stream named Zone.Identifier. When a user mounts a downloaded ISO or VHD, Windows presents the contents as a new virtual volume, and the child files inside do not inherit that Zone.Identifier stream. The practical effect: SmartScreen never prompts, Office Protected View never engages, and a double-clicked LNK or script host runs as if it were a trusted local file.
This technique has been operationalized by Qakbot, BazarLoader, IcedID, Bumblebee, and multiple ransomware access brokers. This SOP treats a container file executing a script host or LNK from a mounted drive letter as a SEV1 active-intrusion event — the user has already been tricked into running attacker code outside the protection boundary.
Key data sources: DeviceFileEvents (container written to Downloads; Zone.Identifier on the container but not its contents), DeviceEvents (PnpDeviceConnected / volume mount), DeviceProcessEvents (explorer/LNK spawning wscript, mshta, rundll32, powershell from a non-C: drive), and DeviceRegistryEvents (MountedDevices and Explorer MountPoints2 — a durable record of every volume ever mounted).
☰ Table of Contents
01 — BACKGROUND
TECHNIQUE OVERVIEWMark-of-the-Web is the trust signal Windows uses to decide whether a file is "from the internet". Browsers and mail clients write a Zone.Identifier alternate data stream (ZoneId=3) onto every downloaded file. SmartScreen, Office Protected View, and script-host warnings all key off that stream. Container formats defeat this because the ISO9660/UDF filesystem inside an ISO, and the VHD/VHDX disk image, do not carry NTFS ADS metadata to their children. The container itself gets the MOTW; everything a user extracts or launches from inside it does not.
| Field | Value |
|---|---|
| MITRE Technique | T1553.005 — Subvert Trust Controls: Mark-of-the-Web Bypass T1204.002 — User Execution: Malicious File T1027.001 — Obfuscated Files or Information: Binary Padding (oversized container inflates payload past scan limits) |
| Kill-chain Phase | Initial Access / Execution (delivery wrapper + user-run payload) |
| Container Extensions | .iso, .img (mounted by Explorer); .vhd, .vhdx (mounted by Explorer / diskpart / Mount-DiskImage) |
| Primary Log Source | DeviceFileEvents, DeviceEvents, DeviceProcessEvents, DeviceRegistryEvents |
| Secondary Log Sources | EmailAttachmentInfo (container as attachment), DeviceNetworkEvents (2nd-stage C2 after execution) |
| Typical Payload Inside | .lnk shortcut → rundll32/powershell; .js/.vbs → wscript/cscript; .hta → mshta; bundled DLL for side-load; a decoy .pdf/.docx |
| Default Severity | SEV2 on download+mount; SEV1 once a script host or LNK executes from the mounted drive |
| Detection Window | Query last 24 hours; the download-to-execution gap can be hours or days after the lure email lands |
Common attack paths a SOC sees:
- AMail → ISO attachment → LNK: phishing email carries
Invoice_2026.iso; user double-clicks it, Explorer mounts it toD:\, user runsInvoice.lnkwhich hides arundll32/powershellloader (classic Qakbot / IcedID chain). - BWeb download → VHD → DLL side-load: a "software update" page serves a
.vhd; mounting it exposes a legitimate signed EXE plus a malicious co-located DLL that side-loads on launch (Bumblebee pattern). - CIMG → HTA/JS: container holds a
.htaor.jsthatmshta/wscriptexecutes with no Protected View warning, pulling a second stage over HTTP. - DOversized padding: the ISO/VHD is inflated to hundreds of MB so some AV/sandbox scan-size limits skip it, while the real payload inside is tiny.
Execution from a mounted container is NOT blocked by macro policy, Protected View, or SmartScreen — those protections never see the file. The only reliable net is behavioural EDR telemetry correlating a non-C: drive execution back to a freshly downloaded container. Do not assume "SmartScreen would have stopped it".
02 — IDENTIFICATION
4 INDICATORSAnswer these five questions first. Any two "yes" answers means proceed to full identification immediately rather than queue.
- 1Was a .iso / .img / .vhd / .vhdx file written to a user profile path (Downloads, Temp, Outlook temp) in the last 24h?
- 2Does that container carry a Zone.Identifier (MOTW) stream — i.e. it came from the internet or email?
- 3Did a new drive letter appear (DeviceEvents mount / MountPoints2 write) shortly after the download?
- 4Did any process execute from that non-C: drive letter — especially a script host, rundll32, regsvr32, or an LNK target?
- 5Did the executing host then make an outbound connection to a rare/new domain or IP (possible 2nd stage)?
No container-file analytics rule in your tenant? Add the Sentinel scheduled rule from indicator I1 below as a baseline — container-wrapped delivery is now the default for commodity loaders, and it will fire regularly in any real estate.
The container is the delivery wrapper. A browser or mail client writing an ISO/IMG/VHD/VHDX into Downloads or an Outlook temp path — with a Zone.Identifier stamped on the container itself — is the first observable. Catching it here lets you block before the user mounts and runs the payload inside.
- 1Open Hunting → Advanced Hunting and paste the KQL below. Set Time range to Last 24 hours.
- 2For each hit, note the InitiatingProcessFileName — a browser (
msedge.exe,chrome.exe,firefox.exe) or mail client (outlook.exe) confirms internet/email origin. - 3Record SHA256, FileName, FolderPath, and FileOriginUrl / FileOriginReferrerUrl for IOC extraction (I4).
- 4Click the device name → Device Timeline to see whether a mount and execution followed (pivots to I2 / I3).
| Field / Value | Meaning | Analyst Action |
|---|---|---|
| .iso / .img | Optical image — mounted directly by Explorer on double-click | High priority — most common loader wrapper |
| .vhd / .vhdx | Virtual hard disk — mounts as NTFS; children still lack MOTW | High priority — favoured for DLL side-load |
| InitiatingProcess = browser/outlook | Container arrived from web or email (has MOTW) | Confirms delivery vector |
| FolderPath = \Downloads\ or \INetCache\ or Outlook temp | User-profile landing zone for a downloaded attachment | Expected for this technique |
| Size > 100 MB, payload tiny | Binary padding to evade scan-size limits (T1027.001) | Treat as deliberate evasion |
Pair this with EmailAttachmentInfo — if the same SHA256 arrived as an email attachment, you have the lure message and can ZAP/soft-delete it from every other recipient before they open it (see Containment C4).
Mounting is the pivot from "file on disk" to "exploitable content". When the user double-clicks the ISO/IMG (or mounts the VHD), Windows exposes a new drive letter. This is the moment the MOTW protection is stripped from the contents — the mount event is the strongest single signal that the lure was opened.
- 1Run the KQL below to find PnP / disk-image mount events around the container download time from I1.
- 2On the Device Timeline, filter to the download timestamp and look for a CDROM / disk image device-connected entry, or a new drive letter appearing.
- 3Note which drive letter was assigned (commonly
D:,E:,F:) — you will use it to pin execution in I3. - 4For VHD/VHDX, check for
powershell.exe Mount-DiskImage,Mount-VHD, ordiskpartin DeviceProcessEvents around the same time.
| Field / Value | Meaning | Analyst Action |
|---|---|---|
| ActionType = PnpDeviceConnected | A device (incl. mounted image) was attached | Correlate AdditionalFields for CDROM/volume class |
| AdditionalFields has "CdRom" / "STORAGE" | Mounted optical image (ISO/IMG) | Strong mount indicator |
| Mount-DiskImage / Mount-VHD | Explicit PowerShell VHD/ISO mount | Capture full command line |
| diskpart ... attach vdisk | VHD attach via diskpart script | Rare on workstations — suspicious |
ISO/IMG mount via Explorer double-click does not always generate a clean process event — rely on DeviceEvents PnP telemetry and the MountPoints2 registry write (I4). Absence of a Mount-DiskImage command does NOT mean the container was never opened.
This is the confirmation of compromise. A process launched from a non-C: drive letter — especially a script host (wscript, cscript, mshta), rundll32, regsvr32, or an LNK-triggered powershell — means the user ran attacker code out of the container, outside every MOTW protection. Because the file never carried MOTW, no warning was shown.
- 1Run the KQL below. It surfaces processes whose FolderPath (or initiating path) is on a drive other than
C:— the mounted container. - 2Inspect InitiatingProcessFileName =
explorer.exewith a child script host / rundll32 — the classic LNK double-click chain. - 3For DLL side-load, check DeviceImageLoadEvents for a signed EXE on the mount loading an unsigned DLL from the same drive (cross-reference SOP-117).
- 4Capture the full process tree and any child outbound connection (pivot to DeviceNetworkEvents for the 2nd stage).
| Observed | Meaning | Severity |
|---|---|---|
| D:\...\*.lnk → rundll32 / powershell | LNK loader launched from mount — Qakbot/IcedID pattern | CRITICAL |
| wscript/cscript/mshta from non-C: path | Script host executing container-hosted JS/VBS/HTA | CRITICAL |
| Signed EXE on mount + unsigned DLL | DLL search-order side-load (Bumblebee pattern) | CRITICAL |
| regsvr32 / rundll32 from D:/E:/F: | Proxy execution of container DLL | HIGH |
Once execution from a mounted drive is confirmed, do not wait for the 2nd-stage C2 to appear — isolate immediately (Containment C2). The loader may already have injected into a legitimate process and the mount can be dismounted by the attacker to destroy evidence.
Even if the container was already unmounted, Windows keeps a durable record. HKCU\...\Explorer\MountPoints2 and HKLM\SYSTEM\MountedDevices retain mounted-volume artifacts — proof the ISO/VHD was opened. This is also where you collect the IOCs (hashes, origin URLs, drive GUIDs) and make the final TP/FP decision.
- 1Run the registry KQL below to confirm a mounted-volume artifact was written around the incident time.
- 2From a Live Response session, dump the container (
getfile) and the LNK/script inside for malware analysis before dismounting. - 3Record all IOCs: container SHA256, inner payload hash, FileOriginUrl, any 2nd-stage domain/IP from DeviceNetworkEvents, and the sender address if delivered by email.
- 4Apply the FP/TP gate below to reach a verdict before Containment.
| True-Positive Signals | False-Positive Signals |
|---|---|
| Container arrived by email/web (MOTW present) from an external/unknown sender | ISO/VHD built/downloaded from an internal software-distribution or imaging share by IT |
| Mounted, then a script host / LNK / rundll32 ran from the new drive letter | Mounted by an admin for a legitimate OS/driver install, no script-host execution |
| Inner payload is a single LNK/JS/HTA/DLL with a decoy document; container oversized vs payload | Container holds a normal, signed application installer (MSI/EXE) from a known vendor |
| Execution followed by outbound to a rare/new domain or IP (2nd stage) | No network activity; file opened then volume ejected with no execution |
| Same SHA256 delivered to multiple recipients in a phishing wave | Linux/dev workflow ISO (e.g. a VM image) with documented business use and change record |
03 — CONTAINMENT
IMMEDIATE ACTIONDo not downgrade to FP merely because "SmartScreen did not alert" — by design it never sees container contents. A verdict requires the I3/I4 evidence, not the absence of a SmartScreen prompt.
- 1Open the affected device, click Actions (⋮) → Isolate Device, choose Full Isolation.
- 2Before dismounting anything, start a Live Response session (Actions → Initiate Live Response) and run
getfileon the container, the mounted LNK/script, and aprocesses/ memory capture — the volume and any injected process are volatile. - 3Collect the investigation package (Actions → Collect investigation package) for the full timeline.
- 4Kill the loader process tree via Live Response
stoponce evidence is captured, then dismount the volume.
Capture evidence before network isolation finishes propagating — some loaders detect isolation and self-delete. The container, the inner payload, and the running loader memory are your only chain back to attribution.
- 1Add a File hash indicator (Block & Remediate) for the container SHA256 and the inner payload SHA256 from I4.
- 2Add URL/Domain indicators for the FileOriginUrl and any 2nd-stage C2 domain/IP.
- 3Push the same hashes/domains to the firewall / proxy / DNS sinkhole for defence-in-depth.
- 4Run the I1 and I3 KQL tenant-wide to find any other host that received or executed the same container.
Deploy an ASR-style control going forward: an attack-surface-reduction / AppLocker rule blocking script hosts and executables from launching off removable/virtual drive letters neutralises this entire technique class.
- 1Search Threat Explorer by attachment SHA256 / filename to find every recipient of the lure.
- 2Select all matching messages and Take action → Soft delete to purge from every inbox.
- 3Block the sender address/domain and add a mail-flow rule to quarantine inbound ISO/IMG/VHD/VHDX attachments.
- 4Identify recipients who already opened the attachment and triage those hosts with I2/I3.
04 — ERADICATION
CLEANUP- 1Dismount the container and delete it plus the inner payload:
Dismount-DiskImage -ImagePath <file>, then remove the ISO/VHD from Downloads/Temp and the Outlook temp cache. - 2Kill and remove any dropped loader: terminate the process tree via Live Response, delete dropped files from
%APPDATA%/%TEMP%/%PUBLIC%, confirm quarantine in EDR. - 3Remove persistence the loader may have set: scheduled tasks,
HKCU\...\Runkeys, startup-folder shortcuts, and any added service (cross-reference SOP-26 / SOP-106). - 4If a DLL side-load occurred, remove the co-dropped malicious DLL and the planted signed EXE (cross-reference SOP-117).
- 5Re-run the I3 (execution-from-mount) and I4 (MountPoints2) queries scoped to the host — expected result: 0 hits. Re-run I1 tenant-wide to confirm no other host still holds the container.
- 6Close the entry vector: enforce the ASR/AppLocker rule blocking execution from mounted images, quarantine inbound container attachments at the mail gateway, and disable automatic mounting of ISO/IMG via Group Policy where the business allows.
- 7Reconstruct the timeline: lure email received → container downloaded → mounted → payload executed → 2nd-stage/C2 → any lateral movement — and reset credentials for every account that logged on to the host during the window.
- Container and inner payload dismounted, deleted, and quarantined on all affected hosts
- Loader process killed; no dropped binaries remain in user-writable paths
- All persistence (tasks, Run keys, startup items, services) removed and verified
- I3 and I4 queries return 0 hits on the host; I1 returns 0 remaining copies tenant-wide
- Container + payload hashes and C2 domains/IPs blocked in MDE Indicators and at the perimeter
- Lure email soft-deleted from all inboxes; sender blocked; inbound container-attachment rule live
- ASR/AppLocker rule blocking execution from mounted/removable drives enforced
- Credentials reset for accounts active on the host during the compromise window
05 — ESCALATION
ESCALATION PATHS| Tier | Trigger Condition | Who to Notify | Action |
|---|---|---|---|
| L1 → L2 | TP/FP undecided within 30 min; container mounted; privileged user involved; >5 recipients of the lure | SOC Lead / L2 Analyst | Hand off with I1–I4 evidence, container SHA256, recipient list |
| L2 → IR | Execution from mount confirmed (I3); loader running; 2nd-stage C2 or injection observed; DLL side-load active | Incident Response Team | Isolate, open incident, begin full host forensics + lateral-movement hunt |
| IR → CISO | Multiple hosts compromised; hands-on-keyboard activity; ransomware precursor (SOP-03/28 signals); data at risk | CISO / Management | Invoke IR plan, assess regulatory exposure, consider BCP |
| External | Confirmed access broker / APT; customer data touched; regulatory breach threshold met (GDPR/PCI/HIPAA) | MSSP / Forensics vendor / Legal / Regulator | Engage external IR, legal notification, law-enforcement liaison |
Bring to every escalation: incident/alert ID; affected user(s) and device(s); container filename + SHA256 and inner-payload hash; origin URL and/or sender address; timeline (download → mount → execution → C2); containment actions already taken; and current confidence level (TP confirmed / suspected / unverified).
Container-wrapped delivery is a known precursor to Qakbot/IcedID/Bumblebee-led ransomware intrusions. If execution from the mount is confirmed on more than one host simultaneously, treat it as an active intrusion and escalate directly to IR — do not queue as a routine malware alert.
Stay Threat-Ready
Follow CyberHawk Threat Intel for daily SOC analyst playbooks, detection engineering guides, and threat intelligence.