> For the complete documentation index, see [llms.txt](https://docs.vectra.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vectra.ai/operations/analyst-guidance/triggering-detections-for-testing-purposes.md).

# Triggering detections for testing purposes

When installing or demonstrating appliances it can be useful to trigger detections. Triggering a detection in a monitored network proves that the appliances are installed correctly, that the sensor is communicating with the brain and that packet capture is set up correctly for the test workstations.

### Cryptocurrency Mining Detection

These curl commands trigger BitCoin mining detection:

```language-markup
curl -A "cpuminger" http://www.google.com
curl -A “cgminer” www.google.com
```

* Please note: For this to work properly, HTTP traffic must be visible to the Vectra Sensor. If you are using a web proxy client, such as Zscaler, it may not function properly.

The same commands as above, but using PowerShell:

```language-markup
powershell.exe Invoke-WebRequest "http://google.com" -UserAgent "cpuminger" -UseBasicParsing
powershell.exe Invoke-WebRequest "http://google.com" -UserAgent "cgminer" -UseBasicParsing
```

Another option for PowerShell:

```language-markup
curl -UserAgent "cpuminger" http://www.google.com
```

### Brute-Force Detection

This 'hydra' command (part of the Kali Linux distribution) generates a Brute-Force detection. Ensure you are using a current version of hydra.

First, you should uncompress the rockyou wordlist.

```language-markup
sudo gunzip /usr/share/wordlists/rockyou.txt.gz
```

Then, you can launch hydra using the rockyou wordlist.

```language-markup
hydra -l vectra -P /usr/share/wordlists/rockyou.txt ssh://10.1.0.50 –v
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://docs.vectra.ai/operations/analyst-guidance/triggering-detections-for-testing-purposes.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.
