> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cotool.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Run a manual threat hunt

> Test a hypothesis against security telemetry and turn validated findings into response or detection work.

Use a manual hunt when you have a question but no alert. Start with a behavior you can observe, then verify what the available data can and cannot tell you. If you already have an advisory to submit for an exposure investigation, use [`/hunt-intel`](https://docs.cotool.ai/hunt/threat-intel#submit-a-report-from-chat) instead.

## Scope the hypothesis

Open [the Threat Model](https://docs.cotool.ai/knowledge/threat-model.md) for relevant systems, trust boundaries, and known gaps. Name the behavior, scope, and time range you want to investigate. For example: **A new Okta administrator role was assigned in the last seven days without a matching approved change.** The role assignment is observable in identity audit logs; whether it was authorized needs separate evidence.

## Query and verify

**1. Start a read-only Chat or Log Search**

Start a [Chat](https://docs.cotool.ai/chat/using-chat.md) on **Home**, or open [Log
Search](https://docs.cotool.ai/log-ingest/search.md) to query Cotool-managed logs directly. In
Chat, limit **Allowed tools** to the read-only queries and lookups
needed for this hunt. The agent can search other connected systems only
if the relevant tools are available and authorized.

**2. Ask for raw records and exact windows**

Ask for the records, not just a conclusion. For the example above, name
your Okta tenant and use explicit start and end times in UTC. Ask for
the actor, target, assigned role, event time, source event ID, and
either the change approval reference or an explicit note that it could
not be verified.

**3. Verify citations and check gaps**

Inspect cited records and revisit ambiguous cases. Known change windows,
automation, and incomplete ticket history can explain an apparent
mismatch. If you get no results, check [ingestion
coverage](https://docs.cotool.ai/log-ingest/monitoring.md), event types, and time filters before
saying the activity was not observed.

Example Chat prompt:

> This is a read-only hunt. Check Okta admin-role assignments from `<start UTC>` to `<end UTC>`. Verify the relevant log stream covers that window. For each match, give the actor, target, role, timestamp, and source event ID. Check approved changes only if an authorized source is available. Separate confirmed observations from assumptions and list any sources or periods you could not check. Do not change accounts or permissions.

## Record and hand off the outcome

| Outcome | Next step |
| - | - |
| Suspicious activity with supporting evidence | Share the evidence, scope, and recommended next steps with the response owner. If there is an alert, add findings to its [timeline](https://docs.cotool.ai/alerts/working-alerts.md). |
| No matches in verified telemetry | Record the sources, queries, and time range. Say what was not observed, rather than declaring the environment clear. |
| Not enough telemetry | Record the missing data or permissions and assign follow-up to the source owner. |
| Behavior worth monitoring | Use [detection authoring](https://docs.cotool.ai/detections-platform/authoring.md) to turn validated logic into a draft. Backtest against historical data, check normal administrative activity, and review the alert volume before publishing. |

If a recurring hunt still needs judgment across multiple sources, use a [scheduled investigation](https://docs.cotool.ai/detections/pattern-based-detection.md). A detection is a better fit when you can define matching logic and test it against historical events.

If sharing a query or [Chat transcript](https://docs.cotool.ai/chat/using-chat.md#share-a-chat), review it for sensitive evidence first. A shared query is not a snapshot of the results.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.