Safe Downloads & Attachments
Mechanism-first file and download risk handling with observable indicators, staged checks, and escalation gates.
A file is risky when an untrusted source, risky payload behavior, and a reachable execution path line up. This page keeps response decisions tied to evidence instead of assumptions.
1. Problem this page solves
Teams often classify files as “safe” or “unsafe” too early, then either execute risky payloads or block legitimate work without enough evidence. This page gives an operational model for staged checks, containment, and escalation based on observable indicators.
2. Reader outcome
After this page, you should be able to:
- assess file or download risk through source trust, payload behavior, and execution-path exposure
- use concrete indicators to support proportionate response choices
- apply staged response and escalation gates without over-claiming certainty
3. Mechanism-first file-risk model
| Model axis | What to verify first | Elevated-risk signals | Why this axis matters |
|---|---|---|---|
| Source trust | delivery channel, sender or domain legitimacy, publisher identity, expectedness of transfer | lookalike sender or domain, unofficial mirror, missing or invalid signature, checksum mismatch | untrusted origin increases the chance the file is weaponized before any execution evidence appears |
| Payload behavior | file-type capabilities, embedded scripts or macros, archive nesting, required permissions | macro-enabled docs, script launchers, executable content hidden in archives, password-protected archives from untrusted senders | payload capability determines what can execute and what post-execution behavior is plausible |
| Execution paths | how the file could run in your environment, such as user open, auto-run helper, interpreter handoff, or child-process chain | Office or reader app spawning a script interpreter, installer creating a scheduled task or service, unexpected child-process tree | execution path determines whether risk remains theoretical or becomes active compromise potential |
Mechanism chain: file arrival -> trust validation -> payload triage -> execution-path exposure check -> governed action, such as allow, isolate, or escalate.
4. Observable indicators and what they support
| Observable indicator | What it can support | What it cannot prove alone |
|---|---|---|
| Sender or domain mismatch or unofficial download host | elevated source risk and need for staged triage | that payload execution already occurred |
| Signature absent or invalid, or hash mismatch against vendor value | integrity concern and probable tampering | specific malware family or actor attribution |
| Double extension, misleading filename, or high-risk archive structure | intent to disguise executable content | successful execution on the endpoint |
| Macro or script prompt or document-to-interpreter child process | execution-path activation and likely code-execution attempt | full post-execution impact scope |
| New binary or script initiating rare outbound connections | probable payload activity requiring containment | whether credentials or data were definitely exfiltrated |
| Persistence artifacts, such as scheduled task, startup entry, or new service, after open or run event | post-execution foothold attempt | complete blast radius across all systems |
5. Practical response decisions and escalation gates
Use staged checks before permitting execution:
- Stage 0 (intake and preserve): capture source context, such as message headers or URL, compute a hash, preserve the original artifact.
- Stage 1 (source validation): verify sender or channel, publisher signature, and vendor checksum when available.
- Stage 2 (static triage): inspect file type, embedded scripts or macros, and archive contents in an isolated workflow.
- Stage 3 (controlled execution if required): only under an approved, isolated detonation path with Policy Gates.
- Stage 4 (decision + documentation): allow, quarantine, or escalate with evidence and a signed record.
Gate definitions:
- Gate A (suspicious source): source-trust concerns, no execution evidence
- Gate B (high-risk payload): payload characteristics indicate likely abuse potential, still pre-execution
- Gate C (execution likely or observed): process or telemetry indicates the code-execution path activated
- Gate D (high impact): privileged endpoint or account involvement, multi-host spread, or sensitive-workflow exposure
| Evidence state | Practical response decision | Escalation gate |
|---|---|---|
| Source anomaly only | quarantine the file, validate origin out-of-band, block distribution pending review | Gate A |
| High-risk payload characteristics without execution evidence | keep the file isolated, complete static triage, require approval before any detonation | Gate B |
| Execution-path indicators present | isolate the affected endpoint or session, preserve process and network artifacts, initiate the incident workflow | Gate C |
| Confirmed persistence, spread, or sensitive-system impact | activate the major escalation path, involve security leadership, apply policy-governed high-impact actions | Gate D |
Use What Evidence Is Required?, Do I Need to Escalate?, and Runbooks to keep action thresholds explicit.
6. What WitnessOps can support vs cannot guarantee
WitnessOps can support:
- governed file-handling workflows through Sensitive Artifact Handling
- policy-gated authorization for detonation and high-impact containment steps
- signed Receipts showing what was observed, decided, and executed
- traceable operator runbooks for repeatable staging checks
WitnessOps does not guarantee:
- prevention of every malicious-file delivery attempt
- complete intelligence from outside reputation or signature sources
- perfect attribution from file and endpoint telemetry alone
- recovery of all downstream business or legal outcomes outside the evidence record
7. Observed vs inferred separation
Keep records split by statement type:
- Observed: source metadata, hash or signature results, file properties, process lineage, network connections, persistence artifacts, containment actions taken
- Inferred: “this actor authored the payload,” “all affected hosts are known,” or “no data left the environment”
Contain based on observed risk signals; keep inferred conclusions explicitly labeled until corroborated.
8. Trust assumptions and limits
Assumptions:
- endpoint, email, proxy, and identity telemetry is retained and time-aligned enough for sequence reconstruction
- file samples and metadata are preserved before cleanup or auto-remediation removes evidence
- operators execute staging checks through authorized, governed workflows
Limits:
- some payloads are environment-aware and may hide behavior during controlled analysis
- missing logs or delayed reporting can prevent definitive mechanism confirmation
- compressed or encrypted archives and script chains can obscure full capability until deeper analysis
9. Next-page handoff
Safe file handling reduces initial compromise opportunities, but vulnerable software still creates exploitable paths. Continue to Why Software Updates Matter.