Suspicious Windows Sandbox Execution
Description
Identifies Windows sanfbox processes indicating the start of a new container with sensitive configurations like write access to the host file system, network connection and automatic execution via logon command. Malware may abuse the sandbox feature to evade detection.
Query · eql
process where event.type == "start" and
(
((process.name : ("wsb.exe", "WindowsSandboxClient.exe") or process.pe.original_file_name in ("wsb.exe", "WindowsSandboxClient.exe")) and
process.command_line : ("*<Networking>Enable</Networking>*",
"*<HostFolder>C:\\*<ReadOnly>false*",
"*<LogonCommand>*",
"*<NetworkingEnabled>true*")) or
((process.name : "WindowsSandbox.exe" or process.pe.original_file_name == "WindowsSandbox.exe") and user.id == "S-1-5-18") or
(process.name : "schtasks.exe" and process.command_line : "*create*WindowsSandbox.exe*")
)