Academy
TermDefence

Sandbox

Running a suspicious file or application in an environment isolated from the rest of the system and observing its behaviour.

Flow

  1. 1Isolated
  2. 2Observed
  3. 3Decided
Related families
Vidar
MITRE ATT&CK
T1497 · Virtualization/Sandbox Evasion
Sources
4 sources
01

Overview

Windows Sandbox provides an isolated desktop environment that starts clean each time it opens and deletes everything inside when closed. Microsoft Learn

This is why infostealers query the environment they run in: if they see a virtual machine or analysis environment, they may stop running. MITRE ATT&CK

02

How it works

  1. 1

    Isolated

    The file is opened in an environment that cannot reach the host system. MITRE ATT&CK

  2. 2

    Observed

    Created files, processes and network connections are recorded. MITRE ATT&CK

  3. 3

    Decided

    If the behaviour is malicious, the file is blocked and indicators are extracted.

03

Real-world examples

Vidar: virtual machine checks

Vidar profile

Zscaler documented Vidar checking for signs of a virtual machine to avoid running in analysis environments. Zscaler

04

How to detect it

  • Separately flag samples that do nothing in the sandbox but query the environment. MITRE ATT&CK
05

What to do

  • Have email attachments and downloaded files examined in a sandbox before they are opened. MITRE ATT&CK
06

MITRE ATT&CK

07

Related families and terms

08

Sources

  1. 1Virtualization/Sandbox Evasion (T1497) · MITRE ATT&CK
  2. 2Windows Sandbox · Microsoft Learn
  3. 3Application Isolation and Sandboxing (M1048) · MITRE ATT&CK
  4. 4Vidar adds virtual machine and custom stream cipher string obfuscation · Zscaler
From the Essential plan

Infostealer Detection

See your firm's attack surface on one screen: how many findings, at which severity, on which domain.