# VBS Agent

{% embed url="<https://youtu.be/4O0TP0oxuqU?si=pAq_I6PVhJGQJ_d7>" %}

Customize a VBS-based agent for controlled testing in Office environments. Choose the target app (Excel/Word), configure network settings (C2 endpoint, beacon interval), and select the capability profile (Stage-1 minimal; optional Stage-2 upgrade on demand). Package as a signed Office template (e.g., .dotm / .xlam) or a standalone .vbs for lab deployment. Optional settings include startup trigger (manual run / on-open within a signed macro), logging level, and cleanup behavior.


---

# 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://exploit-pack.gitbook.io/exploit-pack-manual-pages/control-pack/vbs-agent.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.
