Windows C# / Detecting Online Sandbox
Author | Futex |
Platform | Windows |
Language | C# |
Technique | Detecting Online Sandbox |
Description:
The code checks if the file My Wallpaper.jpg exists in the user’s Pictures folder, which indicates the system is running inside the Tria.ge sandbox.
Code
private static bool detect_triage()
{
string triage_wallpaper = System.Environment.GetEnvironmentVariable("USERPROFILE") + "\\Pictures\\My Wallpaper.jpg";
return File.Exists(triage_wallpaper);
}
Created
September 20, 2025
Last Revised
September 20, 2025