AegisAI Perspectives · 210
A file type table showing what sandbox detonation, file type blocking and Mark of the Web catch and miss for each common attachment.
AegisAI opens every link, file and QR code in a sandbox and judges what it finds there.
Or get the Q3 2026 State of the AI Attack report (free, instant download)

Email security reads an attachment without running it, opens it in a sandbox, or blocks its file type, and each method misses different files.9,13 AegisAI opens every link, file and QR code in a sandbox and judges what it finds there.18
Four controls do the work, and each one stops at a different file. MITRE ATT&CK, a public catalogue of attacker techniques, tracks a malicious email file as Spearphishing Attachment (T1566.001) and its opening as Malicious File (T1204.002).9,12 The FBI and CISA, the US Cybersecurity and Infrastructure Security Agency, wrote in May 2025 that threat actors "frequently use spearphishing hyperlinks and attachments" to deliver LummaC2, malware that steals data.16 How AegisAI follows a file or link to its end is on the email phishing prevention page.
Static checks read the file's structure, text and metadata without running it. A 2026 preprint (not peer reviewed) describes this as an "execution-free static feature pipeline" for Word, Excel, PDF and HTML files.15
Sandbox detonation opens the file in a sandbox, an isolated virtual environment, and watches what it does. The US standards body NIST calls these environments "detonation chambers".13
File type blocking rejects or quarantines, on arrival, the file types an admin lists. MITRE advises blocking "unknown or unused attachments by default".9
Mark of the Web is a tag Windows adds to files from the internet, including email attachments. Office on Windows then blocks macros, small programs stored inside the file, in those files by default.4
NIST also lists "sanitization of attachments" among controls applied before delivery and does not define it further.13
Each file type meets a different control. Microsoft cells describe its common attachments filter and Safe Attachments, its attachment sandbox. Google cells describe Security Sandbox, Gmail's attachment sandbox, and the Gmail attachment safety settings. IT admins on Microsoft 365 or Google Workspace can check each row against their own tenant.
| File type and technique | What the documented controls catch | What falls outside them | Sources |
|---|---|---|---|
| PDF with a link or QR code image inside | Detonation in Safe Attachments and in Google Security Sandbox, which lists PDF. Microsoft lists pdf as an optional filter type, not a default. | A QR code image moves the user to a phone. The FBI calls this quishing and says it evades "URL inspection, rewriting, and sandboxing". | 1, 2, 7, 12, 17 |
| Office with macros (doc, docm, xls) | Microsoft blocks docm by default; doc and xls are optional. Google offers a setting for attachments with scripts. Office on Windows blocks macros in files that carry Mark of the Web. | A user who selects Unblock in file Properties removes the mark. Files saved to a Trusted Location open with macros enabled. Office on Mac and on the web is outside the change. | 2, 4, 8 |
| ZIP or RAR archive (one file that packs others) | Google Security Sandbox rules scan "files inside archive attachments, for example zip or rar files". Microsoft lists zip, rar and 7z as optional filter types. | MITRE says the files inside container files, such as archives and disk images, "may not inherit the MOTW" (Mark of the Web) once they are extracted. | 2, 7, 11 |
| Encrypted (password-protected) archive | Microsoft can quarantine messages with encrypted attachments it could not scan. Google can warn, move to spam or quarantine encrypted attachments from untrusted senders. | Safe Attachments "can't fully scan or detonate" the file unless the password is available, for example in the email body. Google states encrypted attachments "can't be scanned for malware". | 1, 8 |
| ISO or IMG disk image | Both types are on Microsoft's default blocked list. MITRE suggests blocking container file types and turning off auto-mounting. | MITRE records the QakBot malware packaged in ISO files "to bypass Mark of the Web". | 2, 11 |
| Windows shortcut (LNK) file | lnk is on Microsoft's default blocked list. MITRE lists .lnk among files users are lured to open. | Microsoft's page does not state whether the filter matches a shortcut inside an archive. | 2, 12 |
| HTML or SVG file (HTML smuggling, SVG smuggling) | Microsoft lists htm and html as optional filter types. Google can flag attachment types that are uncommon for your domain. | The file builds its payload in the browser when opened. SVG appears in neither Microsoft list. | 2, 8, 10, 22, 23 |
| OneNote file with embedded files | Microsoft lists one and onenote as optional filter types. OneNote for Microsoft 365 on Windows blocks embedded files with dangerous extensions. | The block does not cover OneNote on Mac, Android, iOS, the web or OneNote for Windows 10. Extensions an admin adds to the allow list are no longer blocked. | 2, 5 |
A sandbox can only judge what it can open and run.
Microsoft states anti-malware protection is on by default for every organization with cloud mailboxes.2 Its common attachments filter rejects listed file types by default and matches the true file type where it can, falling back to the extension.2 Safe Attachments, in Defender for Office 365, checks attachments in a virtual environment before they are delivered, and a scan typically completes within 15 minutes.1
Google states it scans all messages for malware whether or not attachment settings are on.8 Security Sandbox is off by default6, runs on listed editions, and can delay delivery by up to 3 minutes.7 The two figures measure different things. The edition list and what the sandbox leaves out are in what Gmail Security Sandbox misses.
AegisAI opens every link, file and QR code in a sandbox, follows it to the end, and judges what it finds there.18 AegisAI pulls apart attachments of all kinds in secure, sandboxed environments.20 AegisAI unpacks archives such as ZIP and RAR, follows links inside PDFs, and chases redirects from those links.20 AegisAI checks reputation, intent, policy and headers in parallel.19
AegisAI decodes a QR code to a URL and detonates it like any other link.18 AegisAI treats a CAPTCHA gate, a test that keeps automated visitors out, as evidence and never scores a hidden page clean.18 AegisAI gives newsletters the same investigation as any email, links and files included.21
More detail is in link and attachment analysis and evasive links and attachments. QR codes have their own page, QR code phishing. To see it on your own mail, book a demo.
AegisAI opens every file in a sandbox and follows it to the end. AegisAI unpacks archives such as ZIP and RAR, follows links inside PDFs, and chases redirects from those links.
It uses four controls together. Static checks read the file, sandbox detonation runs it, file type blocking stops risky types on arrival, and Mark of the Web makes Office block macros in files from the internet.
Email attachment threat detection is the set of checks that decide whether a file sent by email is malicious. It covers reading the file, running it in a sandbox, and blocking file types an organization never needs.
Attachments are read, detonated or blocked by type. Links are opened in a sandboxed browser-like component that records the results, which NIST describes as an automated step.
Microsoft names zero-day malware that was undetectable during mail flow as a case for quarantine after delivery. Attackers also hide the payload behind a password, or build it in the browser after the scan.
Often not in full. Microsoft says Safe Attachments needs the password, for example from the email body. Google states encrypted attachments cannot be scanned for malware and offers a warning, spam or quarantine action.