No video

The Many Uses of the Windows Sandbox - Mike Nelson - PSConfEU 2023

  Рет қаралды 1,080

PowerShell Conference EU

PowerShell Conference EU

Жыл бұрын

In this session, Mike Nelson discusses the Windows Sandbox and its various applications. He starts off by explaining that the Windows Sandbox is a virtual environment in Windows 10 that allows users to test and experiment without causing any damage. It can be instantly spun up as a new image. Mike mentions that Sandbox can sometimes break things, especially when working with VirtualBox or KVM, but that VirtualBox has addressed this issue in its latest release. He advises caution and the use of Sandbox on non-critical systems.
Mike goes on to explain that Sandboxes are lightweight virtual containers based on a small image called Madrid. These sandboxes can be easily shared on small USB sticks. He mentions that networking within Sandbox is host-based, except for Microsoft Edge, which uses the host file. If specific networking is needed, it's best to refer to the host rather than the Sandbox. He mentions that Sandbox was originally created for testing patches and protecting against malware and ransomware.
Next, Mike introduces Jeff, an expert in the front row, who shares his experience using Sandbox. Jeff explains that he uses sandboxing to test modules and other creations without affecting his main laptop or operating system. He mentions that the sandbox state has limited functionality, but it can be customized by adding elements to it. Jeff also talks about WDAG (Windows Defender Application Guard), a product that led to the creation of sandbox. He highlights the components involved in sandboxing and how it interacts with the hypervisor and kernel. Jeff also mentions that the sandbox's security has been evaluated by Checkpoint Software. He shares that all the information discussed will be available in the PSConf 2023 GitHub repository.
Mike then discusses the key points of Sandboxing, including deploying a clean image to multiple users without the need for installing additional software like a virtual machine. He mentions an example of a company using sandboxes for e-learning purposes. He demonstrates the Windows Sandbox by launching an instance and highlights its quick startup time and limited application options. He explains that the sandbox can receive some information from the host but does not send much back for security reasons. The sandbox can be easily closed and resets to a brand new state upon reopening. Mike briefly touches on the container manager service and the base image used in the sandbox. He mentions that customization of the base layer may not be currently possible.
Mike and Jeff discuss various features and functionalities of Sandbox, including manipulating VHDX files, launching sandboxes from WSB files with specific configurations, mapping folders between the host and sandbox, using CMD files to launch commands, disabling vGPU, and the availability of PowerShell modules related to sandboxing.
They also mention Jeff's GitHub repository, where he provides sandbox configurations and scripts for customization. They discuss the metadata feature implemented by Jeff, which allows users to give meaningful names and descriptions to their sandboxes. They mention the hcs-diag utility for container management and provide insights into container identification and automation.
Mike concludes the episode by mentioning Power Automate and how flow understands sandboxes using their GUIDs. He mentions HSN and HNS diag utilities for networking used in other containers. He showcases the newly introduced persistence feature in Windows 11 build 22H2, where sandbox files and application states persist after a restart. He mentions that this is a big deal for applications that require reboots. Finally, Mike opens the floor for questions and mentions that all the code and information discussed will be available in the repository.

Пікірлер
State of the Shell - PSCONFEU 2020 -  Keynote from Jeffrey Snover and Joey Aiello
1:12:51
Kind Waiter's Gesture to Homeless Boy #shorts
00:32
I migliori trucchetti di Fabiosa
Рет қаралды 15 МЛН
The Joker kisses Harley Quinn underwater!#Harley Quinn #joker
00:49
Harley Quinn with the Joker
Рет қаралды 12 МЛН
Incredible Dog Rescues Kittens from Bus - Inspiring Story #shorts
00:18
Fabiosa Best Lifehacks
Рет қаралды 26 МЛН
白天使选错惹黑天使生气。#天使 #小丑女
00:31
天使夫妇
Рет қаралды 14 МЛН
Windows Defender Sandbox Test vs Malware
19:55
The PC Security Channel
Рет қаралды 374 М.
Enable ALL These Windows Security Features!
14:29
ThioJoe
Рет қаралды 216 М.
Homelab Setup Guide - Proxmox / TrueNAS / Docker Services
2:44:39
Matthias Benaets
Рет қаралды 160 М.
CMD - Command Prompt Training for IT Professionals (Full Course)
3:18:32
Jobskillshare Skills-Based Platform
Рет қаралды 1,3 МЛН
The Tragedy of systemd
47:18
linux.conf.au
Рет қаралды 1,1 МЛН
Linux from Scratch
2:35:42
Titus Tech Talk
Рет қаралды 154 М.
Is Windows Pro Edition Worth It?
12:30
ThioJoe
Рет қаралды 333 М.
Kind Waiter's Gesture to Homeless Boy #shorts
00:32
I migliori trucchetti di Fabiosa
Рет қаралды 15 МЛН