# Sandbox Evasion

Here is a list of things on the client side that can help you detect sandboxes and halt execution if found in one(so the Av doesn't get to see how our payload operates and evades heurisitic detections)

```
• Usernames
• Domain membership
• Zone Identifier
• Computer resources
• Process names
• Recent files
• Current file name
• BIOS information
• CPU Cores
• Installed Drivers
• Multiple executions
• Environment Variables
• Mouse movements

```

For more info: <https://github.com/a0rtega/pafish/tree/master/pafish>

And: <https://www.blackhat.com/docs/us-17/thursday/us-17-Kotler-The-Adventures-Of-Av-And-The-Leaky-Sandbox.pdf>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kwcsec.gitbook.io/the-red-team-handbook/techniques/defense-evasion/basics/sandbox-evasion.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
