---
title: "IOC Evidence Review With an LLM, Provenance Kept"
description: "Review collected indicator observations with a model: draft an evidence register with source references, deterministic normalization in code, no enrichment."
canonical: https://pentestllm.ai/ioc-evidence-review
generated: 2026-12-03T14:52:59.373Z
source: https://pentestllm.ai/ioc-evidence-review
base_url: https://api.pentestllm.ai/v1
---

IOC evidence review

# Reviewing collected indicator evidence

Give `orcacyber-minimax-m3.1-flash` at https://api.pentestllm.ai/v1 redacted indicator observations already collected during an authorized investigation to draft an evidence register with source references and explicit uncertainty. The model reads and returns text, cannot resolve domains, visit URLs or enrich hashes, and a person confirms every finding; a string observed in a report is not proof that the corresponding system is malicious.

[Prices per token](https://pentestllm.ai/pricing)

[Get a key](https://app.pentestllm.ai/console) [Try it free in the browser](https://pentestllm.ai/playground)

```
from openai import OpenAI

client = OpenAI(base_url="https://api.pentestllm.ai/v1", api_key="sk-ptl-live-…")

reply = client.chat.completions.create(
    model="auto/security",
    messages=[{"role": "user", "content": "Explain this advisory and list what to check on an affected host."}],
)
print(reply.model)  # the build that answered
print(reply.choices[0].message.content)
```

## Collected observations, not live enrichment

An authorized investigation collected logs, memory dumps, network captures or sandbox reports, and those artifacts mention domains, IP addresses, file hashes, registry keys, mutexes or user agents. The job here is pulling those strings into a deduplicated register that ties each one to its source line or artifact, with a note on what it was observed doing. Nothing on this page resolves a domain, visits a URL, queries a reputation service or fetches a hash from a database. The model reads the text you extracted and drafts the register; enrichment and correlation, where the [rules of engagement](https://pentestllm.ai/tools/rules-of-engagement) permit them, are separate authorized steps.

The [security log triage page](https://pentestllm.ai/security-log-triage-ai) covers grouping and ordering log events. This page is about the indicators those events reference, with provenance preserved so a responder knows which lines support each string.

## Normalize and deduplicate in code

Indicators appear in many forms: `example[.]com`, `example.com`, `hxxp://example.com/path`, `example.com/path`. Normalize by observable type. The example below groups domains, IP addresses and common hexadecimal hashes only; it preserves domain case-insensitivity and canonical IP spelling. URLs need a separate parser that preserves scheme, path case, query and trailing slash because those can distinguish resources. Store both the original form and the normalized one so the register can show what the source said and what the key is. Group by the normalized form and keep the list of source references inside each group. A model will sometimes merge two different indicators because their contexts read alike, or split one across several mentions, so the deduplication is your script's job.

## Ask the model for a note per indicator group

Send each group with its normalized form, its occurrence count, a sample of the original strings and the list of source artifact names and line offsets. Ask for one short note per group: what the indicator was observed doing, in which context, and what remains uncertain. Request a `json_schema` reply with one entry per indicator; the live catalog shows `orcacyber-minimax-m3.1-flash` accepting `response_format`. In the system prompt, say that indicators are observations from an authorized investigation, that the model must add no reputation verdict, no enrichment and no live lookup, and that an observed string is not proof of malice.

```
import ipaddress, re

def normalize(s, kind):
    s = s.strip()
    if kind == "domain":
        return s.replace("[.]", ".").lower().rstrip(".")
    if kind == "hash":
        if len(s) not in (32, 40, 64) or not re.fullmatch("[0-9a-fA-F]+", s):
            raise ValueError("unsupported hash")
        return s.lower()
    if kind == "ip":
        return str(ipaddress.ip_address(s.replace("[.]", ".")))
    raise ValueError("unsupported observable kind")

def group_indicators(items):
    groups = {}
    for item in items:
        norm = normalize(item["value"], item["kind"])
        key = f"{item['kind']}:{norm}"
        if key not in groups:
            groups[key] = {"id": key, "kind": item["kind"], "normalized": norm,
                           "display": norm.replace(".", "[.]"), "originals": [], "sources": []}
        groups[key]["originals"].append(item["value"])
        groups[key]["sources"].append({"artifact": item["artifact"], "line": item["line"]})
    return list(groups.values())

# Extract indicators from artifacts, group them, then send to model
```

## Preserve original form and source offsets

The register lists each indicator with its normalized key, the original forms it appeared as, the count, the source artifacts and the line numbers or byte offsets that reference it. That provenance lets a responder open the artifact and see the context around the string. The model's note says what the indicator was observed doing, such as contacted by the sample, written to the registry, or listed in a configuration file, and flags any uncertainty such as a partial match or an ambiguous context. The note does not say the indicator is malicious, only what the artifacts observed.

## No clickable targets, no enrichment in the draft

Indicators in the register are stored as defanged strings or plain hashes, never as hyperlinks, because clicking one could alert the operator or trigger a browser behaviour. The register also holds no reputation score, no WHOIS result, no passive DNS record and no threat-intelligence label, because those come from outside lookups the investigation may or may not be authorized to perform. The [files and redaction page](https://pentestllm.ai/features/files-and-redaction) covers stripping secrets from the artifacts before they are sent. Where enrichment is authorized and performed, its results are recorded separately with their own provenance, and the [detection rule review page](https://pentestllm.ai/detection-rule-review-ai) covers turning confirmed indicators into rules.

## Observed does not mean malicious

A domain in a sandbox report, a hash in a memory dump, or an IP in a firewall log is an observation. It may be the attacker's infrastructure, it may be a legitimate service the sample contacted, or it may be a researcher's sinkhole. The register records the observation and its context; a named analyst decides which indicators warrant blocking, further investigation or no action, and that decision is recorded with their name and the date. The distinction between the STIX 2.1 concepts of observable and indicator, described on the OASIS page read on the date below, is useful here: an observable is a string you saw; an indicator is a pattern tied to a judgment. This page produces observables with context, not indicators ready to deploy.

## 16 security builds, priced per token

USD per million tokens, live on 2026-12-03; `auto/security` bills at the build that answers.

Detected refusals and invalid non-streamed JSON qualify for automatic refunds within the daily cap. [Verify your receipt](https://pentestllm.ai/statements/verify).

| Model | Build | Input $/M | Output $/M | Context | Wire formats |
| --- | --- | --- | --- | --- | --- |
| [Qwen3.8 27B Cybersecurity](https://pentestllm.ai/models/qwen3.8-27b-cybersecurity) qwen3.8-27b-cybersecurity | Security | $0.40 | $2.40 | 262K | openai |
| [Uncensored Qwen3.8 27b Cybersecurity](https://pentestllm.ai/models/qwen3.8-27b-cybersecurity-uncensored) qwen3.8-27b-cybersecurity-uncensored | Security | $0.40 | $2.40 | 262K | openai |
| [Gemma 4 26B A4B Cybersecurity](https://pentestllm.ai/models/gemma-4-26b-a4b-it-cybersecurity) gemma-4-26b-a4b-it-cybersecurity | Security | $0.4224 | $1.3376 | 262K | openai |
| [Gemma 4 26B A4B Cybersecurity (Uncensored)](https://pentestllm.ai/models/gemma-4-26b-a4b-it-cybersecurity-uncensored) gemma-4-26b-a4b-it-cybersecurity-uncensored | Security | $0.48 | $1.52 | 262K | openai |
| [GLM-5.3 Flash Cybersecurity](https://pentestllm.ai/models/glm-5.3-flash-cybersecurity) glm-5.3-flash-cybersecurity | Security | $0.525 | $1.75 | 1049K | openai |
| [GLM-5.3 Flash Cybersecurity (Uncensored)](https://pentestllm.ai/models/glm-5.3-flash-cybersecurity-uncensored) glm-5.3-flash-cybersecurity-uncensored | Security | $0.525 | $1.75 | 1049K | openai |
| [Red Team (Flash)](https://pentestllm.ai/models/red-team-flash) red-team-flash | Security | $0.90 | $3.00 | 1000K | openai |
| [Red Team (Pro)](https://pentestllm.ai/models/red-team-pro) red-team-pro | Security | $1.455 | $5.82 | – | openai |
| [OrcaCyber MiniMax M3.1 Flash](https://pentestllm.ai/models/minimax-m3.1-flash-cybersecurity) minimax-m3.1-flash-cybersecurity | Security | $2.00 | $4.00 | 262K | openai |
| [OrcaCyber MiniMax M3.1 Flash (Uncensored)](https://pentestllm.ai/models/minimax-m3.1-flash-cybersecurity-uncensored) minimax-m3.1-flash-cybersecurity-uncensored | Security | $2.00 | $4.00 | 262K | openai |
| [OrcaCyber Qwen3.8 Flash Next (Uncensored)](https://pentestllm.ai/models/orcacyber-qwen3.8-flash-next-uncensored) orcacyber-qwen3.8-flash-next-uncensored | Security | $2.00 | $4.00 | 262K | openai |
| [OrcaCyber Qwen3.8 Flash Next](https://pentestllm.ai/models/qwen3.8-flash-next-cybersecurity) qwen3.8-flash-next-cybersecurity | Security | $2.00 | $4.00 | 262K | openai |
| [Uncensored Qwen3.8 Flash Next Cybersecurity](https://pentestllm.ai/models/qwen3.8-flash-next-cybersecurity-uncensored) qwen3.8-flash-next-cybersecurity-uncensored | Security | $2.00 | $4.00 | 262K | openai |
| [Cyber Frontier](https://pentestllm.ai/models/cyber-frontier) cyber-frontier | Security | $5.25 | $15.75 | 1049K | openai |
| [OrcaCyber Zero 1.5](https://pentestllm.ai/models/orca-zero-1.5-cybersecurity) orca-zero-1.5-cybersecurity | Security | $7.50 | $18.75 | 999K | openai |
| [OrcaCyber Zero 1.5 (Uncensored)](https://pentestllm.ai/models/orca-zero-1.5-cybersecurity-uncensored) orca-zero-1.5-cybersecurity-uncensored | Security | $7.50 | $18.75 | 999K | openai |

[Full price list and tool fees](https://pentestllm.ai/pricing) · [Every model](https://pentestllm.ai/models) · [API docs](https://pentestllm.ai/docs)

## Questions

### Is an observed domain automatically a malicious indicator?

No. It is an observation from the artifacts. The domain may be attacker infrastructure, a legitimate service or a sinkhole. The register records the observation and its context; a named analyst decides which strings warrant action, and that decision is recorded separately.

### How do I preserve provenance while removing duplicate strings?

Normalize each string deterministically in code, group by the normalized form, and keep the list of source artifacts and line offsets inside each group. Store both the original form and the normalized key so the register shows what the source said and what the lookup key is.

### Can the model look up a hash or visit an indicator URL?

No. It has no tools, no network and no access to reputation services. Your script extracts strings from the collected artifacts, and the model drafts a note per group from that text. Enrichment, where authorized, is a separate step with its own provenance.

### Should indicators be stored as clickable links?

No. Store them as defanged strings or plain hashes. A clickable link could alert the operator or trigger a browser behaviour, and the register is an evidence document, not a live lookup interface. Where a responder needs to investigate one, they copy it into their authorized tool.

## Read next

[Security log triage with an LLM Grouped, redacted auth and security logs get a note per group and a review order; each flag is a lead, not an alert.](https://pentestllm.ai/security-log-triage-ai) [Detection rule review with an LLM What a Sigma, YARA or SIEM rule you wrote matches, where it over- or under-matches, and how to test it.](https://pentestllm.ai/detection-rule-review-ai) [Malware analysis Models for static triage, behaviour summaries and detection rules. Analysis and detection only.](https://pentestllm.ai/malware-analysis) [Incident timeline from logs A draft timeline from redacted, already-collected log lines, every entry tied to its source line for the responder.](https://pentestllm.ai/incident-timeline-from-logs)

Facts about other products and tools on this page were read from their own pages on 22 November 2026: [STIX 2.1, observable and indicator concepts](https://docs.oasis-open.org/cti/stix/v2.1/stix-v2.1.html). They change; check the source before relying on a figure.

## One key, from $3

For systems you own or may test in writing: [acceptable use](https://pentestllm.ai/acceptable-use).

[Get a key](https://app.pentestllm.ai/console)
